EnterpriseDB: The Enterprise Postgres Company Postgres Plus Forums: The PostgreSQL Open Source Database from EnterpriseDB
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 

Union All in subquery causes failure  XML

Forum Index » GridSQL - General
Author Message
Don_N

New member

Joined: 03/12/2008 17:15:20
Messages: 9
Offline

GridSQL -> create table t1 (col1 int, col2 int) replicated;
OK
Response time: 0m 0s 35ms Total time: 0m 0s 35ms

GridSQL -> create table t2 (id int) replicated;
OK

GridSQL -> select * from (select col1 from t1 union all select col2 from t1) as x where x.col1 not in (select id from t2);
SQLException: ERROR: Can not prepare request: Table x has not been found in database mydb

Same query works when executed directly on all nodes.
Atul_D

New member

Joined: 21/03/2008 01:55:32
Messages: 9
Offline

Hi Don,
This looks like a bug. We are looking into this and will post an update soon.

--
Atul
Atul_D

New member

Joined: 21/03/2008 01:55:32
Messages: 9
Offline

Hi Don,
A patch has been committed in the CVS that resolves this issue.

Thanks,
Atul
 
Forum Index » GridSQL - General
Go to:   
Powered by JForum 2.1.8 © JForum Team