strange row count?

Поиск
Список
Период
Сортировка
От Radoslaw Stachowiak
Тема strange row count?
Дата
Msg-id 20010124220059.Q26640@blue.alter.pl
обсуждение исходный текст
Список pgsql-general
COuld someone explain me why a query:
mlotdev=> SELECT min(date_part('epoch',t_max-now())) FROM aibuf WHERE flag='A';
 min
 -----

 (1 row)

showed one row (empty!!!!) while the query (equivalent one):
mlotdev=> SELECT date_part('epoch',t_max-now()) FROM aibuf WHERE flag='A' order by 1;
 date_part
 -----------
 (0 rows)

showed 0 ?

This happens both in psql an libpq interface and is sth strage to me (but
maybe there is some point :)

The query/table details are non important ( You should get the same results on
other examples).

My postgresql is 7.0.3


--
radoslaw.stachowiak.........................................http://alter.pl/

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

Предыдущее
От: Warren Vanichuk
Дата:
Сообщение: Re: scrolling in psql..
Следующее
От: "Oliver Elphick"
Дата:
Сообщение: Re: SQL Buffer question