Re: possible bug seen with -DCLOBBER_CACHE_ALWAYS and changing GUCs

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: possible bug seen with -DCLOBBER_CACHE_ALWAYS and changing GUCs
Дата
Msg-id CAMp0ubdy2Am4jA7ri875VJ6-9FR7TkkR7Lx3Kjvak+aFukG_-w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: possible bug seen with -DCLOBBER_CACHE_ALWAYS and changing GUCs  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: possible bug seen with -DCLOBBER_CACHE_ALWAYS and changing GUCs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Wed, Nov 30, 2011 at 5:10 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> The result of parse analysis for that query is a stored date constant
> (in a Const node) with a cast-to-text on top of it. =A0The system is aware
> that cast-date-to-text isn't immutable, so it doesn't try to fold the
> cast operation. =A0When you execute the query, it displays the date
> constant using the now-current datestyle.

Another thought: why does it execute the type input function (which is
dependent on a GUC), but not the cast?

Regards,
    Jeff Davis

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Euler Taveira de Oliveira
Дата:
Сообщение: Re: BUG #6327: Prefix full-text-search fails for hosts with complicated names
Следующее
От: Tom Lane
Дата:
Сообщение: Re: possible bug seen with -DCLOBBER_CACHE_ALWAYS and changing GUCs