mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Applied patch from Ryouichi Matsuda <r-matuda@sra.co.jp> where the jdbc
driver was not properly handling timestamptz datatype when using the getObject() method on ResultSet. Fix adds this datatype to the object mappings.
This commit is contained in:
@ -17,7 +17,7 @@ import org.postgresql.largeobject.*;
|
|||||||
import org.postgresql.util.*;
|
import org.postgresql.util.*;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Id: Connection.java,v 1.14 2001/11/25 23:26:58 barry Exp $
|
* $Id: Connection.java,v 1.15 2002/01/15 06:55:13 barry Exp $
|
||||||
*
|
*
|
||||||
* A Connection represents a session with a specific database. Within the
|
* A Connection represents a session with a specific database. Within the
|
||||||
* context of a Connection, SQL statements are executed and results are
|
* context of a Connection, SQL statements are executed and results are
|
||||||
@ -180,7 +180,7 @@ public class Connection extends org.postgresql.Connection implements java.sql.Co
|
|||||||
"bool",
|
"bool",
|
||||||
"date",
|
"date",
|
||||||
"time",
|
"time",
|
||||||
"abstime", "timestamp"
|
"abstime", "timestamp", "timestamptz"
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -204,7 +204,7 @@ public class Connection extends org.postgresql.Connection implements java.sql.Co
|
|||||||
Types.BIT,
|
Types.BIT,
|
||||||
Types.DATE,
|
Types.DATE,
|
||||||
Types.TIME,
|
Types.TIME,
|
||||||
Types.TIMESTAMP, Types.TIMESTAMP
|
Types.TIMESTAMP, Types.TIMESTAMP, Types.TIMESTAMP
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ import org.postgresql.largeobject.*;
|
|||||||
import org.postgresql.util.*;
|
import org.postgresql.util.*;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Id: Connection.java,v 1.16 2001/11/25 23:26:59 barry Exp $
|
* $Id: Connection.java,v 1.17 2002/01/15 06:55:13 barry Exp $
|
||||||
*
|
*
|
||||||
* A Connection represents a session with a specific database. Within the
|
* A Connection represents a session with a specific database. Within the
|
||||||
* context of a Connection, SQL statements are executed and results are
|
* context of a Connection, SQL statements are executed and results are
|
||||||
@ -303,7 +303,7 @@ public class Connection extends org.postgresql.Connection implements java.sql.Co
|
|||||||
"bool",
|
"bool",
|
||||||
"date",
|
"date",
|
||||||
"time",
|
"time",
|
||||||
"abstime", "timestamp",
|
"abstime", "timestamp", "timestamptz",
|
||||||
"_bool", "_char", "_int2", "_int4", "_text",
|
"_bool", "_char", "_int2", "_int4", "_text",
|
||||||
"_oid", "_varchar", "_int8", "_float4", "_float8",
|
"_oid", "_varchar", "_int8", "_float4", "_float8",
|
||||||
"_abstime", "_date", "_time", "_timestamp", "_numeric",
|
"_abstime", "_date", "_time", "_timestamp", "_numeric",
|
||||||
@ -331,7 +331,7 @@ public class Connection extends org.postgresql.Connection implements java.sql.Co
|
|||||||
Types.BIT,
|
Types.BIT,
|
||||||
Types.DATE,
|
Types.DATE,
|
||||||
Types.TIME,
|
Types.TIME,
|
||||||
Types.TIMESTAMP, Types.TIMESTAMP,
|
Types.TIMESTAMP, Types.TIMESTAMP, Types.TIMESTAMP,
|
||||||
Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY,
|
Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY,
|
||||||
Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY,
|
Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY,
|
||||||
Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY,
|
Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY, Types.ARRAY,
|
||||||
|
Reference in New Issue
Block a user