"Ibrar Ahmed" <ibrar(dot)ahmad(at)gmail(dot)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