]> git.ipfire.org Git - thirdparty/postgresql.git/commit
DROP AGGREGATE and COMMENT ON AGGREGATE now accept the expected syntax
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Oct 2001 20:54:22 +0000 (20:54 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Oct 2001 20:54:22 +0000 (20:54 +0000)
commit2e5fda7b7e0613b4b7c69d69b609e639deac7c17
treecb76595ec5aa439e05891df3209e08a9b537247d
parent16def00ffb3397b8cf1344534fbfd1f3b2cfd33d
DROP AGGREGATE and COMMENT ON AGGREGATE now accept the expected syntax
'aggname (aggtype)'.  The old syntax 'aggname aggtype' is still accepted
for backwards compatibility.  Fix pg_dump, which was actually broken for
most cases of user-defined aggregates.  Clean up error messages associated
with these commands.
14 files changed:
doc/src/sgml/ref/comment.sgml
doc/src/sgml/ref/drop_aggregate.sgml
src/backend/commands/comment.c
src/backend/commands/remove.c
src/backend/parser/analyze.c
src/backend/parser/gram.y
src/bin/pg_dump/common.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h
src/interfaces/ecpg/preproc/preproc.y
src/test/regress/expected/errors.out
src/test/regress/sql/drop.sql
src/test/regress/sql/errors.sql
src/tutorial/complex.source