Allow pg_dump to dump sequences using NO_MAXVALUE and NO_MINVALUEb - Mailing list pgsql-hackers

From Rod Taylor
Subject Allow pg_dump to dump sequences using NO_MAXVALUE and NO_MINVALUEb
Date
Msg-id 1046007589.84130.102.camel@jester
Whole thread Raw
Responses Re: Allow pg_dump to dump sequences using NO_MAXVALUE and
List pgsql-hackers
- Move SEQ_MAXVALUE, SEQ_MINVALUE definitions to sequence.h

- Add check in pg_dump to see if the value returned is the max /min
values and replace with NO MAXVALUE, NO MINVALUE.

- Change START and INCREMENT to use START WITH and INCREMENT BY syntax.
This makes it a touch easier to port to other databases with sequences
(Oracle).  PostgreSQL supports both syntaxes already.

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

Attachment

pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: bug in contrib/adddepend
Next
From: Gavin Sherry
Date:
Subject: Re: Allow pg_dump to dump sequences using NO_MAXVALUE and