possible bug seen with -DCLOBBER_CACHE_ALWAYS and changing GUCs

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема possible bug seen with -DCLOBBER_CACHE_ALWAYS and changing GUCs
Дата
Msg-id CAMp0ubdWEv63h4x_cap_LKUcXGcbS7++3GyQaJrMq9pAHVCoSA@mail.gmail.com
обсуждение исходный текст
Ответы Re: possible bug seen with -DCLOBBER_CACHE_ALWAYS and changing GUCs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
SQL:

  set datestyle to postgres,us;
  prepare stmt as select '02-01-2011'::date::text;
  execute stmt;
  set datestyle to postgres,euro;
  execute stmt;
  deallocate stmt;

The results I get with normal debug compilation are:

  SET
  PREPARE
  =A0=A0=A0 text
  ------------
  =A002-01-2011
  (1 row)

  SET
  =A0=A0=A0 text
  ------------
  =A001-02-2011
  (1 row)

  DEALLOCATE

But with -DCLOBBER_CACHE_ALWAYS and -DRELCACHE_FORCE_RELEASE, I get:

  SET
  PREPARE
=A0  =A0=A0 text
  ------------
  =A002-01-2011
  (1 row)

  SET
  =A0=A0=A0 text
  ------------
  =A002-01-2011
  (1 row)

  DEALLOCATE

Which one of those results is correct?

Regards,
    Jeff Davis

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: BUG #6067: In PL/pgsql, EXISTS(SELECT ... INTO...) fails
Следующее
От: Tom Lane
Дата:
Сообщение: Re: possible bug seen with -DCLOBBER_CACHE_ALWAYS and changing GUCs