pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: gunartha.nyoman <gunartha.nyoman@ptjas.co.id>
To: pgsql-admin@postgresql.org
Subject: Re: how to add oids field
Date: Tue, 20 Mar 2007 09:45:07 +0700
Message-ID: <001501c76a99$c9585b60$fd0010b2@idas> (raw)
References: <005d01c767a5$88c3da30$fd0010b2@idas>
	<45FAA0B7.9000308@informatyka.gdansk.pl>

Okey, Mr Radlowski and Mr. Drake
 thank for your comment

Regards,
Nyoman/Bali

----- Original Message ----- 
From: "Adam Radlowski" <adamr@informatyka.gdansk.pl>
To: "gunartha.nyoman" <gunartha.nyoman@ptjas.co.id>
Cc: <pgsql-admin@postgresql.org>
Sent: Friday, March 16, 2007 8:50 PM
Subject: Re: [ADMIN] how to add oids field


gunartha.nyoman napisaƂ(a):
> hi,
> I am new comer in this millis...
> i have a poblem, how to add a field/column in existing table without oids.
> if i create new table i can add field oids
>
> Thank alot before
>
> regrads
> Nyoman/bali
>
So - create a new table with this same structure, but with oids, copy
all records into new table. Retrive all the information about the old
table (keys, indexes, triggers, etc.). Delete old table, rename new
table to old name, create all needed indexes, keys, triggers,etc.
bregards
Adam


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match 




view thread (4+ messages)

Message-ID: <001501c76a99$c9585b60$fd0010b2@idas>
Permalink:  ../001501c76a99$c9585b60$fd0010b2@idas/
Also on:    postgresql.org/message-id/001501c76a99$c9585b60$fd0010b2@idas

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: gunartha.nyoman@ptjas.co.id
  Subject: Re: how to add oids field
  In-Reply-To: <001501c76a99$c9585b60$fd0010b2@idas>

* 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