<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest topics for the forum "GridSQL - Developers"]]></title>
		<link>http://forums.enterprisedb.com/forums/show/8.page</link>
		<description><![CDATA[The newest discussed topics in the forum "GridSQL - Developers"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>how to build and run the gridsql source code </title>
				<description><![CDATA[ I just read the readme.txt . In the  text it just say that "  The simplest  way to do this is to copy apps/gridsql/src/config/server/gridsql.config to another directory like the root project directory, modify the properties of the file appropriately depending on your environment,  and set the project properties in your IDE to use the directory where this file is as the execution directory.  " what does this mean "depending on your environment "  ? Is there anyone give me some examples .I am a novice about gridsql and there is so little document about this ]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2992/11144.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2992/11144.page</link>
				<pubDate><![CDATA[Thu, 15 Dec 2011 08:12:37]]> GMT</pubDate>
				<author><![CDATA[ cyj10727]]></author>
			</item>
			<item>
				<title>Form application</title>
				<description><![CDATA[ If postgres have a tools like "Oracle form builder" to developpe application :?:]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2898/10810.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2898/10810.page</link>
				<pubDate><![CDATA[Wed, 28 Sep 2011 19:58:34]]> GMT</pubDate>
				<author><![CDATA[ OUOBA_MARTIAL]]></author>
			</item>
			<item>
				<title>SQL_TRACE in EDB</title>
				<description><![CDATA[ Hi,<br /> <br /> What is equvilent of Oracle's SQL_TRACE in EDB]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2813/10409.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2813/10409.page</link>
				<pubDate><![CDATA[Thu, 21 Jul 2011 09:15:38]]> GMT</pubDate>
				<author><![CDATA[ abuabdullah]]></author>
			</item>
			<item>
				<title>Postgres can also work as a multi instance database like Oracle RAC</title>
				<description><![CDATA[ Hi Folks,<br /> <br /> I would like to know can Postgres supports migration of Oracle RAC mutli instance database to Postgres.<br /> Is there any multi instance database feature supported by Postgres similar to Oracle RAC database, it is<br /> different from Single instance database.<br /> <br /> Thanks<br /> -Ravi]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2765/10248.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2765/10248.page</link>
				<pubDate><![CDATA[Wed, 18 May 2011 07:39:56]]> GMT</pubDate>
				<author><![CDATA[ mostalika]]></author>
			</item>
			<item>
				<title>Vacuum db in gridsql</title>
				<description><![CDATA[ Hi,<br /> <br /> I am using <br /> <br /> postgres=#  PostgreSQL 8.3.2 on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC) 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)<br /> GridSQL -&gt;  1.1.0.9 <br /> <br /> <br /> Could you please tell me that we have any chance to run the vacuumdb on gridsql. If possible please tell me.Our database is having 14 nodes with near 1800 GB of data init.<br /> Vacuumdb in one node is taking more than 3 hours. And could u please tell me that which procedure of vacuum is good for db either node to node vacuum or directly at grid.<br /> <br /> <br /> <br /> Kindly reply me..<br /> <br /> Regards<br /> Pavani<br /> <br /> ]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2557/9583.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2557/9583.page</link>
				<pubDate><![CDATA[Sat, 8 Jan 2011 05:07:41]]> GMT</pubDate>
				<author><![CDATA[ Pavani_Mallampati_2]]></author>
			</item>
			<item>
				<title>CVS Check-In: Fixed bug with aliases in subquery handling </title>
				<description><![CDATA[ Bug report:<br /> <a class="snap_shots" href="http://forums.enterprisedb.com/posts/list/2525.page#9496" target="_blank" rel="nofollow">http://forums.enterprisedb.com/posts/list/2525.page#9496</a><br /> <br /> Files:<br />     Checking in src/com/edb/gridsql/queryproc/QueryProcessor.java;<br />     /cvsroot/gridsql/apps/gridsql/src/com/edb/gridsql/queryproc/QueryProcessor.java,v  &lt;--  QueryProcessor.java<br />     new revision: 1.23; previous revision: 1.22<br />     done<br /> ]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2546/9556.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2546/9556.page</link>
				<pubDate><![CDATA[Thu, 23 Dec 2010 03:54:08]]> GMT</pubDate>
				<author><![CDATA[ Andrei_M]]></author>
			</item>
			<item>
				<title>Add new nodes(from new server) to the Gridsql database</title>
				<description><![CDATA[ Hi,<br /> <br /> We are using postgresplus standard server with default grid version available in it as the details are shown below.<br /> <br /> [b]Postgres version[/b]<br /> <br /> postgres=# select version();<br />                                                    version<br /> --------------------------------------------------------------------------------------------------------------<br />  PostgreSQL 8.3.2 on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC) 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)<br /> (1 row)<br /> <br /> [b]Grid version[/b]<br /> <br /> GridSQL -&gt; select version();<br /> +---------+<br /> | version |<br /> +---------+<br /> | 1.1.0.9 |<br /> +---------+<br /> 1 row(s).<br /> <br /> Now, in grid I have the database running on 14 nodes with 1 coordinator and 2 agents as shown below.<br /> <br /> coordinator nodes: 1,2,3,4,5<br /> agent1 nodes: 6,7,8,9,10<br /> agent2 nodes: 11,12,13,14<br /> <br /> GridSQL -&gt; show databases;<br /> +-----------------------------------------------------------+<br /> |   DATABASE   |  STATUS |              NODES               |<br /> +-----------------------------------------------------------+<br /> | testdb | Started | 1,2,3,4,5,6,7,8,9,10,11,12,13,14 |<br /> +-----------------------------------------------------------+<br /> 3 row(s).<br /> <br /> <br /> [quote]Now, i need to add new nodes from the different server to the above currently existing database(testdb) , the database have many tables with huge amount of data.<br /> Please help me to add the nodes.<br /> [/quote]<br /> <br /> <br /> Thanks in advance.<br /> <br /> <br /> Pavani<br /> ]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2534/9519.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2534/9519.page</link>
				<pubDate><![CDATA[Mon, 13 Dec 2010 02:17:33]]> GMT</pubDate>
				<author><![CDATA[ Pavani_Mallampati_2]]></author>
			</item>
			<item>
				<title>can not run more than one gs-loader.sh in one mathine?</title>
				<description><![CDATA[ can not run more than one gs-loader.sh in one mathine?<br /> <br /> hello, :)<br /> <br /> i want to run muti gs-loader.sh  on one mathine?<br /> but when i run the second gs-load.sh ，there some error message。。。<br /> <br /> [root@KVMHost-00237d54fa0a data]# gs-loader.sh <br /> Error occurred during initialization of VM<br /> Could not reserve enough space for the card marking array<br /> [root@KVMHost-00237d54fa0a data]#<br /> <br />  how can i do?<br /> <br /> thank you ! :lol: :lol:]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2514/9458.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2514/9458.page</link>
				<pubDate><![CDATA[Tue, 30 Nov 2010 22:17:26]]> GMT</pubDate>
				<author><![CDATA[ harry_zhang]]></author>
			</item>
			<item>
				<title> gs-createdb.sh problem </title>
				<description><![CDATA[ hi<br /> ive configured my gridSql according to its documentations. i have two nodes , node one(IP = 192.168.1.3) and node two(192.168.1.2) , according to the documentation i checked following command from nodes one postgresql :<br /> createdb -h 192.168.1.2 -p 5433 -U postgres -O postgres xxxx <br /> and it worked successfully , so my connection and other things are ok, but while running this command from gridSql <br /> gs-createdb.sh -d xxxx -u postgres -p mypass -n 1,2 <br /> i got exception . it created xxxx db in my localhost db but when it wants to create db in node two (192.168.1.2) it fails due to :<br /> ERROR: Failed to execute command "createdb -h 192.168.1.2 -p 5433 -U postgres -O postgres hahaN2": exit code was 1<br /> <br /> and in my console.log i got : <br /> <br /> [code]2010-11-30 19:37:09,334 - ERROR Catching throwable: <br /> java.io.IOException: Failed to execute command "createdb -h 192.168.1.2 -p 5433 -U postgres -O postgres xxxx": exit code was 1<br /> 	at com.edb.gridsql.util.DbGateway.executeList(Unknown Source)<br /> 	at com.edb.gridsql.util.DbGateway.executeTemplateOnNodes(Unknown Source)<br /> 	at com.edb.gridsql.util.DbGateway.createDbOnNodes(Unknown Source)<br /> 	at com.edb.gridsql.parser.SqlCreateDatabase.execute(Unknown Source)<br /> 	at com.edb.gridsql.engine.ExecutableRequest.execute(Unknown Source)<br /> 	at com.edb.gridsql.engine.XDBSessionContext.executeRequest(Unknown Source)<br /> 	at com.edb.gridsql.engine.ServerStatement.execute(Unknown Source)<br /> 	at com.edb.gridsql.engine.ServerStatement.describe(Unknown Source)<br /> 	at com.edb.gridsql.engine.XDBSessionContext.describeStatement(Unknown Source)<br /> 	at com.edb.gridsql.protocol.PgProtocolSession.run(Unknown Source)<br /> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br /> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br /> 	at java.lang.Thread.run(Thread.java:619)<br /> 2010-11-30 19:37:09,366 - ERROR Catching throwable: <br /> java.io.IOException: Connection is broken<br /> 	at com.edb.gridsql.protocol.PgProtocolSession.readRequest(Unknown Source)<br /> 	at com.edb.gridsql.protocol.PgProtocolSession.run(Unknown Source)<br /> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br /> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br /> 	at java.lang.Thread.run(Thread.java:619)<br /> <br /> <br /> ]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2513/9454.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2513/9454.page</link>
				<pubDate><![CDATA[Tue, 30 Nov 2010 11:37:24]]> GMT</pubDate>
				<author><![CDATA[ amir_hoshangi]]></author>
			</item>
			<item>
				<title>where to report GridSql documentation Bugs ?</title>
				<description><![CDATA[ hi<br /> there is GridSQLAdminGuide.PDF file in gridSql doc directory.<br /> at the end of the document at: <br />  9.1 Appendix A – Metadata Database Schema<br /> there is problem on one the sql statements and thats :<br /> <br /> create table xsystables<br /> ...<br />   [b][color=red]parented[/color][/b] int,<br />  ...<br /> <br />  as you see its wrong and it must be parentid <br /> its very critical especially when someone new wants to start the server and ...<br /> regards]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2511/9444.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2511/9444.page</link>
				<pubDate><![CDATA[Fri, 26 Nov 2010 03:40:30]]> GMT</pubDate>
				<author><![CDATA[ amir_hoshangi]]></author>
			</item>
			<item>
				<title>the Join methods for partitioned tables???</title>
				<description><![CDATA[ the Join methods for partitioned tables???<br />      <br />      Several join methods are available for DB2 partitioned database environments,<br /> including: collocated joins, broadcast outer-table joins, directed outer-table joins,<br /> directed inner-table and outer-table joins, broadcast inner-table joins, and directed<br /> inner-table joins.<br />     <br />      could anybody can tell me  what Join methods for partitioned  table  in gridsql ??<br /> <br /> thank you ! :D :D :D<br /> <br /> ]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2510/9443.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2510/9443.page</link>
				<pubDate><![CDATA[Fri, 26 Nov 2010 01:15:26]]> GMT</pubDate>
				<author><![CDATA[ harry_zhang]]></author>
			</item>
			<item>
				<title>How to get the detail log information of GridSQL?</title>
				<description><![CDATA[ I get the source of gridsql from website. And it runs correctly. I want to get the detail log, can anyone help me? thx.<br /> <br /> such as execute step info, query plan, execute plan.]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2496/9388.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2496/9388.page</link>
				<pubDate><![CDATA[Tue, 2 Nov 2010 07:53:16]]> GMT</pubDate>
				<author><![CDATA[ Cao_Junliang]]></author>
			</item>
			<item>
				<title>could i create a functional index in gridsql ?</title>
				<description><![CDATA[ could i create a functional index in gridsql ?<br /> <br /> GridSQL -&gt; create table a1 (id int,uname varchar(10));<br /> OK<br /> <br /> GridSQL -&gt; create index uname_a1 on a1(uname);<br /> OK<br /> <br /> GridSQL -&gt; drop index uname_a1;<br /> OK<br /> <br /> GridSQL -&gt; create index uname_a1 on a1(substring(uname,1,10));<br /> SQLException: ERROR: Encountered "(" at line 1, column 38.<br /> Was expecting one of:<br />     "BINARY" ...<br />     "PASSWORD" ...<br />     "CLUSTER" ...<br />     "ASC" ...<br />     "DESC" ...<br />     "AVG" ...<br />     "SQRT" ...<br />     "COUNT" ...<br />     "EXTRACT" ...<br />     "MAX" ...<br />     "CURRENT_DATE" ...<br />     "CURRENT_TIME" ...<br />     "CURRENT_TIMESTAMP" ...<br />     "TRUNC" ...<br />     "TRUNCATE" ...<br />     "CURRENT_USER" ...<br />     "USER" ...<br />     "YEAR" ...<br />     "LENGTH" ...<br />     "LOWER" ...<br />     "MONTH" ...<br />     "HOUR" ...<br />     "MINUTE" ...<br />     "SECOND" ...<br />     "SUBSTRING" ...<br />     "NOW...<br /> <br /> GridSQL -&gt; create index uname_a1 on a1 using (substring(uname,1,10));<br /> SQLException: ERROR: Encountered "(" at line 1, column 35.<br /> Was expecting one of:<br />     "BINARY" ...<br />     "PASSWORD" ...<br />     "CLUSTER" ...<br />     "AVG" ...<br />     "SQRT" ...<br />     "COUNT" ...<br />     "EXTRACT" ...<br />     "MAX" ...<br />     "CURRENT_DATE" ...<br />     "CURRENT_TIME" ...<br />     "CURRENT_TIMESTAMP" ...<br />     "TRUNC" ...<br />     "TRUNCATE" ...<br />     "CURRENT_USER" ...<br />     "USER" ...<br />     "YEAR" ...<br />     "LENGTH" ...<br />     "LOWER" ...<br />     "MONTH" ...<br />     "HOUR" ...<br />     "MINUTE" ...<br />     "SECOND" ...<br />     "SUBSTRING" ...<br />     "NOW" ...<br />     "ADDDATE" ...<br />     "...<br /> <br /> GridSQL -&gt; <br /> <br /> <br /> ^_^]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2495/9386.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2495/9386.page</link>
				<pubDate><![CDATA[Tue, 2 Nov 2010 07:29:59]]> GMT</pubDate>
				<author><![CDATA[ harry_zhang]]></author>
			</item>
			<item>
				<title>All aggregate function are not working</title>
				<description><![CDATA[ Hi,<br /> <br /> We have 1 coordinator and 2 agents previously now we are trying to configure one more agent to the same coordinator and we have configured successfully <br /> <br /> with the agents 15 16 17 18 and 19 <br /> and then <br /> <br /> we have created one database on all the nodes(19) it is successfully created. <br /> <br /> we have created some tables on that database on all nodes (19) they are successfully created. <br /> <br /> we have inserted the records into the tables they to successfully inserted.<br /> <br /> But while selecting the data from table then<br /> <br /> execute direct on all 'select count(*) from emp'; is working fine.<br /> <br /> <br /> But when i fire the [b]select count(*) from emp [/b] then it was throwing an error on newly created agent's nodes like<br /> <br /> SQLException: ERROR: Failed To Get Results For ( SQL , NodeURL)  :  ( SELECT <br /> count(*) AS "XCOL1" FROM "captor_tdr_tapin" ) eQS Node 15 has aborted execution, <br /> cause is: com.edb.gridsql.exception.XDBServerException : Can not send data to <br /> Nodes<br /> <br /> If next time i find the same query then it is throwing error on another node on same server.. like <br /> <br /> SQLException: ERROR: Failed To Get Results For ( SQL , NodeURL)  :  ( SELECT <br /> count(*) AS "XCOL1" FROM "captor_tdr_tapin" ) eQS Node 19 has aborted execution, <br /> cause is: com.edb.gridsql.exception.XDBServerException : Can not send data to <br /> Nodes<br /> <br /> If next time i find the same query then it is throwing error on another node on same server.. like <br /> <br /> SQLException: ERROR: Failed To Get Results For ( SQL , NodeURL)  :  ( SELECT <br /> count(*) AS "XCOL1" FROM "captor_tdr_tapin" ) eQS Node 18 has aborted execution, <br /> cause is: com.edb.gridsql.exception.XDBServerException : Can not send data to <br /> Nodes<br /> <br /> etc.<br /> <br /> Please provide the necessary solution ..<br /> <br /> Thanks in advance..<br /> <br /> <br /> Regards<br /> Pavani<br /> <br /> ]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2474/9323.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2474/9323.page</link>
				<pubDate><![CDATA[Thu, 21 Oct 2010 01:04:12]]> GMT</pubDate>
				<author><![CDATA[ pavani_mallampati]]></author>
			</item>
			<item>
				<title>Selecting the data from the base table having inheritance with the child tables..</title>
				<description><![CDATA[ Hi,<br /> <br /> <br /> We have a [b]base table[/b] [b][i]test[/i] [/b]having [b]child tables[/b] for each and every date of this month like [b][i]test_011010 ,test_021010[/i][/b]...... and [b]having data[/b] in it..<br /> <br /> When i am selecting the data from the child table of a particular date then it is showing the record count but while i was selecting the data from the base table then it was throwing an error message..<br /> <br /> For the details please go through the below statements...<br /> <br /> GridSQL -&gt; select count(*) from test_011010;<br /> +----------+<br /> | count(*) |<br /> +----------+<br /> |  4459939 |<br /> +----------+<br /> 1 row(s).<br />  Response time: 0m 4s 557ms  Total time: 0m 4s 557ms<br /> <br /> GridSQL -&gt; select count(*) from test_011010 where start_date='2010-10-01';<br /> +----------+<br /> | count(*) |<br /> +----------+<br /> |  4459939 |<br /> +----------+<br /> 1 row(s).<br /> <br /> <br /> [b]GridSQL -&gt; select count(*) from test where start_date='2010-10-01';[/b]<br /> <br /> [quote]SQLException: ERROR: Failed To Get Results For ( SQL , NodeURL)  :  ( SELECT count(*) AS "XCOL1" FROM "test"  WHERE ("test"."start_date" = '2010-10-01')) eQS Node 9 has aborted execution, cause is: java.sql.SQLException : ERROR: could not open relation 3586782/3586779/3588234: No such file or directory<br /> [/quote]<br /> <br /> <br /> Please provide the solution.......<br /> <br /> Thanks in advance<br /> <br /> <br /> Regards<br /> Pavani<br /> <br /> <br /> <br /> ]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2464/9285.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2464/9285.page</link>
				<pubDate><![CDATA[Wed, 13 Oct 2010 01:45:43]]> GMT</pubDate>
				<author><![CDATA[ pavani_mallampati]]></author>
			</item>
			<item>
				<title>Create more than one index in single call</title>
				<description><![CDATA[ We routinely create 7500+ indexes.<br /> <br /> In order to speed up index creation, it is desirable to create more than one index using a single call.<br /> <br /> Here is a sample for the extended syntax:<br /> create index idxName on tabA(col1), tabA(col2), tabB(col3)]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2428/9148.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2428/9148.page</link>
				<pubDate><![CDATA[Thu, 2 Sep 2010 23:36:16]]> GMT</pubDate>
				<author><![CDATA[ Ted_Yu_2]]></author>
			</item>
			<item>
				<title>make code compile using Java 1.6 compiler</title>
				<description><![CDATA[ tyumac:gridsql tyu$ java -version<br /> java version "1.6.0_20"<br /> Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)<br /> Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode)<br /> tyumac:gridsql tyu$ uname -a<br /> Darwin tyumac.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386 i386<br /> <br /> cp -R  ../../apps/gridsql/obj/cpy/* ../../apps/gridsql/obj/src<br /> javac -g:none -d ../../apps/gridsql/obj/bin -classpath ../../apps/gridsql/obj/bin:../../apps/gridsql/lib/log4j.jar:../../apps/gridsql/lib/jline-0_9_5.jar:../../apps/gridsql/lib/edb-jdbc14.jar:../../apps/gridsql/lib/postgresql.jar -sourcepath ../../apps/gridsql/obj/src \<br />                 ../../apps/gridsql/obj/src/com/edb/gridsql/communication/ConnectorFactory.java \<br />                 ../../apps/gridsql/obj/src/com/edb/gridsql/communication/BroadcastConnector.java \<br />                 ../../apps/gridsql/obj/src/com/edb/gridsql/communication/ClusteredBroadcastConnector.java \<br />                 ../../apps/gridsql/obj/src/com/edb/gridsql/communication/ClusteredConnector.java \<br />                 ../../apps/gridsql/obj/src/com/edb/gridsql/communication/SocketConnector.java \<br />                 ../../apps/gridsql/obj/src/com/edb/gridsql/engine/io/RequestMessage.java \<br />                 ../../apps/gridsql/obj/src/com/edb/gridsql/parser/SqlAddNodesToDB.java \<br />                 ../../apps/gridsql/obj/src/com/edb/gridsql/parser/SqlDropNodesFromDB.java \<br />                 ../../apps/gridsql/obj/src/com/edb/gridsql/common/ErrorMessages.java \<br />                 ../../apps/gridsql/obj/src/com/edb/gridsql/protocol/ProtocolManager.java \<br />                 ../../apps/gridsql/obj/src/com/edb/gridsql/protocol/PgProtocolHandler.java<br /> ../../apps/gridsql/obj/src/com/edb/gridsql/common/ResultSetImpl.java:44: com.edb.gridsql.common.ResultSetImpl is not abstract and does not override abstract method updateSQLXML(java.lang.String,java.sql.SQLXML) in java.sql.ResultSet<br /> public class ResultSetImpl implements java.sql.ResultSet {<br />        ^<br /> ../../apps/gridsql/obj/src/com/edb/gridsql/misc/combinedresultset/ServerResultSetImpl.java:35: com.edb.gridsql.misc.combinedresultset.ServerResultSetImpl is not abstract and does not override abstract method updateSQLXML(java.lang.String,java.sql.SQLXML) in java.sql.ResultSet<br /> public class ServerResultSetImpl implements java.sql.ResultSet, ServerResultSet {<br />        ^<br /> ../../apps/gridsql/obj/src/com/edb/gridsql/parser/core/CSQLParser.java:10013: cannot find symbol<br /> symbol  : constructor dropTable(com.edb.gridsql.parser.core.syntaxtree.NodeToken,com.edb.gridsql.parser.core.syntaxtree.NodeToken,com.edb.gridsql.parser.core.syntaxtree.TableName)<br /> location: class com.edb.gridsql.parser.core.syntaxtree.dropTable<br />      {if (true) return new dropTable(n0,n2,n4);}<br />                        ^<br /> Note: ../../apps/gridsql/obj/src/com/edb/gridsql/misc/combinedresultset/ServerResultSetImpl.java uses or overrides a deprecated API.<br /> Note: Recompile with -Xlint:deprecation for details.<br /> Note: Some input files use unchecked or unsafe operations.<br /> Note: Recompile with -Xlint:unchecked for details.]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2426/9145.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2426/9145.page</link>
				<pubDate><![CDATA[Thu, 2 Sep 2010 13:29:34]]> GMT</pubDate>
				<author><![CDATA[ Ted_Yu_2]]></author>
			</item>
			<item>
				<title>drop more than one table in one call</title>
				<description><![CDATA[ According to <a class="snap_shots" href="http://www.postgresql.org/docs/7.4/interactive/sql-droptable.html," target="_blank" rel="nofollow">http://www.postgresql.org/docs/7.4/interactive/sql-droptable.html,</a> multiple tables can be dropped in one call.<br /> Is this supported by GridSQL ?]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2421/9088.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2421/9088.page</link>
				<pubDate><![CDATA[Mon, 30 Aug 2010 19:51:43]]> GMT</pubDate>
				<author><![CDATA[ Ted_Yu_2]]></author>
			</item>
			<item>
				<title>Provide more meaningful error message in XdbDbStop and ShutdownXDB</title>
				<description><![CDATA[ Only e.getMessage() is shown when error happens.<br /> <br /> -bash-3.2$ gs-shutdown.sh -u admi -p sec<br /> ERROR: com/edb/gridsql/parser/core/syntaxtree/ShutdownXDB<br /> Parameters: &lt;connect&gt; [-f]<br />         where &lt;connect&gt; is -j jdbc:edb://&lt;host&gt;:&lt;port&gt;/xdbadmin?user=&lt;username&gt;&password=&lt;password&gt;<br />         or [-h &lt;host&gt;] [-s &lt;port&gt;] -u &lt;user&gt; [-p &lt;password&gt;]<br />         -h &lt;host&gt; : Host name or IP address where XDBServer is running. Default is localhost<br />         -s &lt;port&gt; : XDBServer's port. Default is 6453<br />         -u &lt;user&gt;, -p &lt;password&gt; : Login to the server<br />         -f : Force mode. Try and shutdown server even if databases are online.<br /> <br /> We have been using the same command.<br /> The stack trace should be displayed and possibly omitting usage text when error happens.]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2420/9087.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2420/9087.page</link>
				<pubDate><![CDATA[Mon, 30 Aug 2010 17:13:00]]> GMT</pubDate>
				<author><![CDATA[ Ted_Yu_2]]></author>
			</item>
			<item>
				<title>Provide configuration for minSize of JDBCPool in LoaderConnectionPool</title>
				<description><![CDATA[ When client uses gs-loader.sh in multiple processes, we observed high number of connections (over 200) to Postgres DB.<br /> The connections didn't close after 10 minutes (xdb.jdbc.pool.idle)<br /> <br /> In ObjectPool.java:<br /> protected synchronized void packBuffer() {<br /> while (buffer.size() &gt; 0 && buffer.size() + out.size() &gt; minSize) {<br /> minSize by default is 1.<br /> This means there would always be at least 1 PoolEntry in the pool which can explain why connection to Postgres isn't closed.<br /> <br /> I think we can introduce a new configuration parameter to control minSize for JDBCPool. E.g.<br /> 					Property.getInt("xdb.jdbc.pool.minsize", 0),<br /> ]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2419/9085.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2419/9085.page</link>
				<pubDate><![CDATA[Mon, 30 Aug 2010 16:34:41]]> GMT</pubDate>
				<author><![CDATA[ Ted_Yu_2]]></author>
			</item>
			<item>
				<title>Bug while loading the data into a table in grisql</title>
				<description><![CDATA[ Hi,<br /> Please find the bug while loading the data into the table in gridsql,<br /> <br /> <br /> 				NOT WORKING<br /> The “postgres” version I am using was mentioned below.<br /> Postgres version:<br /> postgres=# select version();<br />                                                 version                                                <br /> -------------------------------------------------------------------------------------------------------<br />  PostgreSQL 8.3.3 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)<br /> (1 row)<br /> The “gridsql” version I am using was mentioned below.<br /> GRID version:<br /> GridSQL -&gt; select version();<br /> +-------------+<br /> | EXPRESSION5 |<br /> +-------------+<br /> | 1.0.0.6     |<br /> +-------------+<br /> 1 row(s).<br /> Creating “emp” table in grid with the syntax.<br /> GridSQL -&gt; create table employee_details(emp_id integer,<br /> GridSQL -&gt; emp_name varchar,<br /> GridSQL -&gt; emp_address varchar) with xrowid;<br /> OK<br /> And the table was successfully created.<br /> Loading the data into the table using copy:<br /> I have a “csv” file like<br /> [postgres@localhost ~]$ cat emp.csv<br /> 1,postgres1,newyork<br /> 2,postgres1,newyork<br /> 3,postgres1,newyork<br /> 4,postgres1,newyork<br /> 5,postgres1,newyork<br /> 6,postgres1,newyork<br /> 7,postgres1,newyork<br /> 8,postgres1,newyork<br /> 9,postgres1,newyork<br /> 10,postgres1,newyork<br /> While loading the data into the table using the copy command then I am getting  the error as shown below.<br /> GridSQL -&gt; copy employee_details from '/home/postgres/emp.csv' delimiter ',' CSV;<br /> SQLException: ERROR: java.lang.NumberFormatException: For input string: "newyork"<br /> If I drop the XROWID column then the data is loaded <br /> GridSQL -&gt; alter table employee_details drop column xrowid;<br /> OK<br /> GridSQL -&gt; copy employee_details from '/home/postgres/emp.csv' delimiter ',' CSV;<br /> OK<br /> WHY…………………………………………..<br /> Please reply……………………………………..<br /> 					<br /> <br /> <br /> WORKING<br /> While working with another version it was working<br /> Postgres version:<br /> postgres=# select version();<br />                                                    version<br /> --------------------------------------------------------------------------------------------------------------<br />  PostgreSQL 8.3.2 on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC) 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)<br /> (1 row)<br /> GRID version:<br /> GridSQL -&gt; select version();<br /> +---------+<br /> | version |<br /> +---------+<br /> | 1.1.0.9 |<br /> +---------+<br /> 1 row(s).<br /> Creating “emp” table in grid with the same syntax.<br /> GridSQL -&gt; create table employee_details(emp_id integer,<br /> GridSQL -&gt; emp_name varchar,<br /> GridSQL -&gt; emp_address varchar) with xrowid;<br /> OK<br /> And the table was successfully created.<br /> Loading the data into the table using copy:<br /> I have a “csv” file like as same as above<br /> [postgres@localhost ~]$ cat emp.csv<br /> 1,postgres1,newyork<br /> 2,postgres1,newyork<br /> 3,postgres1,newyork<br /> 4,postgres1,newyork<br /> 5,postgres1,newyork<br /> 6,postgres1,newyork<br /> 7,postgres1,newyork<br /> 8,postgres1,newyork<br /> 9,postgres1,newyork<br /> 10,postgres1,newyork<br /> Data loaded successfully:<br /> GridSQL -&gt; copy employee_details from '/home/postgres/emp.csv' delimiter ',' CSV;<br /> OK<br /> ]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2360/8879.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2360/8879.page</link>
				<pubDate><![CDATA[Mon, 12 Jul 2010 00:26:37]]> GMT</pubDate>
				<author><![CDATA[ pavani_mallampati]]></author>
			</item>
			<item>
				<title>Bug while loading the data into a table in grisql</title>
				<description><![CDATA[ Hi<br /> <br /> I am using the  <br /> <br /> Operating system [b]Centos[/b]<br /> postgres version is [b]PostgreSQL 8.3.3[/b]<br /> grid version is [b]1.0.0.6    [/b] <br /> <br /> While loading the data into the table using the copy command then I am getting the error as shown below. <br /> <br /> GridSQL -&gt; copy employee_details from '/home/postgres/emp.csv' delimiter ',' CSV; <br /> SQLException: ERROR: java.lang.NumberFormatException: For input string: "newyork" <br /> <br /> If I drop the XROWID column then the data is loaded <br /> <br /> WHY………………………………………….. <br /> Please reply…………………………………….. <br /> <br /> <br /> <br /> ]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2359/8878.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2359/8878.page</link>
				<pubDate><![CDATA[Mon, 12 Jul 2010 00:23:54]]> GMT</pubDate>
				<author><![CDATA[ pavani_mallampati]]></author>
			</item>
			<item>
				<title>Two parts - Union + Order by query issue  - Why can't I use EXEC DIRECT all the time?</title>
				<description><![CDATA[ Hi,<br /> <br /> I'm using a version of GridSQL updated from the CVS source tree around May 26th.<br /> <br /> I am running into an issue with a query executing successfully in Postgres and not on GridSQL - it works fine with "exec direct on all" - I had a question -  Why can't I just run the query using "EXEC DIRECT on ALL '....'" via JDBC from my program - all it seems to do is to add an extra "Node" column to each row in the result set. This works fine in my tests with simple queries.<br /> <br /> Is there any inherent problem with this approach? If the query cannot be supported by GridSQL, I would like to use 'exec direct on all' for a particular scenario within my application where I know the data is distributed across all the nodes (and the required Dimension join tables are replicated on all nodes) - Any reason why I shouldn't do this? The query will be limited using the LIMIT clause so there is no reason for huge numbers of rows to be returned to GridSQL by each node.  <br /> <br /> The "EXEC DIRECT on all" option would allow me to escape having to worry about syntax dependencies on GridSQL - However, probably I will need to send each query as a String literal (without using parameters) - I don't seem to be able to specify JDBC parameters to a prepared statement when using EXEC DIRECT.<br /> <br /> It would ideal of course if the query worked with GridSQL and I didn't have to worry about the Exec Direct part.<br /> <br /> Incidentally the query in question is:<br /> <br /> [code]<br /> SELECT * FROM (<br />   SELECT *<br />   FROM t2<br />   WHERE f1 &lt; 10<br />   ORDER BY f2 DESC<br />   LIMIT 2) t<br /> UNION ALL<br /> SELECT * FROM (<br />   SELECT *<br />   FROM t3<br />   WHERE f1 &lt; 10<br />   ORDER BY f2 DESC<br />   LIMIT 2) t<br /> ORDER BY f2 DESC<br /> LIMIT 2<br /> [/code]<br /> <br /> I am trying to use this query to work around a Postgres bug with handling order by + limit clauses when dealing with partitioned tables - (In this scenario both t2 and t3 are child tables of a parent table) - Similar issue to that faced by the person here: http://stackoverflow.com/questions/2236776/efficient-querying-of-multi-partition-postgres-table<br /> <br /> Here is the exception shown while executing the above query in the GridSQL console log:<br /> <br /> [code]<br /> 2010-07-07 16:06:17,600 - ERROR Catching throwable:<br /> com.edb.gridsql.parser.core.ParseException: Encountered "ORDER BY" at line 1, column 56.<br /> Was expecting one of:<br />     "UNION" ...<br />     &lt;GROUP_BY_&gt; ...<br />     "AND" ...<br />     "OR" ...<br />     "!" ...<br />     "HAVING" ...<br />     ")" ...<br />     "::" ...<br />     "+" ...<br />     "-" ...<br />     "||" ...<br />     "*" ...<br />     "/" ...<br />     "MOD" ...<br />     "DIV" ...<br />     "%" ...<br />     "&" ...<br />     "|" ...<br />     "#" ...<br />     &quot;&lt;&lt;&quot; ...<br />     &quot;&gt;&gt;&quot; ...<br />     &quot;&lt;&lt;=&quot; ...<br />     &quot;&gt;&gt;=&quot; ...<br />     "(+)" ...<br /> <br />         at com.edb.gridsql.parser.core.CSQLParser.generateParseException(CSQLParser.java:38089)<br />         at com.edb.gridsql.parser.core.CSQLParser.jj_consume_token(CSQLParser.java:37927)<br />         at com.edb.gridsql.parser.core.CSQLParser.TableSpec(CSQLParser.java:22468)<br />         at com.edb.gridsql.parser.core.CSQLParser.FromTableSpec(CSQLParser.java:22603)<br />         at com.edb.gridsql.parser.core.CSQLParser.TableList(CSQLParser.java:22517)<br />         at com.edb.gridsql.parser.core.CSQLParser.FromClause(CSQLParser.java:22183)<br />         at com.edb.gridsql.parser.core.CSQLParser.SelectWithoutOrderAndSet(CSQLParser.java:12678)<br />         at com.edb.gridsql.parser.core.CSQLParser.SelectWithoutOrderAndSetWithParenthesis(CSQLParser.java:12566)<br />         at com.edb.gridsql.parser.core.CSQLParser.SelectWithoutOrder(CSQLParser.java:12503)<br />         at com.edb.gridsql.parser.core.CSQLParser.SelectWithoutOrderWithParenthesis(CSQLParser.java:12483)<br />         at com.edb.gridsql.parser.core.CSQLParser.Select(CSQLParser.java:12446)<br />         at com.edb.gridsql.parser.core.CSQLParser.SelectWithParenthesis(CSQLParser.java:12430)<br />         at com.edb.gridsql.parser.core.CSQLParser.process(CSQLParser.java:2353)<br />         at com.edb.gridsql.parser.Parser.parse(Parser.java:611)<br />         at com.edb.gridsql.parser.Parser.parseStatement(Parser.java:85)<br />         at com.edb.gridsql.protocol.RequestAnalyzer.getExecutableRequest(RequestAnalyzer.java:149)<br />         at com.edb.gridsql.protocol.PgProtocolSession.run(PgProtocolSession.java:613)<br />         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br />         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br />         at java.lang.Thread.run(Thread.java:637)<br /> [/code]<br /> <br /> My table structures:<br /> [code]<br /> GridSQL -&gt; describe t2;<br /> +-------------------------------------------------------------------------+<br /> | COLUMN_NAME | SQL_DATA_TYPE |  TYPE_NAME  | IS_NULLABLE | KEY | DEFAULT |<br /> +-------------------------------------------------------------------------+<br /> | f1          |             4 | INTEGER     | YES         | NO  |         |<br /> | f2          |            12 | VARCHAR(10) | YES         | NO  |         |<br /> +-------------------------------------------------------------------------+<br /> 2 row(s).<br /> <br /> GridSQL -&gt; describe t3;<br /> +-------------------------------------------------------------------------+<br /> | COLUMN_NAME | SQL_DATA_TYPE |  TYPE_NAME  | IS_NULLABLE | KEY | DEFAULT |<br /> +-------------------------------------------------------------------------+<br /> | f1          |             4 | INTEGER     | YES         | NO  |         |<br /> | f2          |            12 | VARCHAR(10) | YES         | NO  |         |<br /> +-------------------------------------------------------------------------+<br /> 2 row(s).<br /> [/code]<br /> ]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2353/8853.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2353/8853.page</link>
				<pubDate><![CDATA[Wed, 7 Jul 2010 16:12:22]]> GMT</pubDate>
				<author><![CDATA[ ranga.gopalan@sorrisotech.com]]></author>
			</item>
			<item>
				<title>Seem to be running into 10 parameter limit with JDBC </title>
				<description><![CDATA[ Hi,<br /> <br /> I updated to the latest source and seem to be hitting a limit of 10 JDBC parameters - The query itself is simple (say select f1,f2 from tableName where f3 in (?,?,?,?,?,?,?,?,?,?) - <br /> <br /> Looks like the issue referred to here: http://forums.enterprisedb.com/posts/list/1375.page<br /> <br /> Here is the exception on the client side:<br /> [code]<br /> Exception in thread "main" org.postgresql.util.PSQLException: ERROR: Node 1 has aborted execution, cause is: java.sql.SQLException : ERROR: syntax error at or near "0"<br />   Position: 175<br /> QUERY: SELECT "mydim"."dimval" as "dimval" FROM "mydim"  WHERE "mydim"."dimval" IN  ( 'dim2' , 'dim3'  , 'dim1'  , 'dim2'  , 'dim3'  , 'dim4'  , 'dim3'  , 'dim3'  , 'dim3'  , 'dim2'0  ) LIMIT 4<br /> 	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)<br /> [/code]<br /> <br /> Exception in the Coordinator  console.log:<br /> <br /> [code]<br /> 2010-05-20 21:51:14,008 - ERROR Catching throwable:<br /> com.edb.gridsql.exception.XDBServerException: Node 1 has aborted execution, cause is: java.sql.SQLException : ERROR: syntax error at or near "0"<br />   Position: 175<br /> QUERY: SELECT "mydim"."dimval" as "dimval" FROM "mydim"  WHERE "mydim"."dimval" IN  ( 'dim2' , 'dim3'  , 'dim1'  , 'dim2'  , 'dim3'  , 'dim4'  , 'dim3'  , 'dim3'  , 'dim3'  , 'dim2'0  ) LIMIT 4<br />         at com.edb.gridsql.queryproc.QueryProcessor.executeQueryStep(QueryProcessor.java:538)<br />         at com.edb.gridsql.queryproc.QueryProcessor.executeQueryExecPlan(QueryProcessor.java:190)<br />         at com.edb.gridsql.queryproc.QueryProcessor.execute(QueryProcessor.java:1071)<br />         at com.edb.gridsql.parser.SqlSelect.execute(SqlSelect.java:438)<br />         at com.edb.gridsql.engine.ExecutableRequest.execute(ExecutableRequest.java:244)<br />         at com.edb.gridsql.engine.XDBSessionContext.executeRequest(XDBSessionContext.java:1037)<br />         at com.edb.gridsql.engine.ServerStatement.execute(ServerStatement.java:201)<br />         at com.edb.gridsql.engine.ServerStatement.describe(ServerStatement.java:145)<br />         at com.edb.gridsql.engine.XDBSessionContext.describeStatement(XDBSessionContext.java:914)<br />         at com.edb.gridsql.protocol.PgProtocolSession.run(PgProtocolSession.java:659)<br />         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br />         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br />         at java.lang.Thread.run(Thread.java:637)<br /> Caused by: com.edb.gridsql.exception.XDBMessageMonitorException: Node 1 has aborted execution, cause is: java.sql.SQLException : ERROR: syntax error at or near "0"<br />   Position: 175<br />         at com.edb.gridsql.engine.MessageMonitor.checkMessages(MessageMonitor.java:245)<br />         at com.edb.gridsql.engine.MultinodeExecutor.executeStep(MultinodeExecutor.java:931)<br />         at com.edb.gridsql.queryproc.QueryProcessor.executeQueryStep(QueryProcessor.java:533)<br />         ... 12 more<br /> Caused by: com.edb.gridsql.exception.XDBWrappedSQLException: java.sql.SQLException : ERROR: syntax error at or near "0"<br />   Position: 175<br />         at com.edb.gridsql.engine.NodeThread.handleSqlException(NodeThread.java:1829)<br />         at com.edb.gridsql.engine.NodeProducerThread.processStep(NodeProducerThread.java:617)<br />         at com.edb.gridsql.engine.NodeProducerThread.run(NodeProducerThread.java:297)<br />         ... 1 more<br /> 2010-05-20 21:51:14,035 - ERROR Throwing throwable:<br /> com.edb.gridsql.exception.XDBServerException: Node 1 has aborted execution, cause is: java.sql.SQLException : ERROR: syntax error at or near "0"<br /> com.edb.gridsql.exception.XDBServerException: Node 1 has aborted execution, cause is: java.sql.SQLException : ERROR: syntax error at or near "0"<br />   Position: 175<br /> QUERY: SELECT "mydim"."dimval" as "dimval" FROM "mydim"  WHERE "mydim"."dimval" IN  ( 'dim2' , 'dim3'  , 'dim1'  , 'dim2'  , 'dim3'  , 'dim4'  , 'dim3'  , 'dim3'  , 'dim3'  , 'dim2'0  ) LIMIT 4<br />         at com.edb.gridsql.queryproc.QueryProcessor.executeQueryStep(QueryProcessor.java:538)<br />         at com.edb.gridsql.queryproc.QueryProcessor.executeQueryExecPlan(QueryProcessor.java:190)<br />         at com.edb.gridsql.queryproc.QueryProcessor.execute(QueryProcessor.java:1071)<br />         at com.edb.gridsql.parser.SqlSelect.execute(SqlSelect.java:438)<br />         at com.edb.gridsql.engine.ExecutableRequest.execute(ExecutableRequest.java:244)<br />         at com.edb.gridsql.engine.XDBSessionContext.executeRequest(XDBSessionContext.java:1037)<br />         at com.edb.gridsql.engine.ServerStatement.execute(ServerStatement.java:201)<br />         at com.edb.gridsql.engine.ServerStatement.describe(ServerStatement.java:145)<br />         at com.edb.gridsql.engine.XDBSessionContext.describeStatement(XDBSessionContext.java:914)<br />         at com.edb.gridsql.protocol.PgProtocolSession.run(PgProtocolSession.java:659)<br />         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br />         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br />         at java.lang.Thread.run(Thread.java:637)<br /> Caused by: com.edb.gridsql.exception.XDBMessageMonitorException: Node 1 has aborted execution, cause is: java.sql.SQLException : ERROR: syntax error at or near "0"<br />   Position: 175<br />         at com.edb.gridsql.engine.MessageMonitor.checkMessages(MessageMonitor.java:245)<br />         at com.edb.gridsql.engine.MultinodeExecutor.executeStep(MultinodeExecutor.java:931)<br />         at com.edb.gridsql.queryproc.QueryProcessor.executeQueryStep(QueryProcessor.java:533)<br />         ... 12 more<br /> Caused by: com.edb.gridsql.exception.XDBWrappedSQLException: java.sql.SQLException : ERROR: syntax error at or near "0"<br />   Position: 175<br />         at com.edb.gridsql.engine.NodeThread.handleSqlException(NodeThread.java:1829)<br />         at com.edb.gridsql.engine.NodeProducerThread.processStep(NodeProducerThread.java:617)<br />         at com.edb.gridsql.engine.NodeProducerThread.run(NodeProducerThread.java:297)<br />         ... 1 more<br /> 2010-05-20 21:51:14,036 - ERROR Catching throwable:<br /> com.edb.gridsql.exception.XDBServerException: Node 1 has aborted execution, cause is: java.sql.SQLException : ERROR: syntax error at or near "0"<br />   Position: 175<br /> QUERY: SELECT "mydim"."dimval" as "dimval" FROM "mydim"  WHERE "mydim"."dimval" IN  ( 'dim2' , 'dim3'  , 'dim1'  , 'dim2'  , 'dim3'  , 'dim4'  , 'dim3'  , 'dim3'  , 'dim3'  , 'dim2'0  ) LIMIT 4<br />         at com.edb.gridsql.queryproc.QueryProcessor.executeQueryStep(QueryProcessor.java:538)<br />         at com.edb.gridsql.queryproc.QueryProcessor.executeQueryExecPlan(QueryProcessor.java:190)<br />         at com.edb.gridsql.queryproc.QueryProcessor.execute(QueryProcessor.java:1071)<br />         at com.edb.gridsql.parser.SqlSelect.execute(SqlSelect.java:438)<br />         at com.edb.gridsql.engine.ExecutableRequest.execute(ExecutableRequest.java:244)<br />         at com.edb.gridsql.engine.XDBSessionContext.executeRequest(XDBSessionContext.java:1037)<br />         at com.edb.gridsql.engine.ServerStatement.execute(ServerStatement.java:201)<br />         at com.edb.gridsql.engine.ServerStatement.describe(ServerStatement.java:145)<br />         at com.edb.gridsql.engine.XDBSessionContext.describeStatement(XDBSessionContext.java:914)<br />         at com.edb.gridsql.protocol.PgProtocolSession.run(PgProtocolSession.java:659)<br />         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br />         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br />         at java.lang.Thread.run(Thread.java:637)<br /> Caused by: com.edb.gridsql.exception.XDBMessageMonitorException: Node 1 has aborted execution, cause is: java.sql.SQLException : ERROR: syntax error at or near "0"<br />   Position: 175<br />         at com.edb.gridsql.engine.MessageMonitor.checkMessages(MessageMonitor.java:245)<br />         at com.edb.gridsql.engine.MultinodeExecutor.executeStep(MultinodeExecutor.java:931)<br />         at com.edb.gridsql.queryproc.QueryProcessor.executeQueryStep(QueryProcessor.java:533)<br />         ... 12 more<br /> Caused by: com.edb.gridsql.exception.XDBWrappedSQLException: java.sql.SQLException : ERROR: syntax error at or near "0"<br />   Position: 175<br />         at com.edb.gridsql.engine.NodeThread.handleSqlException(NodeThread.java:1829)<br />         at com.edb.gridsql.engine.NodeProducerThread.processStep(NodeProducerThread.java:617)<br />         at com.edb.gridsql.engine.NodeProducerThread.run(NodeProducerThread.java:297)<br />         ... 1 more<br /> [/code]<br /> <br /> Table Script:<br /> [code]<br /> create table mydim(dimkey int, dimval varchar(10));<br /> <br /> GridSQL -&gt; select * from mydim;<br /> +-----------------+<br /> | dimkey | dimval |<br /> +-----------------+<br /> |      1 | dim1   |<br /> |      2 | dim2   |<br /> |      3 | dim3   |<br /> +-----------------+<br /> [/code]<br /> <br /> Jdbc Code:<br /> [code]<br />         String queryWithParam  =  "select mydim.dimval as dimval from mydim where mydim.dimval in (?,?,?,?,?,?,?,?,?,?) LIMIT 4";<br />         <br />        PreparedStatement pStmt = conn.prepareStatement(queryWithParam);<br />         <br />         // pStmt.setObject(1, new Integer(1));<br />         // pStmt.setObject(2, new Integer(100));<br />         <br />         pStmt.setObject(1, "dim2");<br />         pStmt.setObject(2, "dim3");<br />         <br />         pStmt.setObject(3, "dim1");<br />         pStmt.setObject(4, "dim2");<br />         pStmt.setObject(5, "dim3");<br />         pStmt.setObject(6, "dim4");<br />         pStmt.setObject(7, "dim3");<br />         pStmt.setObject(8, "dim3");<br />         pStmt.setObject(9, "dim3");<br />         pStmt.setObject(10, "dim3");<br />         <br />        ResultSet rs = pStmt.executeQuery();<br /> <br /> [/code]]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2295/8533.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2295/8533.page</link>
				<pubDate><![CDATA[Fri, 21 May 2010 00:54:13]]> GMT</pubDate>
				<author><![CDATA[ ranga.gopalan@sorrisotech.com]]></author>
			</item>
			<item>
				<title>CVS Check-in: Couple bugs were fixed in subquery handling</title>
				<description><![CDATA[ 1. Prepared statements were failing if parameters were in subquery<br /> 2. In some cases subquery with UNION were not handled properly<br /> <br /> Files:<br /> <br />     Checking in src/com/edb/gridsql/parser/handler/WhereClauseHandler.java;<br />     /cvsroot/gridsql/apps/gridsql/src/com/edb/gridsql/parser/handler/WhereClauseHandler.java,v  &lt;--  WhereClauseHandler.java<br />     new revision: 1.5; previous revision: 1.4<br />     done<br />     Checking in src/com/edb/gridsql/optimizer/AttributeColumn.java;<br />     /cvsroot/gridsql/apps/gridsql/src/com/edb/gridsql/optimizer/AttributeColumn.java,v  &lt;--  AttributeColumn.java<br />     new revision: 1.3; previous revision: 1.2<br />     done<br />     Checking in src/com/edb/gridsql/planner/QueryPlan.java;<br />     /cvsroot/gridsql/apps/gridsql/src/com/edb/gridsql/planner/QueryPlan.java,v  &lt;--  QueryPlan.java<br />     new revision: 1.16; previous revision: 1.15<br />     done<br />     Checking in src/com/edb/gridsql/planner/QueryPlan.java;<br />     /cvsroot/gridsql/apps/gridsql/src/com/edb/gridsql/planner/QueryPlan.java,v  &lt;--  QueryPlan.java<br />     new revision: 1.17; previous revision: 1.16<br />     done<br />     Checking in src/com/edb/gridsql/planner/Leaf.java;<br />     /cvsroot/gridsql/apps/gridsql/src/com/edb/gridsql/planner/Leaf.java,v  &lt;--  Leaf.java<br />     new revision: 1.7; previous revision: 1.6<br />     done]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2294/8531.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2294/8531.page</link>
				<pubDate><![CDATA[Thu, 20 May 2010 15:10:52]]> GMT</pubDate>
				<author><![CDATA[ Andrei_M]]></author>
			</item>
	</channel>
</rss>
