Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 37DBE633CE8 for ; Tue, 12 May 2009 10:59:56 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 49414-04 for ; Tue, 12 May 2009 10:59:42 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from QMTA11.emeryville.ca.mail.comcast.net (qmta11.emeryville.ca.mail.comcast.net [76.96.27.211]) by mail.postgresql.org (Postfix) with ESMTP id 80D50633DAF for ; Tue, 12 May 2009 10:59:22 -0300 (ADT) Received: from OMTA11.emeryville.ca.mail.comcast.net ([76.96.30.36]) by QMTA11.emeryville.ca.mail.comcast.net with comcast id qbk31b0010mlR8UABdzJkS; Tue, 12 May 2009 13:59:18 +0000 Received: from tucker.local ([24.17.164.54]) by OMTA11.emeryville.ca.mail.comcast.net with comcast id qdzH1b00J1Ak4z48XdzJYM; Tue, 12 May 2009 13:59:18 +0000 From: Adrian Klaver To: pgsql-general@postgresql.org Subject: Re: Unable to access table named "user" Date: Tue, 12 May 2009 06:59:16 -0700 User-Agent: KMail/1.9.10 Cc: Sam Mason References: <20090512101634.GC22221@samason.me.uk> In-Reply-To: <20090512101634.GC22221@samason.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905120659.16676.aklaver@comcast.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.09 tagged_above=0 required=5 tests=AWL=0.090 X-Spam-Level: X-Archive-Number: 200905/446 X-Sequence-Number: 147584 On Tuesday 12 May 2009 3:16:34 am Sam Mason wrote: > On Tue, May 12, 2009 at 06:57:07PM +1000, Joe Kramer wrote: > > Don't help either. > > > > Jdbc statement: > > SELECT * from "public"."user" ; > > > > Exception: > > ERROR: relation "public.user" does not exist > > Are you sure the table exists or you're connecting to the correct > database then? If you connect with psql and do "\dt" does it show up? > > -- > Sam http://samason.me.uk/ I would have to second Sam on this. If you find you are connected to the correct database, does the JDBC driver allow you to select other tables or is the problem restricted to this table? -- Adrian Klaver aklaver@comcast.net