X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 821F8D1B508 for ; Fri, 31 Oct 2003 19:48:32 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 64053-02 for ; Fri, 31 Oct 2003 15:48:02 -0400 (AST) Received: from dhcp-7-248.ma.lycos.com (waltham-nat.ma.lycos.com [209.202.205.1]) by svr1.postgresql.org (Postfix) with SMTP id 02577D1B89E for ; Fri, 31 Oct 2003 15:47:43 -0400 (AST) Received: (qmail 12573 invoked from network); 31 Oct 2003 19:50:19 -0000 Received: from dhcp-7-41.ma.lycos.com (HELO squeegit) (10.124.7.41) by dhcp-7-248.ma.lycos.com with SMTP; 31 Oct 2003 19:50:19 -0000 Date: Fri, 31 Oct 2003 14:47:37 -0500 From: Jeff To: "PostgreSQL" Cc: pgsql-admin@postgresql.org Subject: Re: SELECT COUNT(*)... returns 0 ROWS Message-Id: <20031031144737.0faca65f.threshar@torgo.978.org> In-Reply-To: References: X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/420 X-Sequence-Number: 10981 On Fri, 31 Oct 2003 13:33:09 -0600 "PostgreSQL" 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 http://www.jefftrout.com/ http://www.stuarthamm.net/