pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrei Bintintan <klodoma@ar-sd.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dump question
Date: Wed, 03 Nov 2004 16:19:03 -0500
Message-ID: <17034.1099516743@sss.pgh.pa.us> (raw)
In-Reply-To: <007501c4c0e6$a3ffadf0$0b00a8c0@forge>
References: <007501c4c0e6$a3ffadf0$0b00a8c0@forge>

"Andrei Bintintan" <klodoma@ar-sd.net> writes:
> If I create a table with create table and after that I modify the =
> table(add some columns) in the dump the table is saved in the same way, =
> I mean, in the dump first the table is created and after that the column =
> is added.=20

I don't actually believe that --- simple inspection of the pg_dump
source shows that it can never emit an ALTER TABLE ADD COLUMN command.

Can you give a concrete example of what you are talking about?

			regards, tom lane



view thread (10+ messages)  latest in thread

Message-ID: <17034.1099516743@sss.pgh.pa.us>
Permalink:  ../17034.1099516743@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17034.1099516743@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, klodoma@ar-sd.net
  Subject: Re: pg_dump question
  In-Reply-To: <17034.1099516743@sss.pgh.pa.us>

* 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