Prepare, Execute, And Deallocate Statements
Last updated
Was this helpful?
Last updated
Was this helpful?
In PostgreSQL, you can prepare a named statement to be executed later using .
These statements are kept around for the duration of the session. To see the available statements, check out the pg_prepared_statements
view.
To run a prepared statement, use execute
with the name of the statement and any arguments.
You can also delete a statement with if you'd like.