Re: postgres jdbc into eclipse plugin (OID problems)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Diego Zanga" <naarani(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: postgres jdbc into eclipse plugin (OID problems)
Date: 2007-07-12 15:38:35
Message-ID: 19464.1184254715@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

"Diego Zanga" <naarani(at)gmail(dot)com> writes:
> the query i was using was something like:
> select tableA.fieldA, tableA.fieldB from tableA where tableA.fieldA=8
> the query report an error about >tableA<, but not WHERE/WITCH
> tableA word reported the error.

Maybe you need to be using a more recent version of Postgres?
I get messages like

regression=# create table foo(x int, y int);
CREATE TABLE
regression=# select foo.x, foo.y, foo.z from foo;
ERROR: column foo.z does not exist
LINE 1: select foo.x, foo.y, foo.z from foo;
^
regression=#

regards, tom lane

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Michael Schmidt 2007-07-13 00:01:07 backup through Java
Previous Message Fabian Zeindl 2007-07-12 11:38:22 Re: questions regarding transactions