diff --git a/basis/db/postgresql/ffi/ffi.factor b/basis/db/postgresql/ffi/ffi.factor index 6b75d9bab7..0ad686c8ce 100644 --- a/basis/db/postgresql/ffi/ffi.factor +++ b/basis/db/postgresql/ffi/ffi.factor @@ -128,7 +128,7 @@ FUNCTION: PGTransactionStatusType PQtransactionStatus ( PGconn* conn ) FUNCTION: c-string PQparameterStatus ( PGconn* conn, c-string paramName ) FUNCTION: int PQprotocolVersion ( PGconn* conn ) -! FUNCTION: int PQServerVersion ( PGconn* conn ) ; +! FUNCTION: int PQServerVersion ( PGconn* conn ) FUNCTION: c-string PQerrorMessage ( PGconn* conn ) FUNCTION: int PQsocket ( PGconn* conn ) FUNCTION: int PQbackendPID ( PGconn* conn ) @@ -160,10 +160,10 @@ FUNCTION: void PQuntrace ( PGconn* conn ) ! Override default notice handling routines ! FUNCTION: PQnoticeReceiver PQsetNoticeReceiver ( PGconn* conn, ! PQnoticeReceiver proc, - ! void* arg ) ; + ! void* arg ) ! FUNCTION: PQnoticeProcessor PQsetNoticeProcessor ( PGconn* conn, ! PQnoticeProcessor proc, - ! void* arg ) ; + ! void* arg ) ! END BROKEN ! === in fe-exec.c === @@ -269,7 +269,7 @@ FUNCTION: c-string PQcmdStatus ( PGresult* res ) FUNCTION: c-string PQoidStatus ( PGresult* res ) FUNCTION: Oid PQoidValue ( 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: int PQgetlength ( 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 ! 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. FUNCTION: size_t PQescapeStringConn ( PGconn* conn, @@ -298,7 +298,7 @@ FUNCTION: c-string PQescapeByteaConn ( PGconn* conn, c-string from, size_t length, size_t* to_length ) 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! FUNCTION: size_t PQescapeString ( void* to, c-string from, size_t length ) 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_lseek ( PGconn* conn, int fd, int offset, int whence ) 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_unlink ( PGconn* conn, Oid lobjId ) FUNCTION: Oid lo_import ( PGconn* conn, c-string filename )