version 1.1.1.4, 2022/09/23 12:09:14 |
version 1.1.1.5, 2023/01/25 20:36:41 |
Line 1110 postgres_create(const char *dlzname, uns |
|
Line 1110 postgres_create(const char *dlzname, uns |
|
/* if we cannot connect the first time, try 3 more times. */ |
/* if we cannot connect the first time, try 3 more times. */ |
for (j = 0; |
for (j = 0; |
PQstatus((PGconn *)dbi->dbconn) != CONNECTION_OK && j < 3; |
PQstatus((PGconn *)dbi->dbconn) != CONNECTION_OK && j < 3; |
j++) { |
j++) |
|
{ |
PQreset((PGconn *)dbi->dbconn); |
PQreset((PGconn *)dbi->dbconn); |
} |
} |
|
|