From 9886a46e76eed65d331c6bc250680249c4748a6c Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 3 Oct 2002 18:40:02 +0000 Subject: Restore NOTICEs that were mistakenly removed from triggers regression test expected output. Tweak contrib/spi Makefile so that refint.so is by default built with appropriate NOTICE support for regression testing. --- contrib/spi/refint.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'contrib/spi/refint.c') diff --git a/contrib/spi/refint.c b/contrib/spi/refint.c index 61c9e71fea6..c3259e49b71 100644 --- a/contrib/spi/refint.c +++ b/contrib/spi/refint.c @@ -563,12 +563,14 @@ check_foreign_key(PG_FUNCTION_ARGS) elog(ERROR, "%s: tuple referenced in %s", trigger->tgname, relname); } -#ifdef REFINT_VERBOSE else - elog(DEBUG3, "%s: %d tuple(s) of %s are %s", + { +#ifdef REFINT_VERBOSE + elog(NOTICE, "%s: %d tuple(s) of %s are %s", trigger->tgname, SPI_processed, relname, (action == 'c') ? "deleted" : "setted to null"); #endif + } args += nkeys + 1; /* to the next relation */ } -- cgit v1.2.3