Skip site navigation (1) Skip section navigation (2)

Re: problem: query result in jdbc is <> result in psql

From: Joseph Shraibman <jks(at)selectacast(dot)net>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: problem: query result in jdbc is <> result in psql
Date: 2012-01-09 22:52:47
Message-ID: 4F0B6FBF.5050703@selectacast.net (view raw or flat)
Thread:
Lists: pgsql-jdbc
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.

In response to

Responses

pgsql-jdbc by date

Next:From: Joseph ShraibmanDate: 2012-01-09 22:55:18
Subject: Re: problem: query result in jdbc is <> result in psql
Previous:From: Oliver JowettDate: 2012-01-09 20:21:37
Subject: Re: [JDBC] Binary Large Objects (LOB/BLOB) in Hibernate and JDBC: Unresolved issues

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group