Re: pgsql-server/src/interfaces/jdbc build.xml org ...
От | Robert Treat |
---|---|
Тема | Re: pgsql-server/src/interfaces/jdbc build.xml org ... |
Дата | |
Msg-id | 1068052597.10947.3171.camel@camel обсуждение исходный текст |
Ответ на | Re: pgsql-server/src/interfaces/jdbc build.xml org ... (Kris Jurka <books@ejurka.com>) |
Список | pgsql-committers |
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-committers по дате отправления: