Submits a request to obtain information about the specified prepared statement, and waits for completion.
PQdescribePreparedallows an application to obtain information about a previously prepared statement.
stmtNamecan be""to reference the unnamed statement, otherwise it must be the name of an existing prepared statement. On success, aPGresultwith statusPGRES_COMMAND_OKis returned. ThePQnparamsandPQparamtypecan be applied to thisPGresultto obtain information about the parameters of the prepared statement, and the functionsPQnfields,PQfname,PQftypeetc. provide information about the result columns (if any) of the statement.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | intent(in) | :: | conn | |||
| character(len=*), | intent(in) | :: | stmtName |