1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Improve savepoint error messages

Include the savepoint name in the error message and rephrase it a bit to
match common style.

Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org>
This commit is contained in:
Peter Eisentraut
2018-02-17 20:29:27 -05:00
parent ec87efde8d
commit 81148856b0
2 changed files with 7 additions and 7 deletions

View File

@ -749,5 +749,5 @@ begin;
select 1/0;
ERROR: division by zero
rollback to X;
ERROR: no such savepoint
ERROR: savepoint "x" does not exist
-- DO NOT ADD ANYTHING HERE.