Postgres 7.3.5 and count('x')

Поиск
Список
Период
Сортировка
От ramirez@idconcepts.org (Edwin S. Ramirez)
Тема Postgres 7.3.5 and count('x')
Дата
Msg-id 8d9c3e20.0312021052.75cd6b7@posting.google.com
обсуждение исходный текст
Ответы Re: Postgres 7.3.5 and count('x')  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hello,

It appears that the count('x') will no longer work without a type
cast.  Is this on purpose?  I've already modified my code to use
count(*) instead, but I decided to mention it anyway.

warehouse=# select count('x') ;
ERROR:  cannot accept a value of type any
warehouse=# select count('x'::text) ;count
-------    1
(1 row)


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

Предыдущее
От: todd@tekinteractive.com (Todd R. Eigenschink)
Дата:
Сообщение: Re: Examining the output of: ldd `which postgres`
Следующее
От: julius
Дата:
Сообщение: postgresql-7.4 make error: tuptoaster.c: In function `toast_delete_datum'