The tests are not as thourough as I would like. There's many ways to mess this up. I was initially planning to drop the ref on the prepared statement immediately after executing the query, so that the $st object can be kept around for introspection without consuming excess resources. Unfortunately, PQcopyResult does not copy over information about bind parameters, so we need another way to keep that information alive. I ended up going for the simple solution: keep the ref on the prepared statement... |
||
|---|---|---|
| .. | ||
| json_format.t | ||
| json_parse.t | ||
| pgconnect.t | ||
| pgtypes-dynamic.t | ||
| pgtypes.t | ||