Skip to content

Commit

Permalink
Add _oid 1028 oid[] type info
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvc authored May 31, 2022
1 parent e632d40 commit e7155c4
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ tsvector | text search document | 3614
txid_snapshot | user-level transaction ID snapshot | 2970
xml | XML data | 142

Additionally, the following 9 common types are also implemented,
Additionally, the following 10 common types are also implemented,
with the Pharo class they map to.

Name | Description | Oid | Class
Expand All @@ -231,11 +231,12 @@ oid | object identifier | 26 | Integer
name | name | 19 | String
bpchar | text | 1042 | String
void | void | 2278 | UndefinedObject
_bool | boolean array | 1000 | Array<Boolean>
_int4 | integer array | 1007 | Array<Integer>
_text | string array | 1009 | Array<String>
_varchar | string array | 1015 | Array<String>
_float8 | float array | 1022 | Array<Float>
_bool | boolean array | 1000 | Array\<Boolean\>
_int4 | integer array | 1007 | Array\<Integer\>
_oid | oid array | 1028 | Array\<Integer\>
_text | string array | 1009 | Array\<String\>
_varchar | string array | 1015 | Array\<String\>
_float8 | float array | 1022 | Array\<Float\>

P3 also supports enums. Each enum definition creates a new type.
You can send #loadEnums to P3Client to create mappings for all visible enums.
Expand Down

0 comments on commit e7155c4

Please sign in to comment.