From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Marko Kreen <markokr(at)gmail(dot)com> |
Cc: | Andrew Dunstan <andrew(at)dunslane(dot)net>, David Fetter <david(at)fetter(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: WIP: fix SET WITHOUT OIDS, add SET WITH OIDS |
Date: | 2009-02-09 13:38:27 |
Message-ID: | 20090209133827.GE25179@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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 <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.
From | Date | Subject | |
---|---|---|---|
Next Message | K, Niranjan (NSN - IN/Bangalore) | 2009-02-09 13:39:49 | Re: Synch Replication |
Previous Message | Marko Kreen | 2009-02-09 13:34:46 | Re: WIP: fix SET WITHOUT OIDS, add SET WITH OIDS |