Returns the connection options used by a live connection.
Returns a connection options array. This can be used to determine all possible
PQconnectdb
options and the values that were used to connect to the server. The return value points to an array ofPQconninfoOption
strucures, which ends with an entry having a null keyword pointer. All notes above for PQconndefaults also apply to the result ofPQconninfo
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(c_ptr), | intent(in) | :: | conn | |||
type(PQconninfoOption), | intent(out), | dimension(:), allocatable, target | :: | options |