mirror of
https://github.com/postgres/postgres.git
synced 2025-08-22 21:53:06 +03:00
pg_basebackup: stylistic adjustments
The most user-visible part of this is to change the long options --statusint and --noloop to --status-interval and --no-loop, respectively, per discussion. Also, consistently enclose file names in double quotes, per our conventions; and consistently use the term "transaction log file" to talk about WAL segments. (Someday we may need to go over this terminology and make it consistent across the whole source code.) Finally, reflow the code to better fit in 80 columns, and have pgindent fix it up some more.
This commit is contained in:
@@ -184,7 +184,8 @@ GetConnection(void)
|
||||
tmpparam = PQparameterStatus(tmpconn, "integer_datetimes");
|
||||
if (!tmpparam)
|
||||
{
|
||||
fprintf(stderr, _("%s: could not determine server setting for integer_datetimes\n"),
|
||||
fprintf(stderr,
|
||||
_("%s: could not determine server setting for integer_datetimes\n"),
|
||||
progname);
|
||||
PQfinish(tmpconn);
|
||||
exit(1);
|
||||
@@ -196,7 +197,8 @@ GetConnection(void)
|
||||
if (strcmp(tmpparam, "off") != 0)
|
||||
#endif
|
||||
{
|
||||
fprintf(stderr, _("%s: integer_datetimes compile flag does not match server\n"),
|
||||
fprintf(stderr,
|
||||
_("%s: integer_datetimes compile flag does not match server\n"),
|
||||
progname);
|
||||
PQfinish(tmpconn);
|
||||
exit(1);
|
||||
|
Reference in New Issue
Block a user