From: Craig Ringer <craig@postnewspapers.com.au>
To: PG Hackers <pgsql-hackers@postgresql.org>
Subject: Re: [BUGS] BUG #6046: select current_date crashes postgres
Date: Wed, 01 Jun 2011 09:13:25 +0800
Message-ID: <4DE59235.5000608@postnewspapers.com.au> (raw)
In-Reply-To: <4DE58F83.60207@postnewspapers.com.au>
References: <201105311728.p4VHSRbR063675@wwwmaster.postgresql.org>
<4DE58F83.60207@postnewspapers.com.au>
On 1/06/2011 9:01 AM, Craig Ringer wrote:
> Is anyone aware of any changes between 9.0 and 9.1beta that messed with
> time zone handling and loading?
By the way, it looks like using any of:
SELECT 'now'::timestamp;
SELECT 'now'::timestamptz;
SELECT current_time;
SELECT current_date;
SELECT localtime;
SELECT localtimestamp;
SELECT CAST( now() AS date );
will also trigger a crash. However, none of these statements do:
SELECT current_timestamp;
SELECT now();
SELECT now() :: timestamptz;
SELECT now() :: timestamp;
--
Craig Ringer
Tech-related writing at http://soapyfrogs.blogspot.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-bugs@postgresql.org
Cc: craig@postnewspapers.com.au, pgsql-hackers@postgresql.org
Subject: Re: [BUGS] BUG #6046: select current_date crashes postgres
In-Reply-To: <4DE59235.5000608@postnewspapers.com.au>
References: <201105311728.p4VHSRbR063675@wwwmaster.postgresql.org> <4DE58F83.60207@postnewspapers.com.au> <4DE59235.5000608@postnewspapers.com.au>
* 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