Bad cast priority for DATE? - Mailing list pgsql-hackers

From Josh Berkus
Subject Bad cast priority for DATE?
Date
Msg-id 4C940791.6040303@agliodbs.com
Whole thread Raw
Responses Re: Bad cast priority for DATE?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Folks,

I was noticing that, where we have a function which has two versions,
timestamp and timestamptz (for example, date_trunc()), if I use a DATE
timestamptz is the default cast.  Shouldn't timestamp without time zone
be the default?  Is this something we can fix without an overhaul of the
type casting system?


--                                  -- Josh Berkus                                    PostgreSQL Experts Inc.
                        http://www.pgexperts.com
 


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Progress indication prototype
Next
From: Tom Lane
Date:
Subject: Re: Bad cast priority for DATE?