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')
Список 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 по дате отправления: