From: Josh Berkus <josh@agliodbs.com>
To: pgsql-sql@postgresql.org
Cc: Wei Weng <wweng@kencast.com>
Subject: Re: Cast NULL into Timestamp?
Date: Fri, 10 Dec 2004 21:11:28 -0800
Message-ID: <200412102111.28104.josh@agliodbs.com> (raw)
In-Reply-To: <41B9F808.2040909@kencast.com>
References: <41B9F808.2040909@kencast.com>
Wei,
> insert into table temp (tempname, tempdate)
> select distinct 'tempname', null from some_other_relevant_table;
I don't think you're reporting the error exactly as it happened. Try cutting
and pasting your actual PSQL session into your e-mail.
Perhaps you are mixing up the column order?
--
Josh Berkus
Aglio Database Solutions
San Francisco
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: josh@agliodbs.com, wweng@kencast.com
Subject: Re: Cast NULL into Timestamp?
In-Reply-To: <200412102111.28104.josh@agliodbs.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