Re: [HACKERS] pg_dump quoting bug

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: "Ross J(dot) Reedstrom" <reedstrm(at)wallace(dot)ece(dot)rice(dot)edu>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] pg_dump quoting bug
Date: 1999-09-23 19:10:19
Message-ID: 199909231910.PAA24037@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thanks. Fix applied. This will appear in 6.6 and the next 6.5.x release.

> 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(at)rice(dot)edu>
> NSBRI Research Scientist/Programmer
> Computer and Information Technology Institute
> Rice University, 6100 S. Main St., Houston, TX 77005

[Attachment, skipping...]

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 1999-09-23 21:04:59 Re: [HACKERS] Re: [GENERAL] Update of bitmask type
Previous Message Bruce Momjian 1999-09-23 19:07:18 Re: [HACKERS] VIEW definitions broken in 6.5.0