From: Jeff <threshar@torgo.978.org>
To: PostgreSQL <postgres@coopelesca.co.cr>
Cc: pgsql-admin@postgresql.org
Subject: Re: SELECT COUNT(*)... returns 0 ROWS
Date: Fri, 31 Oct 2003 14:47:37 -0500
Message-ID: <20031031144737.0faca65f.threshar@torgo.978.org> (raw)
In-Reply-To: <WorldClient-F200310311333.AA33090196@coopelesca.co.cr>
References: <WorldClient-F200310311333.AA33090196@coopelesca.co.cr>
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/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: threshar@torgo.978.org, postgres@coopelesca.co.cr
Subject: Re: SELECT COUNT(*)... returns 0 ROWS
In-Reply-To: <20031031144737.0faca65f.threshar@torgo.978.org>
References: <WorldClient-F200310311333.AA33090196@coopelesca.co.cr> <20031031144737.0faca65f.threshar@torgo.978.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox