pg_dump and serial

Started by Rod Tayloralmost 24 years ago2 messagespatches
Jump to latest
#1Rod Taylor
rbt@rbt.ca

- 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.

Attachments:

serial.dumptext/plain; charset=ISO-8859-1; name=serial.dumpDownload
serial.patchtext/plain; charset=ISO-8859-1; name=serial.patchDownload+152-64
#2Bruce Momjian
bruce@momjian.us
In reply to: Rod Taylor (#1)
Re: pg_dump and serial

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