Constructors for dates, times, and timestamps - Mailing list pgsql-general

From Andrew T. Robinson
Subject Constructors for dates, times, and timestamps
Date
Msg-id 45E42864.8080401@nmi.net
Whole thread Raw
Responses Re: Constructors for dates, times, and timestamps  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Constructors for dates, times, and timestamps  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
Migrating from DB/2 6.1 to PostgreSQL 8.1.4,

The following work under DB/2, but I can find no analog in the
PostgreSQL documentation:

    time('00:00:00')  [there is to_date() and to_timestamp(), but no
to_time()?]

    timestamp(u.date, u.time) [where u.date is of type DATE and u.time
is of type TIME]

As with any paradigm shift, I'm sure this will be embarrassingly simple,
but I've spent hours RTFMing to no avail.

Andy

Attachment

pgsql-general by date:

Previous
From: "John Gant"
Date:
Subject: 2d array issues
Next
From: "Andy Dale"
Date:
Subject: Re: PostgreSQL 8.2.3, Jboss 4.0.3 and postgresql-8.2-504.jdbc4