From: Ganesh Rajan <grajan@zeomega.com>
To: pgsql-admin@postgresql.org
Subject: hello gurus
Date: Mon, 16 Dec 2002 18:46:44 +0530
Message-ID: <003c01c2a505$614fe280$4501a8c0@zeomega.org> (raw)
hello gurus,
iam facing a problem....
1) my database needed somechanges like increase in width for a varchar datatype column... since there is no option like using "ALTER TABLE ...." i have to drop the table & recreated.... so i did.... since the oid of this table is changed.... the tables & views referencing this table started to throw error...
what i did is that...i took the dump "pg_dump db_name > db_name.sql" .... and edited the script file & dont with the changes...
is there any other way to change the structure...other than the way i done with..
2) i added another column to the table... now when i want to insert the value for this column the the dump script file... how to add the value for this column ...note: this column is my column in that table...
Please help required.....
Ganesh Rajan
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: grajan@zeomega.com
Subject: Re: hello gurus
In-Reply-To: <003c01c2a505$614fe280$4501a8c0@zeomega.org>
References: <003c01c2a505$614fe280$4501a8c0@zeomega.org>
* 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