aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/index/indexam.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-04-14 09:10:57 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-04-14 09:11:29 +0200
commit07e5e66742333ab100a557e6e3f710e92fa1fd92 (patch)
tree592d162eb2152278c60b1034381d523709c7e186 /src/backend/access/index/indexam.c
parentac725ee0f98c3fec703ffd9b070da629608e9a1e (diff)
downloadpostgresql-07e5e66742333ab100a557e6e3f710e92fa1fd92.tar.gz
postgresql-07e5e66742333ab100a557e6e3f710e92fa1fd92.zip
Improve quoting in some error messages
Diffstat (limited to 'src/backend/access/index/indexam.c')
-rw-r--r--src/backend/access/index/indexam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/index/indexam.c b/src/backend/access/index/indexam.c
index 9b5afa12ad6..5e22479b7ad 100644
--- a/src/backend/access/index/indexam.c
+++ b/src/backend/access/index/indexam.c
@@ -93,14 +93,14 @@
#define CHECK_REL_PROCEDURE(pname) \
do { \
if (indexRelation->rd_indam->pname == NULL) \
- elog(ERROR, "function %s is not defined for index %s", \
+ elog(ERROR, "function \"%s\" is not defined for index \"%s\"", \
CppAsString(pname), RelationGetRelationName(indexRelation)); \
} while(0)
#define CHECK_SCAN_PROCEDURE(pname) \
do { \
if (scan->indexRelation->rd_indam->pname == NULL) \
- elog(ERROR, "function %s is not defined for index %s", \
+ elog(ERROR, "function \"%s\" is not defined for index \"%s\"", \
CppAsString(pname), RelationGetRelationName(scan->indexRelation)); \
} while(0)