pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Browne <cbbrowne@acm.org>
To: pgsql-sql@postgresql.org
Subject: Re: IMPORT TOOL
Date: Thu, 11 Mar 2004 17:14:22 -0500
Message-ID: <60vflb58w1.fsf@dev6.int.libertyrms.info> (raw)
References: <FB4FDC17A002D711BC0C009027DE84AF027F6C2D@EXCHANGE.nuvo.com>

lkwan@nuvo.com (Louie Kwan) writes:
> Do anyone of you aware of any PG import tool same as SQL*LOADER in ORACLE
>
> We are doing some DataWarehouse work and need to import a large set of data
> from csv files.
>
> We are trying a import tool from ems-hitech.com, but I have troubles when
> loading time and date columns.
>
> Any help is much appreciated.
>
> Thanks
> Louie
>
> ------ |  Creating NNM_HOST Table
> ------ |
>
> CREATE TABLE NNM_NODES (
>  lastLoadTime_e       DATE,
>  domain_name          VARCHAR(10),
>  ----
>  ovtopo_id            INTEGER   NOT NULL,
>  node_type            VARCHAR(10),
>  node_name            VARCHAR(30),
>  ov_status            VARCHAR(10),
>  ipaddress            VARCHAR(15)
> );
> data.csv
> --------
> 31/01/2004,D1H01,845,IP,dfrQCQCRD1,Normal,142.130.35.1
> 31/01/2004,D1H01,849,IP,dfrQCIMCP1,Normal,142.130.130.33
> 31/01/2004,D1H01,853,IP,dfrQCSIBL1,Normal,142.130.130.19

At this point, the 'equivalent' to SQL*LOADER is some combination of
Perl, Python, Tcl, or some other favorite scripting language.

I seem to recall that someone (he'll remain nameless :-)) was working
on a tool rather like this; I'm not sure where deployment of that
stands.
-- 
output = ("cbbrowne" "@" "ntlug.org")
http://www3.sympatico.ca/cbbrowne/advocacy.html
"SCSI is *NOT* magic. There are *fundamental technical reasons* why it
is necessary  to sacrifice  a young  goat to your  SCSI chain  now and
then."



view thread (2+ messages)

Message-ID: <60vflb58w1.fsf@dev6.int.libertyrms.info>
Permalink:  ../60vflb58w1.fsf@dev6.int.libertyrms.info/
Also on:    postgresql.org/message-id/60vflb58w1.fsf@dev6.int.libertyrms.info

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: cbbrowne@acm.org
  Subject: Re: IMPORT TOOL
  In-Reply-To: <60vflb58w1.fsf@dev6.int.libertyrms.info>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox