pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joseph Shraibman <jks@selectacast.net>
To: Dave Cramer <pg@fastcrypt.com>
Subject: Re: problem: query result in jdbc is <> result in psql
Date: Tue, 10 Jan 2012 19:17:29 -0500
Message-ID: <4F0CD519.10209@selectacast.net> (raw)
In-Reply-To: <CADK3HH+2u4ZcK-iXA61HfghVTr9sigohcX1xb-FjFbzTZQcaqg@mail.gmail.com>
References: <jedbd4$bo7$1@news.hub.org>
	<jedd6l$21mu$1@news.hub.org>
	<CADK3HHKe-yGSsfKAVEyL5rm+5x=iecVsuDWU5q7to7sCZUG8Lg@mail.gmail.com>
	<4F0B228E.8060708@selectacast.net>
	<CADK3HHJMRSj6jPaoXSjt+nb-C5g_nzR4=6AX80k9HPt-R0-Yvg@mail.gmail.com>
	<4F0B2B5E.8030703@selectacast.net>
	<CADK3HHLZ830Sia=1-7JUXzGe2C-sm-igD6Cokjbngg1NGGQtAg@mail.gmail.com>
	<4F0B6FBF.5050703@selectacast.net>
	<jefr8l$2ijf$1@news.hub.org>
	<CADK3HH+2u4ZcK-iXA61HfghVTr9sigohcX1xb-FjFbzTZQcaqg@mail.gmail.com>

That doesn't help.  It isn't a permission problem, the problem is my sql 
has in it:
(select relname from pg_catalog.pg_class where pg_catalog.pg_class.oid = 
relation)

and pg_class is local to the db I'm connected to, so I can't get names 
of relations in other dbs.

On 01/09/2012 07:41 PM, Dave Cramer wrote:
> Try connecting to the postgres database as the postgres user.
>



view thread (12+ messages)

Message-ID: <4F0CD519.10209@selectacast.net>
Permalink:  ../4F0CD519.10209@selectacast.net/
Also on:    postgresql.org/message-id/4F0CD519.10209@selectacast.net

 · 

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: jks@selectacast.net, pg@fastcrypt.com
  Subject: Re: problem: query result in jdbc is <> result in psql
  In-Reply-To: <4F0CD519.10209@selectacast.net>
  References: <jedbd4$bo7$1@news.hub.org> <jedd6l$21mu$1@news.hub.org> <CADK3HHKe-yGSsfKAVEyL5rm+5x=iecVsuDWU5q7to7sCZUG8Lg@mail.gmail.com> <4F0B228E.8060708@selectacast.net> <CADK3HHJMRSj6jPaoXSjt+nb-C5g_nzR4=6AX80k9HPt-R0-Yvg@mail.gmail.com> <4F0B2B5E.8030703@selectacast.net> <CADK3HHLZ830Sia=1-7JUXzGe2C-sm-igD6Cokjbngg1NGGQtAg@mail.gmail.com> <4F0B6FBF.5050703@selectacast.net> <jefr8l$2ijf$1@news.hub.org> <CADK3HH+2u4ZcK-iXA61HfghVTr9sigohcX1xb-FjFbzTZQcaqg@mail.gmail.com> <4F0CD519.10209@selectacast.net>

* 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