| 6948 | } |
| 6949 | |
| 6950 | const char * |
| 6951 | PQparameterStatus(const PGconn *conn, const char *paramName) |
| 6952 | { |
| 6953 | const pgParameterStatus *pstatus; |
| 6954 | |
| 6955 | if (!conn || !paramName) |
| 6956 | return NULL; |
| 6957 | for (pstatus = conn->pstatus; pstatus != NULL; pstatus = pstatus->next) |
| 6958 | { |
| 6959 | if (strcmp(pstatus->name, paramName) == 0) |
| 6960 | return pstatus->value; |
| 6961 | } |
| 6962 | return NULL; |
| 6963 | } |
| 6964 | |
| 6965 | int |
| 6966 | PQprotocolVersion(const PGconn *conn) |
no outgoing calls
no test coverage detected