pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jules Alberts <jules.alberts@arbodienst-limburg.nl>
To: pgsql-php@postgresql.org
Subject: Re: Problems with OIDs
Date: Thu, 24 Oct 2002 10:42:25 +0200
Message-ID: <200210240844.g9O8ifE2008368@artemis.cuci.nl> (raw)
In-Reply-To: <GGEBJDFLJINOAKJMLOPGOEDMCBAA.almah@wanadoo.es>

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!



view thread (7+ messages)  latest in thread

Message-ID: <200210240844.g9O8ifE2008368@artemis.cuci.nl>
Permalink:  ../200210240844.g9O8ifE2008368@artemis.cuci.nl/
Also on:    postgresql.org/message-id/200210240844.g9O8ifE2008368@artemis.cuci.nl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: jules.alberts@arbodienst-limburg.nl
  Subject: Re: Problems with OIDs
  In-Reply-To: <200210240844.g9O8ifE2008368@artemis.cuci.nl>
  References: <GGEBJDFLJINOAKJMLOPGOEDMCBAA.almah@wanadoo.es> <200210240844.g9O8ifE2008368@artemis.cuci.nl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox