Skip to content
Snippets Groups Projects
Commit 86d4145f authored by Stephane Glondu's avatar Stephane Glondu
Browse files

New upstream version 5.1.1

parent 652a2054
No related branches found
No related tags found
No related merge requests found
## 5.1.1 (2024-11-26)
- Fixed a rare, architecture-specific GC bug in `lo_seek`.
## 5.1.0 (2024-11-04)
- Made Postgresql.null a now unique, empty string.
......
(lang dune 2.7)
(name postgresql)
(version 5.1.0)
(version 5.1.1)
(generate_opam_files true)
......
version: "5.1.0"
version: "5.1.1"
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Bindings to the PostgreSQL library"
......
......@@ -1583,7 +1583,6 @@ CAMLprim intnat lo_lseek_stub(value v_conn, intnat fd, intnat pos,
PGconn *conn = get_conn(v_conn);
intnat res;
int whence;
caml_enter_blocking_section();
switch (Int_val(v_whence)) {
case 0:
whence = SEEK_SET;
......@@ -1595,6 +1594,7 @@ CAMLprim intnat lo_lseek_stub(value v_conn, intnat fd, intnat pos,
whence = SEEK_END;
break;
}
caml_enter_blocking_section();
res = lo_lseek(conn, fd, pos, whence);
caml_leave_blocking_section();
CAMLreturn(res);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment