| 6898 | } |
| 6899 | |
| 6900 | char * |
| 6901 | PQport(const PGconn *conn) |
| 6902 | { |
| 6903 | if (!conn) |
| 6904 | return NULL; |
| 6905 | |
| 6906 | if (conn->connhost != NULL) |
| 6907 | return conn->connhost[conn->whichhost].port; |
| 6908 | |
| 6909 | return ""; |
| 6910 | } |
| 6911 | |
| 6912 | /* |
| 6913 | * No longer does anything, but the function remains for API backwards |
no outgoing calls
no test coverage detected