summaryrefslogtreecommitdiff
path: root/contrib/pginterface/pginterface.h
blob: 65894eae34e5566fc6ba2fbba862c44a9a83d135 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * pglib.h
 *
*/

PGresult	   *doquery(char *query);
PGconn		   *connectdb();
void			disconnectdb();
int				fetch(void *param,...);
int				fetchwithnulls(void *param,...);
void			on_error_continue();
void			on_error_stop();

#define END_OF_TUPLES	(-1)