Re: OID Usage

From: Bo Lorentsen <bl(at)netgroup(dot)dk>
To: Michael Glaesemann <grzm(at)myrealbox(dot)com>
Cc: "pgsql-general postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: OID Usage
Date: 2005-01-14 09:07:33
Message-ID: 41E78BD5.8010604@netgroup.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Glaesemann wrote:

> You can use currval() to get the sequence value that was pulled from
> your insert. You can check the documentation for usage, as well as
> searching the archives for discussions of using OIDs as part of your
> database logic.

I know this, but i like not to know anything about the metadata of the
table i use. Basicly using the same functionality, as given in mysql in
the mysql_insert_id, as I use the same low level code for both DB's
(until my boss give in totally to PG :-)).

/BL

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2005-01-14 09:29:00 Re: Functions that return RECORD type
Previous Message Michael Glaesemann 2005-01-14 08:16:13 Re: OID Usage