Re: Different results from identical matviews

Поиск
Список
Период
Сортировка
От Jeremy Smith
Тема Re: Different results from identical matviews
Дата
Msg-id CAM8SmLVRr5Uxkd7g0oC6pxMLtESukj4k4n1P39zs-k2ZwYfnSw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Different results from identical matviews  (Anders Steinlein <anders@e5r.no>)
Ответы Re: Different results from identical matviews  (Anders Steinlein <anders@e5r.no>)
Список pgsql-general
It looks like you are using now() fairly often in that query.  That would, of course, give different results in different transactions, but it could also give different results if a) the things you are comparing now() to are timestamp without time zone and b) the session time zone of the user doing the refresh is different from the session time zone of the user running the query.  I'd also be suspicious about any other timestamp comparisons that aren't comparing timestamp to timestamp or timestamptz to timestamptz.



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

Предыдущее
От: Michael Lewis
Дата:
Сообщение: Re: Different results from identical matviews
Следующее
От: Anders Steinlein
Дата:
Сообщение: Re: Different results from identical matviews