From a382db87aea3f9f1eed20f92fd626b26fb8dd2ff Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc kop@karlpinc.com" Date: Sun, 23 Feb 2025 21:33:47 +0000 Subject: [PATCH] Fix error message on INSERT of automatically maintained columns --- db/include/macros.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/include/macros.m4 b/db/include/macros.m4 index 5ae41ee..14fa0a5 100644 --- a/db/include/macros.m4 +++ b/db/include/macros.m4 @@ -108,7 +108,7 @@ changequote({,}) define({inserted_null}, {dnl IF NEW.$2 IS NOT NULL THEN RAISE EXCEPTION data_exception USING - MESSAGE = 'Error updating $1' + MESSAGE = 'Error inserting into $1' , DETAIL = '($2) = (' || NEW.$2 || '): $1.$2 must be NULL upon INSERT' -- 2.34.1