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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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