Abort state
After an error inside a transaction, PostgreSQL refuses further statements until you roll back.
task
Run SELECT 1/0 inside a transaction, then SELECT 1 and read "current transaction is aborted"; end with ROLLBACK.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
After an error inside a transaction, PostgreSQL refuses further statements until you roll back.
Run SELECT 1/0 inside a transaction, then SELECT 1 and read "current transaction is aborted"; end with ROLLBACK.