mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 10:30:33 +03:00 
			
		
		
		
	Added some missing org.'s that prevented the use of the geometric types
This commit is contained in:
		| @@ -1,3 +1,8 @@ | ||||
| Tue Jun 06 08:37:00 BST 2000 petermount@it.maidstone.gov.uk | ||||
| 	- Removed a hardwired 8K limit on query strings | ||||
| 	- Added some missing org.'s in Connection that prevented | ||||
| 	  the use of the geometric types. | ||||
|  | ||||
| Thu Jun 01 07:26:00 BST 2000 petermount@it.maidstone.gov.uk | ||||
| 	- Removed timezone in getTimestamp() methods in ResultSet. | ||||
|  | ||||
|   | ||||
| @@ -10,7 +10,7 @@ import org.postgresql.largeobject.*; | ||||
| import org.postgresql.util.*; | ||||
|  | ||||
| /** | ||||
|  * $Id: Connection.java,v 1.2 2000/06/06 07:24:06 peter Exp $ | ||||
|  * $Id: Connection.java,v 1.3 2000/06/06 07:45:07 peter Exp $ | ||||
|  * | ||||
|  * This abstract class is used by org.postgresql.Driver to open either the JDBC1 or | ||||
|  * JDBC2 versions of the Connection class. | ||||
| @@ -703,14 +703,14 @@ public abstract class Connection | ||||
|     // the full class name of the handling class. | ||||
|     // | ||||
|     private static final String defaultObjectTypes[][] = { | ||||
| 	{"box",		"postgresql.geometric.PGbox"}, | ||||
| 	{"circle",	"postgresql.geometric.PGcircle"}, | ||||
| 	{"line",	"postgresql.geometric.PGline"}, | ||||
| 	{"lseg",	"postgresql.geometric.PGlseg"}, | ||||
| 	{"path",	"postgresql.geometric.PGpath"}, | ||||
| 	{"point",	"postgresql.geometric.PGpoint"}, | ||||
| 	{"polygon",	"postgresql.geometric.PGpolygon"}, | ||||
| 	{"money",	"postgresql.util.PGmoney"} | ||||
| 	{"box",		"org.postgresql.geometric.PGbox"}, | ||||
| 	{"circle",	"org.postgresql.geometric.PGcircle"}, | ||||
| 	{"line",	"org.postgresql.geometric.PGline"}, | ||||
| 	{"lseg",	"org.postgresql.geometric.PGlseg"}, | ||||
| 	{"path",	"org.postgresql.geometric.PGpath"}, | ||||
| 	{"point",	"org.postgresql.geometric.PGpoint"}, | ||||
| 	{"polygon",	"org.postgresql.geometric.PGpolygon"}, | ||||
| 	{"money",	"org.postgresql.util.PGmoney"} | ||||
|     }; | ||||
|      | ||||
|     // This initialises the objectTypes hashtable | ||||
|   | ||||
		Reference in New Issue
	
	Block a user