From: William L James <BJames@inetmi.com>
To: pgsql-admin@postgresql.org
Subject: timestamp data type and null value
Date: Fri, 06 Oct 2000 17:03:12 -0400
Message-ID: <39DE3E10.975AAFA5@inetmi.com> (raw)
Hello there:
I am trying to move one of our databases from MS SQL
to PostgreSQL and having trouble. One of our table
columns is a timestamp type and the contents in MS SQL
is nulls. When defined for PostgreSQL, I specifically did
not include the "NOT NULL" attribute to this column, but
when we issue an INSERT with the null, it fails with an
error indicating that nulls are not allowed. What can I do
to either get the timestamp data type to permit null values
or to redefine my column to accept a timestamp-like type
and nulls.
Thanks,
--
William L. James
I/NET, Inc.
Email: mailto:bjames@inetmi.com
WWW: http://www.inetmi.com
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: BJames@inetmi.com
Subject: Re: timestamp data type and null value
In-Reply-To: <39DE3E10.975AAFA5@inetmi.com>
References: <39DE3E10.975AAFA5@inetmi.com>
* 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