I just did 'CREATE SEQUENCE x' and pg_dump produced: CREATE SEQUENCE x START WITH 1 INCREMENT BY 1 NO MAXVALUE NO MINVALUE CACHE 1;
which has the proper value after START WITH. Any ideas why your setup is different? --------------------------------------------------------------------------- [EMAIL PROTECTED] wrote: > laurent faillie ([EMAIL PROTECTED]) reports a bug with a severity of 2 > The lower the number the more severe it is. > > Short Description > pg_dump problem w/ SEQUENCE > > Long Description > Hi all, > > in order to correct bug #899, I have downloaded the current snapshot and I discover > a new trouble w/ pg_dump. > > If you have a sequence in your database, pg_dump produce something like : > > CREATE SEQUENCE seq_id_fch > START WITH > INCREMENT BY 1 > MAXVALUE 2147483647 > NO MINVALUE > CACHE 1; > > and psql rise following error : > > ERROR: parser: parse error at or near "WITH" at character 38 > > PS: I have downloaded the snapshot monday 24/03/2003 > > Bye > > Laurent > > > Sample Code > > > No file was uploaded with this report > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html > -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])