summaryrefslogtreecommitdiff
path: root/src/bin/pg_basebackup/pg_receivexlog.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2015-12-28 10:50:35 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2015-12-28 10:50:35 -0300
commitf98bc20dd125bd356864d76e8b32fab2b2df51df (patch)
treec74b7196419552e74047847b07c67d895d525615 /src/bin/pg_basebackup/pg_receivexlog.c
parent0a29cf693d385a60fb37c1f396af6fd8ffadc2e6 (diff)
Fix translation domain in pg_basebackup
For some reason, we've been overlooking the fact that pg_receivexlog and pg_recvlogical are using wrong translation domains all along, so their output hasn't ever been translated. The right domain is pg_basebackup, not their own executable names. Noticed by Ioseph Kim, who's been working on the Korean translation. Backpatch pg_receivexlog to 9.2 and pg_recvlogical to 9.4.
Diffstat (limited to 'src/bin/pg_basebackup/pg_receivexlog.c')
-rw-r--r--src/bin/pg_basebackup/pg_receivexlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_basebackup/pg_receivexlog.c b/src/bin/pg_basebackup/pg_receivexlog.c
index 469c7d87567..4afb8613c38 100644
--- a/src/bin/pg_basebackup/pg_receivexlog.c
+++ b/src/bin/pg_basebackup/pg_receivexlog.c
@@ -373,7 +373,7 @@ main(int argc, char **argv)
int option_index;
progname = get_progname(argv[0]);
- set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_receivexlog"));
+ set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_basebackup"));
if (argc > 1)
{