[sf-perl] PostgreSQL DBD ---- repost: sorry, I had the wrong subject in my previous post

David Fetter david at fetter.org
Fri Apr 1 08:10:47 PST 2005


On Fri, Apr 01, 2005 at 01:14:34AM -0800, Shane Hill wrote:
> > Um, you're not using the OID as your key, are you?   That's no
> > longer supported ...
> 
> no sir,  I am just using it in the query to retrieve object info
> that was just inserted.  like so:
> 
> SELECT * FROM table WHERE oid = 37;
> 
> is there an issue with doing that as well?  I am using the latest
> 7xx, have not tried 8xx yet.

Oid is deprecated and will eventually be removed, as it is not
guaranteed to be unique, so it would be a Good Thing(TM) to get it out
of your code.

Cheers,
D
-- 
David Fetter david at fetter.org http://fetter.org/
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!


More information about the SanFrancisco-pm mailing list