Re: Bulk_insert in postgresql like Microsoft SQL server - Mailing list pgsql-admin

From SBob
Subject Re: Bulk_insert in postgresql like Microsoft SQL server
Date
Msg-id d997e599-9318-fcfc-aca3-c73fb66c2a17@quadratum-braccas.com
Whole thread Raw
In response to Re: Bulk_insert in postgresql like Microsoft SQL server  (Shreeyansh Dba <shreeyansh2014@gmail.com>)
List pgsql-admin

Use the \copy command instead of the COPY command

https://www.postgresql.org/docs/11/app-psql.html



On 12/19/18 10:40 AM, Shreeyansh Dba wrote:

Hi Devendra,

You can use copy command for Bulk Insert in PostgreSQL.

On Wed, Dec 19, 2018 at 10:59 PM Devendra Yadav <devendra.857@gmail.com> wrote:
Dear all,

We need to provide copy rights to our developer's for bulk inserts. But the case is that, for it to happen it needs superuser permission which is very expensive thing a DBA can grant. 
Can anybody please suggest if there are such tools or utility through which this can be achieved and with minimal rights.

Thanks and Regards,
Devendra Yadav

pgsql-admin by date:

Previous
From: Shreeyansh Dba
Date:
Subject: Re: Bulk_insert in postgresql like Microsoft SQL server
Next
From: Devendra Yadav
Date:
Subject: Re: Bulk_insert in postgresql like Microsoft SQL server