@@ -25,6 +25,7 @@ module Database.PostgreSQL.Simple.TypeInfo.Static
@@ -40,9 +41,6 @@ module Database.PostgreSQL.Simple.TypeInfo.Static
@@ -63,6 +61,11 @@ module Database.PostgreSQL.Simple.TypeInfo.Static
65 , array_record
63 , array_record
@@ -81,6 +84,7 @@ module Database.PostgreSQL.Simple.TypeInfo.Static
81 , array_int2
84 , array_int2
82 , array_int2vector
85 , array_int2vector
83 , array_int4
86 , array_int4
84 , array_text
88 , array_text
85 , array_tid
89 , array_tid
86 , array_xid
90 , array_xid
@@ -95,9 +99,6 @@ module Database.PostgreSQL.Simple.TypeInfo.Static
95 , array_box
99 , array_box
96 , array_float4
100 , array_float4
97 , array_float8
101 , array_float8
101 , array_polygon
102 , array_polygon
102 , array_oid
103 , array_oid
103 , array_macaddr
104 , array_macaddr
@@ -112,6 +113,11 @@ module Database.PostgreSQL.Simple.TypeInfo.Static
112 , array_bit
113 , array_bit
113 , array_varbit
114 , array_varbit
114 , array_refcursor
115 , array_refcursor
116+ , array_regprocedure
115 , array_uuid
121 , array_uuid
116 , array_jsonb
122 , array_jsonb
117 , int4range
123 , int4range
@@ -140,6 +146,7 @@ staticTypeInfo (Oid x) = case x of
140 20 -> Just int8
146 20 -> Just int8
141 21 -> Just int2
147 21 -> Just int2
142 23 -> Just int4
148 23 -> Just int4
143 25 -> Just text
150 25 -> Just text
144 26 -> Just oid
151 26 -> Just oid
145 27 -> Just tid
152 27 -> Just tid
@@ -155,9 +162,6 @@ staticTypeInfo (Oid x) = case x of
155 650 -> Just cidr
162 650 -> Just cidr
156 700 -> Just float4
163 700 -> Just float4
157 701 -> Just float8
164 701 -> Just float8
160− 704 -> Just tinterval
161 705 -> Just unknown
165 705 -> Just unknown
162 718 -> Just circle
166 718 -> Just circle
163 790 -> Just money
167 790 -> Just money
@@ -178,6 +182,11 @@ staticTypeInfo (Oid x) = case x of
178 2249 -> Just record
182 2249 -> Just record
179 2278 -> Just void
183 2278 -> Just void
180 2287 -> Just array_record
184 2287 -> Just array_record
185+ 2202 -> Just regprocedure
186+ 2203 -> Just regoper
187+ 2204 -> Just regoperator
188+ 2205 -> Just regclass
189+ 2206 -> Just regtype
181 2950 -> Just uuid
190 2950 -> Just uuid
182 114 -> Just json
191 114 -> Just json
183 3802 -> Just jsonb
192 3802 -> Just jsonb
@@ -196,6 +205,7 @@ staticTypeInfo (Oid x) = case x of
196 1005 -> Just array_int2
205 1005 -> Just array_int2
197 1006 -> Just array_int2vector
206 1006 -> Just array_int2vector
198 1007 -> Just array_int4
207 1007 -> Just array_int4
208+ 1008 -> Just array_regproc
199 1009 -> Just array_text
209 1009 -> Just array_text
200 1010 -> Just array_tid
210 1010 -> Just array_tid
201 1011 -> Just array_xid
211 1011 -> Just array_xid
@@ -210,9 +220,6 @@ staticTypeInfo (Oid x) = case x of
210 1020 -> Just array_box
220 1020 -> Just array_box
211 1021 -> Just array_float4
221 1021 -> Just array_float4
212 1022 -> Just array_float8
222 1022 -> Just array_float8
213− 1023 -> Just array_abstime
214− 1024 -> Just array_reltime
215− 1025 -> Just array_tinterval
216 1027 -> Just array_polygon
223 1027 -> Just array_polygon
217 1028 -> Just array_oid
224 1028 -> Just array_oid
218 1040 -> Just array_macaddr
225 1040 -> Just array_macaddr
@@ -227,6 +234,11 @@ staticTypeInfo (Oid x) = case x of
227 1561 -> Just array_bit
234 1561 -> Just array_bit
228 1563 -> Just array_varbit
235 1563 -> Just array_varbit
229 2201 -> Just array_refcursor
236 2201 -> Just array_refcursor
237+ 2207 -> Just array_regprocedure
238+ 2208 -> Just array_regoper
239+ 2209 -> Just array_regoperator
240+ 2210 -> Just array_regclass
241+ 2211 -> Just array_regtype
230 2951 -> Just array_uuid
242 2951 -> Just array_uuid
231 3807 -> Just array_jsonb
243 3807 -> Just array_jsonb
232 3904 -> Just int4range
244 3904 -> Just int4range
@@ -299,6 +311,14 @@ int4 = Basic {
299 typname = "int4"
311 typname = "int4"
302text :: TypeInfo
322text :: TypeInfo
303text = Basic {
323text = Basic {
304 typoid = Oid 25,
324 typoid = Oid 25,
@@ -419,30 +439,6 @@ float8 = Basic {
419 typname = "float8"
439 typname = "float8"
438−tinterval :: TypeInfo
443− typname = "tinterval"
446unknown :: TypeInfo
442unknown :: TypeInfo
447unknown = Basic {
443unknown = Basic {
448 typoid = Oid 705,
444 typoid = Oid 705,
@@ -604,6 +600,46 @@ array_record = Array {
604 typelem = record
600 typelem = record
603+regprocedure :: TypeInfo
604+regprocedure = Basic {
608+ typname = "regprocedure"
619+regoperator :: TypeInfo
620+regoperator = Basic {
624+ typname = "regoperator"
632+ typname = "regclass"
607uuid :: TypeInfo
643uuid :: TypeInfo
608uuid = Basic {
644uuid = Basic {
609 typoid = Oid 2950,
645 typoid = Oid 2950,
@@ -763,6 +799,15 @@ array_int4 = Array {
763 typelem = int4
799 typelem = int4
802+array_regproc :: TypeInfo
803+array_regproc = Array {
807+ typname = "_regproc",
766array_text :: TypeInfo
811array_text :: TypeInfo
767array_text = Array {
812array_text = Array {
768 typoid = Oid 1009,
813 typoid = Oid 1009,
@@ -889,33 +934,6 @@ array_float8 = Array {
889 typelem = float8
934 typelem = float8
892−array_abstime :: TypeInfo
893−array_abstime = Array {
897− typname = "_abstime",
901−array_reltime :: TypeInfo
902−array_reltime = Array {
906− typname = "_reltime",
910−array_tinterval :: TypeInfo
911−array_tinterval = Array {
915− typname = "_tinterval",
919array_polygon :: TypeInfo
937array_polygon :: TypeInfo
920array_polygon = Array {
938array_polygon = Array {
921 typoid = Oid 1027,
939 typoid = Oid 1027,
@@ -1042,6 +1060,51 @@ array_refcursor = Array {
1042 typelem = refcursor
1060 typelem = refcursor
1063+array_regprocedure :: TypeInfo
1064+array_regprocedure = Array {
1068+ typname = "_regprocedure",
1069+ typelem = regprocedure
1072+array_regoper :: TypeInfo
1073+array_regoper = Array {
1077+ typname = "_regoper",
1081+array_regoperator :: TypeInfo
1082+array_regoperator = Array {
1086+ typname = "_regoperator",
1087+ typelem = regoperator
1090+array_regclass :: TypeInfo
1091+array_regclass = Array {
1095+ typname = "_regclass",
1099+array_regtype :: TypeInfo
1100+array_regtype = Array {
1104+ typname = "_regtype",
1045array_uuid :: TypeInfo
1108array_uuid :: TypeInfo
1046array_uuid = Array {
1109array_uuid = Array {
1047 typoid = Oid 2951,
1110 typoid = Oid 2951,