@@ -42,7 +42,7 @@ check_primary_key()
4242int nargs ;/* # of args specified in CREATE TRIGGER */
4343char * * args ;/* arguments: column names and table name */
4444int nkeys ;/* # of key columns (= nargs / 2) */
45- char * * kvals ;/* key values */
45+ Datum * kvals ;/* key values */
4646char * relname ;/* referenced relation name */
4747Relation rel ;/* triggered relation */
4848HeapTuple tuple = NULL ;/* tuple to return */
@@ -107,7 +107,7 @@ check_primary_key()
107107 * We use SPI plan preparation feature, so allocate space to place key
108108 * values.
109109 */
110- kvals = (char * * )palloc (nkeys * sizeof (char * ));
110+ kvals = (Datum * )palloc (nkeys * sizeof (Datum ));
111111
112112/*
113113 * Construct ident string as TriggerName $ TriggeredRelationId and try
@@ -228,7 +228,7 @@ check_foreign_key()
228228int nrefs ;/* number of references (== # of plans) */
229229char action ;/* 'R'estrict | 'S'etnull | 'C'ascade */
230230int nkeys ;/* # of key columns */
231- char * * kvals ;/* key values */
231+ Datum * kvals ;/* key values */
232232char * relname ;/* referencing relation name */
233233Relation rel ;/* triggered relation */
234234HeapTuple trigtuple = NULL ;/* tuple to being changed */
@@ -310,7 +310,7 @@ check_foreign_key()
310310 * We use SPI plan preparation feature, so allocate space to place key
311311 * values.
312312 */
313- kvals = (char * * )palloc (nkeys * sizeof (char * ));
313+ kvals = (Datum * )palloc (nkeys * sizeof (Datum ));
314314
315315/*
316316 * Construct ident string as TriggerName $ TriggeredRelationId and try
@@ -494,7 +494,7 @@ check_foreign_key()
494494elog (WARN ,"%s: tuple referenced in %s" ,
495495trigger -> tgname ,relname );
496496}
497- #ifndef REFINT_QUIET
497+ #ifdef REFINT_VERBOSE
498498else
499499elog (NOTICE ,"%s: %d tuple(s) of %s are %s" ,
500500trigger -> tgname ,SPI_processed ,relname ,