mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Newer version of Bruce's pginterface library...
This commit is contained in:
14
contrib/pginterface/pginterface.h
Normal file
14
contrib/pginterface/pginterface.h
Normal file
@ -0,0 +1,14 @@
|
||||
/*
|
||||
* pglib.h
|
||||
*
|
||||
*/
|
||||
|
||||
PGresult *doquery(char *query);
|
||||
PGconn *connectdb();
|
||||
void disconnectdb();
|
||||
int fetch(void *param, ...);
|
||||
int fetchisnull(void *param, ...);
|
||||
void on_error_continue();
|
||||
void on_error_stop();
|
||||
|
||||
#define END_OF_TUPLES (-1)
|
Reference in New Issue
Block a user