aboutsummaryrefslogtreecommitdiff
path: root/contrib/pginterface/pginterface.h
blob: ad8320aca9acd7345c040552f941bf8835203657 (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)