Re: M$ SQL server DTS package equivalent in Postgres - Mailing list pgsql-ports

From Magnus Hagander
Subject Re: M$ SQL server DTS package equivalent in Postgres
Date
Msg-id 20070123085612.GB14759@svr2.hagander.net
Whole thread Raw
In response to M$ SQL server DTS package equivalent in Postgres  (Paul Lambert <paul.lambert@autoledgers.com.au>)
Responses Re: M$ SQL server DTS package equivalent in Postgres  (Paul Lambert <paul.lambert@autoledgers.com.au>)
List pgsql-ports
On Tue, Jan 23, 2007 at 10:15:06AM +0900, Paul Lambert wrote:
> G'day,
>
> Is there an equivalent in Postgres to the DTS Packages available in M$
> SQL server.

Nope.

> I use these in SQL server to pre-load data from CSV files prior to
> enabling replication from my primary application. Any pointers on where
> best to go for this would be appreciated. I'm reading about something
> called EMS, is that the way to go?

This you can do using plain COPY commands from psql. You acn script this
as a SQL file. Or you can script using your faviourite scripting
language such as perl or python or whatever. What we don't do is the
advanced transformation features in DTS, but if you're just loading data
it's fully supported.

> Sample of one of the files I use:

<snip>
Looks like a plaitnext file with ^ as field delimiter. See the help for
COPY on how to load that.

//Magnus

pgsql-ports by date:

Previous
From: Paul Lambert
Date:
Subject: M$ SQL server DTS package equivalent in Postgres
Next
From: Paul Lambert
Date:
Subject: Re: M$ SQL server DTS package equivalent in Postgres