Sends a request to create a prepared statement with the given parameters, without waiting for completion.
This is an asynchronous version of
PQprepare: it returns1if it was able to dispatch the request, and0if not. After a successfull call, callPQgetResultto determine whether the server successfully created the prepared statement. The function's parameters are handled identically toPQprepare.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | intent(in) | :: | conn | |||
| character(len=*), | intent(in) | :: | stmtName | |||
| character(len=*), | intent(in) | :: | query | |||
| integer(kind=int32), | intent(in) | :: | nParams | |||
| integer(kind=int32), | intent(in) | :: | paramTypes(:) |
Sends a request to create a prepared statement with the given parameters, without waiting for completion.
This is an asynchronous version of
PQprepare: it returns1if it was able to dispatch the request, and0if not. After a successfull call, callPQgetResultto determine whether the server successfully created the prepared statement. The function's parameters are handled identically toPQprepare.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | intent(in) | :: | conn | |||
| character(len=*), | intent(in) | :: | stmtName | |||
| character(len=*), | intent(in) | :: | query | |||
| integer(kind=int32), | intent(in) | :: | nParams | |||
| integer(kind=int64), | intent(in) | :: | paramTypes(:) |