Re: [c-jdbc] Bug Report - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: [c-jdbc] Bug Report
Date
Msg-id 41A25315.5080108@opencloud.com
Whole thread Raw
In response to Re: [c-jdbc] Bug Report  (Nicolas Modrzyk <Nicolas.Modrzyk@inrialpes.fr>)
List pgsql-jdbc
Nicolas Modrzyk wrote:
> Hi All,
>
> Could anyone let us know how to understand the attached query ?
>  From what I know this is an Orion (java application server) generated
> query for postgresql...
>
> The C-JDBC parsing seems to fail because we can't find a proper FROM
> keyword to select the depedencies of the query.
> Since this is not seemingly SQL92 standard, can anyone from the
> postgresql team give us some information ?

I am confused. Are you encountering a C-JDBC problem, a PostgreSQL JDBC
driver problem, a PostgreSQL backend query parsing problem, or something
else again? Exactly what error or misbehaviour do you see?

The query itself does not seem too painful, it is a CREATE TABLE AS with
a query part that has lots of UNIONs:

   CREATE TABLE ... AS
     SELECT ... FROM ...
     UNION
     SELECT ... FROM ...
     UNION
     SELECT ... FROM ...
     [...]

-O

pgsql-jdbc by date:

Previous
From: Vadim Nasardinov
Date:
Subject: Re: Any knowledgeable Object -> Relational coders in here?
Next
From: "Barry Lind"
Date:
Subject: FW: [HACKERS] Strange server error with current 8.0beta driver