select count(*) from <empty table>: 0 rows or 1 rows ?

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: select count(*) from <empty table>: 0 rows or 1 rows ?
Date: 1999-05-31 07:41:49
Message-ID: Pine.GSO.3.96.SK.990531113050.4599B-100000@ra
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

discovery=> select count(*) from publications;
count
-----
0
(1 row)

Does 1 rows is a correct result ?

Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Trever Adams 1999-05-31 07:59:20 Backend sent 0x45 type while idle
Previous Message Dmitry Samersoff 1999-05-31 07:34:59 Re: [HACKERS] egcs experimentation results