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

From Andrew T. Robinson
Subject Re: Constructors for dates, times, and timestamps
Date
Msg-id 45E73E73.3090906@nmi.net
Whole thread Raw
In response to Re: Constructors for dates, times, and timestamps  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Thanks for the pointers.  I did figure out

    'yyyy-mm-dd'::date
    'hh:mm:ss'::time

And I also came up with

    (date_column::text || ' ' || time_column::text)::timestamp

Which is too ugly for words.  I appreciate the more elegant solutions
posted to the list.

I'm growing to like Postgres, but I'm not sure I'll ever get over DB/2 :-)

Andy

Attachment

pgsql-general by date:

Previous
From: "John Smith"
Date:
Subject: who uses tsearch2
Next
From: Jerry Sievers
Date:
Subject: Connections over SSH tunnels closing after idle time