pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Joost Witteveen <joostje@foko.komputilo.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: pg_dump, no inserts but \copy?
Date: Fri, 8 Nov 2002 10:56:43 -0500 (EST)
Message-ID: <200211081556.gA8Fuhx03906@candle.pha.pa.us> (raw)
In-Reply-To: <slrnaslf89.n77.joostje@foko.komputilo.org>


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



view thread (2+ messages)

Message-ID: <200211081556.gA8Fuhx03906@candle.pha.pa.us>
Permalink:  ../200211081556.gA8Fuhx03906@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200211081556.gA8Fuhx03906@candle.pha.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-sql@postgresql.org
  Cc: pgman@candle.pha.pa.us, joostje@foko.komputilo.org
  Subject: Re: pg_dump, no inserts but \copy?
  In-Reply-To: <200211081556.gA8Fuhx03906@candle.pha.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