Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 199AD9FC38D for ; Fri, 22 Jun 2007 18:33:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 28828-04 for ; Fri, 22 Jun 2007 18:33:25 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id C92A59FC3A8 for ; Fri, 22 Jun 2007 18:33:24 -0300 (ADT) Received: (qmail 25913 invoked by uid 1112); 22 Jun 2007 21:33:23 -0000 Date: Fri, 22 Jun 2007 17:33:23 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: tomasz brymora cc: pgsql-jdbc@postgresql.org, pgsql-general@postgresql.org Subject: Re: [JDBC] creating temporary table PostgreSql 8.1 and iBatis 2.3 In-Reply-To: <991681.73756.qm@web56610.mail.re3.yahoo.com> Message-ID: References: <991681.73756.qm@web56610.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/1364 X-Sequence-Number: 116187 On Fri, 22 Jun 2007, tomasz brymora wrote: > I've build a script in pgAdmin 3 ( os x 10.4 on ppc) that does a select, > some left outer joins and puts the results into a temporary table. Works > great when I run in pgAdmin. > > Then I try to use in an iBatis sqlmap as a 'select' and get this when > trying to execute it: > > org.postgresql.util.PSQLException: ERROR: must be member of role > "postgres" > > Other than that queries run fine. I'm thinking the problem is on the db > admin side of things, but I'm at a loss as to how to start fixing it. > Knowing the SQL that it actually executed would be valuable. Kris Jurka