Re: [GENERAL] Insert large number of records - Mailing list pgsql-general

From David G. Johnston
Subject Re: [GENERAL] Insert large number of records
Date
Msg-id CAKFQuwZoL2demun=5BHaf9-e3A1B3KjieTrsi0+uFS9p27tufA@mail.gmail.com
Whole thread Raw
In response to R: [GENERAL] Insert large number of records  (Job <Job@colliniconsulting.it>)
List pgsql-general
On Tuesday, September 19, 2017, Job <Job@colliniconsulting.it> wrote:
and would not care about table partitioning (COPY command fire partitioned-table triggers).
 
You might want to write a script that inserts directly into the partitions and bypass routing altogether.

Insert into ... select from ... is your only option for table-to-table and you are stuck with whatever locks the execution of the command needs to take.

David J.

pgsql-general by date:

Previous
From: George Neuner
Date:
Subject: Re: [GENERAL] VM-Ware Backup of VM safe?
Next
From: "Klaus P. Pieper"
Date:
Subject: Re: [GENERAL] VM-Ware Backup of VM safe?