Re: SELECT COUNT(*)... returns 0 ROWS - Mailing list pgsql-admin

From Jeff
Subject Re: SELECT COUNT(*)... returns 0 ROWS
Date
Msg-id 20031031144737.0faca65f.threshar@torgo.978.org
Whole thread Raw
In response to SELECT COUNT(*)... returns 0 ROWS  ("PostgreSQL" <postgres@coopelesca.co.cr>)
Responses Re: SELECT COUNT(*)... returns 0 ROWS
List pgsql-admin
On Fri, 31 Oct 2003 13:33:09 -0600
"PostgreSQL" <postgres@coopelesca.co.cr> wrote:

> I have instaled Postgres 7.3.4 on RH 9,
> if I excecute:
>
> select count(*) from cj_tranh;
>  count
> -------
>      0
> (1 row)
>
> Why the result us CERO? the table have 1.400.000 rows!
> What is wrong? Anybody help please.
>

1. did you remember to load data?
2. did someone accidentally delete the data?
3. are you connected to the correct db (I've panic'd before but realized
I was on dev, not production!)?
4. sure that is the right table?

--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/

pgsql-admin by date:

Previous
From: "Epps, Aaron M."
Date:
Subject: Column References
Next
From: Tom Lane
Date:
Subject: Re: dumping tables from badly damaged db