]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fixes:
authorMarc G. Fournier <scrappy@hub.org>
Tue, 6 Aug 1996 16:27:59 +0000 (16:27 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Tue, 6 Aug 1996 16:27:59 +0000 (16:27 +0000)
commitab22b34891b9b9002f302710facd110ac4af7657
tree831f9a04dd467c77bcdc1ed10e703d40a8b5f580
parentc4e53a14110816d0d495bb7f00cb4e3bdee3f123
Fixes:

While a normal SELECT statement can contain a GROUP BY clause, a cursor
declaration cannot. This was not the case in PG-1.0. Was there a good
reason why this was changed? Are cursors being phased out? Is there any way
to get data with just a SELECT (and without a DECLARE CURSOR ...)?

The patch below seems to fix things. If anyone can see a problem with it,
please let me know. Thanks.

Submitted by:  David Smith <dasmith@perseus.tufts.edu>
src/backend/nodes/parsenodes.h
src/backend/parser/analyze.c
src/backend/parser/gram.y