7 #define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
36 char *
user =
"regress_ecpg_user1" ;
43 {
ECPGconnect(__LINE__, 0,
"ecpg2_regression" , NULL, NULL ,
"main", 0); }
59 strcpy(db,
"ecpg2_regression");
61 {
ECPGconnect(__LINE__, 0, db , NULL, NULL ,
id, 0); }
68 {
ECPGconnect(__LINE__, 0,
"ecpg2_regression" , NULL, NULL ,
"main", 0); }
75 {
ECPGconnect(__LINE__, 0,
"ecpg2_regression" , NULL, NULL ,
"main", 0); }
82 {
ECPGconnect(__LINE__, 0,
"ecpg2_regression" , NULL, NULL ,
"main", 0); }
92 {
ECPGconnect(__LINE__, 0,
"ecpg2_regression" ,
"regress_ecpg_user1" ,
"connectpw" ,
"main", 0); }
99 {
ECPGconnect(__LINE__, 0,
"unix:postgresql://localhost/ecpg2_regression" ,
"regress_ecpg_user1" ,
"connectpw" ,
"main", 0); }
106 {
ECPGconnect(__LINE__, 0,
"unix:postgresql://localhost/ecpg2_regression" ,
"regress_ecpg_user1" ,
"connectpw" ,
"main", 0); }
113 {
ECPGconnect(__LINE__, 0,
"unix:postgresql://localhost/ecpg2_regression" ,
user ,
"connectpw" ,
"main", 0); }
120 {
ECPGconnect(__LINE__, 0,
"unix:postgresql://localhost/ecpg2_regression?connect_timeout=180&client_encoding=sql_ascii" ,
"regress_ecpg_user1" ,
"connectpw" ,
"main", 0); }
127 {
ECPGconnect(__LINE__, 0,
"unix:postgresql://200.46.204.71/ecpg2_regression" ,
"regress_ecpg_user1" ,
"connectpw" ,
"main", 0); }
134 {
ECPGconnect(__LINE__, 0,
"unix:postgresql://localhost/?gssencmode=disable" ,
"regress_ecpg_user2" ,
"insecure" ,
"main", 0); }
142 {
ECPGconnect(__LINE__, 0,
"ecpg2_regression" , NULL, NULL ,
"main", 0); }
145 {
ECPGconnect(__LINE__, 0,
"ecpg2_regression" , NULL, NULL ,
"main", 0); }
bool ECPGdisconnect(int lineno, const char *connection_name)
bool ECPGconnect(int lineno, int c, const char *name, const char *user, const char *passwd, const char *connection_name, int autocommit)
bool ECPGdo(const int lineno, const int compat, const int force_indicator, const char *connection_name, const bool questionmarks, const int st, const char *query,...)
bool ECPGtrans(int lineno, const char *connection_name, const char *transaction)