Previous: Other libpq Functions, Up: SXEmacs PostgreSQL libpq API [Contents][Index]
Synchronous database connection. pghost is the hostname of the PostgreSQL backend to connect to. pgport is the TCP port number to use. pgoptions specifies other backend options. pgtty specifies the debugging tty to use. dbName specifies the database name to use. login specifies the database user name. pwd specifies the database user’s password.
This routine is deprecated as of libpq-7.0, and its functionality can be replaced by external Lisp code if needed.
Synchronous database connection. pghost is the hostname of the PostgreSQL backend to connect to. pgport is the TCP port number to use. pgoptions specifies other backend options. pgtty specifies the debugging tty to use. dbName specifies the database name to use.
This routine was deprecated in libpq-6.5.
Return socket file descriptor to a backend database process. conn database connection object.
Print out the results of a query to a designated C stream. fout C stream to print to res the query result object to print ps the print options structure.
This routine is deprecated as of libpq-7.0 and cannot be sensibly exported to SXEmacs Lisp.
res query result object to print fp C stream to print to fillAlign pad the fields with spaces fieldSep field separator printHeader display headers? quiet
This routine was deprecated in libpq-6.5.
res query result object to print fout C stream to print to printAttName print attribute names terseOutput delimiter bars width width of column, if 0, use variable width
This routine was deprecated in libpq-6.5.
Determine length of a multibyte encoded char at *s
.
s encoded string
encoding type of encoding
Compatibility note: This function was introduced in libpq-7.0.
Enable tracing on debug_port
.
conn database connection object.
debug_port C output stream to use.
Disable tracing. conn database connection object.
Return the object id as a string of the last tuple inserted. conn database connection object.
Compatibility note: This function is deprecated since libpq-7.0, however it is used internally by the SXEmacs binding code when linked against versions prior to 7.0.
“Fast path” interface — not really recommended for application use conn A database connection object. fnid result_buf result_len result_is_int args nargs
The following set of very low level large object functions aren’t appropriate to be exported to Lisp.
conn a database connection object. lobjid a large object ID. mode opening modes.
conn a database connection object. fd a large object file descriptor
conn a database connection object. fd a large object file descriptor. buf buffer to read into. len size of buffer.
conn a database connection object. fd a large object file descriptor. buf buffer to write from. len size of buffer.
conn a database connection object. fd a large object file descriptor. offset whence
conn a database connection object. mode opening modes.
conn a database connection object. fd a large object file descriptor.
conn a database connection object. lbojid a large object ID.
Previous: Other libpq Functions, Up: SXEmacs PostgreSQL libpq API [Contents][Index]