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 1322724101.24279.26.camel@jdavis
обсуждение исходный текст
Ответ на Re: possible bug seen with -DCLOBBER_CACHE_ALWAYS and changing GUCs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Wed, 2011-11-30 at 20:10 -0500, Tom Lane wrote:
> I believe what is happening in the second case is that the query is
> getting re-parse-analyzed, from scratch, and since now datestyle is
> different (DMY not MDY), the date literal gets interpreted differently.
> You could argue it either way as to which result is "more correct",
> but I doubt we're going to try to do something about that.  Best advice
> is to avoid ambiguous input, or if you can't, at least avoid flipping
> your datestyle on the fly.

I'm fine calling that "not a bug", though it appears to work in 8.3.

Regards,
    Jeff Davis

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 9.1.1 hot standby startup gets sigbus
Следующее
От: Josh Kupershmidt
Дата:
Сообщение: Re: 9.1.1 hot standby startup gets sigbus