Re: Timestamp conversion can't use index - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Timestamp conversion can't use index
Date
Msg-id 200112270445.fBR4jjt05093@candle.pha.pa.us
Whole thread Raw
In response to Re: Timestamp conversion can't use index  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
OK, new text:
Some datatype() function calls now evaluated differently   

At least it is a warning.

---------------------------------------------------------------------------

> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Added to same files:
> >     datatype(const,...) function calls now evaluated earlier   
> 
> This is quite wrong, since (a) the change only applies to single-
> argument function calls (so, no "..."), (b) the call is not
> evaluated "earlier", but "differently", and (c) it doesn't only
> apply to constant arguments.
> 
> Not sure that I can come up with a one-liner definition of this change,
> but the above definitely doesn't do the job.
> 
> We already have
> 
>    Modify type coersion logic to attempt binary-compatible functions first (Tom)
> 
> and I'm not sure there is a better one-liner for it.
> 
>             regards, tom lane
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Timestamp conversion can't use index
Next
From: Bruce Momjian
Date:
Subject: Re: History question