Re: pgsql-server/src/interfaces/jdbc build.xml org ...

Поиск
Список
Период
Сортировка
Искать

Re: pgsql-server/src/interfaces/jdbc build.xml org ...

От:
Robert Treat <xzilla@users.sourceforge.net>
Дата:
Did this or the previous changes ever make it to 7.4?

Robert Treat

On Mon, 2003-11-03 at 23:02, Kris Jurka wrote:
> 
> 
> On Mon, 3 Nov 2003, Dave Cramer wrote:
> 
> > CVSROOT:	/cvsroot
> > Module name:	pgsql-server
> > Changes by:	davec@svr1.postgresql.org	03/11/03 11:28:26
> >
> > Modified files:
> > 	src/interfaces/jdbc: build.xml
> > 	src/interfaces/jdbc/org/postgresql/jdbc2:
> > 	                                          AbstractJdbc2ResultSet.java
> > 	src/interfaces/jdbc/org/postgresql/test/jdbc2:
> > 	                                               ResultSetTest.java
> > 	src/interfaces/jdbc/org/postgresql/test/jdbc2/optional:
> > 	                                                        ConnectionPoolTest.java
> > 	                                                        PoolingDataSourceTest.java
> > 	                                                        SimpleDataSourceTest.java
> > 	src/interfaces/jdbc/org/postgresql/test/jdbc3:
> > 	                                               Jdbc3ConnectionPoolTest.java
> > 	                                               Jdbc3PoolingDataSourceTest.java
> > 	                                               Jdbc3SimpleDataSourceTest.java
> >
> > Log message:
> > 	patch for rs.previous and test case as well as patch for allowing server and port to be specified in test cases
> >
> >
> 
> 
> I apparently did not include the changes to
> org.postgresql.test.TestUtil and the JDBC test suite no longer builds.
> 
> Please apply.
> 
> Kris Jurka
> 
> ----
> 

> Index: src/interfaces/jdbc/org/postgresql/test/TestUtil.java
> ===================================================================
> RCS file: /projects/cvsroot/pgsql-server/src/interfaces/jdbc/org/postgresql/test/TestUtil.java,v
> retrieving revision 1.3
> diff -c -r1.3 TestUtil.java
> *** src/interfaces/jdbc/org/postgresql/test/TestUtil.java	1 Oct 2002 00:39:02 -0000	1.3
> --- src/interfaces/jdbc/org/postgresql/test/TestUtil.java	4 Nov 2003 03:57:57 -0000
> ***************
> *** 13,18 ****
> --- 13,42 ----
>   	 */
>   	public static String getURL()
>   	{
> + 		return "jdbc:postgresql://"+getServer()+":"+getPort()+"/"+getDatabase();
> + 	}
> + 
> + 	/*
> + 	 * Returns the Test server
> + 	 */
> + 	public static String getServer()
> + 	{
> + 		return System.getProperty("server");
> + 	}
> + 
> + 	/*
> + 	 * Returns the Test port
> + 	 */
> + 	public static int getPort()
> + 	{
> + 		return Integer.parseInt(System.getProperty("port"));
> + 	}
> + 
> + 	/*
> + 	 * Returns the Test database
> + 	 */
> + 	public static String getDatabase()
> + 	{
>   		return System.getProperty("database");
>   	}
>   
> ----
> 

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL

pgsql-server/src/interfaces/jdbc build.xml org ...

От:
davec@svr1.postgresql.org (Dave Cramer)
Дата:
CVSROOT:	/cvsroot
Module name:	pgsql-server
Changes by:	davec@svr1.postgresql.org	03/11/03 11:28:26

Modified files:
	src/interfaces/jdbc: build.xml 
	src/interfaces/jdbc/org/postgresql/jdbc2: 
	                                          AbstractJdbc2ResultSet.java 
	src/interfaces/jdbc/org/postgresql/test/jdbc2: 
	                                               ResultSetTest.java 
	src/interfaces/jdbc/org/postgresql/test/jdbc2/optional: 
	                                                        ConnectionPoolTest.java 
	                                                        PoolingDataSourceTest.java 
	                                                        SimpleDataSourceTest.java 
	src/interfaces/jdbc/org/postgresql/test/jdbc3: 
	                                               Jdbc3ConnectionPoolTest.java 
	                                               Jdbc3PoolingDataSourceTest.java 
	                                               Jdbc3SimpleDataSourceTest.java 

Log message:
	patch for rs.previous and test case as well as patch for allowing server and port to be specified in test cases

Re: pgsql-server/src/interfaces/jdbc build.xml org ...

От:
Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Дата:
Do you have to commit these to the 7_4_STABLE branch as well?

Chris

Dave Cramer wrote:

> CVSROOT:	/cvsroot
> Module name:	pgsql-server
> Changes by:	davec@svr1.postgresql.org	03/11/03 11:28:26
> 
> Modified files:
> 	src/interfaces/jdbc: build.xml 
> 	src/interfaces/jdbc/org/postgresql/jdbc2: 
> 	                                          AbstractJdbc2ResultSet.java 
> 	src/interfaces/jdbc/org/postgresql/test/jdbc2: 
> 	                                               ResultSetTest.java 
> 	src/interfaces/jdbc/org/postgresql/test/jdbc2/optional: 
> 	                                                        ConnectionPoolTest.java 
> 	                                                        PoolingDataSourceTest.java 
> 	                                                        SimpleDataSourceTest.java 
> 	src/interfaces/jdbc/org/postgresql/test/jdbc3: 
> 	                                               Jdbc3ConnectionPoolTest.java 
> 	                                               Jdbc3PoolingDataSourceTest.java 
> 	                                               Jdbc3SimpleDataSourceTest.java 
> 
> Log message:
> 	patch for rs.previous and test case as well as patch for allowing server and port to be specified in test cases
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

Re: pgsql-server/src/interfaces/jdbc build.xml org ...

От:
Kris Jurka <books@ejurka.com>
Дата:


On Mon, 3 Nov 2003, Dave Cramer wrote:

> CVSROOT:	/cvsroot
> Module name:	pgsql-server
> Changes by:	davec@svr1.postgresql.org	03/11/03 11:28:26
>
> Modified files:
> 	src/interfaces/jdbc: build.xml
> 	src/interfaces/jdbc/org/postgresql/jdbc2:
> 	                                          AbstractJdbc2ResultSet.java
> 	src/interfaces/jdbc/org/postgresql/test/jdbc2:
> 	                                               ResultSetTest.java
> 	src/interfaces/jdbc/org/postgresql/test/jdbc2/optional:
> 	                                                        ConnectionPoolTest.java
> 	                                                        PoolingDataSourceTest.java
> 	                                                        SimpleDataSourceTest.java
> 	src/interfaces/jdbc/org/postgresql/test/jdbc3:
> 	                                               Jdbc3ConnectionPoolTest.java
> 	                                               Jdbc3PoolingDataSourceTest.java
> 	                                               Jdbc3SimpleDataSourceTest.java
>
> Log message:
> 	patch for rs.previous and test case as well as patch for allowing server and port to be specified in test cases
>
>


I apparently did not include the changes to
org.postgresql.test.TestUtil and the JDBC test suite no longer builds.

Please apply.

Kris Jurka
FAQ