From: Adam Radlowski <adamr@informatyka.gdansk.pl>
To: gunartha.nyoman <gunartha.nyoman@ptjas.co.id>
Cc: pgsql-admin@postgresql.org
Subject: Re: how to add oids field
Date: Fri, 16 Mar 2007 14:50:47 +0100
Message-ID: <45FAA0B7.9000308@informatyka.gdansk.pl> (raw)
In-Reply-To: <005d01c767a5$88c3da30$fd0010b2@idas>
References: <005d01c767a5$88c3da30$fd0010b2@idas>
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
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: adamr@informatyka.gdansk.pl, gunartha.nyoman@ptjas.co.id
Subject: Re: how to add oids field
In-Reply-To: <45FAA0B7.9000308@informatyka.gdansk.pl>
* 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