pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
OIDS problem
3+ messages / 3 participants
[nested] [flat]

* OIDS problem
@ 2006-01-13 10:05 Szabolcs BALLA <szballa@confinsystems.com>
  2006-01-13 19:30 ` Re: OIDS problem Jim C. Nasby <jnasby@pervasive.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Szabolcs BALLA @ 2006-01-13 10:05 UTC (permalink / raw)
  To: pgsql-admin

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

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: OIDS problem
  2006-01-13 10:05 OIDS problem Szabolcs BALLA <szballa@confinsystems.com>
@ 2006-01-13 19:30 ` Jim C. Nasby <jnasby@pervasive.com>
  2006-01-13 19:49   ` Re: OIDS problem Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: Jim C. Nasby @ 2006-01-13 19:30 UTC (permalink / raw)
  To: Szabolcs BALLA <szballa@confinsystems.com>; +Cc: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: OIDS problem
  2006-01-13 10:05 OIDS problem Szabolcs BALLA <szballa@confinsystems.com>
  2006-01-13 19:30 ` Re: OIDS problem Jim C. Nasby <jnasby@pervasive.com>
@ 2006-01-13 19:49   ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2006-01-13 19:49 UTC (permalink / raw)
  To: Jim C. Nasby <jnasby@pervasive.com>; +Cc: Szabolcs BALLA <szballa@confinsystems.com>; pgsql-admin

"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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2006-01-13 19:49 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-01-13 10:05 OIDS problem Szabolcs BALLA <szballa@confinsystems.com>
2006-01-13 19:30 ` Jim C. Nasby <jnasby@pervasive.com>
2006-01-13 19:49   ` Tom Lane <tgl@sss.pgh.pa.us>

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