Re: Why is pg_dump using INSERTs instead of COPYs? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Why is pg_dump using INSERTs instead of COPYs?
Date
Msg-id 200403311435.15942.peter_e@gmx.net
Whole thread Raw
In response to Why is pg_dump using INSERTs instead of COPYs?  (reina_ga@hotmail.com (Tony Reina))
List 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.



pgsql-hackers by date:

Previous
From: reina_ga@hotmail.com (Tony Reina)
Date:
Subject: Why is pg_dump using INSERTs instead of COPYs?
Next
From: "Tony and Bryn Reina"
Date:
Subject: Re: Why is pg_dump using INSERTs instead of COPYs?