Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8649341

Browse files
committed
Refer to bug report address by symbol rather than hardcoding
Use the PACKAGE_BUGREPORT macro that is created by Autoconf forreferring to the bug reporting address rather than hardcoding iteverywhere. This makes it easier to change the address and it reducestranslation work.Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Discussion:https://www.postgresql.org/message-id/flat/8d389c5f-7fb5-8e48-9a4a-68cec44786fa%402ndquadrant.com
1 parentafb5465 commit8649341

File tree

36 files changed

+39
-39
lines changed

36 files changed

+39
-39
lines changed

‎configure.in‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ PostgreSQL has apparently not been ported to your platform yet.
7979
To try a manual configuration, look into the src/template directory
8080
for a similar platform and use the '--with-template=' option.
8181

82-
Please also contact <pgsql-bugs@lists.postgresql.org> to see about
82+
Please also contact <]AC_PACKAGE_BUGREPORT[> to see about
8383
rectifying this. Include the above 'checking host system type...'
8484
line.
8585
*******************************************************************

‎contrib/oid2name/oid2name.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ help(const char *progname)
219219
" -p, --port=PORT database server port number\n"
220220
" -U, --username=USERNAME connect as specified database user\n"
221221
"\nThe default action is to show all database OIDs.\n\n"
222-
"Report bugs to <pgsql-bugs@lists.postgresql.org>.\n",
223-
progname,progname);
222+
"Report bugs to <%s>.\n",
223+
progname,progname,PACKAGE_BUGREPORT);
224224
}
225225

226226
/*

‎contrib/pg_standby/pg_standby.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ usage(void)
612612
" restore_command = 'pg_standby [OPTION]... ARCHIVELOCATION %%f %%p %%r'\n"
613613
"e.g.\n"
614614
" restore_command = 'pg_standby /mnt/server/archiverdir %%f %%p %%r'\n");
615-
printf("\nReport bugs to <pgsql-bugs@lists.postgresql.org>.\n");
615+
printf("\nReport bugs to <%s>.\n",PACKAGE_BUGREPORT);
616616
}
617617

618618
#ifndefWIN32

‎contrib/vacuumlo/vacuumlo.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ usage(const char *progname)
436436
printf(" -w, --no-password never prompt for password\n");
437437
printf(" -W, --password force password prompt\n");
438438
printf("\n");
439-
printf("Report bugs to <pgsql-bugs@lists.postgresql.org>.\n");
439+
printf("Report bugs to <%s>.\n",PACKAGE_BUGREPORT);
440440
}
441441

442442

‎src/backend/main/main.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ help(const char *progname)
359359
printf(_("\nPlease read the documentation for the complete list of run-time\n"
360360
"configuration settings and how to set them on the command line or in\n"
361361
"the configuration file.\n\n"
362-
"Report bugs to <pgsql-bugs@lists.postgresql.org>.\n"));
362+
"Report bugs to <%s>.\n"),PACKAGE_BUGREPORT);
363363
}
364364

365365

‎src/backend/postmaster/postmaster.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5141,7 +5141,7 @@ ExitPostmaster(int status)
51415141
ereport(LOG,
51425142
(errcode(ERRCODE_INTERNAL_ERROR),
51435143
errmsg_internal("postmaster became multithreaded"),
5144-
errdetail("Please report this to <pgsql-bugs@lists.postgresql.org>.")));
5144+
errdetail("Please report this to <%s>.",PACKAGE_BUGREPORT)));
51455145
#endif
51465146

51475147
/* should cleanup shared memory and kill all backends */

‎src/bin/initdb/initdb.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2322,7 +2322,7 @@ usage(const char *progname)
23222322
printf(_(" -?, --help show this help, then exit\n"));
23232323
printf(_("\nIf the data directory is not specified, the environment variable PGDATA\n"
23242324
"is used.\n"));
2325-
printf(_("\nReport bugs to <pgsql-bugs@lists.postgresql.org>.\n"));
2325+
printf(_("\nReport bugs to <%s>.\n"),PACKAGE_BUGREPORT);
23262326
}
23272327

23282328
staticvoid

‎src/bin/pg_archivecleanup/pg_archivecleanup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ usage(void)
269269
"Or for use as a standalone archive cleaner:\n"
270270
"e.g.\n"
271271
" pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n"));
272-
printf(_("\nReport bugs to <pgsql-bugs@lists.postgresql.org>.\n"));
272+
printf(_("\nReport bugs to <%s>.\n"),PACKAGE_BUGREPORT);
273273
}
274274

275275
/*------------ MAIN ----------------------------------------*/

‎src/bin/pg_basebackup/pg_basebackup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ usage(void)
396396
printf(_(" -U, --username=NAME connect as specified database user\n"));
397397
printf(_(" -w, --no-password never prompt for password\n"));
398398
printf(_(" -W, --password force password prompt (should happen automatically)\n"));
399-
printf(_("\nReport bugs to <pgsql-bugs@lists.postgresql.org>.\n"));
399+
printf(_("\nReport bugs to <%s>.\n"),PACKAGE_BUGREPORT);
400400
}
401401

402402

‎src/bin/pg_basebackup/pg_receivewal.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ usage(void)
102102
printf(_("\nOptional actions:\n"));
103103
printf(_(" --create-slot create a new replication slot (for the slot's name see --slot)\n"));
104104
printf(_(" --drop-slot drop the replication slot (for the slot's name see --slot)\n"));
105-
printf(_("\nReport bugs to <pgsql-bugs@lists.postgresql.org>.\n"));
105+
printf(_("\nReport bugs to <%s>.\n"),PACKAGE_BUGREPORT);
106106
}
107107

108108
staticbool

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp