* Assign a "unique" number for a prepared statement. * * This works much like GetCursorNumber, except that we never reset the counter * within a session. That's because we can't be 100% sure we've gotten rid * of all prepared statements on all connections, and it's not really worth * increasing the risk of prepared-statement name collisions by resetting. */
| 667 | * increasing the risk of prepared-statement name collisions by resetting. |
| 668 | */ |
| 669 | unsigned int |
| 670 | GetPrepStmtNumber(PGconn *conn) |
| 671 | { |
| 672 | return ++prep_stmt_number; |
| 673 | } |
| 674 | |
| 675 | /* |
| 676 | * Submit a query and wait for the result. |
no outgoing calls
no test coverage detected