libpgeasy

I l @ ve RuBoard

libpgeasy

Essentially, the libpgeasy library provides a simpler interface to the libpq C library.The typical uses of libpgeasy are as follows :

  • connectdb . Connects to the database.

  • doquery . Executes the supplied query.

  • fetch . Retrieves the results from the back end.

  • disconnectdb . Closes the database connection.

The following functions are provided by libpgeasy to accomplish the preceding :

  • PGconn *connectdb(char *options);

  • PGresult *doquery(char *query);

  • int fetch(void *param);

  • int fetchwithnulls(void *param);

  • void reset_fetch();

  • void disconnectdb();

I l @ ve RuBoard


PostgreSQL Essential Reference
PostgreSQL Essential Reference
ISBN: 0735711216
EAN: 2147483647
Year: 2001
Pages: 118
Authors: Barry Stinson

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net