Обсуждение: OIDS problem

Поиск
Список
Период
Сортировка

OIDS problem

От
Szabolcs BALLA
Дата:
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

От
"Jim C. Nasby"
Дата:
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

От
Tom Lane
Дата:
"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