Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 7E3BC63227E for ; Tue, 12 May 2009 04:48:18 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 16815-02 for ; Tue, 12 May 2009 04:48:17 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mail.postgresql.org (Postfix) with ESMTP id 1C71E630861 for ; Tue, 12 May 2009 04:48:03 -0300 (ADT) Received: by yw-out-2324.google.com with SMTP id 3so1932825ywj.73 for ; Tue, 12 May 2009 00:47:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=yJD+rj0ab2s4BPwFZ0/vCAddv27a7+vttJ3zXVXKHug=; b=BJTqAqN3qlkNfJLusj1M4cTMvNab8Migf5KHxCFdMsAk4IazCABvnLVaZfdvgtWBzd KwrIzQOkbfNhkLWwBVtR2qUx/nhtd9q8B+spz3zGCv3yH7ZINaSFccW9uPFcg5DzQcxs eKpnhBicbBLXiMKr7uFyBlHhNege61+KKZiTA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=BCvxQ6HK/cZE+AoDjECC+jnB1ucJPnsoReTMHLqSTLALvv0F/P4XSth9GaJJEFgAWB 7BhM7HVEhBlVyY/HwQR4wvOGKXqTlGs8uqMnI1uv7GZxIVx/q13DneHaPPoXD9ml83zi HyPzSKHjiILYup09pv3fRWXjb99/a2uwkcZ3w= MIME-Version: 1.0 Received: by 10.100.110.9 with SMTP id i9mr19328997anc.130.1242113192654; Tue, 12 May 2009 00:26:32 -0700 (PDT) Date: Tue, 12 May 2009 17:26:32 +1000 Message-ID: Subject: Unable to access table named "user" From: Joe Kramer To: pgsql-general@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200905/423 X-Sequence-Number: 147561 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; I can't find any way to access this table from Jdbc. Tried to access as public.user, user in single and double quotes, nothing helps. I get exceptions like ERROR: relation "public.user" does not exist ERROR: relation "user" does not exist Also tried to execute "SET search_path TO public" beforehand in same jdbc connection, makes no difference. Is there any way? Thanks.