Submits a request to obtain information about the specified prepared statement, and waits for completion.
PQdescribePrepared
allows an application to obtain information about a previously prepared statement.
stmtName
can be""
to reference the unnamed statement, otherwise it must be the name of an existing prepared statement. On success, aPGresult
with statusPGRES_COMMAND_OK
is returned. ThePQnparams
andPQparamtype
can be applied to thisPGresult
to obtain information about the parameters of the prepared statement, and the functionsPQnfields
,PQfname
,PQftype
etc. 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 |