PGG                90 ext/pgsql/pgsql.c #define FETCH_DEFAULT_LINK()  PGG(default_link)
PGG               921 ext/pgsql/pgsql.c 	if (PGG(default_link) != NULL) {
PGG               922 ext/pgsql/pgsql.c 		zend_list_delete(PGG(default_link));
PGG               925 ext/pgsql/pgsql.c 	PGG(default_link) = res;
PGG               940 ext/pgsql/pgsql.c 	PGG(num_links)--;
PGG               955 ext/pgsql/pgsql.c 	PGG(num_persistent)--;
PGG               956 ext/pgsql/pgsql.c 	PGG(num_links)--;
PGG               966 ext/pgsql/pgsql.c 	if (! PGG(ignore_notices)) {
PGG               969 ext/pgsql/pgsql.c 		if (PGG(log_notices)) {
PGG               972 ext/pgsql/pgsql.c 		zend_hash_index_update_ptr(&PGG(notices), (zend_ulong)resource_id, notice);
PGG              1017 ext/pgsql/pgsql.c 		orig = PGG(ignore_notices);
PGG              1018 ext/pgsql/pgsql.c 		PGG(ignore_notices) = 1;
PGG              1027 ext/pgsql/pgsql.c 		PGG(ignore_notices) = orig;
PGG              1211 ext/pgsql/pgsql.c 	zend_hash_destroy(&PGG(notices));
PGG              1221 ext/pgsql/pgsql.c 	PGG(default_link) = NULL;
PGG              1222 ext/pgsql/pgsql.c 	PGG(num_links) = PGG(num_persistent);
PGG              1232 ext/pgsql/pgsql.c 	zend_hash_clean(&PGG(notices));
PGG              1261 ext/pgsql/pgsql.c 	snprintf(buf, sizeof(buf), ZEND_LONG_FMT, PGG(num_persistent));
PGG              1263 ext/pgsql/pgsql.c 	snprintf(buf, sizeof(buf), ZEND_LONG_FMT, PGG(num_links));
PGG              1332 ext/pgsql/pgsql.c 	if (persistent && PGG(allow_persistent)) {
PGG              1339 ext/pgsql/pgsql.c 			if (PGG(max_links) != -1 && PGG(num_links) >= PGG(max_links)) {
PGG              1341 ext/pgsql/pgsql.c 								 "Cannot create new link. Too many open links (%pd)", PGG(num_links));
PGG              1344 ext/pgsql/pgsql.c 			if (PGG(max_persistent) != -1 && PGG(num_persistent) >= PGG(max_persistent)) {
PGG              1346 ext/pgsql/pgsql.c 								 "Cannot create new link. Too many open persistent links (%pd)", PGG(num_persistent));
PGG              1370 ext/pgsql/pgsql.c 			PGG(num_links)++;
PGG              1371 ext/pgsql/pgsql.c 			PGG(num_persistent)++;
PGG              1377 ext/pgsql/pgsql.c 			if (PGG(auto_reset_persistent) & 1) {
PGG              1438 ext/pgsql/pgsql.c 		if (PGG(max_links) != -1 && PGG(num_links) >= PGG(max_links)) {
PGG              1439 ext/pgsql/pgsql.c 			php_error_docref(NULL, E_WARNING, "Cannot create new link. Too many open links (%pd)", PGG(num_links));
PGG              1482 ext/pgsql/pgsql.c 		PGG(num_links)++;
PGG              1485 ext/pgsql/pgsql.c 	if (! PGG(ignore_notices) && Z_TYPE_P(return_value) == IS_RESOURCE) {
PGG              1505 ext/pgsql/pgsql.c 	if (PGG(default_link)==-1) { /* no link opened yet, implicitly open one */
PGG              1509 ext/pgsql/pgsql.c 	return PGG(default_link);
PGG              1580 ext/pgsql/pgsql.c 	if (argc || (pgsql_link && Z_RES_P(pgsql_link) == PGG(default_link))) {
PGG              1582 ext/pgsql/pgsql.c 		PGG(default_link) = NULL;
PGG              1862 ext/pgsql/pgsql.c 	if ((PGG(auto_reset_persistent) & 2) && PQstatus(pgsql) != CONNECTION_OK) {
PGG              1994 ext/pgsql/pgsql.c 	if ((PGG(auto_reset_persistent) & 2) && PQstatus(pgsql) != CONNECTION_OK) {
PGG              2081 ext/pgsql/pgsql.c 	if ((PGG(auto_reset_persistent) & 2) && PQstatus(pgsql) != CONNECTION_OK) {
PGG              2198 ext/pgsql/pgsql.c 	if ((PGG(auto_reset_persistent) & 2) && PQstatus(pgsql) != CONNECTION_OK) {
PGG              2326 ext/pgsql/pgsql.c 	if ((notice = zend_hash_index_find_ptr(&PGG(notices), (zend_ulong)Z_RES_HANDLE_P(pgsql_link))) == NULL) {
PGG              4885 ext/pgsql/pgsql.c 			if ((PGG(auto_reset_persistent) & 2) && PQstatus(pgsql) != CONNECTION_OK) {
PGG              4984 ext/pgsql/pgsql.c 		if ((PGG(auto_reset_persistent) & 2) && PQstatus(pgsql) != CONNECTION_OK) {
PGG              5057 ext/pgsql/pgsql.c 			if ((PGG(auto_reset_persistent) & 2) && PQstatus(pgsql) != CONNECTION_OK) {
PGG              5161 ext/pgsql/pgsql.c 		if ((PGG(auto_reset_persistent) & 2) && PQstatus(pgsql) != CONNECTION_OK) {
PGG              6696 ext/pgsql/pgsql.c 		if ((PGG(auto_reset_persistent) & 2) && PQstatus(pg_link) != CONNECTION_OK) {