Re: Import csv to temp table

From: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
To: "arun chirappurath" <arunsnmimt(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Import csv to temp table
Date: 2024-01-02 14:51:21
Message-ID: 369a8ac6-e77d-4de6-878a-01eee781acaf@manitou-mail.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

arun chirappurath wrote:

> Do we have any scripts that create a temp table with column names
> from the first row of csv files?

csvkit [1] does that.

[1] https://csvkit.readthedocs.io/en/latest/

Best regards,
--
Daniel Vérité
https://postgresql.verite.pro/
Twitter: @DanielVerite

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dominique Devienne 2024-01-02 15:24:45 New SET privilege for pg_has_role() in v16+
Previous Message David G. Johnston 2024-01-02 14:20:46 Re: Testing - Please ignore/delete this message