Thread: OIDS problem

OIDS problem

From
Szabolcs BALLA
Date:
Hi,

I have already upgraded our server from 7.4 to 8.1. 
My problem is the next: some of our queries use OIDS but I restored the databases without OIDS.
Is it possible to set the OIDS without dump and restore?

Thanks
Szabek

Re: OIDS problem

From
"Jim C. Nasby"
Date:
On Fri, Jan 13, 2006 at 11:05:38AM +0100, Szabolcs BALLA wrote:
> Hi,
>
> I have already upgraded our server from 7.4 to 8.1.
> My problem is the next: some of our queries use OIDS but I restored the
> databases without OIDS.
> Is it possible to set the OIDS without dump and restore?

No; the tables are now missing the OID fields. You'll need to dump and
restore. You should also change your application... IIRC the intention
is to eventually remove OIDs from user tables.
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

Re: OIDS problem

From
Tom Lane
Date:
"Jim C. Nasby" <jnasby@pervasive.com> writes:
> You should also change your application... IIRC the intention
> is to eventually remove OIDs from user tables.

There is no such plan --- defaulting to WITHOUT OIDS is as far as we
intend to go.

            regards, tom lane