mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-11 23:08:07 +02:00
Users sometimes get concerned whe they start the server and it emits a few messages and then doesn't emit any more messages for a long time. Generally, what's happening is either that the system is taking a long time to apply WAL, or it's taking a long time to reset unlogged relations, or it's taking a long time to fsync the data directory, but it's not easy to tell which is the case. To fix that, add a new 'log_startup_progress_interval' setting, by default 10s. When an operation that is known to be potentially long-running takes more than this amount of time, we'll log a status update each time this interval elapses. To avoid undesirable log chatter, don't log anything about WAL replay when in standby mode. Nitin Jadhav and Robert Haas, reviewed by Amul Sul, Bharath Rupireddy, Justin Pryzby, Michael Paquier, and Álvaro Herrera. Discussion: https://postgr.es/m/CA+TgmoaHQrgDFOBwgY16XCoMtXxsrVGFB2jNCvb7-ubuEe1MGg@mail.gmail.com Discussion: https://postgr.es/m/CAMm1aWaHF7VE69572_OLQ+MgpT5RUiUDgF1x5RrtkJBLdpRj3Q@mail.gmail.com
31 lines
867 B
Makefile
31 lines
867 B
Makefile
# src/backend/nls.mk
|
|
CATALOG_NAME = postgres
|
|
AVAIL_LANGUAGES = de es fr id it ja ko pl pt_BR ru sv tr uk zh_CN
|
|
GETTEXT_FILES = + gettext-files
|
|
GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS) \
|
|
GUC_check_errmsg \
|
|
GUC_check_errdetail \
|
|
GUC_check_errhint \
|
|
write_stderr \
|
|
yyerror \
|
|
parser_yyerror \
|
|
scanner_yyerror \
|
|
report_invalid_record:2 \
|
|
ereport_startup_progress
|
|
GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS) \
|
|
GUC_check_errmsg:1:c-format \
|
|
GUC_check_errdetail:1:c-format \
|
|
GUC_check_errhint:1:c-format \
|
|
write_stderr:1:c-format \
|
|
report_invalid_record:2:c-format \
|
|
ereport_startup_progress:1:c-format
|
|
|
|
gettext-files: distprep
|
|
find $(srcdir) $(srcdir)/../common $(srcdir)/../port -name '*.c' -print | LC_ALL=C sort >$@
|
|
|
|
my-clean:
|
|
rm -f gettext-files
|
|
|
|
.PHONY: my-clean
|
|
clean: my-clean
|