]> granicus.if.org Git - postgresql/commit
One last missing quoting bug in pg_dump:
authorBruce Momjian <bruce@momjian.us>
Thu, 23 Sep 1999 19:11:09 +0000 (19:11 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 23 Sep 1999 19:11:09 +0000 (19:11 +0000)
commitf66393514f6bc813d44d518d8d5ca9657300ab1c
tree2ba2d7431f59b1cdf2c61a34c07f53f672b248e3
parentbe38f75edf1241c562df48d74908fa07433e8255
One last missing quoting bug in pg_dump:
now that sequence names are properly quoted for field defaults, mixed
case sequence names are generated. These are properly quoted in the
CREATE SEQUENCE lines, but not in the SELECT nextval lines, as per
below:

CREATE SEQUENCE "Teams_TeamID_seq" start 10 increment 1 maxvalue
2147483647 minvalue 1  cache 1 ;
SELECT nextval ('Teams_TeamID_seq');

This needs to be:
SELECT nextval ('"Teams_TeamID_seq"');

Patch included below.
--
Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu>
doc/TODO
src/bin/pg_dump/pg_dump.c