Re: Problems with OIDs - Mailing list pgsql-php

From Jules Alberts
Subject Re: Problems with OIDs
Date
Msg-id 200210240844.g9O8ifE2008368@artemis.cuci.nl
Whole thread Raw
In response to Problems with OIDs  (Carlos García Gómez <almah@wanadoo.es>)
List pgsql-php
On 24 Oct 2002 at 8:39, Carlos García Gómez wrote:
> Hi all!
>
> I've got the following problem: I had a view with OID 5330 that had to be
> removed from the database, afterwards I created again a view (with the same
> name, because I need it to be this way) and get the an error telling me that
> the view with OID 5330 cannot be found, How can I solve it??

OID's change when you do a dump / restore. Never use hardcoded OIDs in
your app!

pgsql-php by date:

Previous
From: Carlos Garcìa Gòmez
Date:
Subject: Problems with OIDs
Next
From: Bruce Young
Date:
Subject: can't retrieve data through PHP