Re: [GENERAL] huge backend processes

Поиск
Список
Период
Сортировка
От jim@reptiles.org (Jim Mercer)
Тема Re: [GENERAL] huge backend processes
Дата
Msg-id m11HBQz-00080YC@mailbox.reptiles.org
обсуждение исходный текст
Ответ на huge backend processes  (jim@reptiles.org (Jim Mercer))
Список pgsql-general
> if i revert my code to (note: less the DATE_PART conversion):
>
> DECLARE mycurs CURSOR FOR
>    SELECT mark, subnet, bytes_in, bytes_out
>    FROM samples
>    WHERE mark >= 'epoch or another date'::abstime;
>
> it works fine.

as a followup, if i use:

DECLARE mycurs CURSOR FOR
   SELECT mark::int8, subnet, bytes_in, bytes_out
   FROM samples
   WHERE mark >= 'epoch or another date'::abstime;

it works fine as well.

--
[ Jim Mercer    Reptilian Research      jim@reptiles.org   +1 416 410-5633 ]
[ The telephone, for those of you who  have forgotten, was a commonly used ]
[ communications technology in the days before electronic mail.            ]
[ They're still easy to find in most large cities. -- Nathaniel Borenstein ]

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

Предыдущее
От: jim@reptiles.org (Jim Mercer)
Дата:
Сообщение: huge backend processes
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] huge backend processes