Re: Re[2]: Importing Data into Postgresql from MS Access

From: "Tony Simopoulos" <karkalis(at)earthling(dot)net>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Re[2]: Importing Data into Postgresql from MS Access
Date: 2000-10-12 23:37:04
Message-ID: 039a01c034a5$53b4a610$0382a8c0@metavera.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

all,

> TS> the COPY command is the sorriest excuse for a data load tool i have
> TS> ever had the displeasure of working with.
sorry to be so sarcastic, i'm having a bad day. the main point is along the lines, of what tom has stated below.

> COPY was never intended as a data format conversion tool. It started out
> as a quick & dirty tool for saving and restoring database contents.
> It's accreted a few frammishes over the years, notably the user-settable
> delimiter option, but basically it's still designed to read files that it
> wrote itself.

> I agree with Tony that a separate tool for format conversions would be
> mighty handy. I don't think that trying to load down COPY with more
> features is an appropriate approach --- let it do what it does well,
> namely database backup and restore. But we do need something that can
> handle the layout and data-conversion tasks needed to import data from
> other DBMSes.
>
> regards, tom lane
>

my hope is that using ODBC will be a good first crack at this. also, i'm interested in loading other kinds of "free format" text
files that are too complex for the COPY command to handle. my hope is that this tool can be the basis for something comprehensive
in this department, possible even of use to other database users.

now only one problem: if i write this little tool and pop it into contrib, everyone will know how badly i code ...

tonys.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message ghaverla 2000-10-12 23:44:41 Re: Web pages tables over intranet
Previous Message Tom Lane 2000-10-12 22:56:31 Re: Re[2]: Importing Data into Postgresql from MS Access