Re: [HACKERS] cosmetic fixes

2014-05-19 Thread Heikki Linnakangas

On 05/19/2014 02:36 AM, Euler Taveira wrote:

Hi,

Here are some more trivial fixes in pg_recvlogical message style.


Thanks, applied.

- Heikki


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


[HACKERS] cosmetic fixes

2014-05-18 Thread Euler Taveira
Hi,

Here are some more trivial fixes in pg_recvlogical message style.


-- 
   Euler Taveira   Timbira - http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento
>From 0bbf437b490a92afa4b14e4903188bcf795f8e47 Mon Sep 17 00:00:00 2001
From: Euler Taveira 
Date: Sun, 18 May 2014 20:26:00 -0300
Subject: [PATCH] Style fixes.

Lowercase help statements. Also, use an existing statement to reduce the
number of strings to be translated.
---
 src/bin/pg_basebackup/pg_recvlogical.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/pg_basebackup/pg_recvlogical.c b/src/bin/pg_basebackup/pg_recvlogical.c
index a585303..651cc40 100644
--- a/src/bin/pg_basebackup/pg_recvlogical.c
+++ b/src/bin/pg_basebackup/pg_recvlogical.c
@@ -83,13 +83,13 @@ usage(void)
 	printf(_("  -F  --fsync-interval=SECS\n"
 			 " frequency of syncs to the output file (default: %d)\n"), (fsync_interval / 1000));
 	printf(_("  -o, --option=NAME[=VALUE]\n"
-			 " Specify option NAME with optional value VALUE, to be passed\n"
+			 " specify option NAME with optional value VALUE, to be passed\n"
 			 " to the output plugin\n"));
 	printf(_("  -P, --plugin=PLUGINuse output plugin PLUGIN (default: %s)\n"), plugin);
 	printf(_("  -s, --status-interval=SECS\n"
 			 " time between status packets sent to server (default: %d)\n"), (standby_message_timeout / 1000));
 	printf(_("  -S, --slot=SLOTuse existing replication slot SLOT instead of starting a new one\n"));
-	printf(_("  -I, --startpos=PTR Where in an existing slot should the streaming start\n"));
+	printf(_("  -I, --startpos=PTR where in an existing slot should the streaming start\n"));
 	printf(_("\nAction to be performed:\n"));
 	printf(_("  --create   create a new replication slot (for the slotname see --slot)\n"));
 	printf(_("  --startstart streaming in a replication slot (for the slotname see --slot)\n"));
@@ -935,7 +935,7 @@ main(int argc, char **argv)
 		if (sscanf(PQgetvalue(res, 0, 1), "%X/%X", &hi, &lo) != 2)
 		{
 			fprintf(stderr,
-	_("%s: could not parse log location \"%s\"\n"),
+	_("%s: could not parse transaction log location \"%s\"\n"),
 	progname, PQgetvalue(res, 0, 1));
 			disconnect_and_exit(1);
 		}
-- 
2.0.0.rc0


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers