Re: Bulk Insert/Update Scenario

From: legrand legrand <legrand_legrand(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Bulk Insert/Update Scenario
Date: 2018-01-04 21:19:53
Message-ID: 1515100793364-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

check documentation Populate a database
<https://www.postgresql.org/docs/10/static/populate.html>

this explains how to create a dummy table,
load it using COPY command,
and then INSERT / UPDATE target tables (using ON CONFLICT if needed)

You can also investigate:
- file_fdw <https://www.postgresql.org/docs/current/static/file-fdw.html>
extension (that permits to use text files as tables)
- pg_bulkload <https://github.com/ossc-db/pg_bulkload/> extension (that
permits to load data like Oracle loader do)

Regards
PAscal

--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mana M 2018-01-04 21:47:49 Re: Bulk Insert/Update Scenario
Previous Message Jordan Deitch 2018-01-04 20:43:10 Re: Bulk Insert/Update Scenario