X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8CAA53A461B for ; Wed, 3 Nov 2004 21:19:40 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 95748-08 for ; Wed, 3 Nov 2004 21:19:36 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 0178D3A45E3 for ; Wed, 3 Nov 2004 21:19:37 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id iA3LJ3i8017035; Wed, 3 Nov 2004 16:19:05 -0500 (EST) To: "Andrei Bintintan" Cc: pgsql-admin@postgresql.org Subject: Re: pg_dump question In-reply-to: <007501c4c0e6$a3ffadf0$0b00a8c0@forge> References: <007501c4c0e6$a3ffadf0$0b00a8c0@forge> Comments: In-reply-to "Andrei Bintintan" message dated "Tue, 02 Nov 2004 16:17:07 +0200" Date: Wed, 03 Nov 2004 16:19:03 -0500 Message-ID: <17034.1099516743@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/28 X-Sequence-Number: 15413 "Andrei Bintintan" 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