Previous: , Up: SXEmacs PostgreSQL libpq API   [Contents][Index]


61.2.7 Unimplemented libpq Functions

Unimplemented Function: PGconn *PQsetdbLogin (char *pghost, char *pgport, char *pgoptions, char *pgtty, char *dbName, char *login, char *pwd)

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.

Unimplemented Function: PGconn *PQsetdb (char *pghost, char *pgport, char *pgoptions, char *pgtty, char *dbName)

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.

Unimplemented Function: int PQsocket (PGconn *conn)

Return socket file descriptor to a backend database process. conn database connection object.

Unimplemented Function: void PQprint (FILE *fout, PGresult *res, PGprintOpt *ps)

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.

Unimplemented Function: void PQdisplayTuples (PGresult *res, FILE *fp, int fillAlign, char *fieldSep, int printHeader, int quiet)

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.

Unimplemented Function: void PQprintTuples (PGresult *res, FILE *fout, int printAttName, int terseOutput, int width)

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.

Unimplemented Function: int PQmblen (char *s, int encoding)

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.

Unimplemented Function: void PQtrace (PGconn *conn, FILE *debug_port)

Enable tracing on debug_port. conn database connection object. debug_port C output stream to use.

Unimplemented Function: void PQuntrace (PGconn *conn)

Disable tracing. conn database connection object.

Unimplemented Function: char *PQoidStatus (PGconn *conn)

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.

Unimplemented Function: PGresult *PQfn (PGconn *conn, int fnid, int *result_buf, int *result_len, int result_is_int, PQArgBlock *args, int nargs)

“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.

Unimplemented Function: int pq-lo-open (PGconn *conn, int lobjid, int mode)

conn a database connection object. lobjid a large object ID. mode opening modes.

Unimplemented Function: int pq-lo-close (PGconn *conn, int fd)

conn a database connection object. fd a large object file descriptor

Unimplemented Function: int pq-lo-read (PGconn *conn, int fd, char *buf, int len)

conn a database connection object. fd a large object file descriptor. buf buffer to read into. len size of buffer.

Unimplemented Function: int pq-lo-write (PGconn *conn, int fd, char *buf, size_t len)

conn a database connection object. fd a large object file descriptor. buf buffer to write from. len size of buffer.

Unimplemented Function: int pq-lo-lseek (PGconn *conn, int fd, int offset, int whence)

conn a database connection object. fd a large object file descriptor. offset whence

Unimplemented Function: int pq-lo-creat (PGconn *conn, int mode)

conn a database connection object. mode opening modes.

Unimplemented Function: int pq-lo-tell (PGconn *conn, int fd)

conn a database connection object. fd a large object file descriptor.

Unimplemented Function: int pq-lo-unlink (PGconn *conn, int lobjid)

conn a database connection object. lbojid a large object ID.


Previous: , Up: SXEmacs PostgreSQL libpq API   [Contents][Index]