db.postgresql.ffi: fix

db4
Doug Coleman 2015-07-19 17:45:52 -07:00
parent af553861e0
commit e2d80fee5f
1 changed files with 7 additions and 7 deletions

View File

@ -128,7 +128,7 @@ FUNCTION: PGTransactionStatusType PQtransactionStatus ( PGconn* conn )
FUNCTION: c-string PQparameterStatus ( PGconn* conn, FUNCTION: c-string PQparameterStatus ( PGconn* conn,
c-string paramName ) c-string paramName )
FUNCTION: int PQprotocolVersion ( PGconn* conn ) FUNCTION: int PQprotocolVersion ( PGconn* conn )
! FUNCTION: int PQServerVersion ( PGconn* conn ) ; ! FUNCTION: int PQServerVersion ( PGconn* conn )
FUNCTION: c-string PQerrorMessage ( PGconn* conn ) FUNCTION: c-string PQerrorMessage ( PGconn* conn )
FUNCTION: int PQsocket ( PGconn* conn ) FUNCTION: int PQsocket ( PGconn* conn )
FUNCTION: int PQbackendPID ( PGconn* conn ) FUNCTION: int PQbackendPID ( PGconn* conn )
@ -160,10 +160,10 @@ FUNCTION: void PQuntrace ( PGconn* conn )
! Override default notice handling routines ! Override default notice handling routines
! FUNCTION: PQnoticeReceiver PQsetNoticeReceiver ( PGconn* conn, ! FUNCTION: PQnoticeReceiver PQsetNoticeReceiver ( PGconn* conn,
! PQnoticeReceiver proc, ! PQnoticeReceiver proc,
! void* arg ) ; ! void* arg )
! FUNCTION: PQnoticeProcessor PQsetNoticeProcessor ( PGconn* conn, ! FUNCTION: PQnoticeProcessor PQsetNoticeProcessor ( PGconn* conn,
! PQnoticeProcessor proc, ! PQnoticeProcessor proc,
! void* arg ) ; ! void* arg )
! END BROKEN ! END BROKEN
! === in fe-exec.c === ! === in fe-exec.c ===
@ -269,7 +269,7 @@ FUNCTION: c-string PQcmdStatus ( PGresult* res )
FUNCTION: c-string PQoidStatus ( PGresult* res ) FUNCTION: c-string PQoidStatus ( PGresult* res )
FUNCTION: Oid PQoidValue ( PGresult* res ) FUNCTION: Oid PQoidValue ( PGresult* res )
FUNCTION: c-string PQcmdTuples ( PGresult* res ) FUNCTION: c-string PQcmdTuples ( PGresult* res )
! FUNCTION: c-string PQgetvalue ( PGresult* res, int tup_num, int field_num ) ; ! FUNCTION: c-string PQgetvalue ( PGresult* res, int tup_num, int field_num )
FUNCTION: void* PQgetvalue ( PGresult* res, int tup_num, int field_num ) FUNCTION: void* PQgetvalue ( PGresult* res, int tup_num, int field_num )
FUNCTION: int PQgetlength ( PGresult* res, int tup_num, int field_num ) FUNCTION: int PQgetlength ( PGresult* res, int tup_num, int field_num )
FUNCTION: int PQgetisnull ( PGresult* res, int tup_num, int field_num ) FUNCTION: int PQgetisnull ( PGresult* res, int tup_num, int field_num )
@ -288,7 +288,7 @@ FUNCTION: void PQfreemem ( void* ptr )
! useful). If conn is not NULL and status indicates an error, the ! useful). If conn is not NULL and status indicates an error, the
! conn's errorMessage is copied. ! conn's errorMessage is copied.
! !
FUNCTION: PGresult* PQmakeEmptyPGresult ( PGconn* conn, ExecStatusType status ) ; FUNCTION: PGresult* PQmakeEmptyPGresult ( PGconn* conn, ExecStatusType status )
! Quoting strings before inclusion in queries. ! Quoting strings before inclusion in queries.
FUNCTION: size_t PQescapeStringConn ( PGconn* conn, FUNCTION: size_t PQescapeStringConn ( PGconn* conn,
@ -298,7 +298,7 @@ FUNCTION: c-string PQescapeByteaConn ( PGconn* conn,
c-string from, size_t length, c-string from, size_t length,
size_t* to_length ) size_t* to_length )
FUNCTION: void* PQunescapeBytea ( c-string strtext, size_t* retbuflen ) FUNCTION: void* PQunescapeBytea ( c-string strtext, size_t* retbuflen )
! FUNCTION: c-string PQunescapeBytea ( c-string strtext, size_t* retbuflen ) ; ! FUNCTION: c-string PQunescapeBytea ( c-string strtext, size_t* retbuflen )
! These forms are deprecated! ! These forms are deprecated!
FUNCTION: size_t PQescapeString ( void* to, c-string from, size_t length ) FUNCTION: size_t PQescapeString ( void* to, c-string from, size_t length )
FUNCTION: c-string PQescapeBytea ( c-string bintext, size_t binlen, FUNCTION: c-string PQescapeBytea ( c-string bintext, size_t binlen,
@ -330,7 +330,7 @@ FUNCTION: int lo_read ( PGconn* conn, int fd, c-string buf, size_t len )
FUNCTION: int lo_write ( PGconn* conn, int fd, c-string buf, size_t len ) FUNCTION: int lo_write ( PGconn* conn, int fd, c-string buf, size_t len )
FUNCTION: int lo_lseek ( PGconn* conn, int fd, int offset, int whence ) FUNCTION: int lo_lseek ( PGconn* conn, int fd, int offset, int whence )
FUNCTION: Oid lo_creat ( PGconn* conn, int mode ) FUNCTION: Oid lo_creat ( PGconn* conn, int mode )
! FUNCTION: Oid lo_creat ( PGconn* conn, Oid lobjId ) ; ! FUNCTION: Oid lo_creat ( PGconn* conn, Oid lobjId )
FUNCTION: int lo_tell ( PGconn* conn, int fd ) FUNCTION: int lo_tell ( PGconn* conn, int fd )
FUNCTION: int lo_unlink ( PGconn* conn, Oid lobjId ) FUNCTION: int lo_unlink ( PGconn* conn, Oid lobjId )
FUNCTION: Oid lo_import ( PGconn* conn, c-string filename ) FUNCTION: Oid lo_import ( PGconn* conn, c-string filename )