diff options
Diffstat (limited to 'src/backend/libpq/hba.c')
-rw-r--r-- | src/backend/libpq/hba.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/libpq/hba.c b/src/backend/libpq/hba.c index 8f2b8c6b03a..4637426d627 100644 --- a/src/backend/libpq/hba.c +++ b/src/backend/libpq/hba.c @@ -899,7 +899,7 @@ do { \ errmsg("missing entry at end of line"), \ errcontext("line %d of configuration file \"%s\"", \ line_num, IdentFileName))); \ - *err_msg = psprintf("missing entry at end of line"); \ + *err_msg = pstrdup("missing entry at end of line"); \ return NULL; \ } \ } while (0) @@ -912,7 +912,7 @@ do { \ errmsg("multiple values in ident field"), \ errcontext("line %d of configuration file \"%s\"", \ line_num, IdentFileName))); \ - *err_msg = psprintf("multiple values in ident field"); \ + *err_msg = pstrdup("multiple values in ident field"); \ return NULL; \ } \ } while (0) |