Re: Timestamp conversion can't use index
От | Bruce Momjian |
---|---|
Тема | Re: Timestamp conversion can't use index |
Дата | |
Msg-id | 200112270445.fBR4jjt05093@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Timestamp conversion can't use index (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | 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 по дате отправления: