From: f.ermini@telemaco.it
To: pgsql-sql@postgresql.org
Subject: How do I COPY empty Datetimes?
Date: Fri, 20 Nov 1998 14:08:18 +0100
Message-ID: <365569C1.1C2DA90@telemaco.it> (raw)
To whoever is reading this mail for the second time, excuse me for the
cross-postings... I've already asked in 'general', since I've not gotten
any response I'm begging you guys in here to give me some advice...
------
Hi all. I have a problem here. I have to automatize the periodical COPY
of a large set of ASCII data in a postgres database. The parser digests
everything I put in there, with an exception: if there is a DateTime
field that is empty, the copy of the field fails for a "Invalid datetime
format". The field isn't a NOT NULL one, so I have to accept also empty
values... I've tried with the sequence '', "", or simply /t/t (tab is
the field separator in those ASCII data), but the output has always been
the same.
I would be immensely grateful to any 1 that could shed some light...
private responses please, I've had to unsubscribe... ya know, the phone
bill!!
TIA
-----------
Fabrizio Ermini
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-sql@postgresql.org
Cc: f.ermini@telemaco.it
Subject: Re: How do I COPY empty Datetimes?
In-Reply-To: <365569C1.1C2DA90@telemaco.it>
References: <365569C1.1C2DA90@telemaco.it>
* 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