Question about COPY to/from - Mailing list pgsql-general

From Emi Lu
Subject Question about COPY to/from
Date
Msg-id 43FA4535.5010104@encs.concordia.ca
Whole thread Raw
Responses Re: Question about COPY to/from
Re: Question about COPY to/from
List pgsql-general
Hello,

We have millions of record and would like to insert into a table. I
remebered people mentioned that "COPY" is the most effecient way to
insert data, right? If not, which is it, pg_restore?

By the way, does it have to be superuser to run copy to and from?

Thanks a lot,
Emi



pgsql-general by date:

Previous
From: Greg Stark
Date:
Subject: Re: Mixing different LC_COLLATE and database encodings
Next
From: Martijn van Oosterhout
Date:
Subject: Re: How do I use the backend APIs