Am Donnerstag, 22. Juli 2004 13:14 schrieb Michal Dobaczewski:
> Browsing the general list I've just read a post claiming that oid are
> not guaranteed to be unique in the table. This is also stated in the
> documentation - which seems to have escaped me this far. So I assume the
> approach presented above is flawed.
> I would like to ask what is a most elegant way to deal with such issues?
Create a unique constraint on the oid column.
In response to
pgsql-interfaces by date
|Next:||From: Michal Dobaczewski||Date: 2004-07-22 13:51:16|
|Subject: Re: libpq: usage of PQoidValue to obtain serial primary|
|Previous:||From: Michal Dobaczewski||Date: 2004-07-22 11:14:31|
|Subject: libpq: usage of PQoidValue to obtain serial primary key after insert|