db.postgresql.ffi vocabulary
Factor handbook ยป Vocabulary index


Summary

Words

Symbol words
ConnStatusType
ExecStatusType
FILE
Oid
PGTransactionStatusType
PGVerbosity
PGcancel
PGconn
PGnotify
PGresult
PQArgBlock
PQconninfoOption
PQprintOpt
PostgresPollingStatusType
SSL
pqbool


Ordinary words
WordStack effect
BOOL-OID( -- value )
BYTEA-OID( -- value )
CHAR-OID( -- value )
CONNECTION_AUTH_OK( -- value )
CONNECTION_AWAITING_RESPONSE( -- value )
CONNECTION_BAD( -- value )
CONNECTION_MADE( -- value )
CONNECTION_NEEDED( -- value )
CONNECTION_OK( -- value )
CONNECTION_SETENV( -- value )
CONNECTION_SSL_STARTUP( -- value )
CONNECTION_STARTED( -- value )
DATE-OID( -- value )
FLOAT4-OID( -- value )
FLOAT8-OID( -- value )
INT2-OID( -- value )
INT4-OID( -- value )
INT8-OID( -- value )
INTERVAL-OID( -- value )
InvalidOid( -- value )
NAME-OID( -- value )
NUMERIC-OID( -- value )
OID-OID( -- value )
PGRES_BAD_RESPONSE( -- value )
PGRES_COMMAND_OK( -- value )
PGRES_COPY_IN( -- value )
PGRES_COPY_OUT( -- value )
PGRES_EMPTY_QUERY( -- value )
PGRES_FATAL_ERROR( -- value )
PGRES_NONFATAL_ERROR( -- value )
PGRES_POLLING_ACTIVE( -- value )
PGRES_POLLING_FAILED( -- value )
PGRES_POLLING_OK( -- value )
PGRES_POLLING_READING( -- value )
PGRES_POLLING_WRITING( -- value )
PGRES_TUPLES_OK( -- value )
PQERRORS_DEFAULT( -- value )
PQERRORS_TERSE( -- value )
PQERRORS_VERBOSE( -- value )
PQTRANS_ACTIVE( -- value )
PQTRANS_IDLE( -- value )
PQTRANS_INERROR( -- value )
PQTRANS_INTRANS( -- value )
PQTRANS_UNKNOWN( -- value )
PQbackendPID( conn -- int )
PQbinaryTuples( res -- int )
PQclear( res -- )
PQclientEncoding( conn -- int )
PQcmdStatus( res -- c-string )
PQcmdTuples( res -- c-string )
PQconndefaults( -- PQconninfoOption* )
PQconnectPoll( conn -- PostgresPollingStatusType )
PQconnectStart( conninfo -- PGconn* )
PQconnectdb( conninfo -- PGconn* )
PQconninfoFree( connOptions -- )
PQconsumeInput( conn -- int )
PQdb( conn -- c-string )
PQdisplayTuples( res fp fillAlign fieldSep printHeader quiet -- )
PQdsplen( s encoding -- int )
PQendcopy( conn -- int )
PQenv2encoding( -- int )
PQerrorMessage( conn -- c-string )
PQescapeBytea( bintext binlen bytealen -- c-string )
PQescapeByteaConn( conn from length to_length -- c-string )
PQescapeString( to from length -- size_t )
PQescapeStringConn( conn to from length error -- size_t )
PQexec( conn query -- PGresult* )
PQexecParams( conn command nParams paramTypes paramValues paramLengths paramFormats resultFormat -- PGresult* )
PQexecPrepared( conn stmtName nParams paramValues paramLengths paramFormats resultFormat -- PGresult* )
PQfformat( res field_num -- int )
PQfinish( conn -- )
PQflush( conn -- int )
PQfmod( res field_num -- int )
PQfn( conn fnid result_buf result_len result_is_int args nargs -- PGresult* )
PQfname( res field_num -- c-string )
PQfnumber( res field_name -- int )
PQfreeCancel( cancel -- )
PQfreeNotify( ptr -- )
PQfreemem( ptr -- )
PQfsize( res field_num -- int )
PQftable( res field_num -- Oid )
PQftablecol( res field_num -- int )
PQftype( res field_num -- Oid )
PQgetCancel( conn -- PGcancel* )
PQgetCopyData( conn buffer async -- int )
PQgetResult( conn -- PGresult* )
PQgetisnull( res tup_num field_num -- int )
PQgetlength( res tup_num field_num -- int )
PQgetline( conn string length -- int )
PQgetlineAsync( conn buffer bufsize -- int )
PQgetssl( conn -- SSL* )
PQgetvalue( res tup_num field_num -- void* )
PQhost( conn -- c-string )
PQinitSSL( do_init -- )
PQisBusy( conn -- int )
PQisnonblocking( conn -- int )
PQmakeEmptyPGresult( conn status -- PGresult* )
PQmblen( s encoding -- int )
PQnfields( res -- int )
PQnotifies( conn -- PGnotify* )
PQntuples( res -- int )
PQoidStatus( res -- c-string )
PQoidValue( res -- Oid )
PQoptions( conn -- c-string )
PQparameterStatus( conn paramName -- c-string )
PQpass( conn -- c-string )
PQport( conn -- c-string )
PQprepare( conn stmtName query nParams paramTypes -- PGresult* )
PQprint( fout res ps -- )
PQprintTuples( res fout printAttName terseOutput width -- )
PQprotocolVersion( conn -- int )
PQputCopyData( conn buffer nbytes -- int )
PQputCopyEnd( conn errormsg -- int )
PQputline( conn string -- int )
PQputnbytes( conn buffer nbytes -- int )
PQrequestCancel( conn -- int )
PQresStatus( status -- c-string )
PQreset( conn -- )
PQresetPoll( conn -- PostgresPollingStatusType )
PQresetStart( conn -- int )
PQresultErrorField( res fieldcode -- c-string )
PQresultErrorMessage( res -- c-string )
PQresultStatus( res -- ExecStatusType )
PQsendPrepare( conn stmtName query nParams paramTypes -- PGresult* )
PQsendQuery( conn query -- int )
PQsendQueryParams( conn command nParams paramTypes paramValues paramLengths paramFormats resultFormat -- int )
PQsendQueryPrepared( conn stmtName nParams paramValues paramLengths paramFormats resultFormat -- int )
PQsetClientEncoding( conn encoding -- int )
PQsetErrorVerbosity( conn verbosity -- PGVerbosity )
PQsetdb( M_PGHOST M_PGPORT M_PGOPT M_PGTTY M_DBNAME -- PGconn* )
PQsetdbLogin( pghost pgport pgoptions pgtty dbName login pwd -- PGconn* )
PQsetnonblocking( conn arg -- int )
PQsocket( conn -- int )
PQstatus( conn -- ConnStatusType )
PQtrace( conn debug_port -- )
PQtransactionStatus( conn -- PGTransactionStatusType )
PQtty( conn -- c-string )
PQunescapeBytea( strtext retbuflen -- void* )
PQuntrace( conn -- )
PQuser( conn -- c-string )
TEXT-OID( -- value )
TIME-OID( -- value )
TIMESTAMP-OID( -- value )
TIMESTAMPTZ-OID( -- value )
VARCHAR-OID( -- value )
lo_close( conn fd -- int )
lo_creat( conn mode -- Oid )
lo_export( conn lobjId filename -- int )
lo_import( conn filename -- Oid )
lo_lseek( conn fd offset whence -- int )
lo_open( conn lobjId mode -- int )
lo_read( conn fd buf len -- int )
lo_tell( conn fd -- int )
lo_unlink( conn lobjId -- int )
lo_write( conn fd buf len -- int )


Files