count syntax

Поиск
Список
Период
Сортировка
От Patrick Welche
Тема count syntax
Дата
Msg-id 20030411124438.B23389@quartz.newn.cam.ac.uk
обсуждение исходный текст
Ответы Re: count syntax  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: count syntax  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
What is the difference between the following?

transatlantic=# select count(*) from trans;
 count
--------
 453602
(1 row)

transatlantic=# select count(trans.flowindex) from trans;
 count
--------
 453602
(1 row)

transatlantic=# select count(trans.*) from trans;
ERROR:  Memory exhausted in AllocSetAlloc(204)

% limit
cputime         unlimited
filesize        unlimited
datasize        1048576 kbytes
stacksize       32768 kbytes
coredumpsize    unlimited
memoryuse       2048532 kbytes
memorylocked    2048532 kbytes
maxproc         1044
openfiles       3404


Cheers,

Patrick


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

Предыдущее
От: tom dyson
Дата:
Сообщение: conditional constraints
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: Batch replication ordering (was Re: [GENERAL] 32/64-bit