Insert from CSV (comma separated values) file ? - Mailing list pgsql-general

From Brian Johnson
Subject Insert from CSV (comma separated values) file ?
Date
Msg-id 20030116.Taq.79021600@192.168.0.1
Whole thread Raw
List pgsql-general
I need to insert some values from a CSV file. It's a little more complicated than
that since I have to do a SELECT query (from one table) on one of the values to get
the proper value for the INSERT query (into another table)

I'd like it to be some kind of script that I could set up as a cron job

This sounds like the kind of things that somebody may have already done - can
anyone point me to it? I'd prefer bash or perl scripts

I checked google but couldn't come up with anything


pgsql-general by date:

Previous
From: Patrick Nelson
Date:
Subject: Upgrading
Next
From: Stephan Szabo
Date:
Subject: Re: Fix FK deadlock, but no magic please