File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -567,10 +567,18 @@ object
567
567
check_field field;
568
568
ftype_of_oid (Stub. ftype res field)
569
569
570
+ method ftype_oid field =
571
+ check_field field;
572
+ Stub. ftype res field
573
+
570
574
method paramtype field =
571
575
check_param field;
572
576
ftype_of_oid (Stub. paramtype res field)
573
577
578
+ method paramtype_oid field =
579
+ check_param field;
580
+ Stub. paramtype res field
581
+
574
582
method fmod field = check_field field; Stub. fmod res field
575
583
method fsize field = check_field field; Stub. fsize res field
576
584
Original file line number Diff line number Diff line change @@ -261,6 +261,12 @@ class type result = object
261
261
@raise Error if field out of range.
262
262
*)
263
263
264
+ method ftype_oid : int -> oid
265
+ (* * [#ftype n] @return the oid of the [n]th field.
266
+
267
+ @raise Error if field out of range.
268
+ *)
269
+
264
270
method paramtype : int -> ftype
265
271
(* * [#paramtype n] @return the datatype of the indicated statement
266
272
parameter. Parameter numbers start at 0. This function is
@@ -271,6 +277,15 @@ class type result = object
271
277
@raise Error if field out of range.
272
278
*)
273
279
280
+ method paramtype_oid : int -> oid
281
+ (* * [#paramtype n] @return the oid of the indicated statement
282
+ parameter. Parameter numbers start at 0. This function is
283
+ only useful when inspecting the result of [#describe_prepared].
284
+ For other types of queries it will return zero.
285
+
286
+ @raise Error if field out of range.
287
+ *)
288
+
274
289
method fmod : int -> int
275
290
(* * [#fmod n] @return type-specific modification data of the [n]th field.
276
291
You can’t perform that action at this time.
0 commit comments