| 6973 | } |
| 6974 | |
| 6975 | int |
| 6976 | PQserverVersion(const PGconn *conn) |
| 6977 | { |
| 6978 | if (!conn) |
| 6979 | return 0; |
| 6980 | if (conn->status == CONNECTION_BAD) |
| 6981 | return 0; |
| 6982 | return conn->sversion; |
| 6983 | } |
| 6984 | |
| 6985 | char * |
| 6986 | PQerrorMessage(const PGconn *conn) |
no outgoing calls
no test coverage detected