Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
perf: add point type info to Client (#612)
- Loading branch information
|
@@ -71,6 +71,7 @@ |
|
|
public static final int XML = 142; |
|
|
public static final int XML_ARRAY = 143; |
|
|
public static final int POINT = 600; |
|
|
public static final int POINT_ARRAY = 1017; |
|
|
public static final int BOX = 603; |
|
|
public static final int JSONB_ARRAY = 3807; |
|
|
public static final int JSON = 114; |
|
|
|
@@ -92,7 +92,8 @@ |
|
|
{"timestamp", Oid.TIMESTAMP, Types.TIMESTAMP, "java.sql.Timestamp", Oid.TIMESTAMP_ARRAY}, |
|
|
{"timestamptz", Oid.TIMESTAMPTZ, Types.TIMESTAMP, "java.sql.Timestamp", |
|
|
Oid.TIMESTAMPTZ_ARRAY}, |
|
|
{"json", Oid.JSON, Types.VARCHAR, "java.lang.String", Oid.JSON_ARRAY} |
|
|
{"json", Oid.JSON, Types.VARCHAR, "java.lang.String", Oid.JSON_ARRAY}, |
|
|
{"point", Oid.POINT, Types.OTHER, "org.postgresql.geometric.PGpoint", Oid.POINT_ARRAY} |
|
|
}; |
|
|
|
|
|
/** |
|
|