Re: Bug #605: timestamp(timestamp('a timestamp)) no longer works

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: andrew(at)catalyst(dot)net(dot)nz, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #605: timestamp(timestamp('a timestamp)) no longer works
Date: 2002-03-01 15:03:41
Message-ID: 28178.1014995021@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

pgsql-bugs(at)postgresql(dot)org writes:
> timestamp(timestamp('a timestamp)) no longer works

timestamp(x) is a type name now. In place of timestamp(foo) use

"timestamp"(foo)
foo::timestamp
CAST(foo AS timestamp)

And yes, this is pointed out in the migration notes...

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Thomas Lockhart 2002-03-01 15:16:23 Re: Bug #605: timestamp(timestamp('a timestamp)) no longer works
Previous Message Tom Lane 2002-03-01 14:37:40 Re: Indexes not always used after inserts/updates/vacuum analyze

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2002-03-01 15:07:28 Re: Database Caching
Previous Message Jan Wieck 2002-03-01 14:22:29 Re: Database Caching