From: Tom Lane <tgl@sss.pgh.pa.us>
To: Colin Rothnie <colinr@tiwest.com.au>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Errors loading null dates in 7.0beta1
Date: Wed, 08 Mar 2000 03:36:31 -0500
Message-ID: <24547.952504591@sss.pgh.pa.us> (raw)
In-Reply-To: <E9EDEF4E768BD311BE0B00A0C9D4C42807B3F3@minxs1.tiwest.com.au>
References: <E9EDEF4E768BD311BE0B00A0C9D4C42807B3F3@minxs1.tiwest.com.au>
Colin Rothnie <colinr@tiwest.com.au> writes:
> I am unable to load data into version 7.0 beta1 when the date field is null.
> The same data loaded into the same table structure in 6.5.3 without errors.
FWIW, I don't see any obvious problem:
regression=# create table foo (f1 int, f2 date);
CREATE
regression=# insert into foo values (42, null);
INSERT 686666 1
regression=# select * from foo;
f1 | f2
----+----
42 |
(1 row)
Can you be more specific about your problem?
regards, tom lane
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: tgl@sss.pgh.pa.us, colinr@tiwest.com.au
Subject: Re: [SQL] Errors loading null dates in 7.0beta1
In-Reply-To: <24547.952504591@sss.pgh.pa.us>
References: <E9EDEF4E768BD311BE0B00A0C9D4C42807B3F3@minxs1.tiwest.com.au> <24547.952504591@sss.pgh.pa.us>
* 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