pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Kramer <cckramer@gmail.com>
To: Scott Marlowe <scott.marlowe@gmail.com>
To: pgsql-general@postgresql.org
To: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: Re: Unable to access table named "user"
Date: Tue, 12 May 2009 18:57:07 +1000
Message-ID: <b4c00a110905120157r5327a5f1l235c917b474bf6c4@mail.gmail.com> (raw)
In-Reply-To: <dcc563d10905120055y1db763b9lff44af1f5d2cf833@mail.gmail.com>
References: <b4c00a110905120026y69808f7ekcb0489f6112cdf39@mail.gmail.com>
	<dcc563d10905120055y1db763b9lff44af1f5d2cf833@mail.gmail.com>

Don't help either.

Jdbc statement:
SELECT * from "public"."user" ;

Exception:
ERROR: relation "public.user" does not exist


On Tue, May 12, 2009 at 5:55 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
> On Tue, May 12, 2009 at 1:26 AM, Joe Kramer <cckramer@gmail.com> wrote:
>> Hi,
>>
>> I have table named user (lower case) in public schema.
>> I can access it using Pgadmin as
>> SELECT * from "user"; SELECT * from "public.user"; SELECT * FROM public.user;
>
> Try "public"."user"
>



view thread (8+ messages)  latest in thread

Message-ID: <b4c00a110905120157r5327a5f1l235c917b474bf6c4@mail.gmail.com>
Permalink:  ../b4c00a110905120157r5327a5f1l235c917b474bf6c4@mail.gmail.com/
Also on:    postgresql.org/message-id/b4c00a110905120157r5327a5f1l235c917b474bf6c4@mail.gmail.com

 · 

reply

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-jdbc@postgresql.org
  Cc: cckramer@gmail.com, scott.marlowe@gmail.com, pgsql-general@postgresql.org
  Subject: Re: Unable to access table named "user"
  In-Reply-To: <b4c00a110905120157r5327a5f1l235c917b474bf6c4@mail.gmail.com>
  References: <b4c00a110905120026y69808f7ekcb0489f6112cdf39@mail.gmail.com> <dcc563d10905120055y1db763b9lff44af1f5d2cf833@mail.gmail.com> <b4c00a110905120157r5327a5f1l235c917b474bf6c4@mail.gmail.com>

* 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