diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2024-08-02 12:05:38 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2024-08-02 12:05:38 -0400 |
commit | ca264553485e3a4e5955e108e571baf0c68c641d (patch) | |
tree | eaa0476ac8f51a2708c1b91d6413219cccac8b82 /src | |
parent | 8c6ba6e6a834030c80d7e0d2fa28101e9e17a993 (diff) | |
download | postgresql-ca264553485e3a4e5955e108e571baf0c68c641d.tar.gz postgresql-ca264553485e3a4e5955e108e571baf0c68c641d.zip |
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 <horikyota.ntt@gmail.com>
Discussion: https://postgr.es/m/20240802.115717.1083441453338151622.horikyota.ntt@gmail.com
Diffstat (limited to 'src')
-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) { |