Can somebody explain why a standalone count(*) returns 1?
postgres=# select count(*);
count
-------
1
(1 row)
I agree it's an odd thing for someone to query, but I feel it should return
0, and not 1.
--
Gurjeet Singh
http://gurjeet.singh.im/
Responses
pgsql-hackers by date
| Next: | From: Tom Lane | Date: 2013-01-13 21:16:10 |
| Subject: Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) |
| Previous: | From: Tom Lane | Date: 2013-01-13 21:09:29 |
| Subject: Re: erroneous restore into pg_catalog schema |