File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ let ftype_of_string = function
238
238
239
239
external init : unit -> unit = " PQocaml_init"
240
240
241
- let null = " "
241
+ let null = String. make 0 '\000'
242
242
243
243
let () =
244
244
Callback. register_exception " Postgresql.Oid" (Oid invalid_oid);
Original file line number Diff line number Diff line change @@ -212,7 +212,8 @@ val invalid_oid : oid
212
212
213
213
val null : string
214
214
(* * [null] can be used as an element of the optional argument [parameters]
215
- passed to the [exec] or [send_query] method to indicate a NULL value. *)
215
+ passed to the [exec] or [send_query] method to indicate a NULL value. It is
216
+ an empty string, but not physically equal to [""]. *)
216
217
217
218
(* * Class type of query results.
218
219
You can’t perform that action at this time.
0 commit comments