aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/variable.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-01-26 10:19:44 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-01-26 10:19:44 +0000
commit39ab3c1c618e00a185f6a24b5dee602d2c63f9fe (patch)
treeb4833cbde68c2215d52fc0763df2140977ff6612 /src/interfaces/ecpg/preproc/variable.c
parent006b9e7a9294a18da091d1a8f241412a02192c43 (diff)
downloadpostgresql-39ab3c1c618e00a185f6a24b5dee602d2c63f9fe.tar.gz
postgresql-39ab3c1c618e00a185f6a24b5dee602d2c63f9fe.zip
Message format tuning
Diffstat (limited to 'src/interfaces/ecpg/preproc/variable.c')
-rw-r--r--src/interfaces/ecpg/preproc/variable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/preproc/variable.c b/src/interfaces/ecpg/preproc/variable.c
index 02e9afed81d..9dbe589b920 100644
--- a/src/interfaces/ecpg/preproc/variable.c
+++ b/src/interfaces/ecpg/preproc/variable.c
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/variable.c,v 1.46 2009/01/23 12:43:32 petere Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/variable.c,v 1.47 2009/01/26 10:19:44 petere Exp $ */
#include "postgres_fe.h"
@@ -226,7 +226,7 @@ find_variable(char *name)
*next = '\0';
p = find_simple(name);
if (p == NULL)
- mmerror(PARSE_ERROR, ET_FATAL, "variable %s is not declared", name);
+ mmerror(PARSE_ERROR, ET_FATAL, "variable \"%s\" is not declared", name);
*next = c;
switch (p->type->u.element->type)
@@ -248,7 +248,7 @@ find_variable(char *name)
p = find_simple(name);
if (p == NULL)
- mmerror(PARSE_ERROR, ET_FATAL, "variable %s is not declared", name);
+ mmerror(PARSE_ERROR, ET_FATAL, "variable \"%s\" is not declared", name);
return (p);
}