]> granicus.if.org Git - postgresql/commit
Add DISCARD SEQUENCES command.
authorRobert Haas <rhaas@postgresql.org>
Thu, 3 Oct 2013 20:17:18 +0000 (16:17 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 3 Oct 2013 20:23:31 +0000 (16:23 -0400)
commitd90ced8bb22194cbb45f58beb0961251103aeff5
tree6f11b8ffc02e1eaeb3ba9d80bf5cfbf8f9232c09
parentc64e68fd9f1132fec563fb5de53dc3bcccb5fc3b
Add DISCARD SEQUENCES command.

DISCARD ALL will now discard cached sequence information, as well.

Fabrízio de Royes Mello, reviewed by Zoltán Böszörményi, with some
further tweaks by me.
doc/src/sgml/ref/discard.sgml
src/backend/commands/discard.c
src/backend/commands/sequence.c
src/backend/parser/gram.y
src/backend/tcop/utility.c
src/bin/psql/tab-complete.c
src/include/commands/sequence.h
src/include/nodes/parsenodes.h
src/test/regress/expected/sequence.out
src/test/regress/sql/sequence.sql