pgsql: Add DISCARD SEQUENCES command.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add DISCARD SEQUENCES command.
Date: 2013-10-03 20:23:50
Message-ID: E1VRpR8-0001Dg-EC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d90ced8bb22194cbb45f58beb0961251103aeff5

Modified Files
--------------
doc/src/sgml/ref/discard.sgml | 12 +++++++++++-
src/backend/commands/discard.c | 8 +++++++-
src/backend/commands/sequence.c | 16 ++++++++++++++++
src/backend/parser/gram.y | 9 ++++++++-
src/backend/tcop/utility.c | 3 +++
src/bin/psql/tab-complete.c | 2 +-
src/include/commands/sequence.h | 1 +
src/include/nodes/parsenodes.h | 1 +
src/test/regress/expected/sequence.out | 3 +++
src/test/regress/sql/sequence.sql | 2 ++
10 files changed, 53 insertions(+), 4 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Kevin Hale Boyes 2013-10-03 22:38:52 Re: [COMMITTERS] pgsql: Add DISCARD SEQUENCES command.
Previous Message Robert Haas 2013-10-03 19:21:52 pgsql: psql: Make \pset without arguments show all settings.

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2013-10-03 20:24:32 Re: No Index-Only Scan on Partial Index
Previous Message Jim Nasby 2013-10-03 20:10:20 Re: hstore extension version screwup