-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy pathinstall-9.2.patch
30 lines (29 loc) · 1.16 KB
/
install-9.2.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- sql/pgtap.sql
+++ sql/pgtap.sql
@@ -784,12 +784,7 @@
GET STACKED DIAGNOSTICS
detail = PG_EXCEPTION_DETAIL,
hint = PG_EXCEPTION_HINT,
- context = PG_EXCEPTION_CONTEXT,
- schname = SCHEMA_NAME,
- tabname = TABLE_NAME,
- colname = COLUMN_NAME,
- chkname = CONSTRAINT_NAME,
- typname = PG_DATATYPE_NAME;
+ context = PG_EXCEPTION_CONTEXT;
RETURN ok( FALSE, descr ) || E'\n' || diag(
' died: ' || _error_diag(SQLSTATE, SQLERRM, detail, hint, context, schname, tabname, colname, chkname, typname)
);
@@ -6740,12 +6735,7 @@
GET STACKED DIAGNOSTICS
detail = PG_EXCEPTION_DETAIL,
hint = PG_EXCEPTION_HINT,
- context = PG_EXCEPTION_CONTEXT,
- schname = SCHEMA_NAME,
- tabname = TABLE_NAME,
- colname = COLUMN_NAME,
- chkname = CONSTRAINT_NAME,
- typname = PG_DATATYPE_NAME;
+ context = PG_EXCEPTION_CONTEXT;
END;
-- Always raise an exception to rollback any changes.