Thread: pg_dump and serial

pg_dump and serial

From
Rod Taylor
Date:
- Drop UNIQUE portion of SERIAL as per -hackers conversation
- Brief note about SERIAL dependencies not working in DBs from 7.2 and
prior
- Dump SERIAL via pg_dump
- Add a pg_column_is_serial function to make the job of interfaces
easier.

Sample dump output attached.  Sequence stuff is normal, rest are
serials.



Attachment

Re: pg_dump and serial

From
Bruce Momjian
Date:
This patch was already applied by Tom.  I incorrectly added it to the
patches queue.

---------------------------------------------------------------------------

Rod Taylor wrote:
> - Drop UNIQUE portion of SERIAL as per -hackers conversation
> - Brief note about SERIAL dependencies not working in DBs from 7.2 and
> prior
> - Dump SERIAL via pg_dump
> - Add a pg_column_is_serial function to make the job of interfaces
> easier.
>
> Sample dump output attached.  Sequence stuff is normal, rest are
> serials.
>
>

[ Attachment, skipping... ]

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073