Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id F1B9247708E for ; Fri, 8 Nov 2002 10:56:48 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 0D221477057 for ; Fri, 8 Nov 2002 10:56:47 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id gA8Fuhx03906; Fri, 8 Nov 2002 10:56:43 -0500 (EST) From: Bruce Momjian Message-Id: <200211081556.gA8Fuhx03906@candle.pha.pa.us> Subject: Re: pg_dump, no inserts but \copy? In-Reply-To: To: Joost Witteveen Date: Fri, 8 Nov 2002 10:56:43 -0500 (EST) Cc: pgsql-sql@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/140 X-Sequence-Number: 10282 There is no way to force INSERT unless you are telling it to do that somehow. Are you perhaps using -d. That causes inserts too? What is your command line for the dump? --------------------------------------------------------------------------- Joost Witteveen wrote: > I remember the pg_dump command creating dumps with \copy in them > But for some reason (upgrade of postgresql?) it now started to > create dumps with inserts, as though I gave it the --inserts > argument (but I don't). > > man pg_dump explains how to make it use inserts, but I cannot find > anywhere how to make it create \copy dumps. > > > Postgresql version: 7.2.1 > > Thanks, > joostje > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073