diff options
| author | Tom Lane | 2002-11-22 16:25:55 +0000 |
|---|---|---|
| committer | Tom Lane | 2002-11-22 16:25:55 +0000 |
| commit | 55994bab8eac9a31be5f0539879166d1c72b5526 (patch) | |
| tree | abeeb1a2a854a086a91ffb6f488f5360713fe141 /contrib/rserv | |
| parent | 7082e7e43a7b5ad92c2bdef38efe1a50ea77380f (diff) | |
Fix a dozen or so places that were passing unpredictable data strings
as elog format strings. Hai-Chen Tu pointed out the problem in
contrib/dbmirror, but it wasn't the only such error.
Diffstat (limited to 'contrib/rserv')
| -rw-r--r-- | contrib/rserv/rserv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/rserv/rserv.c b/contrib/rserv/rserv.c index 517289dc1cc..635fcce64a1 100644 --- a/contrib/rserv/rserv.c +++ b/contrib/rserv/rserv.c @@ -132,7 +132,7 @@ _rserv_log_() GetCurrentTransactionId(), deleted, rel->rd_id, okey); if (debug) - elog(DEBUG3, sql); + elog(DEBUG3, "sql: %s", sql); ret = SPI_exec(sql, 0); @@ -153,7 +153,7 @@ _rserv_log_() deleted, okey); if (debug) - elog(DEBUG3, sql); + elog(DEBUG3, "sql: %s", sql); ret = SPI_exec(sql, 0); @@ -177,7 +177,7 @@ _rserv_log_() rel->rd_id, GetCurrentTransactionId(), okey); if (debug) - elog(DEBUG3, sql); + elog(DEBUG3, "sql: %s", sql); ret = SPI_exec(sql, 0); |
