Re: Load data from a csv file without using COPY

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Ravi Krishna <srkrishna(at)yahoo(dot)com>, PG mailing List <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Load data from a csv file without using COPY
Date: 2018-06-19 22:38:29
Message-ID: 0bcfb5d0-f51f-0ca7-1ca9-b967cc110e81@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 06/19/2018 01:16 PM, Ravi Krishna wrote:
> In order to test a real life scenario (and use it for benchmarking) I want to load large number of data from csv files.
> The requirement is that the load should happen like an application writing to the database ( that is, no COPY command).
> Is there a tool which can do the job. Basically parse the csv file and insert it to the database row by row.

http://csvkit.readthedocs.io/en/1.0.3/scripts/csvsql.html
>
> thanks
>
>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ravi Krishna 2018-06-19 23:20:11 Re: Load data from a csv file without using COPY
Previous Message Stephen Frost 2018-06-19 22:22:02 Re: Load data from a csv file without using COPY