Re: timestamped archive data index searches

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: timestamped archive data index searches
Дата
Msg-id 14155.1026919928@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: timestamped archive data index searches  ("Stephen Birch" <sgbirch@hotmail.com>)
Список pgsql-general
"Stephen Birch" <sgbirch@hotmail.com> writes:
> The select is something like..
> SELECT AVG(x) FROM arch WHERE tstamp > :t

What *exactly* arrives at the backend when this is done?  (Turn on query
logging to find out.)

I'm suspicious that the problem is a datatype-mismatch issue and you
might need a cast.  But it's hard to tell without seeing the exact
query.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: table size growing out of control
Следующее
От: Robert Treat
Дата:
Сообщение: Re: table size growing out of control