diff options
author | Alvaro Herrera | 2024-08-02 16:05:38 +0000 |
---|---|---|
committer | Alvaro Herrera | 2024-08-02 16:05:38 +0000 |
commit | a83f3088b8f409aaee7a939c2847157d97006193 (patch) | |
tree | 8ecd1e94bebe20f968ad93828596ec5bf8224379 | |
parent | 3b2f668b785c9b7970d86e7f72a717751d1ddfc2 (diff) |
Fix NLS file reference in pg_createsubscriber
pg_createsubscriber is referring to a non-existent message translation
file, causing NLS to not work correctly. This command should use the
same file as pg_basebackup.
Author: Kyotaro Horiguchi <[email protected]>
Discussion: https://postgr.es/m/[email protected]
-rw-r--r-- | src/bin/pg_basebackup/pg_createsubscriber.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_basebackup/pg_createsubscriber.c b/src/bin/pg_basebackup/pg_createsubscriber.c index 3e67ce20710..6295783cdee 100644 --- a/src/bin/pg_basebackup/pg_createsubscriber.c +++ b/src/bin/pg_basebackup/pg_createsubscriber.c @@ -1904,7 +1904,7 @@ main(int argc, char **argv) pg_logging_init(argv[0]); pg_logging_set_level(PG_LOG_WARNING); progname = get_progname(argv[0]); - set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_createsubscriber")); + set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_basebackup")); if (argc > 1) { |