Re: returns numbers of record

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: returns numbers of record
Дата
Msg-id 49366E0B.1010302@archonet.com
обсуждение исходный текст
Ответ на returns numbers of record  ("Enrico Pirozzi" <sscotty71@gmail.com>)
Список pgsql-general
Enrico Pirozzi wrote:
> Hi all,
> does it exists a way to know how many records a query returns?

Not without fetching the rows. If you're not using a cursor then all the
rows will be fetched anyway and whatever library you're using will
almost certainly have a pg_numrows() function or some such.

--
  Richard Huxton
  Archonet Ltd

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: concurrent users
Следующее
От: Gary Schlachter
Дата:
Сообщение: Re: Corruption in postgres 7.4 on solaris 2.9.