pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Craig Ringer <craig@postnewspapers.com.au>
Cc: PG Hackers <pgsql-hackers@postgresql.org>
Subject: Re: [BUGS] BUG #6046: select current_date crashes postgres
Date: Tue, 31 May 2011 22:53:47 -0400
Message-ID: <7038.1306896827@sss.pgh.pa.us> (raw)
In-Reply-To: <4DE59235.5000608@postnewspapers.com.au>
References: <201105311728.p4VHSRbR063675@wwwmaster.postgresql.org>
	<4DE58F83.60207@postnewspapers.com.au>
	<4DE59235.5000608@postnewspapers.com.au>

Craig Ringer <craig@postnewspapers.com.au> writes:
> 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.

This is the known problem with timezone abbreviations not being
initialized correctly on Windows --- anything involving interpreting a
"keyword" in datetime input will go belly up.  See commits 2e82d0b39,
e05b86644.

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <7038.1306896827@sss.pgh.pa.us>
Permalink:  ../7038.1306896827@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7038.1306896827@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, craig@postnewspapers.com.au, pgsql-hackers@postgresql.org
  Subject: Re: [BUGS] BUG #6046: select current_date crashes postgres
  In-Reply-To: <7038.1306896827@sss.pgh.pa.us>
  References: <201105311728.p4VHSRbR063675@wwwmaster.postgresql.org> <4DE58F83.60207@postnewspapers.com.au> <4DE59235.5000608@postnewspapers.com.au> <7038.1306896827@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