On Mon, Feb 09, 2009 at 03:19:55PM +0200, Marko Kreen wrote: > > Making pg_dump not output the WITH OIDS option on tables may be an > > easier option. > > I don't like it - it would require more work from users, but does > not seem to be any way safer. You usually do the check if db works > on restore time, not dump time...
Another idea, have WITH OIDS just append a column to the table called OID with SERIAL type. People see them, go "whoops" and drop them. Have a nice day, -- Martijn van Oosterhout <klep...@svana.org> http://svana.org/kleptog/ > Please line up in a tree and maintain the heap invariant while > boarding. Thank you for flying nlogn airlines.
signature.asc
Description: Digital signature