diff options
author | Asko Tiidumaa | 2009-05-06 08:00:13 +0000 |
---|---|---|
committer | Asko Tiidumaa | 2009-05-06 08:00:13 +0000 |
commit | 735dc5bf5d5b50e56ed7e22c6e8e2ee13a41a06c (patch) | |
tree | 1edbf26ef717aa7f9df15f1e002be61dbddf9099 | |
parent | 7d2aff70af0e9743d5e54f4c4c5b11af0c1df41f (diff) |
fixed two error messages that were copied from log(u)triga
-rw-r--r-- | sql/pgq/triggers/sqltriga.c | 4 |
1 files 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); |