PQconninfo Subroutine

public subroutine PQconninfo(conn, options)

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 of PQconninfoOption strucures, which ends with an entry having a null keyword pointer. All notes above for PQconndefaults also apply to the result of PQconninfo.

cf. PostgreSQL Documentation

Arguments

Type IntentOptional Attributes Name
type(c_ptr), intent(in) :: conn
type(PQconninfoOption), intent(out), dimension(:), allocatable, target :: options

Contents