| 48 #define xstreq(a,b) xmlStrEqual(BAD_CAST a, BAD_CAST b) |
48 #define xstreq(a,b) xmlStrEqual(BAD_CAST a, BAD_CAST b) |
| 49 |
49 |
| 50 #define MAP_GET(map, key) cxMapGet(map, cx_hash_key_str(key)) |
50 #define MAP_GET(map, key) cxMapGet(map, cx_hash_key_str(key)) |
| 51 #define MAP_PUT(map, key, value) cxMapPut(map, cx_hash_key_str(key), value) |
51 #define MAP_PUT(map, key, value) cxMapPut(map, cx_hash_key_str(key), value) |
| 52 |
52 |
| 53 static char *pg_connstr = "postgresql://localhost/test1"; |
53 static char *pg_connstr = "dbname=test1"; |
| 54 static int abort_pg_tests = 0; |
54 static int abort_pg_tests = 0; |
| 55 static PGconn *test_connection; |
55 static PGconn *test_connection; |
| 56 static ResourceData resdata; |
56 static ResourceData resdata; |
| 57 static PgRepository test_repo; |
57 static PgRepository test_repo; |
| 58 |
58 |