Re: Timestamp operator error

From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Josh Berkus" <josh(at)agliodbs(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Timestamp operator error
Date: 2002-02-26 05:20:02
Message-ID: web-810172@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Tom,

> Well, you could delete the date(timestamp) function from pg_proc.
> However, that would prevent getting from timestamp to date even
> with an explicit cast --- so you might want to put it back after
> you've found all the trouble spots.

Hmmmm, no, that won't work, as lots of my functions have explicit
casts. Thanks anyway. Hopefully I don't have many more functions
where I call INTERVAL + TIMESTAMP; I just looked at several
time-sensitve functions and I'm pretty consistent with the other way
'round.

FMI, though, how difficult is defining an operator if I paid a C
programmer to do it?

-Josh Berkus

______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2002-02-26 05:31:29 Re: Timestamp operator error
Previous Message Tom Lane 2002-02-26 05:10:44 Re: Timestamp operator error