Skip site navigation (1) Skip section navigation (2)

Re: pg_dump question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrei Bintintan" <klodoma(at)ar-sd(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_dump question
Date: 2004-11-03 21:19:03
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
"Andrei Bintintan" <klodoma(at)ar-sd(dot)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

In response to

pgsql-admin by date

Next:From: Joe ConwayDate: 2004-11-03 21:34:32
Subject: Re: Postgresql beta4 rpms
Previous:From: Devrim GUNDUZDate: 2004-11-03 20:32:44
Subject: Re: Postgresql beta4 rpms

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group