Re: server crash in to_timestamp function - Mailing list pgsql-hackers

From Tom Lane
Subject Re: server crash in to_timestamp function
Date
Msg-id 14814.1226410123@sss.pgh.pa.us
Whole thread Raw
In response to server crash in to_timestamp function  ("Ibrar Ahmed" <ibrar.ahmad@gmail.com>)
List pgsql-hackers
"Ibrar Ahmed" <ibrar.ahmad@gmail.com> writes:
> While looking at the code base I have encountered a server crash in
> to_timestamp function.

> select TO_TIMESTAMP ( '2006 1', 'YYYY Q' );
> server closed the connection unexpectedly

Looks like Heikki fixed this yesterday.  It works here:

regression=# select TO_TIMESTAMP ( '2006 1', 'YYYY Q' );     to_timestamp      
------------------------2006-01-01 00:00:00-05
(1 row)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: libpq with ssl vs psql without
Next
From: Tom Lane
Date:
Subject: Re: Duplicated docs on libpq parameters