pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Nicolas Modrzyk <Nicolas.Modrzyk@inrialpes.fr>
Cc: c-jdbc@objectweb.org
Cc: pgsql-jdbc@postgresql.org
Cc: gvp <blindvit@gala.net>
Subject: Re: [c-jdbc] Bug Report
Date: Mon, 22 Nov 2004 20:59:01 +0000
Message-ID: <41A25315.5080108@opencloud.com> (raw)
In-Reply-To: <41A22684.3060107@inrialpes.fr>
References: <200411191402.29957.xavier.moghrabi@inrialpes.fr>
	<41A22684.3060107@inrialpes.fr>

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



view thread (12+ messages)  latest in thread

Message-ID: <41A25315.5080108@opencloud.com>
Permalink:  ../41A25315.5080108@opencloud.com/
Also on:    postgresql.org/message-id/41A25315.5080108@opencloud.com

 · 

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: oliver@opencloud.com, Nicolas.Modrzyk@inrialpes.fr, c-jdbc@objectweb.org, blindvit@gala.net
  Subject: Re: [c-jdbc] Bug Report
  In-Reply-To: <41A25315.5080108@opencloud.com>
  References: <200411191402.29957.xavier.moghrabi@inrialpes.fr> <41A22684.3060107@inrialpes.fr> <41A25315.5080108@opencloud.com>

* 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