Re: Problem with COPY

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with COPY
Date: 2006-07-11 13:22:08
Message-ID: 20060711132207.GA3680@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Leif B. Kristensen wrote:
> On Tuesday 11. July 2006 10:10, A. Kretschmer wrote:
> >Do you have a UNIX-like operating system? Then you can use tools like
> >'cut':
> >
> >kretschmer(at)tux:~$ echo "s1,s2,s3" | cut -d ',' -f 1,3
> >s1,s3
> >
> >This result can you pipe into psql.
>
> It would be nice, though, if we had something like Oracle's SQL-Loader
> for PostgreSQL. It's a very powerful tool for transforming and loading
> data.

We do have very powerful tools, even more powerful than SQL-Loader.
They require a bit more work to use though. Perl, for example.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Leif B. Kristensen 2006-07-11 13:38:37 Re: Problem with COPY
Previous Message nkunkov 2006-07-11 13:05:18 Dynamic table with variable number of columns