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 ED10432A606 for ; Thu, 21 Oct 2004 23:03:33 +0100 (BST) 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 80937-07 for ; Thu, 21 Oct 2004 22:03:17 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id E04EF32A137 for ; Thu, 21 Oct 2004 23:03:19 +0100 (BST) 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 i9LM3HAf025851; Thu, 21 Oct 2004 18:03:17 -0400 (EDT) To: "Uwe C. Schroeder" Cc: pgsql-admin@postgresql.org Subject: Re: psql enhancement idea In-reply-to: <200410211500.20625.uwe@oss4u.com> References: <200410211205.09350.uwe@oss4u.com> <22591.1098387614@sss.pgh.pa.us> <200410211500.20625.uwe@oss4u.com> Comments: In-reply-to "Uwe C. Schroeder" message dated "Thu, 21 Oct 2004 15:00:20 -0700" Date: Thu, 21 Oct 2004 18:03:16 -0400 Message-ID: <25850.1098396196@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.6 tagged_above=0.0 required=5.0 tests=DOMAIN_4U2 X-Spam-Level: X-Archive-Number: 200410/290 X-Sequence-Number: 15283 "Uwe C. Schroeder" writes: > On Thursday 21 October 2004 12:40 pm, Tom Lane wrote: >> I don't think that conclusion follows from that premise. In recent >> pg_dump versions (any that use a column list with COPY, which I think is >> 7.3 or later) there is no fundamental disadvantage to using COPY; it >> should be semantically equivalent to INSERT-with-column-list commands. > The reason is that I made changes to the schema, i.e. changed the ordinal > position of columns and added some columns. Since the positioning of the > columns isn't the same anymore a copy will fail. No, it won't, not if you use a column list. regards, tom lane