pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mehrab Erfani <me@vuit.com>
To: pgsql-admin@postgresql.org
Subject: Hi, I have a question regarding the postgresql scripting
Date: Thu, 28 Aug 2003 14:40:37 -0800
Message-ID: <000a01c36db5$676227e0$0e01000a@MEHRAB> (raw)

Hi,
I tried to get answers back from the newsgroup and the mail list of
postgres.org, but wasn't that luck yet.
I did subscribe though under the name NICO, and with the mail add:
nico_king2002@yahoo.com
I'd appreciate it if you could answer my question.
 
I have written a script to import some data into my
database tables, with the delimiter ','. Now my question
is sometime the data being sent to my tables might not
match the data type or be corrupted and I receive an error message.
One: how could I prevent that?
Two: how can I divert all my error messages to a log file, where I can see
the errors later?
Three: how can I proceed with importing the rest of the data even though
some are corrupted?
Thanks
 
Nico,
P.S: I hope I am makeing sense.

 

 

view thread (2+ messages)  latest in thread

Message-ID: <000a01c36db5$676227e0$0e01000a@MEHRAB>
Permalink:  ../000a01c36db5$676227e0$0e01000a@MEHRAB/
Also on:    postgresql.org/message-id/000a01c36db5$676227e0$0e01000a@MEHRAB

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: me@vuit.com
  Subject: Re: Hi, I have a question regarding the postgresql scripting
  In-Reply-To: <000a01c36db5$676227e0$0e01000a@MEHRAB>
  References: <000a01c36db5$676227e0$0e01000a@MEHRAB>

* 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