diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-11-22 16:25:32 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-11-22 16:25:32 +0000 |
commit | 95c9c22633f291e0f78a35614847fc80c87d0880 (patch) | |
tree | 80bcd2e3b8903be73e25f63e597a390492732488 /src/pl/plpython/plpython.c | |
parent | eeec0a6775df7c1250c58b34af9d1eed88c60823 (diff) | |
download | postgresql-95c9c22633f291e0f78a35614847fc80c87d0880.tar.gz postgresql-95c9c22633f291e0f78a35614847fc80c87d0880.zip |
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 'src/pl/plpython/plpython.c')
-rw-r--r-- | src/pl/plpython/plpython.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pl/plpython/plpython.c b/src/pl/plpython/plpython.c index 43c34271961..099388674a6 100644 --- a/src/pl/plpython/plpython.c +++ b/src/pl/plpython/plpython.c @@ -29,7 +29,7 @@ * MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.26 2002/10/19 22:10:58 tgl Exp $ + * $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.27 2002/11/22 16:25:30 tgl Exp $ * ********************************************************************* */ @@ -2733,7 +2733,7 @@ PLy_output(volatile int level, PyObject * self, PyObject * args) RERAISE_EXC(); } - elog(level, sv); + elog(level, "%s", sv); RESTORE_EXC(); |