Skip to content

Commit 4bf5ff8

Browse files
authored
Merge pull request #9 from ulidtko/fix-unsafe-pqconsumeinput
Drop unsafe from PQconsumeInput FFI import
2 parents 5cd4081 + ed9b36c commit 4bf5ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Database/PostgreSQL/LibPQ.hsc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2510,7 +2510,7 @@ foreign import ccall "libpq-fe.h PQcancel"
25102510
foreign import ccall unsafe "libpq-fe.h PQnotifies"
25112511
c_PQnotifies :: Ptr PGconn -> IO (Ptr Notify)
25122512

2513-
foreign import ccall unsafe "libpq-fe.h PQconsumeInput"
2513+
foreign import ccall "libpq-fe.h PQconsumeInput"
25142514
c_PQconsumeInput :: Ptr PGconn -> IO CInt
25152515

25162516
foreign import ccall unsafe "libpq-fe.h PQisBusy"

0 commit comments

Comments
 (0)