pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_dump, no inserts but \copy?
2+ messages / 2 participants
[nested] [flat]

* pg_dump, no inserts but \copy?
@ 2002-11-07 19:20 Joost Witteveen <joostje@foko.komputilo.org>
  2002-11-08 15:56 ` Re: pg_dump, no inserts but \copy? Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Joost Witteveen @ 2002-11-07 19:20 UTC (permalink / raw)
  To: pgsql-sql

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_dump, no inserts but \copy?
  2002-11-07 19:20 pg_dump, no inserts but \copy? Joost Witteveen <joostje@foko.komputilo.org>
@ 2002-11-08 15:56 ` Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2002-11-08 15:56 UTC (permalink / raw)
  To: Joost Witteveen <joostje@foko.komputilo.org>; +Cc: pgsql-sql


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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-11-08 15:56 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-11-07 19:20 pg_dump, no inserts but \copy? Joost Witteveen <joostje@foko.komputilo.org>
2002-11-08 15:56 ` Bruce Momjian <pgman@candle.pha.pa.us>

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