From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Joost Witteveen <joostje(at)foko(dot)komputilo(dot)org> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: pg_dump, no inserts but \copy? |
Date: | 2002-11-08 15:56:43 |
Message-ID: | 200211081556.gA8Fuhx03906@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Luis Sousa | 2002-11-08 17:29:31 | Permission on insert rules |
Previous Message | Masaru Sugawara | 2002-11-08 14:22:38 | Re: query optimization question |