Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 59A761BB4C01 for ; Mon, 9 Jan 2012 18:53:08 -0400 (AST) Received: from h-66-166-198-124.nycmny83.static.covad.net ([66.166.198.124] helo=tupari.net) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RkO5T-0007Ph-Gb for pgsql-jdbc@postgresql.org; Mon, 09 Jan 2012 22:53:08 +0000 Received: from jks-desktop.tupari.net (jks-desktop.tupari.net [192.168.1.3]) (authenticated bits=0) by tupari.net (8.14.5/8.14.1) with ESMTP id q09MqlCD029432 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 9 Jan 2012 17:52:52 -0500 Message-ID: <4F0B6FBF.5050703@selectacast.net> Date: Mon, 09 Jan 2012 17:52:47 -0500 From: Joseph Shraibman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 MIME-Version: 1.0 To: Dave Cramer CC: List Subject: Re: problem: query result in jdbc is <> result in psql References: <4F0B228E.8060708@selectacast.net> <4F0B2B5E.8030703@selectacast.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201201/37 X-Sequence-Number: 22577 On 01/09/2012 01:44 PM, Dave Cramer wrote: > OK, tried with 9.1.2 still can't replicate this problem. > Found the problem. When connecting with jdbc I was connecting to template1, when connecting with psql I was connecting to a different database. When connecting to template1 I can't view the relname from the other database, even though its the same user.