From 735dc5bf5d5b50e56ed7e22c6e8e2ee13a41a06c Mon Sep 17 00:00:00 2001 From: Asko Tiidumaa Date: Wed, 6 May 2009 08:00:13 +0000 Subject: [PATCH] fixed two error messages that were copied from log(u)triga --- sql/pgq/triggers/sqltriga.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/pgq/triggers/sqltriga.c b/sql/pgq/triggers/sqltriga.c index 00f545f8..d06917ee 100644 --- a/sql/pgq/triggers/sqltriga.c +++ b/sql/pgq/triggers/sqltriga.c @@ -46,7 +46,7 @@ Datum pgq_sqltriga(PG_FUNCTION_ARGS) * Get the trigger call context */ if (!CALLED_AS_TRIGGER(fcinfo)) - elog(ERROR, "pgq.logutriga not called as trigger"); + elog(ERROR, "pgq.sqltriga not called as trigger"); tg = (TriggerData *)(fcinfo->context); @@ -57,7 +57,7 @@ Datum pgq_sqltriga(PG_FUNCTION_ARGS) * Connect to the SPI manager */ if (SPI_connect() < 0) - elog(ERROR, "logtriga: SPI_connect() failed"); + elog(ERROR, "sqltriga: SPI_connect() failed"); pgq_prepare_event(&ev, tg, true); -- 2.39.5