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

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.
This commit is contained in:
Tom Lane
2002-10-03 18:40:02 +00:00
parent 793a4ba35e
commit 9886a46e76
4 changed files with 15 additions and 7 deletions

View File

@ -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 */
}