Skip site navigation (1) Skip section navigation (2)

Re: Why is pg_dump using INSERTs instead of COPYs?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: reina_ga(at)hotmail(dot)com (Tony Reina), pgsql-hackers(at)postgresql(dot)org
Subject: Re: Why is pg_dump using INSERTs instead of COPYs?
Date: 2004-03-31 12:35:15
Message-ID: 200403311435.15942.peter_e@gmx.net (view raw or flat)
Thread:
Lists: pgsql-hackers
Am Mittwoch, 31. März 2004 13:14 schrieb Tony Reina:
> I've got a database running PostgreSQL 7.4.2 on Fedora Linux. In the
> past, pg_dump would dump database backups using COPY to restore the
> data. This time it appears that it has individual INSERTs for each
> tuple. Perhaps I'm missing this in the latest documentation, but I
> thought COPY was the default unless the --inserts switch is declared.

This is still the case.

> Can anyone think of why I'd be getting INSERTs?

Shell aliases perhaps.


In response to

Responses

pgsql-hackers by date

Next:From: Tony and Bryn ReinaDate: 2004-03-31 13:42:46
Subject: Re: Why is pg_dump using INSERTs instead of COPYs?
Previous:From: Peter EisentrautDate: 2004-03-31 12:33:50
Subject: Re: Some Documentation Changes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group