Re: psql \copy

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: psql \copy
Date: 2020-04-24 16:36:47
Message-ID: 21c97985-7126-f71a-ff4a-da6e10e9ab76@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

You might want to investigate pg_bulkload for this activity.

On 4/24/20 10:55 AM, Steve Clark wrote:
> Hello,
>
> I am using psql to copy data extracted from an InfluxDB in csv format into
> postgresql.
> I have a key field on the time field which I have defined as a bigint
> since the time I get
> from InfluxDB is an epoch time.
>
> My question is does psql abort the copy if it hits a duplicate key, or
> does it keep processing?
>

--
Angular momentum makes the world go 'round.

In response to

  • psql \copy at 2020-04-24 15:55:34 from Steve Clark

Browse pgsql-general by date

  From Date Subject
Next Message Peter Geoghegan 2020-04-25 02:03:20 Re: create index insist on 2 workers only
Previous Message Steve Clark 2020-04-24 16:19:57 Re: psql \copy