Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id AF652633957 for ; Tue, 12 May 2009 04:19:44 -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 49453-03 for ; Tue, 12 May 2009 04:19:34 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mail.postgresql.org (Postfix) with ESMTP id 947DB633112 for ; Tue, 12 May 2009 04:19:33 -0300 (ADT) Received: by yx-out-2324.google.com with SMTP id 8so1935073yxg.73 for ; Tue, 12 May 2009 00:19:33 -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=ey3weqIuFBgy+lK2Oaa9fWETNwvuEyOYMPdVvSq4oL14n+baBTgEpF/pKNZ2M+r3Li /HtH9FfkWWO3q9IOrEXL3pQHOCoGnUTZCJn4yd+HvHVbF152bzzSr2Hcm0rtdegWGYqe JS9tAqSWttjTQ/BJfGgCeOdyedGEWx0fmG2KE= 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=Wk0+UFfGApF2m0RmulOwhdoIKMRB3Uuykzc03vKPLpJUp28yr3jx19/v0Udw41YbRK CGZlox3HzjFDX4e3CKOQELKf+BT47M4lweZ704Ee4t7Ugjq06HiydlrvrCVO7oxn93bf qexinHzUMw1UdaY5Ng8xsDV1UivI4IKbPOBXk= MIME-Version: 1.0 Received: by 10.100.8.4 with SMTP id 4mr19090284anh.146.1242112772856; Tue, 12 May 2009 00:19:32 -0700 (PDT) Date: Tue, 12 May 2009 17:19:32 +1000 Message-ID: Subject: Unable to access table named "user" From: Joe Kramer To: pgsql-jdbc@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/53 X-Sequence-Number: 19603 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.