| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Bo Lorentsen <bl(at)netgroup(dot)dk> |
| Cc: | Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: mysql's last_insert_id |
| Date: | 2003-09-01 16:47:37 |
| Message-ID: | 200309011647.h81Glbo15918@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Bo Lorentsen wrote:
> On Fri, 2003-08-29 at 04:11, Martijn van Oosterhout wrote:
>
> > OIDs have never beebn unique, it's just that most databases never get big
> > enough to experience wraparound. They are also now optional per table and
> > may soon no longer be available by default.
> It would be a god idea to remove the oid reference from the FAQ
> 4.15.2, to make sure no one in the futhere makes my mistake again :-)
I have added the last clause to the FAQ:
Finally, you could use the <A href="#4.16"><SMALL>OID</SMALL></A>
returned from the <SMALL>INSERT</SMALL> statement to look up the
default value, though this is probably the least portable approach,
and the oid value will wrap around when it reaches 4 billion.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dennis Gearon | 2003-09-01 16:49:25 | Re: French translation |
| Previous Message | Francois Suter | 2003-09-01 16:24:06 | French translation |