PQparamtype: * returns type Oid of the specified statement parameter. */
| 3728 | * returns type Oid of the specified statement parameter. |
| 3729 | */ |
| 3730 | Oid |
| 3731 | PQparamtype(const PGresult *res, int param_num) |
| 3732 | { |
| 3733 | if (!check_param_number(res, param_num)) |
| 3734 | return InvalidOid; |
| 3735 | if (res->paramDescs) |
| 3736 | return res->paramDescs[param_num].typid; |
| 3737 | else |
| 3738 | return InvalidOid; |
| 3739 | } |
| 3740 | |
| 3741 | |
| 3742 | /* PQsetnonblocking: |
nothing calls this directly
no test coverage detected