git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 689746c) | patch
Make DISCARD SEQUENCES also discard the last used sequence.
Mon, 7 Oct 2013 19:55:56 +0000 (15:55 -0400)
Mon, 7 Oct 2013 19:55:56 +0000 (15:55 -0400)
commit 16a906f535082fcf3d8c6732d8e941e037bc6d5e
Make DISCARD SEQUENCES also discard the last used sequence.

Otherwise, we access already-freed memory. Oops.

Report by Michael Paquier. Fix by me.
src/backend/commands/sequence.c diff | blob | blame | history
src/test/regress/expected/sequence.out diff | blob | blame | history
src/test/regress/sql/sequence.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /