summaryrefslogtreecommitdiffstats
path: root/src/bin/pg_ctl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 13:44:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 13:44:03 +0000
commit293913568e6a7a86fd1479e1cff8e2ecb58d6568 (patch)
treefc3b469a3ec5ab71b36ea97cc7aaddb838423a0c /src/bin/pg_ctl
parentInitial commit. (diff)
downloadpostgresql-16-293913568e6a7a86fd1479e1cff8e2ecb58d6568.tar.xz
postgresql-16-293913568e6a7a86fd1479e1cff8e2ecb58d6568.zip
Adding upstream version 16.2.upstream/16.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/bin/pg_ctl')
-rw-r--r--src/bin/pg_ctl/.gitignore2
-rw-r--r--src/bin/pg_ctl/Makefile53
-rw-r--r--src/bin/pg_ctl/meson.build34
-rw-r--r--src/bin/pg_ctl/nls.mk7
-rw-r--r--src/bin/pg_ctl/pg_ctl.c2520
-rw-r--r--src/bin/pg_ctl/po/LINGUAS1
-rw-r--r--src/bin/pg_ctl/po/cs.po949
-rw-r--r--src/bin/pg_ctl/po/de.po843
-rw-r--r--src/bin/pg_ctl/po/el.po869
-rw-r--r--src/bin/pg_ctl/po/es.po862
-rw-r--r--src/bin/pg_ctl/po/fr.po1013
-rw-r--r--src/bin/pg_ctl/po/he.po884
-rw-r--r--src/bin/pg_ctl/po/it.po863
-rw-r--r--src/bin/pg_ctl/po/ja.po836
-rw-r--r--src/bin/pg_ctl/po/ka.po854
-rw-r--r--src/bin/pg_ctl/po/ko.po858
-rw-r--r--src/bin/pg_ctl/po/meson.build3
-rw-r--r--src/bin/pg_ctl/po/pl.po956
-rw-r--r--src/bin/pg_ctl/po/pt_BR.po832
-rw-r--r--src/bin/pg_ctl/po/ru.po1025
-rw-r--r--src/bin/pg_ctl/po/sv.po858
-rw-r--r--src/bin/pg_ctl/po/tr.po962
-rw-r--r--src/bin/pg_ctl/po/uk.po798
-rw-r--r--src/bin/pg_ctl/po/zh_CN.po879
-rw-r--r--src/bin/pg_ctl/po/zh_TW.po983
-rw-r--r--src/bin/pg_ctl/t/001_start_stop.pl103
-rw-r--r--src/bin/pg_ctl/t/002_status.pl29
-rw-r--r--src/bin/pg_ctl/t/003_promote.pl66
-rw-r--r--src/bin/pg_ctl/t/004_logrotate.pl140
29 files changed, 19082 insertions, 0 deletions
diff --git a/src/bin/pg_ctl/.gitignore b/src/bin/pg_ctl/.gitignore
new file mode 100644
index 0000000..73ab4ed
--- /dev/null
+++ b/src/bin/pg_ctl/.gitignore
@@ -0,0 +1,2 @@
+/pg_ctl
+/tmp_check/
diff --git a/src/bin/pg_ctl/Makefile b/src/bin/pg_ctl/Makefile
new file mode 100644
index 0000000..4b6d47a
--- /dev/null
+++ b/src/bin/pg_ctl/Makefile
@@ -0,0 +1,53 @@
+#-------------------------------------------------------------------------
+#
+# Makefile for src/bin/pg_ctl
+#
+# Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group
+# Portions Copyright (c) 1994, Regents of the University of California
+#
+# src/bin/pg_ctl/Makefile
+#
+#-------------------------------------------------------------------------
+
+PGFILEDESC = "pg_ctl - starts/stops/restarts the PostgreSQL server"
+PGAPPICON=win32
+
+subdir = src/bin/pg_ctl
+top_builddir = ../../..
+include $(top_builddir)/src/Makefile.global
+
+# On Windows, we need to link with libpq, just for use of pqexpbuffer;
+# but let's not pull that in on platforms where we don't need it.
+ifeq ($(PORTNAME), win32)
+override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS)
+LDFLAGS_INTERNAL += $(libpq_pgport)
+SUBMAKE_LIBPQ := submake-libpq
+endif
+
+OBJS = \
+ $(WIN32RES) \
+ pg_ctl.o
+
+all: pg_ctl
+
+pg_ctl: $(OBJS) | submake-libpgport $(SUBMAKE_LIBPQ)
+ $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X)
+
+install: all installdirs
+ $(INSTALL_PROGRAM) pg_ctl$(X) '$(DESTDIR)$(bindir)/pg_ctl$(X)'
+
+installdirs:
+ $(MKDIR_P) '$(DESTDIR)$(bindir)'
+
+uninstall:
+ rm -f '$(DESTDIR)$(bindir)/pg_ctl$(X)'
+
+clean distclean maintainer-clean:
+ rm -f pg_ctl$(X) $(OBJS)
+ rm -rf tmp_check
+
+check:
+ $(prove_check)
+
+installcheck:
+ $(prove_installcheck)
diff --git a/src/bin/pg_ctl/meson.build b/src/bin/pg_ctl/meson.build
new file mode 100644
index 0000000..608a52f
--- /dev/null
+++ b/src/bin/pg_ctl/meson.build
@@ -0,0 +1,34 @@
+# Copyright (c) 2022-2023, PostgreSQL Global Development Group
+
+pg_ctl_sources = files(
+ 'pg_ctl.c',
+)
+
+if host_system == 'windows'
+ pg_ctl_sources += rc_bin_gen.process(win32ver_rc, extra_args: [
+ '--NAME', 'pg_ctl',
+ '--FILEDESC', 'pg_ctl - starts/stops/restarts the PostgreSQL server',])
+endif
+
+pg_ctl = executable('pg_ctl',
+ pg_ctl_sources,
+ dependencies: [frontend_code, libpq],
+ kwargs: default_bin_args,
+)
+bin_targets += pg_ctl
+
+tests += {
+ 'name': 'pg_ctl',
+ 'sd': meson.current_source_dir(),
+ 'bd': meson.current_build_dir(),
+ 'tap': {
+ 'tests': [
+ 't/001_start_stop.pl',
+ 't/002_status.pl',
+ 't/003_promote.pl',
+ 't/004_logrotate.pl',
+ ],
+ },
+}
+
+subdir('po', if_found: libintl)
diff --git a/src/bin/pg_ctl/nls.mk b/src/bin/pg_ctl/nls.mk
new file mode 100644
index 0000000..fd63554
--- /dev/null
+++ b/src/bin/pg_ctl/nls.mk
@@ -0,0 +1,7 @@
+# src/bin/pg_ctl/nls.mk
+CATALOG_NAME = pg_ctl
+GETTEXT_FILES = pg_ctl.c \
+ ../../common/exec.c \
+ ../../common/fe_memutils.c \
+ ../../common/wait_error.c \
+ ../../port/path.c
diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c
new file mode 100644
index 0000000..fc160b0
--- /dev/null
+++ b/src/bin/pg_ctl/pg_ctl.c
@@ -0,0 +1,2520 @@
+/*-------------------------------------------------------------------------
+ *
+ * pg_ctl --- start/stops/restarts the PostgreSQL server
+ *
+ * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group
+ *
+ * src/bin/pg_ctl/pg_ctl.c
+ *
+ *-------------------------------------------------------------------------
+ */
+
+#include "postgres_fe.h"
+
+#include <fcntl.h>
+#include <signal.h>
+#include <time.h>
+#include <sys/resource.h>
+#include <sys/stat.h>
+#include <sys/time.h>
+#include <sys/wait.h>
+#include <unistd.h>
+
+
+#include "catalog/pg_control.h"
+#include "common/controldata_utils.h"
+#include "common/file_perm.h"
+#include "common/logging.h"
+#include "common/string.h"
+#include "getopt_long.h"
+#include "utils/pidfile.h"
+
+#ifdef WIN32 /* on Unix, we don't need libpq */
+#include "pqexpbuffer.h"
+#endif
+
+
+typedef enum
+{
+ SMART_MODE,
+ FAST_MODE,
+ IMMEDIATE_MODE
+} ShutdownMode;
+
+typedef enum
+{
+ POSTMASTER_READY,
+ POSTMASTER_STILL_STARTING,
+ POSTMASTER_FAILED
+} WaitPMResult;
+
+typedef enum
+{
+ NO_COMMAND = 0,
+ INIT_COMMAND,
+ START_COMMAND,
+ STOP_COMMAND,
+ RESTART_COMMAND,
+ RELOAD_COMMAND,
+ STATUS_COMMAND,
+ PROMOTE_COMMAND,
+ LOGROTATE_COMMAND,
+ KILL_COMMAND,
+ REGISTER_COMMAND,
+ UNREGISTER_COMMAND,
+ RUN_AS_SERVICE_COMMAND
+} CtlCommand;
+
+#define DEFAULT_WAIT 60
+
+#define USEC_PER_SEC 1000000
+
+#define WAITS_PER_SEC 10 /* should divide USEC_PER_SEC evenly */
+
+static bool do_wait = true;
+static int wait_seconds = DEFAULT_WAIT;
+static bool wait_seconds_arg = false;
+static bool silent_mode = false;
+static ShutdownMode shutdown_mode = FAST_MODE;
+static int sig = SIGINT; /* default */
+static CtlCommand ctl_command = NO_COMMAND;
+static char *pg_data = NULL;
+static char *pg_config = NULL;
+static char *pgdata_opt = NULL;
+static char *post_opts = NULL;
+static const char *progname;
+static char *log_file = NULL;
+static char *exec_path = NULL;
+static char *event_source = NULL;
+static char *register_servicename = "PostgreSQL"; /* FIXME: + version ID? */
+static char *register_username = NULL;
+static char *register_password = NULL;
+static char *argv0 = NULL;
+static bool allow_core_files = false;
+static time_t start_time;
+
+static char postopts_file[MAXPGPATH];
+static char version_file[MAXPGPATH];
+static char pid_file[MAXPGPATH];
+static char backup_file[MAXPGPATH];
+static char promote_file[MAXPGPATH];
+static char logrotate_file[MAXPGPATH];
+
+static volatile pid_t postmasterPID = -1;
+
+#ifdef WIN32
+static DWORD pgctl_start_type = SERVICE_AUTO_START;
+static SERVICE_STATUS status;
+static SERVICE_STATUS_HANDLE hStatus = (SERVICE_STATUS_HANDLE) 0;
+static HANDLE shutdownHandles[2];
+
+#define shutdownEvent shutdownHandles[0]
+#define postmasterProcess shutdownHandles[1]
+#endif
+
+
+static void write_stderr(const char *fmt,...) pg_attribute_printf(1, 2);
+static void do_advice(void);
+static void do_help(void);
+static void set_mode(char *modeopt);
+static void set_sig(char *signame);
+static void do_init(void);
+static void do_start(void);
+static void do_stop(void);
+static void do_restart(void);
+static void do_reload(void);
+static void do_status(void);
+static void do_promote(void);
+static void do_logrotate(void);
+static void do_kill(pid_t pid);
+static void print_msg(const char *msg);
+static void adjust_data_dir(void);
+
+#ifdef WIN32
+#include <versionhelpers.h>
+static bool pgwin32_IsInstalled(SC_HANDLE);
+static char *pgwin32_CommandLine(bool);
+static void pgwin32_doRegister(void);
+static void pgwin32_doUnregister(void);
+static void pgwin32_SetServiceStatus(DWORD);
+static void WINAPI pgwin32_ServiceHandler(DWORD);
+static void WINAPI pgwin32_ServiceMain(DWORD, LPTSTR *);
+static void pgwin32_doRunAsService(void);
+static int CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, bool as_service);
+static PTOKEN_PRIVILEGES GetPrivilegesToDelete(HANDLE hToken);
+#endif
+
+static pid_t get_pgpid(bool is_status_request);
+static char **readfile(const char *path, int *numlines);
+static void free_readfile(char **optlines);
+static pid_t start_postmaster(void);
+static void read_post_opts(void);
+
+static WaitPMResult wait_for_postmaster_start(pid_t pm_pid, bool do_checkpoint);
+static bool wait_for_postmaster_stop(void);
+static bool wait_for_postmaster_promote(void);
+static bool postmaster_is_alive(pid_t pid);
+
+#if defined(HAVE_GETRLIMIT)
+static void unlimit_core_size(void);
+#endif
+
+static DBState get_control_dbstate(void);
+
+
+#ifdef WIN32
+static void
+write_eventlog(int level, const char *line)
+{
+ static HANDLE evtHandle = INVALID_HANDLE_VALUE;
+
+ if (silent_mode && level == EVENTLOG_INFORMATION_TYPE)
+ return;
+
+ if (evtHandle == INVALID_HANDLE_VALUE)
+ {
+ evtHandle = RegisterEventSource(NULL,
+ event_source ? event_source : DEFAULT_EVENT_SOURCE);
+ if (evtHandle == NULL)
+ {
+ evtHandle = INVALID_HANDLE_VALUE;
+ return;
+ }
+ }
+
+ ReportEvent(evtHandle,
+ level,
+ 0,
+ 0, /* All events are Id 0 */
+ NULL,
+ 1,
+ 0,
+ &line,
+ NULL);
+}
+#endif
+
+/*
+ * Write errors to stderr (or by equal means when stderr is
+ * not available).
+ */
+static void
+write_stderr(const char *fmt,...)
+{
+ va_list ap;
+
+ va_start(ap, fmt);
+#ifndef WIN32
+ /* On Unix, we just fprintf to stderr */
+ vfprintf(stderr, fmt, ap);
+#else
+
+ /*
+ * On Win32, we print to stderr if running on a console, or write to
+ * eventlog if running as a service
+ */
+ if (pgwin32_is_service()) /* Running as a service */
+ {
+ char errbuf[2048]; /* Arbitrary size? */
+
+ vsnprintf(errbuf, sizeof(errbuf), fmt, ap);
+
+ write_eventlog(EVENTLOG_ERROR_TYPE, errbuf);
+ }
+ else
+ /* Not running as service, write to stderr */
+ vfprintf(stderr, fmt, ap);
+#endif
+ va_end(ap);
+}
+
+/*
+ * Given an already-localized string, print it to stdout unless the
+ * user has specified that no messages should be printed.
+ */
+static void
+print_msg(const char *msg)
+{
+ if (!silent_mode)
+ {
+ fputs(msg, stdout);
+ fflush(stdout);
+ }
+}
+
+static pid_t
+get_pgpid(bool is_status_request)
+{
+ FILE *pidf;
+ int pid;
+ struct stat statbuf;
+
+ if (stat(pg_data, &statbuf) != 0)
+ {
+ if (errno == ENOENT)
+ write_stderr(_("%s: directory \"%s\" does not exist\n"), progname,
+ pg_data);
+ else
+ write_stderr(_("%s: could not access directory \"%s\": %s\n"), progname,
+ pg_data, strerror(errno));
+
+ /*
+ * The Linux Standard Base Core Specification 3.1 says this should
+ * return '4, program or service status is unknown'
+ * https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
+ */
+ exit(is_status_request ? 4 : 1);
+ }
+
+ if (stat(version_file, &statbuf) != 0 && errno == ENOENT)
+ {
+ write_stderr(_("%s: directory \"%s\" is not a database cluster directory\n"),
+ progname, pg_data);
+ exit(is_status_request ? 4 : 1);
+ }
+
+ pidf = fopen(pid_file, "r");
+ if (pidf == NULL)
+ {
+ /* No pid file, not an error on startup */
+ if (errno == ENOENT)
+ return 0;
+ else
+ {
+ write_stderr(_("%s: could not open PID file \"%s\": %s\n"),
+ progname, pid_file, strerror(errno));
+ exit(1);
+ }
+ }
+ if (fscanf(pidf, "%d", &pid) != 1)
+ {
+ /* Is the file empty? */
+ if (ftell(pidf) == 0 && feof(pidf))
+ write_stderr(_("%s: the PID file \"%s\" is empty\n"),
+ progname, pid_file);
+ else
+ write_stderr(_("%s: invalid data in PID file \"%s\"\n"),
+ progname, pid_file);
+ exit(1);
+ }
+ fclose(pidf);
+ return (pid_t) pid;
+}
+
+
+/*
+ * get the lines from a text file - return NULL if file can't be opened
+ *
+ * Trailing newlines are deleted from the lines (this is a change from pre-v10)
+ *
+ * *numlines is set to the number of line pointers returned; there is
+ * also an additional NULL pointer after the last real line.
+ */
+static char **
+readfile(const char *path, int *numlines)
+{
+ int fd;
+ int nlines;
+ char **result;
+ char *buffer;
+ char *linebegin;
+ int i;
+ int n;
+ int len;
+ struct stat statbuf;
+
+ *numlines = 0; /* in case of failure or empty file */
+
+ /*
+ * Slurp the file into memory.
+ *
+ * The file can change concurrently, so we read the whole file into memory
+ * with a single read() call. That's not guaranteed to get an atomic
+ * snapshot, but in practice, for a small file, it's close enough for the
+ * current use.
+ */
+ fd = open(path, O_RDONLY | PG_BINARY, 0);
+ if (fd < 0)
+ return NULL;
+ if (fstat(fd, &statbuf) < 0)
+ {
+ close(fd);
+ return NULL;
+ }
+ if (statbuf.st_size == 0)
+ {
+ /* empty file */
+ close(fd);
+ result = (char **) pg_malloc(sizeof(char *));
+ *result = NULL;
+ return result;
+ }
+ buffer = pg_malloc(statbuf.st_size + 1);
+
+ len = read(fd, buffer, statbuf.st_size + 1);
+ close(fd);
+ if (len != statbuf.st_size)
+ {
+ /* oops, the file size changed between fstat and read */
+ free(buffer);
+ return NULL;
+ }
+
+ /*
+ * Count newlines. We expect there to be a newline after each full line,
+ * including one at the end of file. If there isn't a newline at the end,
+ * any characters after the last newline will be ignored.
+ */
+ nlines = 0;
+ for (i = 0; i < len; i++)
+ {
+ if (buffer[i] == '\n')
+ nlines++;
+ }
+
+ /* set up the result buffer */
+ result = (char **) pg_malloc((nlines + 1) * sizeof(char *));
+ *numlines = nlines;
+
+ /* now split the buffer into lines */
+ linebegin = buffer;
+ n = 0;
+ for (i = 0; i < len; i++)
+ {
+ if (buffer[i] == '\n')
+ {
+ int slen = &buffer[i] - linebegin;
+ char *linebuf = pg_malloc(slen + 1);
+
+ memcpy(linebuf, linebegin, slen);
+ /* we already dropped the \n, but get rid of any \r too */
+ if (slen > 0 && linebuf[slen - 1] == '\r')
+ slen--;
+ linebuf[slen] = '\0';
+ result[n++] = linebuf;
+ linebegin = &buffer[i + 1];
+ }
+ }
+ result[n] = NULL;
+
+ free(buffer);
+
+ return result;
+}
+
+
+/*
+ * Free memory allocated for optlines through readfile()
+ */
+static void
+free_readfile(char **optlines)
+{
+ char *curr_line = NULL;
+ int i = 0;
+
+ if (!optlines)
+ return;
+
+ while ((curr_line = optlines[i++]))
+ free(curr_line);
+
+ free(optlines);
+}
+
+/*
+ * start/test/stop routines
+ */
+
+/*
+ * Start the postmaster and return its PID.
+ *
+ * Currently, on Windows what we return is the PID of the shell process
+ * that launched the postmaster (and, we trust, is waiting for it to exit).
+ * So the PID is usable for "is the postmaster still running" checks,
+ * but cannot be compared directly to postmaster.pid.
+ *
+ * On Windows, we also save aside a handle to the shell process in
+ * "postmasterProcess", which the caller should close when done with it.
+ */
+static pid_t
+start_postmaster(void)
+{
+ char *cmd;
+
+#ifndef WIN32
+ pid_t pm_pid;
+
+ /* Flush stdio channels just before fork, to avoid double-output problems */
+ fflush(NULL);
+
+#ifdef EXEC_BACKEND
+ pg_disable_aslr();
+#endif
+
+ pm_pid = fork();
+ if (pm_pid < 0)
+ {
+ /* fork failed */
+ write_stderr(_("%s: could not start server: %s\n"),
+ progname, strerror(errno));
+ exit(1);
+ }
+ if (pm_pid > 0)
+ {
+ /* fork succeeded, in parent */
+ return pm_pid;
+ }
+
+ /* fork succeeded, in child */
+
+ /*
+ * If possible, detach the postmaster process from the launching process
+ * group and make it a group leader, so that it doesn't get signaled along
+ * with the current group that launched it.
+ */
+#ifdef HAVE_SETSID
+ if (setsid() < 0)
+ {
+ write_stderr(_("%s: could not start server due to setsid() failure: %s\n"),
+ progname, strerror(errno));
+ exit(1);
+ }
+#endif
+
+ /*
+ * Since there might be quotes to handle here, it is easier simply to pass
+ * everything to a shell to process them. Use exec so that the postmaster
+ * has the same PID as the current child process.
+ */
+ if (log_file != NULL)
+ cmd = psprintf("exec \"%s\" %s%s < \"%s\" >> \"%s\" 2>&1",
+ exec_path, pgdata_opt, post_opts,
+ DEVNULL, log_file);
+ else
+ cmd = psprintf("exec \"%s\" %s%s < \"%s\" 2>&1",
+ exec_path, pgdata_opt, post_opts, DEVNULL);
+
+ (void) execl("/bin/sh", "/bin/sh", "-c", cmd, (char *) NULL);
+
+ /* exec failed */
+ write_stderr(_("%s: could not start server: %s\n"),
+ progname, strerror(errno));
+ exit(1);
+
+ return 0; /* keep dumb compilers quiet */
+
+#else /* WIN32 */
+
+ /*
+ * As with the Unix case, it's easiest to use the shell (CMD.EXE) to
+ * handle redirection etc. Unfortunately CMD.EXE lacks any equivalent of
+ * "exec", so we don't get to find out the postmaster's PID immediately.
+ */
+ PROCESS_INFORMATION pi;
+ const char *comspec;
+
+ /* Find CMD.EXE location using COMSPEC, if it's set */
+ comspec = getenv("COMSPEC");
+ if (comspec == NULL)
+ comspec = "CMD";
+
+ if (log_file != NULL)
+ {
+ /*
+ * First, open the log file if it exists. The idea is that if the
+ * file is still locked by a previous postmaster run, we'll wait until
+ * it comes free, instead of failing with ERROR_SHARING_VIOLATION.
+ * (It'd be better to open the file in a sharing-friendly mode, but we
+ * can't use CMD.EXE to do that, so work around it. Note that the
+ * previous postmaster will still have the file open for a short time
+ * after removing postmaster.pid.)
+ *
+ * If the log file doesn't exist, we *must not* create it here. If we
+ * were launched with higher privileges than the restricted process
+ * will have, the log file might end up with permissions settings that
+ * prevent the postmaster from writing on it.
+ */
+ int fd = open(log_file, O_RDWR, 0);
+
+ if (fd == -1)
+ {
+ /*
+ * ENOENT is expectable since we didn't use O_CREAT. Otherwise
+ * complain. We could just fall through and let CMD.EXE report
+ * the problem, but its error reporting is pretty miserable.
+ */
+ if (errno != ENOENT)
+ {
+ write_stderr(_("%s: could not open log file \"%s\": %s\n"),
+ progname, log_file, strerror(errno));
+ exit(1);
+ }
+ }
+ else
+ close(fd);
+
+ cmd = psprintf("\"%s\" /D /C \"\"%s\" %s%s < \"%s\" >> \"%s\" 2>&1\"",
+ comspec, exec_path, pgdata_opt, post_opts, DEVNULL, log_file);
+ }
+ else
+ cmd = psprintf("\"%s\" /D /C \"\"%s\" %s%s < \"%s\" 2>&1\"",
+ comspec, exec_path, pgdata_opt, post_opts, DEVNULL);
+
+ if (!CreateRestrictedProcess(cmd, &pi, false))
+ {
+ write_stderr(_("%s: could not start server: error code %lu\n"),
+ progname, (unsigned long) GetLastError());
+ exit(1);
+ }
+ /* Don't close command process handle here; caller must do so */
+ postmasterProcess = pi.hProcess;
+ CloseHandle(pi.hThread);
+ return pi.dwProcessId; /* Shell's PID, not postmaster's! */
+#endif /* WIN32 */
+}
+
+
+
+/*
+ * Wait for the postmaster to become ready.
+ *
+ * On Unix, pm_pid is the PID of the just-launched postmaster. On Windows,
+ * it may be the PID of an ancestor shell process, so we can't check the
+ * contents of postmaster.pid quite as carefully.
+ *
+ * On Windows, the static variable postmasterProcess is an implicit argument
+ * to this routine; it contains a handle to the postmaster process or an
+ * ancestor shell process thereof.
+ *
+ * Note that the checkpoint parameter enables a Windows service control
+ * manager checkpoint, it's got nothing to do with database checkpoints!!
+ */
+static WaitPMResult
+wait_for_postmaster_start(pid_t pm_pid, bool do_checkpoint)
+{
+ int i;
+
+ for (i = 0; i < wait_seconds * WAITS_PER_SEC; i++)
+ {
+ char **optlines;
+ int numlines;
+
+ /*
+ * Try to read the postmaster.pid file. If it's not valid, or if the
+ * status line isn't there yet, just keep waiting.
+ */
+ if ((optlines = readfile(pid_file, &numlines)) != NULL &&
+ numlines >= LOCK_FILE_LINE_PM_STATUS)
+ {
+ /* File is complete enough for us, parse it */
+ pid_t pmpid;
+ time_t pmstart;
+
+ /*
+ * Make sanity checks. If it's for the wrong PID, or the recorded
+ * start time is before pg_ctl started, then either we are looking
+ * at the wrong data directory, or this is a pre-existing pidfile
+ * that hasn't (yet?) been overwritten by our child postmaster.
+ * Allow 2 seconds slop for possible cross-process clock skew.
+ */
+ pmpid = atol(optlines[LOCK_FILE_LINE_PID - 1]);
+ pmstart = atol(optlines[LOCK_FILE_LINE_START_TIME - 1]);
+ if (pmstart >= start_time - 2 &&
+#ifndef WIN32
+ pmpid == pm_pid
+#else
+ /* Windows can only reject standalone-backend PIDs */
+ pmpid > 0
+#endif
+ )
+ {
+ /*
+ * OK, seems to be a valid pidfile from our child. Check the
+ * status line (this assumes a v10 or later server).
+ */
+ char *pmstatus = optlines[LOCK_FILE_LINE_PM_STATUS - 1];
+
+ if (strcmp(pmstatus, PM_STATUS_READY) == 0 ||
+ strcmp(pmstatus, PM_STATUS_STANDBY) == 0)
+ {
+ /* postmaster is done starting up */
+ free_readfile(optlines);
+ return POSTMASTER_READY;
+ }
+ }
+ }
+
+ /*
+ * Free the results of readfile.
+ *
+ * This is safe to call even if optlines is NULL.
+ */
+ free_readfile(optlines);
+
+ /*
+ * Check whether the child postmaster process is still alive. This
+ * lets us exit early if the postmaster fails during startup.
+ *
+ * On Windows, we may be checking the postmaster's parent shell, but
+ * that's fine for this purpose.
+ */
+#ifndef WIN32
+ {
+ int exitstatus;
+
+ if (waitpid(pm_pid, &exitstatus, WNOHANG) == pm_pid)
+ return POSTMASTER_FAILED;
+ }
+#else
+ if (WaitForSingleObject(postmasterProcess, 0) == WAIT_OBJECT_0)
+ return POSTMASTER_FAILED;
+#endif
+
+ /* Startup still in process; wait, printing a dot once per second */
+ if (i % WAITS_PER_SEC == 0)
+ {
+#ifdef WIN32
+ if (do_checkpoint)
+ {
+ /*
+ * Increment the wait hint by 6 secs (connection timeout +
+ * sleep). We must do this to indicate to the SCM that our
+ * startup time is changing, otherwise it'll usually send a
+ * stop signal after 20 seconds, despite incrementing the
+ * checkpoint counter.
+ */
+ status.dwWaitHint += 6000;
+ status.dwCheckPoint++;
+ SetServiceStatus(hStatus, (LPSERVICE_STATUS) &status);
+ }
+ else
+#endif
+ print_msg(".");
+ }
+
+ pg_usleep(USEC_PER_SEC / WAITS_PER_SEC);
+ }
+
+ /* out of patience; report that postmaster is still starting up */
+ return POSTMASTER_STILL_STARTING;
+}
+
+
+/*
+ * Wait for the postmaster to stop.
+ *
+ * Returns true if the postmaster stopped cleanly (i.e., removed its pidfile).
+ * Returns false if the postmaster dies uncleanly, or if we time out.
+ */
+static bool
+wait_for_postmaster_stop(void)
+{
+ int cnt;
+
+ for (cnt = 0; cnt < wait_seconds * WAITS_PER_SEC; cnt++)
+ {
+ pid_t pid;
+
+ if ((pid = get_pgpid(false)) == 0)
+ return true; /* pid file is gone */
+
+ if (kill(pid, 0) != 0)
+ {
+ /*
+ * Postmaster seems to have died. Check the pid file once more to
+ * avoid a race condition, but give up waiting.
+ */
+ if (get_pgpid(false) == 0)
+ return true; /* pid file is gone */
+ return false; /* postmaster died untimely */
+ }
+
+ if (cnt % WAITS_PER_SEC == 0)
+ print_msg(".");
+ pg_usleep(USEC_PER_SEC / WAITS_PER_SEC);
+ }
+ return false; /* timeout reached */
+}
+
+
+/*
+ * Wait for the postmaster to promote.
+ *
+ * Returns true on success, else false.
+ * To avoid waiting uselessly, we check for postmaster death here too.
+ */
+static bool
+wait_for_postmaster_promote(void)
+{
+ int cnt;
+
+ for (cnt = 0; cnt < wait_seconds * WAITS_PER_SEC; cnt++)
+ {
+ pid_t pid;
+ DBState state;
+
+ if ((pid = get_pgpid(false)) == 0)
+ return false; /* pid file is gone */
+ if (kill(pid, 0) != 0)
+ return false; /* postmaster died */
+
+ state = get_control_dbstate();
+ if (state == DB_IN_PRODUCTION)
+ return true; /* successful promotion */
+
+ if (cnt % WAITS_PER_SEC == 0)
+ print_msg(".");
+ pg_usleep(USEC_PER_SEC / WAITS_PER_SEC);
+ }
+ return false; /* timeout reached */
+}
+
+
+#if defined(HAVE_GETRLIMIT)
+static void
+unlimit_core_size(void)
+{
+ struct rlimit lim;
+
+ getrlimit(RLIMIT_CORE, &lim);
+ if (lim.rlim_max == 0)
+ {
+ write_stderr(_("%s: cannot set core file size limit; disallowed by hard limit\n"),
+ progname);
+ return;
+ }
+ else if (lim.rlim_max == RLIM_INFINITY || lim.rlim_cur < lim.rlim_max)
+ {
+ lim.rlim_cur = lim.rlim_max;
+ setrlimit(RLIMIT_CORE, &lim);
+ }
+}
+#endif
+
+static void
+read_post_opts(void)
+{
+ if (post_opts == NULL)
+ {
+ post_opts = ""; /* default */
+ if (ctl_command == RESTART_COMMAND)
+ {
+ char **optlines;
+ int numlines;
+
+ optlines = readfile(postopts_file, &numlines);
+ if (optlines == NULL)
+ {
+ write_stderr(_("%s: could not read file \"%s\"\n"), progname, postopts_file);
+ exit(1);
+ }
+ else if (numlines != 1)
+ {
+ write_stderr(_("%s: option file \"%s\" must have exactly one line\n"),
+ progname, postopts_file);
+ exit(1);
+ }
+ else
+ {
+ char *optline;
+ char *arg1;
+
+ optline = optlines[0];
+
+ /*
+ * Are we at the first option, as defined by space and
+ * double-quote?
+ */
+ if ((arg1 = strstr(optline, " \"")) != NULL)
+ {
+ *arg1 = '\0'; /* terminate so we get only program name */
+ post_opts = pg_strdup(arg1 + 1); /* point past whitespace */
+ }
+ if (exec_path == NULL)
+ exec_path = pg_strdup(optline);
+ }
+
+ /* Free the results of readfile. */
+ free_readfile(optlines);
+ }
+ }
+}
+
+/*
+ * SIGINT signal handler used while waiting for postmaster to start up.
+ * Forwards the SIGINT to the postmaster process, asking it to shut down,
+ * before terminating pg_ctl itself. This way, if the user hits CTRL-C while
+ * waiting for the server to start up, the server launch is aborted.
+ */
+static void
+trap_sigint_during_startup(SIGNAL_ARGS)
+{
+ if (postmasterPID != -1)
+ {
+ if (kill(postmasterPID, SIGINT) != 0)
+ write_stderr(_("%s: could not send stop signal (PID: %d): %s\n"),
+ progname, (int) postmasterPID, strerror(errno));
+ }
+
+ /*
+ * Clear the signal handler, and send the signal again, to terminate the
+ * process as normal.
+ */
+ pqsignal(postgres_signal_arg, SIG_DFL);
+ raise(postgres_signal_arg);
+}
+
+static char *
+find_other_exec_or_die(const char *argv0, const char *target, const char *versionstr)
+{
+ int ret;
+ char *found_path;
+
+ found_path = pg_malloc(MAXPGPATH);
+
+ if ((ret = find_other_exec(argv0, target, versionstr, found_path)) < 0)
+ {
+ char full_path[MAXPGPATH];
+
+ if (find_my_exec(argv0, full_path) < 0)
+ strlcpy(full_path, progname, sizeof(full_path));
+
+ if (ret == -1)
+ write_stderr(_("program \"%s\" is needed by %s but was not found in the same directory as \"%s\"\n"),
+ target, progname, full_path);
+ else
+ write_stderr(_("program \"%s\" was found by \"%s\" but was not the same version as %s\n"),
+ target, full_path, progname);
+ exit(1);
+ }
+
+ return found_path;
+}
+
+static void
+do_init(void)
+{
+ char *cmd;
+
+ if (exec_path == NULL)
+ exec_path = find_other_exec_or_die(argv0, "initdb", "initdb (PostgreSQL) " PG_VERSION "\n");
+
+ if (pgdata_opt == NULL)
+ pgdata_opt = "";
+
+ if (post_opts == NULL)
+ post_opts = "";
+
+ if (!silent_mode)
+ cmd = psprintf("\"%s\" %s%s",
+ exec_path, pgdata_opt, post_opts);
+ else
+ cmd = psprintf("\"%s\" %s%s > \"%s\"",
+ exec_path, pgdata_opt, post_opts, DEVNULL);
+
+ fflush(NULL);
+ if (system(cmd) != 0)
+ {
+ write_stderr(_("%s: database system initialization failed\n"), progname);
+ exit(1);
+ }
+}
+
+static void
+do_start(void)
+{
+ pid_t old_pid = 0;
+ pid_t pm_pid;
+
+ if (ctl_command != RESTART_COMMAND)
+ {
+ old_pid = get_pgpid(false);
+ if (old_pid != 0)
+ write_stderr(_("%s: another server might be running; "
+ "trying to start server anyway\n"),
+ progname);
+ }
+
+ read_post_opts();
+
+ /* No -D or -D already added during server start */
+ if (ctl_command == RESTART_COMMAND || pgdata_opt == NULL)
+ pgdata_opt = "";
+
+ if (exec_path == NULL)
+ exec_path = find_other_exec_or_die(argv0, "postgres", PG_BACKEND_VERSIONSTR);
+
+#if defined(HAVE_GETRLIMIT)
+ if (allow_core_files)
+ unlimit_core_size();
+#endif
+
+ /*
+ * If possible, tell the postmaster our parent shell's PID (see the
+ * comments in CreateLockFile() for motivation). Windows hasn't got
+ * getppid() unfortunately.
+ */
+#ifndef WIN32
+ {
+ char env_var[32];
+
+ snprintf(env_var, sizeof(env_var), "%d", (int) getppid());
+ setenv("PG_GRANDPARENT_PID", env_var, 1);
+ }
+#endif
+
+ pm_pid = start_postmaster();
+
+ if (do_wait)
+ {
+ /*
+ * If the user interrupts the startup (e.g. with CTRL-C), we'd like to
+ * abort the server launch. Install a signal handler that will
+ * forward SIGINT to the postmaster process, while we wait.
+ *
+ * (We don't bother to reset the signal handler after the launch, as
+ * we're about to exit, anyway.)
+ */
+ postmasterPID = pm_pid;
+ pqsignal(SIGINT, trap_sigint_during_startup);
+
+ print_msg(_("waiting for server to start..."));
+
+ switch (wait_for_postmaster_start(pm_pid, false))
+ {
+ case POSTMASTER_READY:
+ print_msg(_(" done\n"));
+ print_msg(_("server started\n"));
+ break;
+ case POSTMASTER_STILL_STARTING:
+ print_msg(_(" stopped waiting\n"));
+ write_stderr(_("%s: server did not start in time\n"),
+ progname);
+ exit(1);
+ break;
+ case POSTMASTER_FAILED:
+ print_msg(_(" stopped waiting\n"));
+ write_stderr(_("%s: could not start server\n"
+ "Examine the log output.\n"),
+ progname);
+ exit(1);
+ break;
+ }
+ }
+ else
+ print_msg(_("server starting\n"));
+
+#ifdef WIN32
+ /* Now we don't need the handle to the shell process anymore */
+ CloseHandle(postmasterProcess);
+ postmasterProcess = INVALID_HANDLE_VALUE;
+#endif
+}
+
+
+static void
+do_stop(void)
+{
+ pid_t pid;
+
+ pid = get_pgpid(false);
+
+ if (pid == 0) /* no pid file */
+ {
+ write_stderr(_("%s: PID file \"%s\" does not exist\n"), progname, pid_file);
+ write_stderr(_("Is server running?\n"));
+ exit(1);
+ }
+ else if (pid < 0) /* standalone backend, not postmaster */
+ {
+ pid = -pid;
+ write_stderr(_("%s: cannot stop server; "
+ "single-user server is running (PID: %d)\n"),
+ progname, (int) pid);
+ exit(1);
+ }
+
+ if (kill(pid, sig) != 0)
+ {
+ write_stderr(_("%s: could not send stop signal (PID: %d): %s\n"), progname, (int) pid,
+ strerror(errno));
+ exit(1);
+ }
+
+ if (!do_wait)
+ {
+ print_msg(_("server shutting down\n"));
+ return;
+ }
+ else
+ {
+ print_msg(_("waiting for server to shut down..."));
+
+ if (!wait_for_postmaster_stop())
+ {
+ print_msg(_(" failed\n"));
+
+ write_stderr(_("%s: server does not shut down\n"), progname);
+ if (shutdown_mode == SMART_MODE)
+ write_stderr(_("HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+ "waiting for session-initiated disconnection.\n"));
+ exit(1);
+ }
+ print_msg(_(" done\n"));
+
+ print_msg(_("server stopped\n"));
+ }
+}
+
+
+/*
+ * restart/reload routines
+ */
+
+static void
+do_restart(void)
+{
+ pid_t pid;
+
+ pid = get_pgpid(false);
+
+ if (pid == 0) /* no pid file */
+ {
+ write_stderr(_("%s: PID file \"%s\" does not exist\n"),
+ progname, pid_file);
+ write_stderr(_("Is server running?\n"));
+ write_stderr(_("trying to start server anyway\n"));
+ do_start();
+ return;
+ }
+ else if (pid < 0) /* standalone backend, not postmaster */
+ {
+ pid = -pid;
+ if (postmaster_is_alive(pid))
+ {
+ write_stderr(_("%s: cannot restart server; "
+ "single-user server is running (PID: %d)\n"),
+ progname, (int) pid);
+ write_stderr(_("Please terminate the single-user server and try again.\n"));
+ exit(1);
+ }
+ }
+
+ if (postmaster_is_alive(pid))
+ {
+ if (kill(pid, sig) != 0)
+ {
+ write_stderr(_("%s: could not send stop signal (PID: %d): %s\n"), progname, (int) pid,
+ strerror(errno));
+ exit(1);
+ }
+
+ print_msg(_("waiting for server to shut down..."));
+
+ /* always wait for restart */
+ if (!wait_for_postmaster_stop())
+ {
+ print_msg(_(" failed\n"));
+
+ write_stderr(_("%s: server does not shut down\n"), progname);
+ if (shutdown_mode == SMART_MODE)
+ write_stderr(_("HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+ "waiting for session-initiated disconnection.\n"));
+ exit(1);
+ }
+
+ print_msg(_(" done\n"));
+ print_msg(_("server stopped\n"));
+ }
+ else
+ {
+ write_stderr(_("%s: old server process (PID: %d) seems to be gone\n"),
+ progname, (int) pid);
+ write_stderr(_("starting server anyway\n"));
+ }
+
+ do_start();
+}
+
+static void
+do_reload(void)
+{
+ pid_t pid;
+
+ pid = get_pgpid(false);
+ if (pid == 0) /* no pid file */
+ {
+ write_stderr(_("%s: PID file \"%s\" does not exist\n"), progname, pid_file);
+ write_stderr(_("Is server running?\n"));
+ exit(1);
+ }
+ else if (pid < 0) /* standalone backend, not postmaster */
+ {
+ pid = -pid;
+ write_stderr(_("%s: cannot reload server; "
+ "single-user server is running (PID: %d)\n"),
+ progname, (int) pid);
+ write_stderr(_("Please terminate the single-user server and try again.\n"));
+ exit(1);
+ }
+
+ if (kill(pid, sig) != 0)
+ {
+ write_stderr(_("%s: could not send reload signal (PID: %d): %s\n"),
+ progname, (int) pid, strerror(errno));
+ exit(1);
+ }
+
+ print_msg(_("server signaled\n"));
+}
+
+
+/*
+ * promote
+ */
+
+static void
+do_promote(void)
+{
+ FILE *prmfile;
+ pid_t pid;
+
+ pid = get_pgpid(false);
+
+ if (pid == 0) /* no pid file */
+ {
+ write_stderr(_("%s: PID file \"%s\" does not exist\n"), progname, pid_file);
+ write_stderr(_("Is server running?\n"));
+ exit(1);
+ }
+ else if (pid < 0) /* standalone backend, not postmaster */
+ {
+ pid = -pid;
+ write_stderr(_("%s: cannot promote server; "
+ "single-user server is running (PID: %d)\n"),
+ progname, (int) pid);
+ exit(1);
+ }
+
+ if (get_control_dbstate() != DB_IN_ARCHIVE_RECOVERY)
+ {
+ write_stderr(_("%s: cannot promote server; "
+ "server is not in standby mode\n"),
+ progname);
+ exit(1);
+ }
+
+ snprintf(promote_file, MAXPGPATH, "%s/promote", pg_data);
+
+ if ((prmfile = fopen(promote_file, "w")) == NULL)
+ {
+ write_stderr(_("%s: could not create promote signal file \"%s\": %s\n"),
+ progname, promote_file, strerror(errno));
+ exit(1);
+ }
+ if (fclose(prmfile))
+ {
+ write_stderr(_("%s: could not write promote signal file \"%s\": %s\n"),
+ progname, promote_file, strerror(errno));
+ exit(1);
+ }
+
+ sig = SIGUSR1;
+ if (kill(pid, sig) != 0)
+ {
+ write_stderr(_("%s: could not send promote signal (PID: %d): %s\n"),
+ progname, (int) pid, strerror(errno));
+ if (unlink(promote_file) != 0)
+ write_stderr(_("%s: could not remove promote signal file \"%s\": %s\n"),
+ progname, promote_file, strerror(errno));
+ exit(1);
+ }
+
+ if (do_wait)
+ {
+ print_msg(_("waiting for server to promote..."));
+ if (wait_for_postmaster_promote())
+ {
+ print_msg(_(" done\n"));
+ print_msg(_("server promoted\n"));
+ }
+ else
+ {
+ print_msg(_(" stopped waiting\n"));
+ write_stderr(_("%s: server did not promote in time\n"),
+ progname);
+ exit(1);
+ }
+ }
+ else
+ print_msg(_("server promoting\n"));
+}
+
+/*
+ * log rotate
+ */
+
+static void
+do_logrotate(void)
+{
+ FILE *logrotatefile;
+ pid_t pid;
+
+ pid = get_pgpid(false);
+
+ if (pid == 0) /* no pid file */
+ {
+ write_stderr(_("%s: PID file \"%s\" does not exist\n"), progname, pid_file);
+ write_stderr(_("Is server running?\n"));
+ exit(1);
+ }
+ else if (pid < 0) /* standalone backend, not postmaster */
+ {
+ pid = -pid;
+ write_stderr(_("%s: cannot rotate log file; "
+ "single-user server is running (PID: %d)\n"),
+ progname, (int) pid);
+ exit(1);
+ }
+
+ snprintf(logrotate_file, MAXPGPATH, "%s/logrotate", pg_data);
+
+ if ((logrotatefile = fopen(logrotate_file, "w")) == NULL)
+ {
+ write_stderr(_("%s: could not create log rotation signal file \"%s\": %s\n"),
+ progname, logrotate_file, strerror(errno));
+ exit(1);
+ }
+ if (fclose(logrotatefile))
+ {
+ write_stderr(_("%s: could not write log rotation signal file \"%s\": %s\n"),
+ progname, logrotate_file, strerror(errno));
+ exit(1);
+ }
+
+ sig = SIGUSR1;
+ if (kill(pid, sig) != 0)
+ {
+ write_stderr(_("%s: could not send log rotation signal (PID: %d): %s\n"),
+ progname, (int) pid, strerror(errno));
+ if (unlink(logrotate_file) != 0)
+ write_stderr(_("%s: could not remove log rotation signal file \"%s\": %s\n"),
+ progname, logrotate_file, strerror(errno));
+ exit(1);
+ }
+
+ print_msg(_("server signaled to rotate log file\n"));
+}
+
+
+/*
+ * utility routines
+ */
+
+static bool
+postmaster_is_alive(pid_t pid)
+{
+ /*
+ * Test to see if the process is still there. Note that we do not
+ * consider an EPERM failure to mean that the process is still there;
+ * EPERM must mean that the given PID belongs to some other userid, and
+ * considering the permissions on $PGDATA, that means it's not the
+ * postmaster we are after.
+ *
+ * Don't believe that our own PID or parent shell's PID is the postmaster,
+ * either. (Windows hasn't got getppid(), though.)
+ */
+ if (pid == getpid())
+ return false;
+#ifndef WIN32
+ if (pid == getppid())
+ return false;
+#endif
+ if (kill(pid, 0) == 0)
+ return true;
+ return false;
+}
+
+static void
+do_status(void)
+{
+ pid_t pid;
+
+ pid = get_pgpid(true);
+ /* Is there a pid file? */
+ if (pid != 0)
+ {
+ /* standalone backend? */
+ if (pid < 0)
+ {
+ pid = -pid;
+ if (postmaster_is_alive(pid))
+ {
+ printf(_("%s: single-user server is running (PID: %d)\n"),
+ progname, (int) pid);
+ return;
+ }
+ }
+ else
+ /* must be a postmaster */
+ {
+ if (postmaster_is_alive(pid))
+ {
+ char **optlines;
+ char **curr_line;
+ int numlines;
+
+ printf(_("%s: server is running (PID: %d)\n"),
+ progname, (int) pid);
+
+ optlines = readfile(postopts_file, &numlines);
+ if (optlines != NULL)
+ {
+ for (curr_line = optlines; *curr_line != NULL; curr_line++)
+ puts(*curr_line);
+
+ /* Free the results of readfile */
+ free_readfile(optlines);
+ }
+ return;
+ }
+ }
+ }
+ printf(_("%s: no server running\n"), progname);
+
+ /*
+ * The Linux Standard Base Core Specification 3.1 says this should return
+ * '3, program is not running'
+ * https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
+ */
+ exit(3);
+}
+
+
+
+static void
+do_kill(pid_t pid)
+{
+ if (kill(pid, sig) != 0)
+ {
+ write_stderr(_("%s: could not send signal %d (PID: %d): %s\n"),
+ progname, sig, (int) pid, strerror(errno));
+ exit(1);
+ }
+}
+
+#ifdef WIN32
+
+static bool
+pgwin32_IsInstalled(SC_HANDLE hSCM)
+{
+ SC_HANDLE hService = OpenService(hSCM, register_servicename, SERVICE_QUERY_CONFIG);
+ bool bResult = (hService != NULL);
+
+ if (bResult)
+ CloseServiceHandle(hService);
+ return bResult;
+}
+
+static char *
+pgwin32_CommandLine(bool registration)
+{
+ PQExpBuffer cmdLine = createPQExpBuffer();
+ char cmdPath[MAXPGPATH];
+ int ret;
+
+ if (registration)
+ {
+ ret = find_my_exec(argv0, cmdPath);
+ if (ret != 0)
+ {
+ write_stderr(_("%s: could not find own program executable\n"), progname);
+ exit(1);
+ }
+ }
+ else
+ {
+ ret = find_other_exec(argv0, "postgres", PG_BACKEND_VERSIONSTR,
+ cmdPath);
+ if (ret != 0)
+ {
+ write_stderr(_("%s: could not find postgres program executable\n"), progname);
+ exit(1);
+ }
+ }
+
+ /* if path does not end in .exe, append it */
+ if (strlen(cmdPath) < 4 ||
+ pg_strcasecmp(cmdPath + strlen(cmdPath) - 4, ".exe") != 0)
+ snprintf(cmdPath + strlen(cmdPath), sizeof(cmdPath) - strlen(cmdPath),
+ ".exe");
+
+ /* use backslashes in path to avoid problems with some third-party tools */
+ make_native_path(cmdPath);
+
+ /* be sure to double-quote the executable's name in the command */
+ appendPQExpBuffer(cmdLine, "\"%s\"", cmdPath);
+
+ /* append assorted switches to the command line, as needed */
+
+ if (registration)
+ appendPQExpBuffer(cmdLine, " runservice -N \"%s\"",
+ register_servicename);
+
+ if (pg_config)
+ {
+ /* We need the -D path to be absolute */
+ char *dataDir;
+
+ if ((dataDir = make_absolute_path(pg_config)) == NULL)
+ {
+ /* make_absolute_path already reported the error */
+ exit(1);
+ }
+ make_native_path(dataDir);
+ appendPQExpBuffer(cmdLine, " -D \"%s\"", dataDir);
+ free(dataDir);
+ }
+
+ if (registration && event_source != NULL)
+ appendPQExpBuffer(cmdLine, " -e \"%s\"", event_source);
+
+ if (registration && do_wait)
+ appendPQExpBufferStr(cmdLine, " -w");
+
+ /* Don't propagate a value from an environment variable. */
+ if (registration && wait_seconds_arg && wait_seconds != DEFAULT_WAIT)
+ appendPQExpBuffer(cmdLine, " -t %d", wait_seconds);
+
+ if (registration && silent_mode)
+ appendPQExpBufferStr(cmdLine, " -s");
+
+ if (post_opts)
+ {
+ if (registration)
+ appendPQExpBuffer(cmdLine, " -o \"%s\"", post_opts);
+ else
+ appendPQExpBuffer(cmdLine, " %s", post_opts);
+ }
+
+ return cmdLine->data;
+}
+
+static void
+pgwin32_doRegister(void)
+{
+ SC_HANDLE hService;
+ SC_HANDLE hSCM = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
+
+ if (hSCM == NULL)
+ {
+ write_stderr(_("%s: could not open service manager\n"), progname);
+ exit(1);
+ }
+ if (pgwin32_IsInstalled(hSCM))
+ {
+ CloseServiceHandle(hSCM);
+ write_stderr(_("%s: service \"%s\" already registered\n"), progname, register_servicename);
+ exit(1);
+ }
+
+ if ((hService = CreateService(hSCM, register_servicename, register_servicename,
+ SERVICE_ALL_ACCESS, SERVICE_WIN32_OWN_PROCESS,
+ pgctl_start_type, SERVICE_ERROR_NORMAL,
+ pgwin32_CommandLine(true),
+ NULL, NULL, "RPCSS\0", register_username, register_password)) == NULL)
+ {
+ CloseServiceHandle(hSCM);
+ write_stderr(_("%s: could not register service \"%s\": error code %lu\n"),
+ progname, register_servicename,
+ (unsigned long) GetLastError());
+ exit(1);
+ }
+ CloseServiceHandle(hService);
+ CloseServiceHandle(hSCM);
+}
+
+static void
+pgwin32_doUnregister(void)
+{
+ SC_HANDLE hService;
+ SC_HANDLE hSCM = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
+
+ if (hSCM == NULL)
+ {
+ write_stderr(_("%s: could not open service manager\n"), progname);
+ exit(1);
+ }
+ if (!pgwin32_IsInstalled(hSCM))
+ {
+ CloseServiceHandle(hSCM);
+ write_stderr(_("%s: service \"%s\" not registered\n"), progname, register_servicename);
+ exit(1);
+ }
+
+ if ((hService = OpenService(hSCM, register_servicename, DELETE)) == NULL)
+ {
+ CloseServiceHandle(hSCM);
+ write_stderr(_("%s: could not open service \"%s\": error code %lu\n"),
+ progname, register_servicename,
+ (unsigned long) GetLastError());
+ exit(1);
+ }
+ if (!DeleteService(hService))
+ {
+ CloseServiceHandle(hService);
+ CloseServiceHandle(hSCM);
+ write_stderr(_("%s: could not unregister service \"%s\": error code %lu\n"),
+ progname, register_servicename,
+ (unsigned long) GetLastError());
+ exit(1);
+ }
+ CloseServiceHandle(hService);
+ CloseServiceHandle(hSCM);
+}
+
+static void
+pgwin32_SetServiceStatus(DWORD currentState)
+{
+ status.dwCurrentState = currentState;
+ SetServiceStatus(hStatus, (LPSERVICE_STATUS) &status);
+}
+
+static void WINAPI
+pgwin32_ServiceHandler(DWORD request)
+{
+ switch (request)
+ {
+ case SERVICE_CONTROL_STOP:
+ case SERVICE_CONTROL_SHUTDOWN:
+
+ /*
+ * We only need a short wait hint here as it just needs to wait
+ * for the next checkpoint. They occur every 5 seconds during
+ * shutdown
+ */
+ status.dwWaitHint = 10000;
+ pgwin32_SetServiceStatus(SERVICE_STOP_PENDING);
+ SetEvent(shutdownEvent);
+ return;
+
+ case SERVICE_CONTROL_PAUSE:
+ /* Win32 config reloading */
+ status.dwWaitHint = 5000;
+ kill(postmasterPID, SIGHUP);
+ return;
+
+ /* FIXME: These could be used to replace other signals etc */
+ case SERVICE_CONTROL_CONTINUE:
+ case SERVICE_CONTROL_INTERROGATE:
+ default:
+ break;
+ }
+}
+
+static void WINAPI
+pgwin32_ServiceMain(DWORD argc, LPTSTR *argv)
+{
+ PROCESS_INFORMATION pi;
+ DWORD ret;
+
+ /* Initialize variables */
+ status.dwWin32ExitCode = S_OK;
+ status.dwCheckPoint = 0;
+ status.dwWaitHint = 60000;
+ status.dwServiceType = SERVICE_WIN32_OWN_PROCESS;
+ status.dwControlsAccepted = SERVICE_ACCEPT_STOP | SERVICE_ACCEPT_SHUTDOWN | SERVICE_ACCEPT_PAUSE_CONTINUE;
+ status.dwServiceSpecificExitCode = 0;
+ status.dwCurrentState = SERVICE_START_PENDING;
+
+ memset(&pi, 0, sizeof(pi));
+
+ read_post_opts();
+
+ /* Register the control request handler */
+ if ((hStatus = RegisterServiceCtrlHandler(register_servicename, pgwin32_ServiceHandler)) == (SERVICE_STATUS_HANDLE) 0)
+ return;
+
+ if ((shutdownEvent = CreateEvent(NULL, true, false, NULL)) == NULL)
+ return;
+
+ /* Start the postmaster */
+ pgwin32_SetServiceStatus(SERVICE_START_PENDING);
+ if (!CreateRestrictedProcess(pgwin32_CommandLine(false), &pi, true))
+ {
+ pgwin32_SetServiceStatus(SERVICE_STOPPED);
+ return;
+ }
+ postmasterPID = pi.dwProcessId;
+ postmasterProcess = pi.hProcess;
+ CloseHandle(pi.hThread);
+
+ if (do_wait)
+ {
+ write_eventlog(EVENTLOG_INFORMATION_TYPE, _("Waiting for server startup...\n"));
+ if (wait_for_postmaster_start(postmasterPID, true) != POSTMASTER_READY)
+ {
+ write_eventlog(EVENTLOG_ERROR_TYPE, _("Timed out waiting for server startup\n"));
+ pgwin32_SetServiceStatus(SERVICE_STOPPED);
+ return;
+ }
+ write_eventlog(EVENTLOG_INFORMATION_TYPE, _("Server started and accepting connections\n"));
+ }
+
+ pgwin32_SetServiceStatus(SERVICE_RUNNING);
+
+ /* Wait for quit... */
+ ret = WaitForMultipleObjects(2, shutdownHandles, FALSE, INFINITE);
+
+ pgwin32_SetServiceStatus(SERVICE_STOP_PENDING);
+ switch (ret)
+ {
+ case WAIT_OBJECT_0: /* shutdown event */
+ {
+ /*
+ * status.dwCheckPoint can be incremented by
+ * wait_for_postmaster_start(), so it might not start from 0.
+ */
+ int maxShutdownCheckPoint = status.dwCheckPoint + 12;
+
+ kill(postmasterPID, SIGINT);
+
+ /*
+ * Increment the checkpoint and try again. Abort after 12
+ * checkpoints as the postmaster has probably hung.
+ */
+ while (WaitForSingleObject(postmasterProcess, 5000) == WAIT_TIMEOUT && status.dwCheckPoint < maxShutdownCheckPoint)
+ {
+ status.dwCheckPoint++;
+ SetServiceStatus(hStatus, (LPSERVICE_STATUS) &status);
+ }
+ break;
+ }
+
+ case (WAIT_OBJECT_0 + 1): /* postmaster went down */
+ break;
+
+ default:
+ /* shouldn't get here? */
+ break;
+ }
+
+ CloseHandle(shutdownEvent);
+ CloseHandle(postmasterProcess);
+
+ pgwin32_SetServiceStatus(SERVICE_STOPPED);
+}
+
+static void
+pgwin32_doRunAsService(void)
+{
+ SERVICE_TABLE_ENTRY st[] = {{register_servicename, pgwin32_ServiceMain},
+ {NULL, NULL}};
+
+ if (StartServiceCtrlDispatcher(st) == 0)
+ {
+ write_stderr(_("%s: could not start service \"%s\": error code %lu\n"),
+ progname, register_servicename,
+ (unsigned long) GetLastError());
+ exit(1);
+ }
+}
+
+
+/*
+ * Set up STARTUPINFO for the new process to inherit this process' handles.
+ *
+ * Process started as services appear to have "empty" handles (GetStdHandle()
+ * returns NULL) rather than invalid ones. But passing down NULL ourselves
+ * doesn't work, it's interpreted as STARTUPINFO->hStd* not being set. But we
+ * can pass down INVALID_HANDLE_VALUE - which makes GetStdHandle() in the new
+ * process (and its child processes!) return INVALID_HANDLE_VALUE. Which
+ * achieves the goal of postmaster running in a similar environment as pg_ctl.
+ */
+static void
+InheritStdHandles(STARTUPINFO *si)
+{
+ si->dwFlags |= STARTF_USESTDHANDLES;
+ si->hStdInput = GetStdHandle(STD_INPUT_HANDLE);
+ if (si->hStdInput == NULL)
+ si->hStdInput = INVALID_HANDLE_VALUE;
+ si->hStdOutput = GetStdHandle(STD_OUTPUT_HANDLE);
+ if (si->hStdOutput == NULL)
+ si->hStdOutput = INVALID_HANDLE_VALUE;
+ si->hStdError = GetStdHandle(STD_ERROR_HANDLE);
+ if (si->hStdError == NULL)
+ si->hStdError = INVALID_HANDLE_VALUE;
+}
+
+/*
+ * Create a restricted token, a job object sandbox, and execute the specified
+ * process with it.
+ *
+ * Returns 0 on success, non-zero on failure, same as CreateProcess().
+ *
+ * NOTE! Job object will only work when running as a service, because it's
+ * automatically destroyed when pg_ctl exits.
+ */
+static int
+CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, bool as_service)
+{
+ int r;
+ BOOL b;
+ STARTUPINFO si;
+ HANDLE origToken;
+ HANDLE restrictedToken;
+ BOOL inJob;
+ SID_IDENTIFIER_AUTHORITY NtAuthority = {SECURITY_NT_AUTHORITY};
+ SID_AND_ATTRIBUTES dropSids[2];
+ PTOKEN_PRIVILEGES delPrivs;
+
+ ZeroMemory(&si, sizeof(si));
+ si.cb = sizeof(si);
+
+ /*
+ * Set stdin/stdout/stderr handles to be inherited in the child process.
+ * That allows postmaster and the processes it starts to perform
+ * additional checks to see if running in a service (otherwise they get
+ * the default console handles - which point to "somewhere").
+ */
+ InheritStdHandles(&si);
+
+ /* Open the current token to use as a base for the restricted one */
+ if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ALL_ACCESS, &origToken))
+ {
+ /*
+ * Most Windows targets make DWORD a 32-bit unsigned long, but in case
+ * it doesn't cast DWORD before printing.
+ */
+ write_stderr(_("%s: could not open process token: error code %lu\n"),
+ progname, (unsigned long) GetLastError());
+ return 0;
+ }
+
+ /* Allocate list of SIDs to remove */
+ ZeroMemory(&dropSids, sizeof(dropSids));
+ if (!AllocateAndInitializeSid(&NtAuthority, 2,
+ SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_ADMINS, 0, 0, 0, 0, 0,
+ 0, &dropSids[0].Sid) ||
+ !AllocateAndInitializeSid(&NtAuthority, 2,
+ SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_POWER_USERS, 0, 0, 0, 0, 0,
+ 0, &dropSids[1].Sid))
+ {
+ write_stderr(_("%s: could not allocate SIDs: error code %lu\n"),
+ progname, (unsigned long) GetLastError());
+ return 0;
+ }
+
+ /* Get list of privileges to remove */
+ delPrivs = GetPrivilegesToDelete(origToken);
+ if (delPrivs == NULL)
+ /* Error message already printed */
+ return 0;
+
+ b = CreateRestrictedToken(origToken,
+ 0,
+ sizeof(dropSids) / sizeof(dropSids[0]),
+ dropSids,
+ delPrivs->PrivilegeCount, delPrivs->Privileges,
+ 0, NULL,
+ &restrictedToken);
+
+ free(delPrivs);
+ FreeSid(dropSids[1].Sid);
+ FreeSid(dropSids[0].Sid);
+ CloseHandle(origToken);
+
+ if (!b)
+ {
+ write_stderr(_("%s: could not create restricted token: error code %lu\n"),
+ progname, (unsigned long) GetLastError());
+ return 0;
+ }
+
+ AddUserToTokenDacl(restrictedToken);
+ r = CreateProcessAsUser(restrictedToken, NULL, cmd, NULL, NULL, TRUE, CREATE_SUSPENDED, NULL, NULL, &si, processInfo);
+
+ if (IsProcessInJob(processInfo->hProcess, NULL, &inJob))
+ {
+ if (!inJob)
+ {
+ /*
+ * Job objects are working, and the new process isn't in one, so
+ * we can create one safely. If any problems show up when setting
+ * it, we're going to ignore them.
+ */
+ HANDLE job;
+ char jobname[128];
+
+ sprintf(jobname, "PostgreSQL_%lu",
+ (unsigned long) processInfo->dwProcessId);
+
+ job = CreateJobObject(NULL, jobname);
+ if (job)
+ {
+ JOBOBJECT_BASIC_LIMIT_INFORMATION basicLimit;
+ JOBOBJECT_BASIC_UI_RESTRICTIONS uiRestrictions;
+ JOBOBJECT_SECURITY_LIMIT_INFORMATION securityLimit;
+
+ ZeroMemory(&basicLimit, sizeof(basicLimit));
+ ZeroMemory(&uiRestrictions, sizeof(uiRestrictions));
+ ZeroMemory(&securityLimit, sizeof(securityLimit));
+
+ basicLimit.LimitFlags = JOB_OBJECT_LIMIT_DIE_ON_UNHANDLED_EXCEPTION | JOB_OBJECT_LIMIT_PRIORITY_CLASS;
+ basicLimit.PriorityClass = NORMAL_PRIORITY_CLASS;
+ SetInformationJobObject(job, JobObjectBasicLimitInformation, &basicLimit, sizeof(basicLimit));
+
+ uiRestrictions.UIRestrictionsClass = JOB_OBJECT_UILIMIT_DESKTOP | JOB_OBJECT_UILIMIT_DISPLAYSETTINGS |
+ JOB_OBJECT_UILIMIT_EXITWINDOWS | JOB_OBJECT_UILIMIT_READCLIPBOARD |
+ JOB_OBJECT_UILIMIT_SYSTEMPARAMETERS | JOB_OBJECT_UILIMIT_WRITECLIPBOARD;
+
+ SetInformationJobObject(job, JobObjectBasicUIRestrictions, &uiRestrictions, sizeof(uiRestrictions));
+
+ securityLimit.SecurityLimitFlags = JOB_OBJECT_SECURITY_NO_ADMIN | JOB_OBJECT_SECURITY_ONLY_TOKEN;
+ securityLimit.JobToken = restrictedToken;
+ SetInformationJobObject(job, JobObjectSecurityLimitInformation, &securityLimit, sizeof(securityLimit));
+
+ AssignProcessToJobObject(job, processInfo->hProcess);
+ }
+ }
+ }
+
+ CloseHandle(restrictedToken);
+
+ ResumeThread(processInfo->hThread);
+
+ /*
+ * We intentionally don't close the job object handle, because we want the
+ * object to live on until pg_ctl shuts down.
+ */
+ return r;
+}
+
+/*
+ * Get a list of privileges to delete from the access token. We delete all privileges
+ * except SeLockMemoryPrivilege which is needed to use large pages, and
+ * SeChangeNotifyPrivilege which is enabled by default in DISABLE_MAX_PRIVILEGE.
+ */
+static PTOKEN_PRIVILEGES
+GetPrivilegesToDelete(HANDLE hToken)
+{
+ int i,
+ j;
+ DWORD length;
+ PTOKEN_PRIVILEGES tokenPrivs;
+ LUID luidLockPages;
+ LUID luidChangeNotify;
+
+ if (!LookupPrivilegeValue(NULL, SE_LOCK_MEMORY_NAME, &luidLockPages) ||
+ !LookupPrivilegeValue(NULL, SE_CHANGE_NOTIFY_NAME, &luidChangeNotify))
+ {
+ write_stderr(_("%s: could not get LUIDs for privileges: error code %lu\n"),
+ progname, (unsigned long) GetLastError());
+ return NULL;
+ }
+
+ if (!GetTokenInformation(hToken, TokenPrivileges, NULL, 0, &length) &&
+ GetLastError() != ERROR_INSUFFICIENT_BUFFER)
+ {
+ write_stderr(_("%s: could not get token information: error code %lu\n"),
+ progname, (unsigned long) GetLastError());
+ return NULL;
+ }
+
+ tokenPrivs = (PTOKEN_PRIVILEGES) pg_malloc_extended(length,
+ MCXT_ALLOC_NO_OOM);
+ if (tokenPrivs == NULL)
+ {
+ write_stderr(_("%s: out of memory\n"), progname);
+ return NULL;
+ }
+
+ if (!GetTokenInformation(hToken, TokenPrivileges, tokenPrivs, length, &length))
+ {
+ write_stderr(_("%s: could not get token information: error code %lu\n"),
+ progname, (unsigned long) GetLastError());
+ free(tokenPrivs);
+ return NULL;
+ }
+
+ for (i = 0; i < tokenPrivs->PrivilegeCount; i++)
+ {
+ if (memcmp(&tokenPrivs->Privileges[i].Luid, &luidLockPages, sizeof(LUID)) == 0 ||
+ memcmp(&tokenPrivs->Privileges[i].Luid, &luidChangeNotify, sizeof(LUID)) == 0)
+ {
+ for (j = i; j < tokenPrivs->PrivilegeCount - 1; j++)
+ tokenPrivs->Privileges[j] = tokenPrivs->Privileges[j + 1];
+ tokenPrivs->PrivilegeCount--;
+ }
+ }
+
+ return tokenPrivs;
+}
+#endif /* WIN32 */
+
+static void
+do_advice(void)
+{
+ write_stderr(_("Try \"%s --help\" for more information.\n"), progname);
+}
+
+
+
+static void
+do_help(void)
+{
+ printf(_("%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n\n"), progname);
+ printf(_("Usage:\n"));
+ printf(_(" %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"), progname);
+ printf(_(" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+ " [-o OPTIONS] [-p PATH] [-c]\n"), progname);
+ printf(_(" %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"), progname);
+ printf(_(" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+ " [-o OPTIONS] [-c]\n"), progname);
+ printf(_(" %s reload [-D DATADIR] [-s]\n"), progname);
+ printf(_(" %s status [-D DATADIR]\n"), progname);
+ printf(_(" %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"), progname);
+ printf(_(" %s logrotate [-D DATADIR] [-s]\n"), progname);
+ printf(_(" %s kill SIGNALNAME PID\n"), progname);
+#ifdef WIN32
+ printf(_(" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+ " [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"), progname);
+ printf(_(" %s unregister [-N SERVICENAME]\n"), progname);
+#endif
+
+ printf(_("\nCommon options:\n"));
+ printf(_(" -D, --pgdata=DATADIR location of the database storage area\n"));
+#ifdef WIN32
+ printf(_(" -e SOURCE event source for logging when running as a service\n"));
+#endif
+ printf(_(" -s, --silent only print errors, no informational messages\n"));
+ printf(_(" -t, --timeout=SECS seconds to wait when using -w option\n"));
+ printf(_(" -V, --version output version information, then exit\n"));
+ printf(_(" -w, --wait wait until operation completes (default)\n"));
+ printf(_(" -W, --no-wait do not wait until operation completes\n"));
+ printf(_(" -?, --help show this help, then exit\n"));
+ printf(_("If the -D option is omitted, the environment variable PGDATA is used.\n"));
+
+ printf(_("\nOptions for start or restart:\n"));
+#if defined(HAVE_GETRLIMIT)
+ printf(_(" -c, --core-files allow postgres to produce core files\n"));
+#else
+ printf(_(" -c, --core-files not applicable on this platform\n"));
+#endif
+ printf(_(" -l, --log=FILENAME write (or append) server log to FILENAME\n"));
+ printf(_(" -o, --options=OPTIONS command line options to pass to postgres\n"
+ " (PostgreSQL server executable) or initdb\n"));
+ printf(_(" -p PATH-TO-POSTGRES normally not necessary\n"));
+ printf(_("\nOptions for stop or restart:\n"));
+ printf(_(" -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"));
+
+ printf(_("\nShutdown modes are:\n"));
+ printf(_(" smart quit after all clients have disconnected\n"));
+ printf(_(" fast quit directly, with proper shutdown (default)\n"));
+ printf(_(" immediate quit without complete shutdown; will lead to recovery on restart\n"));
+
+ printf(_("\nAllowed signal names for kill:\n"));
+ printf(" ABRT HUP INT KILL QUIT TERM USR1 USR2\n");
+
+#ifdef WIN32
+ printf(_("\nOptions for register and unregister:\n"));
+ printf(_(" -N SERVICENAME service name with which to register PostgreSQL server\n"));
+ printf(_(" -P PASSWORD password of account to register PostgreSQL server\n"));
+ printf(_(" -U USERNAME user name of account to register PostgreSQL server\n"));
+ printf(_(" -S START-TYPE service start type to register PostgreSQL server\n"));
+
+ printf(_("\nStart types are:\n"));
+ printf(_(" auto start service automatically during system startup (default)\n"));
+ printf(_(" demand start service on demand\n"));
+#endif
+
+ printf(_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ printf(_("%s home page: <%s>\n"), PACKAGE_NAME, PACKAGE_URL);
+}
+
+
+
+static void
+set_mode(char *modeopt)
+{
+ if (strcmp(modeopt, "s") == 0 || strcmp(modeopt, "smart") == 0)
+ {
+ shutdown_mode = SMART_MODE;
+ sig = SIGTERM;
+ }
+ else if (strcmp(modeopt, "f") == 0 || strcmp(modeopt, "fast") == 0)
+ {
+ shutdown_mode = FAST_MODE;
+ sig = SIGINT;
+ }
+ else if (strcmp(modeopt, "i") == 0 || strcmp(modeopt, "immediate") == 0)
+ {
+ shutdown_mode = IMMEDIATE_MODE;
+ sig = SIGQUIT;
+ }
+ else
+ {
+ write_stderr(_("%s: unrecognized shutdown mode \"%s\"\n"), progname, modeopt);
+ do_advice();
+ exit(1);
+ }
+}
+
+
+
+static void
+set_sig(char *signame)
+{
+ if (strcmp(signame, "HUP") == 0)
+ sig = SIGHUP;
+ else if (strcmp(signame, "INT") == 0)
+ sig = SIGINT;
+ else if (strcmp(signame, "QUIT") == 0)
+ sig = SIGQUIT;
+ else if (strcmp(signame, "ABRT") == 0)
+ sig = SIGABRT;
+ else if (strcmp(signame, "KILL") == 0)
+ sig = SIGKILL;
+ else if (strcmp(signame, "TERM") == 0)
+ sig = SIGTERM;
+ else if (strcmp(signame, "USR1") == 0)
+ sig = SIGUSR1;
+ else if (strcmp(signame, "USR2") == 0)
+ sig = SIGUSR2;
+ else
+ {
+ write_stderr(_("%s: unrecognized signal name \"%s\"\n"), progname, signame);
+ do_advice();
+ exit(1);
+ }
+}
+
+
+#ifdef WIN32
+static void
+set_starttype(char *starttypeopt)
+{
+ if (strcmp(starttypeopt, "a") == 0 || strcmp(starttypeopt, "auto") == 0)
+ pgctl_start_type = SERVICE_AUTO_START;
+ else if (strcmp(starttypeopt, "d") == 0 || strcmp(starttypeopt, "demand") == 0)
+ pgctl_start_type = SERVICE_DEMAND_START;
+ else
+ {
+ write_stderr(_("%s: unrecognized start type \"%s\"\n"), progname, starttypeopt);
+ do_advice();
+ exit(1);
+ }
+}
+#endif
+
+/*
+ * adjust_data_dir
+ *
+ * If a configuration-only directory was specified, find the real data dir.
+ */
+static void
+adjust_data_dir(void)
+{
+ char filename[MAXPGPATH];
+ char *my_exec_path,
+ *cmd;
+ FILE *fd;
+
+ /* do nothing if we're working without knowledge of data dir */
+ if (pg_config == NULL)
+ return;
+
+ /* If there is no postgresql.conf, it can't be a config-only dir */
+ snprintf(filename, sizeof(filename), "%s/postgresql.conf", pg_config);
+ if ((fd = fopen(filename, "r")) == NULL)
+ return;
+ fclose(fd);
+
+ /* If PG_VERSION exists, it can't be a config-only dir */
+ snprintf(filename, sizeof(filename), "%s/PG_VERSION", pg_config);
+ if ((fd = fopen(filename, "r")) != NULL)
+ {
+ fclose(fd);
+ return;
+ }
+
+ /* Must be a configuration directory, so find the data directory */
+
+ /* we use a private my_exec_path to avoid interfering with later uses */
+ if (exec_path == NULL)
+ my_exec_path = find_other_exec_or_die(argv0, "postgres", PG_BACKEND_VERSIONSTR);
+ else
+ my_exec_path = pg_strdup(exec_path);
+
+ /* it's important for -C to be the first option, see main.c */
+ cmd = psprintf("\"%s\" -C data_directory %s%s",
+ my_exec_path,
+ pgdata_opt ? pgdata_opt : "",
+ post_opts ? post_opts : "");
+ fflush(NULL);
+
+ fd = popen(cmd, "r");
+ if (fd == NULL || fgets(filename, sizeof(filename), fd) == NULL || pclose(fd) != 0)
+ {
+ write_stderr(_("%s: could not determine the data directory using command \"%s\"\n"), progname, cmd);
+ exit(1);
+ }
+ free(my_exec_path);
+
+ /* strip trailing newline and carriage return */
+ (void) pg_strip_crlf(filename);
+
+ free(pg_data);
+ pg_data = pg_strdup(filename);
+ canonicalize_path(pg_data);
+}
+
+
+static DBState
+get_control_dbstate(void)
+{
+ DBState ret;
+ bool crc_ok;
+ ControlFileData *control_file_data = get_controlfile(pg_data, &crc_ok);
+
+ if (!crc_ok)
+ {
+ write_stderr(_("%s: control file appears to be corrupt\n"), progname);
+ exit(1);
+ }
+
+ ret = control_file_data->state;
+ pfree(control_file_data);
+ return ret;
+}
+
+
+int
+main(int argc, char **argv)
+{
+ static struct option long_options[] = {
+ {"help", no_argument, NULL, '?'},
+ {"version", no_argument, NULL, 'V'},
+ {"log", required_argument, NULL, 'l'},
+ {"mode", required_argument, NULL, 'm'},
+ {"pgdata", required_argument, NULL, 'D'},
+ {"options", required_argument, NULL, 'o'},
+ {"silent", no_argument, NULL, 's'},
+ {"timeout", required_argument, NULL, 't'},
+ {"core-files", no_argument, NULL, 'c'},
+ {"wait", no_argument, NULL, 'w'},
+ {"no-wait", no_argument, NULL, 'W'},
+ {NULL, 0, NULL, 0}
+ };
+
+ char *env_wait;
+ int option_index;
+ int c;
+ pid_t killproc = 0;
+
+ pg_logging_init(argv[0]);
+ progname = get_progname(argv[0]);
+ set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_ctl"));
+ start_time = time(NULL);
+
+ /*
+ * save argv[0] so do_start() can look for the postmaster if necessary. we
+ * don't look for postmaster here because in many cases we won't need it.
+ */
+ argv0 = argv[0];
+
+ /* Set restrictive mode mask until PGDATA permissions are checked */
+ umask(PG_MODE_MASK_OWNER);
+
+ /* support --help and --version even if invoked as root */
+ if (argc > 1)
+ {
+ if (strcmp(argv[1], "--help") == 0 || strcmp(argv[1], "-?") == 0)
+ {
+ do_help();
+ exit(0);
+ }
+ else if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
+ {
+ puts("pg_ctl (PostgreSQL) " PG_VERSION);
+ exit(0);
+ }
+ }
+
+ /*
+ * Disallow running as root, to forestall any possible security holes.
+ */
+#ifndef WIN32
+ if (geteuid() == 0)
+ {
+ write_stderr(_("%s: cannot be run as root\n"
+ "Please log in (using, e.g., \"su\") as the "
+ "(unprivileged) user that will\n"
+ "own the server process.\n"),
+ progname);
+ exit(1);
+ }
+#endif
+
+ env_wait = getenv("PGCTLTIMEOUT");
+ if (env_wait != NULL)
+ wait_seconds = atoi(env_wait);
+
+ /*
+ * 'Action' can be before or after args so loop over both. Some
+ * getopt_long() implementations will reorder argv[] to place all flags
+ * first (GNU?), but we don't rely on it. Our /port version doesn't do
+ * that.
+ */
+ optind = 1;
+
+ /* process command-line options */
+ while (optind < argc)
+ {
+ while ((c = getopt_long(argc, argv, "cD:e:l:m:N:o:p:P:sS:t:U:wW",
+ long_options, &option_index)) != -1)
+ {
+ switch (c)
+ {
+ case 'D':
+ {
+ char *pgdata_D;
+
+ pgdata_D = pg_strdup(optarg);
+ canonicalize_path(pgdata_D);
+ setenv("PGDATA", pgdata_D, 1);
+
+ /*
+ * We could pass PGDATA just in an environment
+ * variable but we do -D too for clearer postmaster
+ * 'ps' display
+ */
+ pgdata_opt = psprintf("-D \"%s\" ", pgdata_D);
+ free(pgdata_D);
+ break;
+ }
+ case 'e':
+ event_source = pg_strdup(optarg);
+ break;
+ case 'l':
+ log_file = pg_strdup(optarg);
+ break;
+ case 'm':
+ set_mode(optarg);
+ break;
+ case 'N':
+ register_servicename = pg_strdup(optarg);
+ break;
+ case 'o':
+ /* append option? */
+ if (!post_opts)
+ post_opts = pg_strdup(optarg);
+ else
+ {
+ char *old_post_opts = post_opts;
+
+ post_opts = psprintf("%s %s", old_post_opts, optarg);
+ free(old_post_opts);
+ }
+ break;
+ case 'p':
+ exec_path = pg_strdup(optarg);
+ break;
+ case 'P':
+ register_password = pg_strdup(optarg);
+ break;
+ case 's':
+ silent_mode = true;
+ break;
+ case 'S':
+#ifdef WIN32
+ set_starttype(optarg);
+#else
+ write_stderr(_("%s: -S option not supported on this platform\n"),
+ progname);
+ exit(1);
+#endif
+ break;
+ case 't':
+ wait_seconds = atoi(optarg);
+ wait_seconds_arg = true;
+ break;
+ case 'U':
+ if (strchr(optarg, '\\'))
+ register_username = pg_strdup(optarg);
+ else
+ /* Prepend .\ for local accounts */
+ register_username = psprintf(".\\%s", optarg);
+ break;
+ case 'w':
+ do_wait = true;
+ break;
+ case 'W':
+ do_wait = false;
+ break;
+ case 'c':
+ allow_core_files = true;
+ break;
+ default:
+ /* getopt_long already issued a suitable error message */
+ do_advice();
+ exit(1);
+ }
+ }
+
+ /* Process an action */
+ if (optind < argc)
+ {
+ if (ctl_command != NO_COMMAND)
+ {
+ write_stderr(_("%s: too many command-line arguments (first is \"%s\")\n"), progname, argv[optind]);
+ do_advice();
+ exit(1);
+ }
+
+ if (strcmp(argv[optind], "init") == 0
+ || strcmp(argv[optind], "initdb") == 0)
+ ctl_command = INIT_COMMAND;
+ else if (strcmp(argv[optind], "start") == 0)
+ ctl_command = START_COMMAND;
+ else if (strcmp(argv[optind], "stop") == 0)
+ ctl_command = STOP_COMMAND;
+ else if (strcmp(argv[optind], "restart") == 0)
+ ctl_command = RESTART_COMMAND;
+ else if (strcmp(argv[optind], "reload") == 0)
+ ctl_command = RELOAD_COMMAND;
+ else if (strcmp(argv[optind], "status") == 0)
+ ctl_command = STATUS_COMMAND;
+ else if (strcmp(argv[optind], "promote") == 0)
+ ctl_command = PROMOTE_COMMAND;
+ else if (strcmp(argv[optind], "logrotate") == 0)
+ ctl_command = LOGROTATE_COMMAND;
+ else if (strcmp(argv[optind], "kill") == 0)
+ {
+ if (argc - optind < 3)
+ {
+ write_stderr(_("%s: missing arguments for kill mode\n"), progname);
+ do_advice();
+ exit(1);
+ }
+ ctl_command = KILL_COMMAND;
+ set_sig(argv[++optind]);
+ killproc = atol(argv[++optind]);
+ }
+#ifdef WIN32
+ else if (strcmp(argv[optind], "register") == 0)
+ ctl_command = REGISTER_COMMAND;
+ else if (strcmp(argv[optind], "unregister") == 0)
+ ctl_command = UNREGISTER_COMMAND;
+ else if (strcmp(argv[optind], "runservice") == 0)
+ ctl_command = RUN_AS_SERVICE_COMMAND;
+#endif
+ else
+ {
+ write_stderr(_("%s: unrecognized operation mode \"%s\"\n"), progname, argv[optind]);
+ do_advice();
+ exit(1);
+ }
+ optind++;
+ }
+ }
+
+ if (ctl_command == NO_COMMAND)
+ {
+ write_stderr(_("%s: no operation specified\n"), progname);
+ do_advice();
+ exit(1);
+ }
+
+ /* Note we put any -D switch into the env var above */
+ pg_config = getenv("PGDATA");
+ if (pg_config)
+ {
+ pg_config = pg_strdup(pg_config);
+ canonicalize_path(pg_config);
+ pg_data = pg_strdup(pg_config);
+ }
+
+ /* -D might point at config-only directory; if so find the real PGDATA */
+ adjust_data_dir();
+
+ /* Complain if -D needed and not provided */
+ if (pg_config == NULL &&
+ ctl_command != KILL_COMMAND && ctl_command != UNREGISTER_COMMAND)
+ {
+ write_stderr(_("%s: no database directory specified and environment variable PGDATA unset\n"),
+ progname);
+ do_advice();
+ exit(1);
+ }
+
+ if (ctl_command == RELOAD_COMMAND)
+ {
+ sig = SIGHUP;
+ do_wait = false;
+ }
+
+ if (pg_data)
+ {
+ snprintf(postopts_file, MAXPGPATH, "%s/postmaster.opts", pg_data);
+ snprintf(version_file, MAXPGPATH, "%s/PG_VERSION", pg_data);
+ snprintf(pid_file, MAXPGPATH, "%s/postmaster.pid", pg_data);
+ snprintf(backup_file, MAXPGPATH, "%s/backup_label", pg_data);
+
+ /*
+ * Set mask based on PGDATA permissions,
+ *
+ * Don't error here if the data directory cannot be stat'd. This is
+ * handled differently based on the command and we don't want to
+ * interfere with that logic.
+ */
+ if (GetDataDirectoryCreatePerm(pg_data))
+ umask(pg_mode_mask);
+ }
+
+ switch (ctl_command)
+ {
+ case INIT_COMMAND:
+ do_init();
+ break;
+ case STATUS_COMMAND:
+ do_status();
+ break;
+ case START_COMMAND:
+ do_start();
+ break;
+ case STOP_COMMAND:
+ do_stop();
+ break;
+ case RESTART_COMMAND:
+ do_restart();
+ break;
+ case RELOAD_COMMAND:
+ do_reload();
+ break;
+ case PROMOTE_COMMAND:
+ do_promote();
+ break;
+ case LOGROTATE_COMMAND:
+ do_logrotate();
+ break;
+ case KILL_COMMAND:
+ do_kill(killproc);
+ break;
+#ifdef WIN32
+ case REGISTER_COMMAND:
+ pgwin32_doRegister();
+ break;
+ case UNREGISTER_COMMAND:
+ pgwin32_doUnregister();
+ break;
+ case RUN_AS_SERVICE_COMMAND:
+ pgwin32_doRunAsService();
+ break;
+#endif
+ default:
+ break;
+ }
+
+ exit(0);
+}
diff --git a/src/bin/pg_ctl/po/LINGUAS b/src/bin/pg_ctl/po/LINGUAS
new file mode 100644
index 0000000..00f815d
--- /dev/null
+++ b/src/bin/pg_ctl/po/LINGUAS
@@ -0,0 +1 @@
+cs de el es fr he it ja ka ko pl pt_BR ru sv tr uk zh_CN zh_TW
diff --git a/src/bin/pg_ctl/po/cs.po b/src/bin/pg_ctl/po/cs.po
new file mode 100644
index 0000000..93ca06c
--- /dev/null
+++ b/src/bin/pg_ctl/po/cs.po
@@ -0,0 +1,949 @@
+# Czech message translation file for pg_ctl
+# Copyright (C) 2012 PostgreSQL Global Development Group
+# This file is distributed under the same license as the PostgreSQL package.
+#
+# Tomas Vondra <tv@fuzzy.cz>, 2012, 2013.
+msgid ""
+msgstr ""
+"Project-Id-Version: pg_ctl-cs (PostgreSQL 9.3)\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
+"POT-Creation-Date: 2023-04-24 03:48+0000\n"
+"PO-Revision-Date: 2023-04-24 08:53+0200\n"
+"Last-Translator: Tomas Vondra <tv@fuzzy.cz>\n"
+"Language-Team: Czech <info@cspug.cx>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+"X-Generator: Poedit 2.4.1\n"
+
+#: ../../common/exec.c:172
+#, c-format
+msgid "invalid binary \"%s\": %m"
+msgstr "neplatný binární soubor \"%s\": %m"
+
+#: ../../common/exec.c:215
+#, c-format
+msgid "could not read binary \"%s\": %m"
+msgstr "nelze číst binární soubor \"%s\": %m"
+
+#: ../../common/exec.c:223
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "nelze najít soubor \"%s\" ke spuštění"
+
+#: ../../common/exec.c:250
+#, fuzzy, c-format
+#| msgid "could not rename file \"%s\" to \"%s\": %m"
+msgid "could not resolve path \"%s\" to absolute form: %m"
+msgstr "soubor \"%s\" nelze přejmenovat na \"%s\": %m"
+
+#: ../../common/exec.c:412
+#, fuzzy, c-format
+#| msgid "select() failed: %m"
+msgid "%s() failed: %m"
+msgstr "volání select() selhalo: %m"
+
+#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687
+msgid "out of memory"
+msgstr "nedostatek paměti"
+
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161
+#: ../../port/path.c:753 ../../port/path.c:791 ../../port/path.c:808
+#, c-format
+msgid "out of memory\n"
+msgstr "nedostatek paměti\n"
+
+#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "nelze duplikovat null pointer (interní chyba)\n"
+
+#: ../../common/wait_error.c:55
+#, c-format
+msgid "command not executable"
+msgstr "příkaz není spustitelný"
+
+#: ../../common/wait_error.c:59
+#, c-format
+msgid "command not found"
+msgstr "příkaz nenalezen"
+
+#: ../../common/wait_error.c:64
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "potomek skončil s návratovým kódem %d"
+
+#: ../../common/wait_error.c:72
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "potomek byl ukončen vyjímkou 0x%X"
+
+#: ../../common/wait_error.c:76
+#, c-format
+msgid "child process was terminated by signal %d: %s"
+msgstr "potomek byl ukončen signálem %d: %s"
+
+#: ../../common/wait_error.c:82
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "potomek skončil s nerozponaným stavem %d"
+
+#: ../../port/path.c:775
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "nelze získat aktuální pracovní adresář: %s\n"
+
+#: pg_ctl.c:255
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "%s: adresář \"%s\" neexistuje\n"
+
+#: pg_ctl.c:258
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s: nelze otevřít adresář \"%s\": %s\n"
+
+#: pg_ctl.c:271
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "%s: adresář \"%s\" není datový adresář databázového clusteru\n"
+
+#: pg_ctl.c:284
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "%s: nelze otevřít PID soubor \"%s\": %s\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "%s: PID soubor \"%s\" je prázdný\n"
+
+#: pg_ctl.c:296
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "%s: neplatná data v PID souboru \"%s\"\n"
+
+#: pg_ctl.c:458 pg_ctl.c:500
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "%s: nelze nastartovat server: %s\n"
+
+#: pg_ctl.c:478
+#, c-format
+msgid "%s: could not start server due to setsid() failure: %s\n"
+msgstr "%s: nelze nastartovat server kvůli selhání setsid(): %s\n"
+
+#: pg_ctl.c:548
+#, c-format
+msgid "%s: could not open log file \"%s\": %s\n"
+msgstr "%s: nelze otevřít logovací soubor \"%s\": %s\n"
+
+#: pg_ctl.c:565
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "%s: nelze nastartovat server: chybový kód %lu\n"
+
+#: pg_ctl.c:782
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr "%s: nelze nastavit limit pro core soubor; zakázáno hard limitem\n"
+
+#: pg_ctl.c:808
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "%s: nelze číst soubor \"%s\"\n"
+
+#: pg_ctl.c:813
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "%s: soubor s volbami \"%s\" musí mít přesně jednu řádku\n"
+
+#: pg_ctl.c:855 pg_ctl.c:1039 pg_ctl.c:1107
+#, c-format
+msgid "%s: could not send stop signal (PID: %d): %s\n"
+msgstr "%s: nelze poslat stop signál (PID: %d): %s\n"
+
+#: pg_ctl.c:883
+#, fuzzy, c-format
+#| msgid ""
+#| "The program \"%s\" is needed by %s but was not found in the\n"
+#| "same directory as \"%s\".\n"
+#| "Check your installation."
+msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"\n"
+msgstr ""
+"Program \"%s\" je vyžadován aplikací %s, ale nebyl nalezen ve stejném\n"
+"adresáři jako \"%s\".\n"
+"Zkontrolujte vaši instalaci."
+
+#: pg_ctl.c:886
+#, fuzzy, c-format
+#| msgid ""
+#| "The program \"%s\" was found by \"%s\"\n"
+#| "but was not the same version as %s.\n"
+#| "Check your installation."
+msgid "program \"%s\" was found by \"%s\" but was not the same version as %s\n"
+msgstr ""
+"Program \"%s\" byl nalezen pomocí \"%s\",\n"
+"ale nebyl ve stejné verzi jako %s.\n"
+"Zkontrolujte vaši instalaci."
+
+#: pg_ctl.c:918
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "%s: inicializace databáze selhala\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr "%s: další server možná běží; i tak zkouším start\n"
+
+#: pg_ctl.c:981
+msgid "waiting for server to start..."
+msgstr "čekám na start serveru ..."
+
+#: pg_ctl.c:986 pg_ctl.c:1063 pg_ctl.c:1126 pg_ctl.c:1238
+msgid " done\n"
+msgstr " hotovo\n"
+
+#: pg_ctl.c:987
+msgid "server started\n"
+msgstr "server spuštěn\n"
+
+#: pg_ctl.c:990 pg_ctl.c:996 pg_ctl.c:1243
+msgid " stopped waiting\n"
+msgstr " přestávám čekat\n"
+
+#: pg_ctl.c:991
+#, c-format
+msgid "%s: server did not start in time\n"
+msgstr "%s: server nenastartoval v časovém limitu\n"
+
+#: pg_ctl.c:997
+#, c-format
+msgid ""
+"%s: could not start server\n"
+"Examine the log output.\n"
+msgstr ""
+"%s: nelze spustit server\n"
+"Zkontrolujte záznam v logu.\n"
+
+#: pg_ctl.c:1005
+msgid "server starting\n"
+msgstr "server startuje\n"
+
+#: pg_ctl.c:1024 pg_ctl.c:1083 pg_ctl.c:1147 pg_ctl.c:1186 pg_ctl.c:1267
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "%s: PID soubor \"%s\" neexistuje\n"
+
+#: pg_ctl.c:1025 pg_ctl.c:1085 pg_ctl.c:1148 pg_ctl.c:1187 pg_ctl.c:1268
+msgid "Is server running?\n"
+msgstr "Běží server?\n"
+
+#: pg_ctl.c:1031
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %d)\n"
+msgstr "%s: nemohu zastavit server; postgres běží v single-user módu (PID: %d)\n"
+
+#: pg_ctl.c:1046
+msgid "server shutting down\n"
+msgstr "server se ukončuje\n"
+
+#: pg_ctl.c:1051 pg_ctl.c:1112
+msgid "waiting for server to shut down..."
+msgstr "čekám na ukončení serveru ..."
+
+#: pg_ctl.c:1055 pg_ctl.c:1117
+msgid " failed\n"
+msgstr " selhalo\n"
+
+#: pg_ctl.c:1057 pg_ctl.c:1119
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "%s: server se neukončuje\n"
+
+#: pg_ctl.c:1059 pg_ctl.c:1121
+msgid ""
+"HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr ""
+"TIP: Volba \"-m fast\" okamžitě ukončí sezení namísto aby čekala\n"
+"na odpojení iniciované přímo session.\n"
+
+#: pg_ctl.c:1065 pg_ctl.c:1127
+msgid "server stopped\n"
+msgstr "server zastaven\n"
+
+#: pg_ctl.c:1086
+msgid "trying to start server anyway\n"
+msgstr "přesto zkouším server spustit\n"
+
+#: pg_ctl.c:1095
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %d)\n"
+msgstr "%s: nemohu restartovat server; postgres běží v single-user módu (PID: %d)\n"
+
+#: pg_ctl.c:1098 pg_ctl.c:1157
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "Prosím ukončete single-user postgres a zkuste to znovu.\n"
+
+#: pg_ctl.c:1131
+#, c-format
+msgid "%s: old server process (PID: %d) seems to be gone\n"
+msgstr "%s: starý proces serveru (PID: %d) zřejmě skončil\n"
+
+#: pg_ctl.c:1133
+msgid "starting server anyway\n"
+msgstr "přesto server spouštím\n"
+
+#: pg_ctl.c:1154
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %d)\n"
+msgstr "%s: nemohu znovunačíst server; server běží v single-user módu (PID: %d)\n"
+
+#: pg_ctl.c:1163
+#, c-format
+msgid "%s: could not send reload signal (PID: %d): %s\n"
+msgstr "%s: nelze poslat signál pro reload (PID: %d): %s\n"
+
+#: pg_ctl.c:1168
+msgid "server signaled\n"
+msgstr "server obdržel signál\n"
+
+#: pg_ctl.c:1193
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %d)\n"
+msgstr "%s: nelze povýšit (promote) server; server běží v single-user módu (PID: %d)\n"
+
+#: pg_ctl.c:1201
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr "%s: nelze povýšit (promote) server; server není ve standby módu\n"
+
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "%s: nelze vytvořit signální soubor pro povýšení (promote) \"%s\": %s\n"
+
+#: pg_ctl.c:1217
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "%s: nelze zapsat do signálního souboru pro povýšení (promote) \"%s\": %s\n"
+
+#: pg_ctl.c:1225
+#, c-format
+msgid "%s: could not send promote signal (PID: %d): %s\n"
+msgstr "%s: nelze poslat signál pro povýšení (promote, PID: %d): %s\n"
+
+#: pg_ctl.c:1228
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s: nelze odstranit signální soubor pro povýšení (promote) \"%s\": %s\n"
+
+#: pg_ctl.c:1235
+msgid "waiting for server to promote..."
+msgstr "čekám na promote serveru ..."
+
+#: pg_ctl.c:1239
+msgid "server promoted\n"
+msgstr "server je povyšován (promote)\n"
+
+#: pg_ctl.c:1244
+#, c-format
+msgid "%s: server did not promote in time\n"
+msgstr "%s: server neprovedl promote v časovém intervalu\n"
+
+#: pg_ctl.c:1250
+msgid "server promoting\n"
+msgstr "server je povyšován (promote)\n"
+
+#: pg_ctl.c:1274
+#, c-format
+msgid "%s: cannot rotate log file; single-user server is running (PID: %d)\n"
+msgstr "%s: nemohu odrotovat log soubor; server běží v single-user módu (PID: %d)\n"
+
+#: pg_ctl.c:1284
+#, c-format
+msgid "%s: could not create log rotation signal file \"%s\": %s\n"
+msgstr "%s: nelze vytvořit signální soubor pro odrotování logu \"%s\": %s\n"
+
+#: pg_ctl.c:1290
+#, c-format
+msgid "%s: could not write log rotation signal file \"%s\": %s\n"
+msgstr "%s: nelze zapsat do signálního souboru pro odrotování logu \"%s\": %s\n"
+
+#: pg_ctl.c:1298
+#, c-format
+msgid "%s: could not send log rotation signal (PID: %d): %s\n"
+msgstr "%s: nelze poslat signál pro odrotování logu (PID: %d): %s\n"
+
+#: pg_ctl.c:1301
+#, c-format
+msgid "%s: could not remove log rotation signal file \"%s\": %s\n"
+msgstr "%s: nelze odstranit signální soubor pro odrotování logu \"%s\": %s\n"
+
+#: pg_ctl.c:1306
+msgid "server signaled to rotate log file\n"
+msgstr "server obdržel signál pro odrotování logu\n"
+
+#: pg_ctl.c:1353
+#, c-format
+msgid "%s: single-user server is running (PID: %d)\n"
+msgstr "%s: server běží v single-user módu (PID: %d)\n"
+
+#: pg_ctl.c:1367
+#, c-format
+msgid "%s: server is running (PID: %d)\n"
+msgstr "%s: server běží (PID: %d)\n"
+
+#: pg_ctl.c:1383
+#, c-format
+msgid "%s: no server running\n"
+msgstr "%s: žádný server neběží\n"
+
+#: pg_ctl.c:1400
+#, c-format
+msgid "%s: could not send signal %d (PID: %d): %s\n"
+msgstr "%s: nelze poslat signál pro reload %d (PID: %d): %s\n"
+
+#: pg_ctl.c:1431
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s: nelze najít vlastní spustitelný soubor\n"
+
+#: pg_ctl.c:1441
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "%s: nelze najít spustitelný program postgres\n"
+
+#: pg_ctl.c:1511 pg_ctl.c:1545
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "%s: nelze otevřít manažera služeb\n"
+
+#: pg_ctl.c:1517
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "%s: služba \"%s\" je již registrována\n"
+
+#: pg_ctl.c:1528
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "%s: nelze zaregistrovat službu \"%s\": chybový kód %lu\n"
+
+#: pg_ctl.c:1551
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "%s: služba \"%s\" není registrována\n"
+
+#: pg_ctl.c:1558
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "%s: nelze otevřít službu \"%s\": chybový kód %lu\n"
+
+#: pg_ctl.c:1567
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "%s: nelze odregistrovat službu \"%s\": chybový kód %lu\n"
+
+#: pg_ctl.c:1654
+msgid "Waiting for server startup...\n"
+msgstr "Čekám na start serveru ...\n"
+
+#: pg_ctl.c:1657
+msgid "Timed out waiting for server startup\n"
+msgstr "Časový limit pro čekání na start serveru vypršel\n"
+
+#: pg_ctl.c:1661
+msgid "Server started and accepting connections\n"
+msgstr "Server nastartoval a přijímá spojení\n"
+
+#: pg_ctl.c:1716
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "%s: nelze nastartovat službu \"%s\": chybový kód %lu\n"
+
+#: pg_ctl.c:1789
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "%s: nelze otevřít token procesu: chybový kód %lu\n"
+
+#: pg_ctl.c:1803
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "%s: nelze alokovat SIDs: chybový kód %lu\n"
+
+#: pg_ctl.c:1829
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "%s: nelze vytvořit vyhrazený token: chybový kód %lu\n"
+
+#: pg_ctl.c:1911
+#, c-format
+msgid "%s: could not get LUIDs for privileges: error code %lu\n"
+msgstr "%s: nelze získat seznam LUID pro privilegia: chybový kód %lu\n"
+
+#: pg_ctl.c:1919 pg_ctl.c:1934
+#, c-format
+msgid "%s: could not get token information: error code %lu\n"
+msgstr "%s: nelze získat informace o tokenu: chybový kód %lu\n"
+
+#: pg_ctl.c:1928
+#, c-format
+msgid "%s: out of memory\n"
+msgstr "%s: nedostatek paměti\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "Zkuste \"%s --help\" pro více informací.\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid ""
+"%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n"
+"\n"
+msgstr ""
+"%s je nástroj pro inicializaci, spuštění, zastavení, nebo ovládání PostgreSQL serveru.\n"
+"\n"
+
+#: pg_ctl.c:1967
+#, c-format
+msgid "Usage:\n"
+msgstr "Použití:\n"
+
+#: pg_ctl.c:1968
+#, c-format
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr ""
+" %s init[db] [-D ADRESÁŘ] [-s] [-o PŘEPÍNAČE]\n"
+"\n"
+
+#: pg_ctl.c:1969
+#, c-format
+msgid ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr ""
+" %s start [-D ADRESÁŘ] [-l SOUBOR] [-W] [-t SECS] [-s]\n"
+" [-o VOLBY] [-p CESTA] [-c]\n"
+
+#: pg_ctl.c:1971
+#, c-format
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr ""
+" %s stop [-D ADRESÁŘ] [-m MÓD-UKONČENÍ] [-W] [-t SECS] [-s]\n"
+"\n"
+
+#: pg_ctl.c:1972
+#, c-format
+msgid ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr ""
+" %s restart [-D ADRESÁŘ] [-m MÓD-UKONČENÍ] [-W] [-t SECS] [-s]\n"
+" [-o VOLBY] [-c]\n"
+
+#: pg_ctl.c:1974
+#, c-format
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D ADRESÁŘ] [-s]\n"
+
+#: pg_ctl.c:1975
+#, c-format
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D ADRESÁŘ]\n"
+
+#: pg_ctl.c:1976
+#, c-format
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr " %s promote [-D ADRESÁŘ] [-W] [-t SECS] [-s]\n"
+
+#: pg_ctl.c:1977
+#, c-format
+msgid " %s logrotate [-D DATADIR] [-s]\n"
+msgstr " %s logrotate [-D ADRESÁŘ] [-s]\n"
+
+#: pg_ctl.c:1978
+#, c-format
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill NAZEVSIGNALU PID\n"
+
+#: pg_ctl.c:1980
+#, c-format
+msgid ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+msgstr ""
+" %s register [-D ADRESÁŘ] [-N NÁZEVSLUŽBY] [-U UŽIVATEL] [-P HESLO]\n"
+" [-S MÓD-STARTU] [-e ZDROJ] [-W] [-t SECS] [-s] [-o VOLBY]\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N SERVICENAME]\n"
+
+#: pg_ctl.c:1985
+#, c-format
+msgid ""
+"\n"
+"Common options:\n"
+msgstr ""
+"\n"
+"Společné přepínače:\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr " -D, --pgdata=ADRESÁŘ umístění úložiště databáze\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid " -e SOURCE event source for logging when running as a service\n"
+msgstr " -e SOURCE název zdroje pro logování při běhu jako služba\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr " -s, --silent vypisuj jen chyby, žádné informativní zprávy\n"
+
+#: pg_ctl.c:1991
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr " -t, --timeout=SECS počet vteřin pro čekání při využití volby -w\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr " -V, --version vypsat informace o verzi, potom skončit\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr " -w, --wait čekat na dokončení operace (výchozí)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr " -W, --no-wait nečekat na dokončení operace\n"
+
+#: pg_ctl.c:1995
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr " -?, --help vypsat tuto nápovědu, potom skončit\n"
+
+#: pg_ctl.c:1996
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr "Pokud je vynechán parametr -D, použije se proměnná prostředí PGDATA.\n"
+
+#: pg_ctl.c:1998
+#, c-format
+msgid ""
+"\n"
+"Options for start or restart:\n"
+msgstr ""
+"\n"
+"Přepínače pro start nebo restart:\n"
+
+#: pg_ctl.c:2000
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr " -c, --core-files povolit postgresu vytvářet core soubory\n"
+
+#: pg_ctl.c:2002
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr " -c, --core-files nepoužitelné pro tuto platformu\n"
+
+#: pg_ctl.c:2004
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr " -l, --log=SOUBOR zapisuj (nebo připoj na konec) log serveru do SOUBORU.\n"
+
+#: pg_ctl.c:2005
+#, c-format
+msgid ""
+" -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr ""
+" -o, --options=VOLBY přepínače, které budou předány postgresu\n"
+" (spustitelnému souboru PostgreSQL) či initdb\n"
+
+#: pg_ctl.c:2007
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr " -p CESTA-K-POSTGRESU za normálních okolností není potřeba\n"
+
+#: pg_ctl.c:2008
+#, c-format
+msgid ""
+"\n"
+"Options for stop or restart:\n"
+msgstr ""
+"\n"
+"Přepínače pro start nebo restart:\n"
+
+#: pg_ctl.c:2009
+#, c-format
+msgid " -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr " -m, --mode=MODE může být \"smart\", \"fast\", or \"immediate\"\n"
+
+#: pg_ctl.c:2011
+#, c-format
+msgid ""
+"\n"
+"Shutdown modes are:\n"
+msgstr ""
+"\n"
+"Módy ukončení jsou:\n"
+
+#: pg_ctl.c:2012
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr " smart skonči potom, co se odpojí všichni klienti\n"
+
+#: pg_ctl.c:2013
+#, c-format
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr " fast skonči okamžitě, s korektním zastavením serveru (výchozí)\n"
+
+#: pg_ctl.c:2014
+#, c-format
+msgid " immediate quit without complete shutdown; will lead to recovery on restart\n"
+msgstr ""
+" immediate skonči bez kompletního zastavení; po restartu se provede\n"
+" obnova po pádu (crash recovery)\n"
+
+#: pg_ctl.c:2016
+#, c-format
+msgid ""
+"\n"
+"Allowed signal names for kill:\n"
+msgstr ""
+"\n"
+"Povolené signály pro \"kill\":\n"
+
+#: pg_ctl.c:2020
+#, c-format
+msgid ""
+"\n"
+"Options for register and unregister:\n"
+msgstr ""
+"\n"
+"Přepínače pro register nebo unregister:\n"
+
+#: pg_ctl.c:2021
+#, c-format
+msgid " -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr " -N SERVICENAME jméno služby, pod kterým registrovat PostgreSQL server\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr " -P PASSWORD heslo k účtu pro registraci PostgreSQL serveru\n"
+
+#: pg_ctl.c:2023
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr " -U USERNAME uživatelské jméno pro registraci PostgreSQL server\n"
+
+#: pg_ctl.c:2024
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr " -S TYP-STARTU typ spuštění služby pro registraci PostgreSQL serveru\n"
+
+#: pg_ctl.c:2026
+#, c-format
+msgid ""
+"\n"
+"Start types are:\n"
+msgstr ""
+"\n"
+"Módy spuštění jsou:\n"
+
+#: pg_ctl.c:2027
+#, c-format
+msgid " auto start service automatically during system startup (default)\n"
+msgstr " auto spusť službu automaticky během startu systému (implicitní)\n"
+
+#: pg_ctl.c:2028
+#, c-format
+msgid " demand start service on demand\n"
+msgstr " demand spusť službu na vyžádání\n"
+
+#: pg_ctl.c:2031
+#, c-format
+msgid ""
+"\n"
+"Report bugs to <%s>.\n"
+msgstr ""
+"\n"
+"Chyby hlašte na <%s>.\n"
+
+#: pg_ctl.c:2032
+#, c-format
+msgid "%s home page: <%s>\n"
+msgstr "%s domácí stránka: <%s>\n"
+
+#: pg_ctl.c:2057
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "%s: neplatný mód ukončení mode \"%s\"\n"
+
+#: pg_ctl.c:2086
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "%s: neplatné jméno signálu \"%s\"\n"
+
+#: pg_ctl.c:2103
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "%s: neplatný typ spuštění \"%s\"\n"
+
+#: pg_ctl.c:2159
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "%s: nelze najít datový adresář pomocí příkazu \"%s\"\n"
+
+#: pg_ctl.c:2182
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "%s: control file se zdá být poškozený\n"
+
+#: pg_ctl.c:2250
+#, c-format
+msgid ""
+"%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr ""
+"%s: nemůže běžet pod uživatelem root\n"
+"Prosím přihlaste se jako (neprivilegovaný) uživatel, který bude vlastníkem\n"
+"serverového procesu (například pomocí příkazu \"su\").\n"
+
+#: pg_ctl.c:2333
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "%s: -S nepoužitelné pro tuto platformu\n"
+
+#: pg_ctl.c:2370
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "%s: příliš mnoho argumentů v příkazové řádce (první je \"%s\")\n"
+
+#: pg_ctl.c:2396
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "%s: chýbějící parametr pro \"kill\" mód\n"
+
+#: pg_ctl.c:2414
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "%s: neplatný mód operace \"%s\"\n"
+
+#: pg_ctl.c:2424
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "%s: není specifikována operace\n"
+
+#: pg_ctl.c:2445
+#, c-format
+msgid "%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr "%s: není zadán datový adresář a ani není nastavena proměnná prostředí PGDATA\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "%s: -w option cannot use a relative socket directory specification\n"
+#~ msgstr ""
+#~ "\n"
+#~ "%s: -w volba nemůže používat relativně zadaný adresář socketu\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "%s: -w option is not supported when starting a pre-9.1 server\n"
+#~ msgstr ""
+#~ "\n"
+#~ "%s: -w volba není podporována při startu pre-9.1 serveru\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "%s: this data directory appears to be running a pre-existing postmaster\n"
+#~ msgstr ""
+#~ "\n"
+#~ "%s: zdá se že v tomto datovém adresáři již běží existující postmaster\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "Options for stop, restart, or promote:\n"
+#~ msgstr ""
+#~ "\n"
+#~ "Přepínače pro zastavení, restart a promote:\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "Report bugs to <pgsql-bugs@lists.postgresql.org>.\n"
+#~ msgstr ""
+#~ "\n"
+#~ "Chyby hlaste na adresu <pgsql-bugs@postgresql.org>.\n"
+
+#~ msgid " %s start [-w] [-t SECS] [-D DATADIR] [-s] [-l FILENAME] [-o \"OPTIONS\"]\n"
+#~ msgstr " %s start [-w] [-t SECS] [-D ADRESÁŘ] [-s] [-l SOUBOR] [-o \"PŘEPÍNAČE\"]\n"
+
+#~ msgid " fast promote quickly without waiting for checkpoint completion\n"
+#~ msgstr " fast promote rychlé bez čekání na dokončení checkpointu\n"
+
+#~ msgid " smart promote after performing a checkpoint\n"
+#~ msgstr " smart promote po provedení checkpointu\n"
+
+#~ msgid "%s: could not wait for server because of misconfiguration\n"
+#~ msgstr "%s: nelze čekat na server kvůli chybné konfiguraci\n"
+
+#~ msgid ""
+#~ "(The default is to wait for shutdown, but not for start or restart.)\n"
+#~ "\n"
+#~ msgstr ""
+#~ "(Implicitní chování je čekat na ukončení, ale ne při startu nebo restartu.)\n"
+#~ "\n"
+
+#, c-format
+#~ msgid ""
+#~ "The program \"%s\" is needed by %s but was not found in the\n"
+#~ "same directory as \"%s\".\n"
+#~ "Check your installation.\n"
+#~ msgstr ""
+#~ "Program \"%s\" je vyžadován aplikací %s, ale nebyl nalezen ve stejném\n"
+#~ "adresáři jako \"%s\".\n"
+#~ "Zkontrolujte vaši instalaci.\n"
+
+#, c-format
+#~ msgid ""
+#~ "The program \"%s\" was found by \"%s\"\n"
+#~ "but was not the same version as %s.\n"
+#~ "Check your installation.\n"
+#~ msgstr ""
+#~ "Program \"%s\" byl nalezen pomocí \"%s\",\n"
+#~ "ale nebyl ve stejné verzi jako %s.\n"
+#~ "Zkontrolujte vaši instalaci.\n"
+
+#~ msgid ""
+#~ "WARNING: online backup mode is active\n"
+#~ "Shutdown will not complete until pg_stop_backup() is called.\n"
+#~ "\n"
+#~ msgstr ""
+#~ "VAROVÁNÍ: online backup mód je aktivní\n"
+#~ "Shutdown nebude ukončen dokud nebude zavolán pg_stop_backup().\n"
+#~ "\n"
+
+#~ msgid "child process was terminated by signal %s"
+#~ msgstr "potomek byl ukončen signálem %s"
+
+#, c-format
+#~ msgid "pclose failed: %m"
+#~ msgstr "volání pclose selhalo: %m"
+
+#~ msgid "server is still starting up\n"
+#~ msgstr "server stále startuje\n"
diff --git a/src/bin/pg_ctl/po/de.po b/src/bin/pg_ctl/po/de.po
new file mode 100644
index 0000000..b4cad22
--- /dev/null
+++ b/src/bin/pg_ctl/po/de.po
@@ -0,0 +1,843 @@
+# German message translation file for pg_ctl
+# Peter Eisentraut <peter@eisentraut.org>, 2004 - 2023.
+#
+# Use these quotes: »%s«
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: PostgreSQL 16\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
+"POT-Creation-Date: 2023-04-24 03:48+0000\n"
+"PO-Revision-Date: 2023-04-24 08:46+0200\n"
+"Last-Translator: Peter Eisentraut <peter@eisentraut.org>\n"
+"Language-Team: German <pgsql-translators@postgresql.org>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: ../../common/exec.c:172
+#, c-format
+msgid "invalid binary \"%s\": %m"
+msgstr "ungültige Programmdatei »%s«: %m"
+
+#: ../../common/exec.c:215
+#, c-format
+msgid "could not read binary \"%s\": %m"
+msgstr "konnte Programmdatei »%s« nicht lesen: %m"
+
+#: ../../common/exec.c:223
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "konnte kein »%s« zum Ausführen finden"
+
+#: ../../common/exec.c:250
+#, c-format
+msgid "could not resolve path \"%s\" to absolute form: %m"
+msgstr "konnte Pfad »%s« nicht in absolute Form auflösen: %m"
+
+#: ../../common/exec.c:412
+#, c-format
+msgid "%s() failed: %m"
+msgstr "%s() fehlgeschlagen: %m"
+
+#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687
+msgid "out of memory"
+msgstr "Speicher aufgebraucht"
+
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161
+#: ../../port/path.c:753 ../../port/path.c:791 ../../port/path.c:808
+#, c-format
+msgid "out of memory\n"
+msgstr "Speicher aufgebraucht\n"
+
+#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "kann NULL-Zeiger nicht kopieren (interner Fehler)\n"
+
+#: ../../common/wait_error.c:55
+#, c-format
+msgid "command not executable"
+msgstr "Befehl ist nicht ausführbar"
+
+#: ../../common/wait_error.c:59
+#, c-format
+msgid "command not found"
+msgstr "Befehl nicht gefunden"
+
+#: ../../common/wait_error.c:64
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "Kindprozess hat mit Code %d beendet"
+
+#: ../../common/wait_error.c:72
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "Kindprozess wurde durch Ausnahme 0x%X beendet"
+
+#: ../../common/wait_error.c:76
+#, c-format
+msgid "child process was terminated by signal %d: %s"
+msgstr "Kindprozess wurde von Signal %d beendet: %s"
+
+#: ../../common/wait_error.c:82
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "Kindprozess hat mit unbekanntem Status %d beendet"
+
+#: ../../port/path.c:775
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "konnte aktuelles Arbeitsverzeichnis nicht ermitteln: %s\n"
+
+#: pg_ctl.c:255
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "%s: Verzeichnis »%s« existiert nicht\n"
+
+#: pg_ctl.c:258
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s: konnte nicht auf Verzeichnis »%s« zugreifen: %s\n"
+
+#: pg_ctl.c:271
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "%s: Verzeichnis »%s« ist kein Datenbankclusterverzeichnis\n"
+
+#: pg_ctl.c:284
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "%s: konnte PID-Datei »%s« nicht öffnen: %s\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "%s: die PID-Datei »%s« ist leer\n"
+
+#: pg_ctl.c:296
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "%s: ungültige Daten in PID-Datei »%s«\n"
+
+#: pg_ctl.c:458 pg_ctl.c:500
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "%s: konnte Server nicht starten: %s\n"
+
+#: pg_ctl.c:478
+#, c-format
+msgid "%s: could not start server due to setsid() failure: %s\n"
+msgstr "%s: konnte Server wegen setsid()-Fehler nicht starten: %s\n"
+
+#: pg_ctl.c:548
+#, c-format
+msgid "%s: could not open log file \"%s\": %s\n"
+msgstr "%s: konnte Logdatei »%s« nicht öffnen: %s\n"
+
+#: pg_ctl.c:565
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "%s: konnte Server nicht starten: Fehlercode %lu\n"
+
+#: pg_ctl.c:782
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr "%s: kann Grenzwert für Core-Datei-Größe nicht setzen; durch harten Grenzwert verboten\n"
+
+#: pg_ctl.c:808
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "%s: konnte Datei »%s« nicht lesen\n"
+
+#: pg_ctl.c:813
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "%s: Optionsdatei »%s« muss genau eine Zeile haben\n"
+
+#: pg_ctl.c:855 pg_ctl.c:1039 pg_ctl.c:1107
+#, c-format
+msgid "%s: could not send stop signal (PID: %d): %s\n"
+msgstr "%s: konnte Stopp-Signal nicht senden (PID: %d): %s\n"
+
+#: pg_ctl.c:883
+#, c-format
+msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"\n"
+msgstr "Programm »%s« wird von %s benötigt, aber wurde nicht im selben Verzeichnis wie »%s« gefunden\n"
+
+#: pg_ctl.c:886
+#, c-format
+msgid "program \"%s\" was found by \"%s\" but was not the same version as %s\n"
+msgstr "Programm »%s« wurde von »%s« gefunden, aber es hatte nicht die gleiche Version wie %s\n"
+
+#: pg_ctl.c:918
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "%s: Initialisierung des Datenbanksystems fehlgeschlagen\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr "%s: ein anderer Server läuft möglicherweise; versuche trotzdem zu starten\n"
+
+#: pg_ctl.c:981
+msgid "waiting for server to start..."
+msgstr "warte auf Start des Servers..."
+
+#: pg_ctl.c:986 pg_ctl.c:1063 pg_ctl.c:1126 pg_ctl.c:1238
+msgid " done\n"
+msgstr " fertig\n"
+
+#: pg_ctl.c:987
+msgid "server started\n"
+msgstr "Server gestartet\n"
+
+#: pg_ctl.c:990 pg_ctl.c:996 pg_ctl.c:1243
+msgid " stopped waiting\n"
+msgstr " Warten beendet\n"
+
+#: pg_ctl.c:991
+#, c-format
+msgid "%s: server did not start in time\n"
+msgstr "%s: Starten des Servers hat nicht rechtzeitig abgeschlossen\n"
+
+#: pg_ctl.c:997
+#, c-format
+msgid ""
+"%s: could not start server\n"
+"Examine the log output.\n"
+msgstr ""
+"%s: konnte Server nicht starten\n"
+"Prüfen Sie die Logausgabe.\n"
+
+#: pg_ctl.c:1005
+msgid "server starting\n"
+msgstr "Server startet\n"
+
+#: pg_ctl.c:1024 pg_ctl.c:1083 pg_ctl.c:1147 pg_ctl.c:1186 pg_ctl.c:1267
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "%s: PID-Datei »%s« existiert nicht\n"
+
+#: pg_ctl.c:1025 pg_ctl.c:1085 pg_ctl.c:1148 pg_ctl.c:1187 pg_ctl.c:1268
+msgid "Is server running?\n"
+msgstr "Läuft der Server?\n"
+
+#: pg_ctl.c:1031
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %d)\n"
+msgstr "%s: kann Server nicht anhalten; Einzelbenutzerserver läuft (PID: %d)\n"
+
+#: pg_ctl.c:1046
+msgid "server shutting down\n"
+msgstr "Server fährt herunter\n"
+
+#: pg_ctl.c:1051 pg_ctl.c:1112
+msgid "waiting for server to shut down..."
+msgstr "warte auf Herunterfahren des Servers..."
+
+#: pg_ctl.c:1055 pg_ctl.c:1117
+msgid " failed\n"
+msgstr " Fehler\n"
+
+#: pg_ctl.c:1057 pg_ctl.c:1119
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "%s: Server fährt nicht herunter\n"
+
+#: pg_ctl.c:1059 pg_ctl.c:1121
+msgid ""
+"HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr ""
+"TIPP: Die Option »-m fast« beendet Sitzungen sofort, statt auf das Beenden\n"
+"durch die Sitzungen selbst zu warten.\n"
+
+#: pg_ctl.c:1065 pg_ctl.c:1127
+msgid "server stopped\n"
+msgstr "Server angehalten\n"
+
+#: pg_ctl.c:1086
+msgid "trying to start server anyway\n"
+msgstr "versuche Server trotzdem zu starten\n"
+
+#: pg_ctl.c:1095
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %d)\n"
+msgstr "%s: kann Server nicht neu starten; Einzelbenutzerserver läuft (PID: %d)\n"
+
+#: pg_ctl.c:1098 pg_ctl.c:1157
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "Bitte beenden Sie den Einzelbenutzerserver und versuchen Sie es noch einmal.\n"
+
+#: pg_ctl.c:1131
+#, c-format
+msgid "%s: old server process (PID: %d) seems to be gone\n"
+msgstr "%s: alter Serverprozess (PID: %d) scheint verschwunden zu sein\n"
+
+#: pg_ctl.c:1133
+msgid "starting server anyway\n"
+msgstr "starte Server trotzdem\n"
+
+#: pg_ctl.c:1154
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %d)\n"
+msgstr "%s: kann Server nicht neu laden; Einzelbenutzerserver läuft (PID: %d)\n"
+
+#: pg_ctl.c:1163
+#, c-format
+msgid "%s: could not send reload signal (PID: %d): %s\n"
+msgstr "%s: konnte Signal zum Neuladen nicht senden (PID: %d): %s\n"
+
+#: pg_ctl.c:1168
+msgid "server signaled\n"
+msgstr "Signal an Server gesendet\n"
+
+#: pg_ctl.c:1193
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %d)\n"
+msgstr "%s: kann Server nicht befördern; Einzelbenutzerserver läuft (PID: %d)\n"
+
+#: pg_ctl.c:1201
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr "%s: kann Server nicht befördern; Server ist nicht im Standby-Modus\n"
+
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "%s: konnte Signaldatei zum Befördern »%s« nicht erzeugen: %s\n"
+
+#: pg_ctl.c:1217
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "%s: konnte Signaldatei zum Befördern »%s« nicht schreiben: %s\n"
+
+#: pg_ctl.c:1225
+#, c-format
+msgid "%s: could not send promote signal (PID: %d): %s\n"
+msgstr "%s: konnte Signal zum Befördern nicht senden (PID: %d): %s\n"
+
+#: pg_ctl.c:1228
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s: konnte Signaldatei zum Befördern »%s« nicht entfernen: %s\n"
+
+#: pg_ctl.c:1235
+msgid "waiting for server to promote..."
+msgstr "warte auf Befördern des Servers..."
+
+#: pg_ctl.c:1239
+msgid "server promoted\n"
+msgstr "Server wurde befördert\n"
+
+#: pg_ctl.c:1244
+#, c-format
+msgid "%s: server did not promote in time\n"
+msgstr "%s: Befördern des Servers hat nicht rechtzeitig abgeschlossen\n"
+
+#: pg_ctl.c:1250
+msgid "server promoting\n"
+msgstr "Server wird befördert\n"
+
+#: pg_ctl.c:1274
+#, c-format
+msgid "%s: cannot rotate log file; single-user server is running (PID: %d)\n"
+msgstr "%s: kann Logdatei nicht rotieren; Einzelbenutzerserver läuft (PID: %d)\n"
+
+#: pg_ctl.c:1284
+#, c-format
+msgid "%s: could not create log rotation signal file \"%s\": %s\n"
+msgstr "%s: konnte Signaldatei zum Logrotieren »%s« nicht erzeugen: %s\n"
+
+#: pg_ctl.c:1290
+#, c-format
+msgid "%s: could not write log rotation signal file \"%s\": %s\n"
+msgstr "%s: konnte Signaldatei zum Logrotieren »%s« nicht schreiben: %s\n"
+
+#: pg_ctl.c:1298
+#, c-format
+msgid "%s: could not send log rotation signal (PID: %d): %s\n"
+msgstr "%s: konnte Signal zum Logrotieren nicht senden (PID: %d): %s\n"
+
+#: pg_ctl.c:1301
+#, c-format
+msgid "%s: could not remove log rotation signal file \"%s\": %s\n"
+msgstr "%s: konnte Signaldatei zum Logrotieren »%s« nicht entfernen: %s\n"
+
+#: pg_ctl.c:1306
+msgid "server signaled to rotate log file\n"
+msgstr "Signal zum Logrotieren an Server gesendet\n"
+
+#: pg_ctl.c:1353
+#, c-format
+msgid "%s: single-user server is running (PID: %d)\n"
+msgstr "%s: Einzelbenutzerserver läuft (PID: %d)\n"
+
+#: pg_ctl.c:1367
+#, c-format
+msgid "%s: server is running (PID: %d)\n"
+msgstr "%s: Server läuft (PID: %d)\n"
+
+#: pg_ctl.c:1383
+#, c-format
+msgid "%s: no server running\n"
+msgstr "%s: kein Server läuft\n"
+
+#: pg_ctl.c:1400
+#, c-format
+msgid "%s: could not send signal %d (PID: %d): %s\n"
+msgstr "%s: konnte Signal %d nicht senden (PID: %d): %s\n"
+
+#: pg_ctl.c:1431
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s: konnte eigene Programmdatei nicht finden\n"
+
+#: pg_ctl.c:1441
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "%s: konnte »postgres« Programmdatei nicht finden\n"
+
+#: pg_ctl.c:1511 pg_ctl.c:1545
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "%s: konnte Servicemanager nicht öffnen\n"
+
+#: pg_ctl.c:1517
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "%s: Systemdienst »%s« ist bereits registriert\n"
+
+#: pg_ctl.c:1528
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "%s: konnte Systemdienst »%s« nicht registrieren: Fehlercode %lu\n"
+
+#: pg_ctl.c:1551
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "%s: Systemdienst »%s« ist nicht registriert\n"
+
+#: pg_ctl.c:1558
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "%s: konnte Systemdienst »%s« nicht öffnen: Fehlercode %lu\n"
+
+#: pg_ctl.c:1567
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "%s: konnte Systemdienst »%s« nicht deregistrieren: Fehlercode %lu\n"
+
+#: pg_ctl.c:1654
+msgid "Waiting for server startup...\n"
+msgstr "Warte auf Start des Servers...\n"
+
+#: pg_ctl.c:1657
+msgid "Timed out waiting for server startup\n"
+msgstr "Zeitüberschreitung beim Warten auf Start des Servers\n"
+
+#: pg_ctl.c:1661
+msgid "Server started and accepting connections\n"
+msgstr "Server wurde gestartet und nimmt Verbindungen an\n"
+
+#: pg_ctl.c:1716
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "%s: konnte Systemdienst »%s« nicht starten: Fehlercode %lu\n"
+
+#: pg_ctl.c:1789
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "%s: konnte Prozess-Token nicht öffnen: Fehlercode %lu\n"
+
+#: pg_ctl.c:1803
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "%s: konnte SIDs nicht erzeugen: Fehlercode %lu\n"
+
+#: pg_ctl.c:1829
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "%s: konnte beschränktes Token nicht erzeugen: Fehlercode %lu\n"
+
+#: pg_ctl.c:1911
+#, c-format
+msgid "%s: could not get LUIDs for privileges: error code %lu\n"
+msgstr "%s: konnte LUIDs für Privilegien nicht ermitteln: Fehlercode %lu\n"
+
+#: pg_ctl.c:1919 pg_ctl.c:1934
+#, c-format
+msgid "%s: could not get token information: error code %lu\n"
+msgstr "%s: konnte Token-Informationen nicht ermitteln: Fehlercode %lu\n"
+
+#: pg_ctl.c:1928
+#, c-format
+msgid "%s: out of memory\n"
+msgstr "%s: Speicher aufgebraucht\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "Versuchen Sie »%s --help« für weitere Informationen.\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid ""
+"%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n"
+"\n"
+msgstr ""
+"%s ist ein Hilfsprogramm, um einen PostgreSQL-Server zu initialisieren, zu\n"
+"starten, anzuhalten oder zu steuern.\n"
+"\n"
+
+#: pg_ctl.c:1967
+#, c-format
+msgid "Usage:\n"
+msgstr "Aufruf:\n"
+
+#: pg_ctl.c:1968
+#, c-format
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr " %s init[db] [-D DATENVERZ] [-s] [-o OPTIONEN]\n"
+
+#: pg_ctl.c:1969
+#, c-format
+msgid ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr ""
+" %s start [-D DATENVERZ] [-l DATEINAME] [-W] [-t SEK] [-s]\n"
+" [-o OPTIONEN] [-p PFAD] [-c]\n"
+
+#: pg_ctl.c:1971
+#, c-format
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr " %s stop [-D DATENVERZ] [-m SHUTDOWN-MODUS] [-W] [-t SEK] [-s]\n"
+
+#: pg_ctl.c:1972
+#, c-format
+msgid ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr ""
+" %s restart [-D DATENVERZ] [-m SHUTDOWN-MODUS] [-W] [-t SEK] [-s]\n"
+" [-o OPTIONEN] [-c]\n"
+
+#: pg_ctl.c:1974
+#, c-format
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D DATENVERZ] [-s]\n"
+
+#: pg_ctl.c:1975
+#, c-format
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D DATENVERZ]\n"
+
+#: pg_ctl.c:1976
+#, c-format
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr " %s promote [-D DATENVERZ] [-W] [-t SEK] [-s]\n"
+
+#: pg_ctl.c:1977
+#, c-format
+msgid " %s logrotate [-D DATADIR] [-s]\n"
+msgstr " %s logrotate [-D DATENVERZ] [-s]\n"
+
+#: pg_ctl.c:1978
+#, c-format
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill SIGNALNAME PID\n"
+
+#: pg_ctl.c:1980
+#, c-format
+msgid ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+msgstr ""
+" %s register [-D DATENVERZ] [-N DIENSTNAME] [-U BENUTZERNAME] [-P PASSWORT]\n"
+" [-S STARTTYP] [-e QUELLE] [-W] [-t SEK] [-s] [-o OPTIONEN]\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N DIENSTNAME]\n"
+
+#: pg_ctl.c:1985
+#, c-format
+msgid ""
+"\n"
+"Common options:\n"
+msgstr ""
+"\n"
+"Optionen für alle Modi:\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr " -D, --pgdata=DATENVERZ Datenbankverzeichnis\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid " -e SOURCE event source for logging when running as a service\n"
+msgstr ""
+" -e QUELLE Ereignisquelle fürs Loggen, wenn als Systemdienst\n"
+" gestartet\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr " -s, --silent nur Fehler zeigen, keine Informationsmeldungen\n"
+
+#: pg_ctl.c:1991
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr " -t, --timeout=SEK Sekunden zu warten bei Option -w\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr " -V, --version Versionsinformationen anzeigen, dann beenden\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr " -w, --wait warten bis Operation abgeschlossen ist (Voreinstellung)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr " -W, --no-wait nicht warten bis Operation abgeschlossen ist\n"
+
+#: pg_ctl.c:1995
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr " -?, --help diese Hilfe anzeigen, dann beenden\n"
+
+#: pg_ctl.c:1996
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr ""
+"Wenn die Option -D weggelassen wird, dann wird die Umgebungsvariable\n"
+"PGDATA verwendet.\n"
+
+#: pg_ctl.c:1998
+#, c-format
+msgid ""
+"\n"
+"Options for start or restart:\n"
+msgstr ""
+"\n"
+"Optionen für Start oder Neustart:\n"
+
+#: pg_ctl.c:2000
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr " -c, --core-files erlaubt postgres Core-Dateien zu erzeugen\n"
+
+#: pg_ctl.c:2002
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr " -c, --core-files betrifft diese Plattform nicht\n"
+
+#: pg_ctl.c:2004
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr ""
+" -l, --log=DATEINAME Serverlog in DATEINAME schreiben (wird an bestehende\n"
+" Datei angehängt)\n"
+
+#: pg_ctl.c:2005
+#, c-format
+msgid ""
+" -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr ""
+" -o, --options=OPTIONEN Kommandozeilenoptionen für postgres (PostgreSQL-\n"
+" Serverprogramm) oder initdb\n"
+
+#: pg_ctl.c:2007
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr " -p PFAD-ZU-POSTGRES normalerweise nicht notwendig\n"
+
+#: pg_ctl.c:2008
+#, c-format
+msgid ""
+"\n"
+"Options for stop or restart:\n"
+msgstr ""
+"\n"
+"Optionen für Anhalten oder Neustart:\n"
+
+#: pg_ctl.c:2009
+#, c-format
+msgid " -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr " -m, --mode=MODUS MODUS kann »smart«, »fast« oder »immediate« sein\n"
+
+#: pg_ctl.c:2011
+#, c-format
+msgid ""
+"\n"
+"Shutdown modes are:\n"
+msgstr ""
+"\n"
+"Shutdown-Modi sind:\n"
+
+#: pg_ctl.c:2012
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr " smart beenden nachdem alle Clientverbindungen geschlossen sind\n"
+
+#: pg_ctl.c:2013
+#, c-format
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr " fast sofort beenden, mit richtigem Shutdown (Voreinstellung)\n"
+
+#: pg_ctl.c:2014
+#, c-format
+msgid " immediate quit without complete shutdown; will lead to recovery on restart\n"
+msgstr ""
+" immediate beenden ohne vollständigen Shutdown; führt zu Recovery-Lauf\n"
+" beim Neustart\n"
+
+#: pg_ctl.c:2016
+#, c-format
+msgid ""
+"\n"
+"Allowed signal names for kill:\n"
+msgstr ""
+"\n"
+"Erlaubte Signalnamen für »kill«:\n"
+
+#: pg_ctl.c:2020
+#, c-format
+msgid ""
+"\n"
+"Options for register and unregister:\n"
+msgstr ""
+"\n"
+"Optionen für »register« und »unregister«:\n"
+
+#: pg_ctl.c:2021
+#, c-format
+msgid " -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr " -N DIENSTNAME Systemdienstname für Registrierung des PostgreSQL-Servers\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr " -P PASSWORD Passwort des Benutzers für Registrierung des PostgreSQL-Servers\n"
+
+#: pg_ctl.c:2023
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr " -U USERNAME Benutzername für Registrierung des PostgreSQL-Servers\n"
+
+#: pg_ctl.c:2024
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr " -S STARTTYP Systemdienst-Starttyp für PostgreSQL-Server\n"
+
+#: pg_ctl.c:2026
+#, c-format
+msgid ""
+"\n"
+"Start types are:\n"
+msgstr ""
+"\n"
+"Starttypen sind:\n"
+
+#: pg_ctl.c:2027
+#, c-format
+msgid " auto start service automatically during system startup (default)\n"
+msgstr ""
+" auto Dienst automatisch starten beim Start des Betriebssystems\n"
+" (Voreinstellung)\n"
+
+#: pg_ctl.c:2028
+#, c-format
+msgid " demand start service on demand\n"
+msgstr " demand Dienst bei Bedarf starten\n"
+
+#: pg_ctl.c:2031
+#, c-format
+msgid ""
+"\n"
+"Report bugs to <%s>.\n"
+msgstr ""
+"\n"
+"Berichten Sie Fehler an <%s>.\n"
+
+#: pg_ctl.c:2032
+#, c-format
+msgid "%s home page: <%s>\n"
+msgstr "%s Homepage: <%s>\n"
+
+#: pg_ctl.c:2057
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "%s: unbekannter Shutdown-Modus »%s«\n"
+
+#: pg_ctl.c:2086
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "%s: unbekannter Signalname »%s«\n"
+
+#: pg_ctl.c:2103
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "%s: unbekannter Starttyp »%s«\n"
+
+#: pg_ctl.c:2159
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "%s: konnte das Datenverzeichnis mit Befehl »%s« nicht ermitteln\n"
+
+#: pg_ctl.c:2182
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "%s: Kontrolldatei scheint kaputt zu sein\n"
+
+#: pg_ctl.c:2250
+#, c-format
+msgid ""
+"%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr ""
+"%s: kann nicht als root ausgeführt werden\n"
+"Bitte loggen Sie sich (z.B. mit »su«) als der (unprivilegierte) Benutzer\n"
+"ein, der Eigentümer des Serverprozesses sein soll.\n"
+
+#: pg_ctl.c:2333
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "%s: Option -S wird auf dieser Plattform nicht unterstützt\n"
+
+#: pg_ctl.c:2370
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "%s: zu viele Kommandozeilenargumente (das erste ist »%s«)\n"
+
+#: pg_ctl.c:2396
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "%s: fehlende Argumente für »kill«-Modus\n"
+
+#: pg_ctl.c:2414
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "%s: unbekannter Operationsmodus »%s«\n"
+
+#: pg_ctl.c:2424
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "%s: keine Operation angegeben\n"
+
+#: pg_ctl.c:2445
+#, c-format
+msgid "%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr "%s: kein Datenbankverzeichnis angegeben und Umgebungsvariable PGDATA nicht gesetzt\n"
diff --git a/src/bin/pg_ctl/po/el.po b/src/bin/pg_ctl/po/el.po
new file mode 100644
index 0000000..69fbd60
--- /dev/null
+++ b/src/bin/pg_ctl/po/el.po
@@ -0,0 +1,869 @@
+# Greek message translation file for pg_ctl
+# Copyright (C) 2021 PostgreSQL Global Development Group
+# This file is distributed under the same license as the pg_ctl (PostgreSQL) package.
+# Georgios Kokolatos <gkokolatos@pm.me>, 2021
+#
+#
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: pg_ctl (PostgreSQL) 15\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
+"POT-Creation-Date: 2023-08-14 23:18+0000\n"
+"PO-Revision-Date: 2023-08-15 13:37+0200\n"
+"Last-Translator: Georgios Kokolatos <gkokolatos@pm.me>\n"
+"Language-Team: \n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Poedit 3.3.2\n"
+
+#: ../../common/exec.c:172
+#, c-format
+msgid "invalid binary \"%s\": %m"
+msgstr "μη έγκυρο δυαδικό αρχείο «%s»: %m"
+
+#: ../../common/exec.c:215
+#, c-format
+msgid "could not read binary \"%s\": %m"
+msgstr "δεν ήταν δυνατή η ανάγνωση του δυαδικού αρχείου «%s»: %m"
+
+#: ../../common/exec.c:223
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "δεν βρέθηκε το αρχείο «%s» για να εκτελεστεί"
+
+#: ../../common/exec.c:250
+#, c-format
+msgid "could not resolve path \"%s\" to absolute form: %m"
+msgstr "δεν δύναται η επίλυση διαδρομής «%s» σε απόλυτη μορφή: %m"
+
+#: ../../common/exec.c:412
+#, c-format
+msgid "%s() failed: %m"
+msgstr "%s() απέτυχε: %m"
+
+#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687
+msgid "out of memory"
+msgstr "έλλειψη μνήμης"
+
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161
+#: ../../port/path.c:753 ../../port/path.c:791 ../../port/path.c:808
+#, c-format
+msgid "out of memory\n"
+msgstr "έλλειψη μνήμης\n"
+
+#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "δεν ήταν δυνατή η αντιγραφή δείκτη null (εσωτερικό σφάλμα)\n"
+
+#: ../../common/wait_error.c:55
+#, c-format
+msgid "command not executable"
+msgstr "εντολή μη εκτελέσιμη"
+
+#: ../../common/wait_error.c:59
+#, c-format
+msgid "command not found"
+msgstr "εντολή δεν βρέθηκε"
+
+#: ../../common/wait_error.c:64
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "απόγονος διεργασίας τερμάτισε με κωδικό εξόδου %d"
+
+#: ../../common/wait_error.c:72
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "απόγονος διεργασίας τερματίστηκε με εξαίρεση 0x%X"
+
+#: ../../common/wait_error.c:76
+#, c-format
+msgid "child process was terminated by signal %d: %s"
+msgstr "απόγονος διεργασίας τερματίστηκε με σήμα %d: %s"
+
+#: ../../common/wait_error.c:82
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "απόγονος διεργασίας τερμάτισε με μη αναγνωρίσιμη κατάσταση %d"
+
+#: ../../port/path.c:775
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "δεν ήταν δυνατή η επεξεργασία του τρέχοντος καταλόγου εργασίας: %s\n"
+
+#: pg_ctl.c:255
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "%s: ο κατάλογος «%s» δεν υπάρχει\n"
+
+#: pg_ctl.c:258
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s: δεν ήταν δυνατή η πρόσβαση στον κατάλογο «%s»: %s\n"
+
+#: pg_ctl.c:271
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "%s: ο κατάλογος «%s» δεν είναι κατάλογος συστάδας βάσης δεδομένων\n"
+
+#: pg_ctl.c:284
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "%s: δεν ήταν δυνατό το άνοιγμα αρχείου PID «%s»: %s\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "%s: το αρχείο PID «%s» είναι άδειο\n"
+
+#: pg_ctl.c:296
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "%s: μη έγκυρα δεδομένα στο αρχείο PID «%s»\n"
+
+#: pg_ctl.c:458 pg_ctl.c:500
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "%s: δεν μπόρεσε να εκκινήσει τον διακομιστή: %s\n"
+
+#: pg_ctl.c:478
+#, c-format
+msgid "%s: could not start server due to setsid() failure: %s\n"
+msgstr "%s: δεν ήταν δυνατή η εκκίνηση του διακομιστή λόγω αποτυχίας του setsid(): %s\n"
+
+#: pg_ctl.c:548
+#, c-format
+msgid "%s: could not open log file \"%s\": %s\n"
+msgstr "%s: δεν ήταν δυνατό το άνοιγμα του αρχείου καταγραφής «%s»: %s\n"
+
+#: pg_ctl.c:565
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "%s: δεν ήταν δυνατή η εκκίνηση διακομιστή: κωδικός σφάλματος %lu\n"
+
+#: pg_ctl.c:782
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr "%s: δεν είναι δυνατός ο ορισμός ορίου μεγέθους αρχείου πυρήνα· απαγορεύεται από το σκληρό όριο\n"
+
+#: pg_ctl.c:808
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "%s: δεν ήταν δυνατή η ανάγνωση αρχείου «%s»\n"
+
+#: pg_ctl.c:813
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "%s: το αρχείο επιλογής «%s» πρέπει να έχει ακριβώς μία γραμμή\n"
+
+#: pg_ctl.c:855 pg_ctl.c:1039 pg_ctl.c:1107
+#, c-format
+msgid "%s: could not send stop signal (PID: %d): %s\n"
+msgstr "%s: δεν ήταν δυνατή η αποστολή σήματος διακοπής (PID: %d): %s\n"
+
+#: pg_ctl.c:883
+#, c-format
+msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"\n"
+msgstr "το πρόγραμμα «%s» χρειάζεται από %s αλλά δεν βρέθηκε στον ίδιο κατάλογο με το «%s»\n"
+
+#: pg_ctl.c:886
+#, c-format
+msgid "program \"%s\" was found by \"%s\" but was not the same version as %s\n"
+msgstr "το πρόγραμμα «%s» βρέθηκε από το «%s» αλλά δεν ήταν η ίδια έκδοση με το %s\n"
+
+#: pg_ctl.c:918
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "%s: αρχικοποίηση του συστήματος βάσης δεδομένων απέτυχε\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr "%s: ενδέχεται να εκτελείται ένας άλλος διακομιστής· γίνεται προσπάθεια εκκίνησης του διακομιστή ούτως ή άλλως\n"
+
+#: pg_ctl.c:981
+msgid "waiting for server to start..."
+msgstr "αναμονή για την εκκίνηση του διακομιστή..."
+
+#: pg_ctl.c:986 pg_ctl.c:1063 pg_ctl.c:1126 pg_ctl.c:1238
+msgid " done\n"
+msgstr " ολοκλήρωση\n"
+
+#: pg_ctl.c:987
+msgid "server started\n"
+msgstr "ο διακομιστής ξεκίνησε\n"
+
+#: pg_ctl.c:990 pg_ctl.c:996 pg_ctl.c:1243
+msgid " stopped waiting\n"
+msgstr " διακοπή αναμονής\n"
+
+#: pg_ctl.c:991
+#, c-format
+msgid "%s: server did not start in time\n"
+msgstr "%s: ο διακομιστής δεν ξεκίνησε εγκαίρως\n"
+
+#: pg_ctl.c:997
+#, c-format
+msgid ""
+"%s: could not start server\n"
+"Examine the log output.\n"
+msgstr ""
+"%s: δεν ήταν δυνατή η εκκίνηση του διακομιστή\n"
+"Εξετάστε την έξοδο του αρχείου καταγραφής.\n"
+
+#: pg_ctl.c:1005
+msgid "server starting\n"
+msgstr "εκκίνηση διακομιστή\n"
+
+#: pg_ctl.c:1024 pg_ctl.c:1083 pg_ctl.c:1147 pg_ctl.c:1186 pg_ctl.c:1267
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "%s: το αρχείο PID «%s» δεν υπάρχει\n"
+
+#: pg_ctl.c:1025 pg_ctl.c:1085 pg_ctl.c:1148 pg_ctl.c:1187 pg_ctl.c:1268
+msgid "Is server running?\n"
+msgstr "Εκτελείται ο διακομιστής;\n"
+
+#: pg_ctl.c:1031
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %d)\n"
+msgstr "%s: δεν είναι δυνατή η διακοπή του διακομιστή· εκτελείται διακομιστής μοναδικού-χρήστη (PID: %d)\n"
+
+#: pg_ctl.c:1046
+msgid "server shutting down\n"
+msgstr "τερματισμός λειτουργίας διακομιστή\n"
+
+#: pg_ctl.c:1051 pg_ctl.c:1112
+msgid "waiting for server to shut down..."
+msgstr "αναμονή για τερματισμό λειτουργίας του διακομιστή..."
+
+#: pg_ctl.c:1055 pg_ctl.c:1117
+msgid " failed\n"
+msgstr " απέτυχε.\n"
+
+#: pg_ctl.c:1057 pg_ctl.c:1119
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "%s: ο διακομιστής δεν τερματίζεται\n"
+
+#: pg_ctl.c:1059 pg_ctl.c:1121
+msgid ""
+"HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr ""
+"HINT: Η επιλογή \"-m fast\" αποσυνδέει αμέσως τις συνεδρίες αντί\n"
+"να αναμένει για εκ’ συνεδρίας εκκινούμενη αποσύνδεση.\n"
+
+#: pg_ctl.c:1065 pg_ctl.c:1127
+msgid "server stopped\n"
+msgstr "ο διακομιστής διακόπηκε\n"
+
+#: pg_ctl.c:1086
+msgid "trying to start server anyway\n"
+msgstr "προσπάθεια εκκίνησης του διακομιστή ούτως ή άλλως\n"
+
+#: pg_ctl.c:1095
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %d)\n"
+msgstr "%s: δεν είναι δυνατή η επανεκκίνηση του διακομιστή· εκτελείται διακομιστής μοναδικού-χρήστη (PID: %d)\n"
+
+#: pg_ctl.c:1098 pg_ctl.c:1157
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "Τερματίστε το διακομιστή μοναδικού-χρήστη και προσπαθήστε ξανά.\n"
+
+#: pg_ctl.c:1131
+#, c-format
+msgid "%s: old server process (PID: %d) seems to be gone\n"
+msgstr "%s: παλεά διαδικασία διακομιστή (PID: %d) φαίνεται να έχει χαθεί\n"
+
+#: pg_ctl.c:1133
+msgid "starting server anyway\n"
+msgstr "εκκίνηση του διακομιστή ούτως ή άλλως\n"
+
+#: pg_ctl.c:1154
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %d)\n"
+msgstr "%s: δεν είναι δυνατή η επαναφόρτωση του διακομιστή· εκτελείται διακομιστής μοναδικού-χρήστη (PID: %d)\n"
+
+#: pg_ctl.c:1163
+#, c-format
+msgid "%s: could not send reload signal (PID: %d): %s\n"
+msgstr "%s: δεν ήταν δυνατή η αποστολή σήματος επαναφόρτωσης (PID: %d): %s\n"
+
+#: pg_ctl.c:1168
+msgid "server signaled\n"
+msgstr "στάλθηκε σήμα στον διακομιστή\n"
+
+#: pg_ctl.c:1193
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %d)\n"
+msgstr "%s: δεν είναι δυνατή η προβίβαση του διακομιστή· εκτελείται διακομιστής μοναδικού-χρήστη (PID: %d)\n"
+
+#: pg_ctl.c:1201
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr "%s: δεν είναι δυνατή η προβίβαση του διακομιστή· ο διακομιστής δεν βρίσκεται σε κατάσταση αναμονής\n"
+
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "%s: δεν ήταν δυνατή η δημιουργία του αρχείου σήματος προβιβασμού «%s»: %s\n"
+
+#: pg_ctl.c:1217
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "%s: δεν ήταν δυνατή η εγγραφή του αρχείου σήματος προβιβασμού «%s»: %s\n"
+
+#: pg_ctl.c:1225
+#, c-format
+msgid "%s: could not send promote signal (PID: %d): %s\n"
+msgstr "%s: δεν ήταν δυνατή η αποστολή σήματος προβιβασμού (PID: %d): %s\n"
+
+#: pg_ctl.c:1228
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s: δεν ήταν δυνατή η κατάργηση του αρχείου σήματος προβιβασμού «%s»: %s\n"
+
+#: pg_ctl.c:1235
+msgid "waiting for server to promote..."
+msgstr "αναμονή για την προβίβαση του διακομιστή..."
+
+#: pg_ctl.c:1239
+msgid "server promoted\n"
+msgstr "ο διακομιστής προβιβάστηκε\n"
+
+#: pg_ctl.c:1244
+#, c-format
+msgid "%s: server did not promote in time\n"
+msgstr "%s: ο διακομιστής δεν προβιβάστηκε εγκαίρως\n"
+
+#: pg_ctl.c:1250
+msgid "server promoting\n"
+msgstr "προβίβαση διακομιστή\n"
+
+#: pg_ctl.c:1274
+#, c-format
+msgid "%s: cannot rotate log file; single-user server is running (PID: %d)\n"
+msgstr "%s: δεν είναι δυνατή η περιστροφή του αρχείου καταγραφής· εκτελείται διακομιστής μοναδικού-χρήστη (PID: %d)\n"
+
+#: pg_ctl.c:1284
+#, c-format
+msgid "%s: could not create log rotation signal file \"%s\": %s\n"
+msgstr "%s: δεν ήταν δυνατή η δημιουργία αρχείου σήματος περιστροφής αρχείου καταγραφής «%s»: %s\n"
+
+#: pg_ctl.c:1290
+#, c-format
+msgid "%s: could not write log rotation signal file \"%s\": %s\n"
+msgstr "%s: δεν ήταν δυνατή η εγγραφή του αρχείου σήματος περιστροφής αρχείου καταγραφής «%s»: %s\n"
+
+#: pg_ctl.c:1298
+#, c-format
+msgid "%s: could not send log rotation signal (PID: %d): %s\n"
+msgstr "%s: δεν ήταν δυνατή η αποστολή σήματος περιστροφής αρχείου καταγραφής (PID: %d): %s\n"
+
+#: pg_ctl.c:1301
+#, c-format
+msgid "%s: could not remove log rotation signal file \"%s\": %s\n"
+msgstr "%s: δεν ήταν δυνατή η κατάργηση του αρχείου σήματος περιστροφής αρχείου καταγραφής «%s»: %s\n"
+
+#: pg_ctl.c:1306
+msgid "server signaled to rotate log file\n"
+msgstr "ο διακομιστής έλαβε σήμα για την περιστροφή του αρχείου καταγραφής\n"
+
+#: pg_ctl.c:1353
+#, c-format
+msgid "%s: single-user server is running (PID: %d)\n"
+msgstr "%s: εκτελείται διακομιστής μοναδικού-χρήστη (PID: %d)\n"
+
+#: pg_ctl.c:1367
+#, c-format
+msgid "%s: server is running (PID: %d)\n"
+msgstr "%s: εκτελείται διακομιστής (PID: %d)\n"
+
+#: pg_ctl.c:1383
+#, c-format
+msgid "%s: no server running\n"
+msgstr "%s: δεν εκτελείται κανένας διακομιστής\n"
+
+#: pg_ctl.c:1400
+#, c-format
+msgid "%s: could not send signal %d (PID: %d): %s\n"
+msgstr "%s: δεν ήταν δυνατή η αποστολή %d σήματος (PID: %d): %s\n"
+
+#: pg_ctl.c:1431
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s: δεν ήταν δυνατή η εύρεση του ιδίου εκτελέσιμου προγράμματος\n"
+
+#: pg_ctl.c:1441
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "%s: δεν ήταν δυνατή η εύρεση του εκτελέσιμου προγράμματος postgres\n"
+
+#: pg_ctl.c:1511 pg_ctl.c:1545
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "%s: δεν ήταν δυνατό το άνοιγμα του διαχειριστή υπηρεσιών\n"
+
+#: pg_ctl.c:1517
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "%s: η υπηρεσία «%s» έχει ήδη καταχωρηθεί\n"
+
+#: pg_ctl.c:1528
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "%s: δεν ήταν δυνατή η καταχώρηση της υπηρεσίας «%s»: κωδικός σφάλματος %lu\n"
+
+#: pg_ctl.c:1551
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "%s: η υπηρεσία «%s» δεν έχει καταχωρηθεί\n"
+
+#: pg_ctl.c:1558
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "%s: δεν ήταν δυνατό το άνοιγμα της υπηρεσίας «%s»: κωδικός σφάλματος %lu\n"
+
+#: pg_ctl.c:1567
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "%s: δεν ήταν δυνατή η διαγραφή καταχώρησης της υπηρεσίας «%s»: κωδικός σφάλματος %lu\n"
+
+#: pg_ctl.c:1654
+msgid "Waiting for server startup...\n"
+msgstr "Αναμονή για εκκίνηση διακομιστή...\n"
+
+#: pg_ctl.c:1657
+msgid "Timed out waiting for server startup\n"
+msgstr "Λήξη χρονικού ορίου αναμονής για εκκίνηση διακομιστή\n"
+
+#: pg_ctl.c:1661
+msgid "Server started and accepting connections\n"
+msgstr "Ο διακομιστής ξεκίνησε και αποδέχτηκε συνδέσεις\n"
+
+#: pg_ctl.c:1716
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "%s: δεν ήταν δυνατή η εκκίνηση της υπηρεσίας «%s»: κωδικός σφάλματος %lu\n"
+
+#: pg_ctl.c:1789
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "%s: δεν ήταν δυνατό το άνοιγμα διακριτικού διεργασίας: κωδικός σφάλματος %lu\n"
+
+#: pg_ctl.c:1803
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "%s: δεν ήταν δυνατή η εκχώρηση SIDs: κωδικός σφάλματος %lu\n"
+
+#: pg_ctl.c:1829
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "%s: δεν ήταν δυνατή η δημιουργία περιορισμένου διακριτικού: κωδικός σφάλματος %lu\n"
+
+#: pg_ctl.c:1911
+#, c-format
+msgid "%s: could not get LUIDs for privileges: error code %lu\n"
+msgstr "%s: δεν ήταν δυνατή η ανάκτηση LUIDs για δικαιώματα: κωδικός σφάλματος %lu\n"
+
+#: pg_ctl.c:1919 pg_ctl.c:1934
+#, c-format
+msgid "%s: could not get token information: error code %lu\n"
+msgstr "%s: δεν ήταν δυνατή η ανάκτηση πληροφοριών διακριτικού: κωδικός σφάλματος %lu\n"
+
+#: pg_ctl.c:1928
+#, c-format
+msgid "%s: out of memory\n"
+msgstr "%s: έλλειψη μνήμης\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "Δοκιμάστε «%s --help» για περισσότερες πληροφορίες.\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid ""
+"%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n"
+"\n"
+msgstr ""
+"%s είναι ένα βοηθητικό πρόγραμμα για την αρχικοποίηση, την εκκίνηση, τη διακοπή ή τον έλεγχο ενός διακομιστή PostgreSQL.\n"
+"\n"
+
+#: pg_ctl.c:1967
+#, c-format
+msgid "Usage:\n"
+msgstr "Χρήση:\n"
+
+#: pg_ctl.c:1968
+#, c-format
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+
+#: pg_ctl.c:1969
+#, c-format
+msgid ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+"\n"
+
+#: pg_ctl.c:1971
+#, c-format
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr ""
+" %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+"\n"
+
+#: pg_ctl.c:1972
+#, c-format
+msgid ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+
+#: pg_ctl.c:1974
+#, c-format
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D DATADIR] [-s]\n"
+
+#: pg_ctl.c:1975
+#, c-format
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D DATADIR]\n"
+
+#: pg_ctl.c:1976
+#, c-format
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+
+#: pg_ctl.c:1977
+#, c-format
+msgid " %s logrotate [-D DATADIR] [-s]\n"
+msgstr " %s logrotate [-D DATADIR] [-s]\n"
+
+#: pg_ctl.c:1978
+#, c-format
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill SIGNALNAME PID\n"
+
+#: pg_ctl.c:1980
+#, c-format
+msgid ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+msgstr ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N SERVICENAME]\n"
+
+#: pg_ctl.c:1985
+#, c-format
+msgid ""
+"\n"
+"Common options:\n"
+msgstr ""
+"\n"
+"Κοινές επιλογές:\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr " [-D, --pgdata=]DATADIR τοποθεσία για τη περιοχή αποθήκευσης της βάσης δεδομένων\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid " -e SOURCE event source for logging when running as a service\n"
+msgstr " -e SOURCE πηγή προέλευσης συμβάντων για καταγραφή κατά την εκτέλεση ως υπηρεσία\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr " -s, --silent εκτύπωση μόνο σφαλμάτων, χωρίς ενημερωτικά μηνύματα\n"
+
+#: pg_ctl.c:1991
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr " -t, --timeout=SECS δευτερόλεπτα αναμονής κατά τη χρήση της επιλογής -w\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr " -V, --version εμφάνισε πληροφορίες έκδοσης, στη συνέχεια έξοδος\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr " -w, --wait περίμενε μέχρι να ολοκληρωθεί η λειτουργία (προεπιλογή)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr " -W, --no-wait να μην περιμένει μέχρι να ολοκληρωθεί η λειτουργία\n"
+
+#: pg_ctl.c:1995
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr " -?, --help εμφάνισε αυτό το μήνυμα βοήθειας, στη συνέχεια έξοδος\n"
+
+#: pg_ctl.c:1996
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr "Εάν παραλειφθεί η επιλογή -D, χρησιμοποιείται η μεταβλητή περιβάλλοντος PGDATA.\n"
+
+#: pg_ctl.c:1998
+#, c-format
+msgid ""
+"\n"
+"Options for start or restart:\n"
+msgstr ""
+"\n"
+"Επιλογές για έναρξη ή επανεκκίνηση:\n"
+
+#: pg_ctl.c:2000
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr " -c, --core-files επίτρεψε στην postgres να παράγει αρχεία αποτύπωσης μνήμης\n"
+
+#: pg_ctl.c:2002
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr " -c, --core-files ανεφάρμοστο σε αυτήν την πλατφόρμα\n"
+
+#: pg_ctl.c:2004
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr " -l, --log=FILENAME ενέγραψε (ή προσάρτησε) το αρχείο καταγραφής διακομιστή στο FILENAME\n"
+
+#: pg_ctl.c:2005
+#, c-format
+msgid ""
+" -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr ""
+" -o, --options=OPTIONS επιλογές γραμμής εντολών που θα διαβιστούν στη postgres\n"
+" (εκτελέσιμο αρχείο διακομιστή PostgreSQL) ή initdb\n"
+
+#: pg_ctl.c:2007
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr " -p PATH-TO-POSTGRES κανονικά δεν είναι απαραίτητο\n"
+
+#: pg_ctl.c:2008
+#, c-format
+msgid ""
+"\n"
+"Options for stop or restart:\n"
+msgstr ""
+"\n"
+"Επιλογές διακοπής ή επανεκκίνησης:\n"
+
+#: pg_ctl.c:2009
+#, c-format
+msgid " -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr " -m, --mode=MODE MODE μπορεί να είνα «smart», «fast», ή «immediate»\n"
+
+#: pg_ctl.c:2011
+#, c-format
+msgid ""
+"\n"
+"Shutdown modes are:\n"
+msgstr ""
+"\n"
+"Οι λειτουργίες τερματισμού λειτουργίας είναι:\n"
+
+#: pg_ctl.c:2012
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr " smart διάκοψε μετά την αποσύνδεση όλων των πελατών\n"
+
+#: pg_ctl.c:2013
+#, c-format
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr " fast διάκοψε απευθείας, με σωστό τερματισμό (προεπιλογή)\n"
+
+#: pg_ctl.c:2014
+#, c-format
+msgid " immediate quit without complete shutdown; will lead to recovery on restart\n"
+msgstr " immediate διάκοψε άμεσα χωρίς πλήρη τερματισμό· Θα οδηγήσει σε αποκατάσταση κατά την επανεκκίνηση\n"
+
+#: pg_ctl.c:2016
+#, c-format
+msgid ""
+"\n"
+"Allowed signal names for kill:\n"
+msgstr ""
+"\n"
+"Επιτρεπόμενα ονόματα σημάτων για θανάτωση:\n"
+
+#: pg_ctl.c:2020
+#, c-format
+msgid ""
+"\n"
+"Options for register and unregister:\n"
+msgstr ""
+"\n"
+"Επιλογές καταχώρησης και διαγραφής καταχώρησης:\n"
+
+#: pg_ctl.c:2021
+#, c-format
+msgid " -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr " -N SERVICENAME όνομα υπηρεσίας με το οποίο θα καταχωρηθεί ο διακομιστής PostgreSQL\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr " -P PASSWORD κωδικός πρόσβασης του λογαριασμού για την καταγραφή του διακομιστή PostgreSQL\n"
+
+#: pg_ctl.c:2023
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr " -U USERNAME όνομα χρήστη του λογαριασμού για την καταγραφή του διακομιστή PostgreSQL\n"
+
+#: pg_ctl.c:2024
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr " -S START-TYPE τύπος έναρξης υπηρεσίας για την καταχώρηση διακομιστή PostgreSQL\n"
+
+#: pg_ctl.c:2026
+#, c-format
+msgid ""
+"\n"
+"Start types are:\n"
+msgstr ""
+"\n"
+"Οι τύποι έναρξης είναι:\n"
+
+#: pg_ctl.c:2027
+#, c-format
+msgid " auto start service automatically during system startup (default)\n"
+msgstr " auto αυτόματη εκκίνηση της υπηρεσίας κατά την εκκίνηση του συστήματος (προεπιλογή)\n"
+
+#: pg_ctl.c:2028
+#, c-format
+msgid " demand start service on demand\n"
+msgstr " demand έναρξη υπηρεσίας κατ' απαίτηση\n"
+
+#: pg_ctl.c:2031
+#, c-format
+msgid ""
+"\n"
+"Report bugs to <%s>.\n"
+msgstr ""
+"\n"
+"Υποβάλετε αναφορές σφάλματων σε <%s>.\n"
+
+#: pg_ctl.c:2032
+#, c-format
+msgid "%s home page: <%s>\n"
+msgstr "%s αρχική σελίδα: <%s>\n"
+
+#: pg_ctl.c:2057
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "%s: μη αναγνωρισμένη λειτουργία τερματισμού λειτουργίας «%s»\n"
+
+#: pg_ctl.c:2086
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "%s: μη αναγνωρισμένο όνομα σήματος «%s»\n"
+
+#: pg_ctl.c:2103
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "%s: μη αναγνωρίσιμος τύπος έναρξης «%s»\n"
+
+#: pg_ctl.c:2159
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "%s: δεν ήταν δυνατός ο προσδιορισμός του καταλόγου δεδομένων με χρήση της εντολής «%s»\n"
+
+#: pg_ctl.c:2182
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "%s: το αρχείο ελέγχου φαίνεται να είναι αλλοιωμένο\n"
+
+#: pg_ctl.c:2250
+#, c-format
+msgid ""
+"%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr ""
+"%s: δεν είναι δυνατή η εκτέλεση ως υπερχρήστης\n"
+"Συνδεθείτε (χρησιμοποιώντας, π.χ. \"su\") ως (μη προνομιούχο) χρήστη που θα\n"
+"να είναι στην κατοχή της η διαδικασία διακομιστή.\n"
+
+#: pg_ctl.c:2333
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "%s: επιλογή -S δεν υποστηρίζεται σε αυτήν την πλατφόρμα\n"
+
+#: pg_ctl.c:2370
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "%s: πάρα πολλές παράμετροι εισόδου από την γραμμή εντολών (η πρώτη είναι η «%s»)\n"
+
+#: pg_ctl.c:2396
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "%s: λείπουν παράμετροι για τη λειτουργία kill\n"
+
+#: pg_ctl.c:2414
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "%s: μη αναγνωρισμένη λειτουργία «%s»\n"
+
+#: pg_ctl.c:2424
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "%s: δεν καθορίστηκε καμία λειτουργία\n"
+
+#: pg_ctl.c:2445
+#, c-format
+msgid "%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr "%s: δεν έχει καθοριστεί κατάλογος βάσης δεδομένων και δεν έχει καθοριστεί μεταβλητή περιβάλλοντος PGDATA\n"
+
+#~ msgid ""
+#~ "The program \"%s\" is needed by %s but was not found in the\n"
+#~ "same directory as \"%s\".\n"
+#~ "Check your installation.\n"
+#~ msgstr ""
+#~ "Το πρόγραμμα «%s» απαιτείται από %s αλλά δεν βρέθηκε στον\n"
+#~ "ίδιο κατάλογο με το «%s».\n"
+#~ "Ελέγξτε την εγκατάστασή σας.\n"
+
+#~ msgid ""
+#~ "The program \"%s\" was found by \"%s\"\n"
+#~ "but was not the same version as %s.\n"
+#~ "Check your installation.\n"
+#~ msgstr ""
+#~ "Το πρόγραμμα «%s» βρέθηκε από το \"%s\"\n"
+#~ "αλλά δεν ήταν στην ίδια έκδοση με %s.\n"
+#~ "Ελέγξτε την εγκατάστασή σας.\n"
+
+#~ msgid ""
+#~ "WARNING: online backup mode is active\n"
+#~ "Shutdown will not complete until pg_stop_backup() is called.\n"
+#~ "\n"
+#~ msgstr ""
+#~ "WARNING: Η λειτουργία δημιουργίας αντιγράφων ασφαλείας σε απευθείας σύνδεση είναι ενεργή\n"
+#~ "Ο τερματισμός λειτουργίας δεν θα ολοκληρωθεί μέχρι να κληθεί pg_stop_backup().\n"
+#~ "\n"
+
+#~ msgid "pclose failed: %m"
+#~ msgstr "απέτυχε η εντολή pclose: %m"
diff --git a/src/bin/pg_ctl/po/es.po b/src/bin/pg_ctl/po/es.po
new file mode 100644
index 0000000..ea82807
--- /dev/null
+++ b/src/bin/pg_ctl/po/es.po
@@ -0,0 +1,862 @@
+# Spanish translation of pg_ctl.
+#
+# Copyright (c) 2004-2021, PostgreSQL Global Development Group
+# This file is distributed under the same license as the PostgreSQL package.
+#
+# Alvaro Herrera <alvherre@alvh.no-ip.org>, 2004-2013
+# Martín Marqués <martin@2ndquadrant.com>, 2013
+# Carlos Chapi <carloswaldo@babelruins.org>, 2021
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: pg_ctl (PostgreSQL) 16\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
+"POT-Creation-Date: 2023-05-22 07:18+0000\n"
+"PO-Revision-Date: 2023-05-22 12:05+0200\n"
+"Last-Translator: Carlos Chapi <carloswaldo@babelruins.org>\n"
+"Language-Team: PgSQL-es-Ayuda <pgsql-es-ayuda@lists.postgresql.org>\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 2.4.2\n"
+
+#: ../../common/exec.c:172
+#, c-format
+msgid "invalid binary \"%s\": %m"
+msgstr "binario «%s» no válido: %m"
+
+#: ../../common/exec.c:215
+#, c-format
+msgid "could not read binary \"%s\": %m"
+msgstr "no se pudo leer el binario «%s»: %m"
+
+#: ../../common/exec.c:223
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "no se pudo encontrar un «%s» para ejecutar"
+
+#: ../../common/exec.c:250
+#, c-format
+msgid "could not resolve path \"%s\" to absolute form: %m"
+msgstr "no se pudo resolver la ruta «%s» a forma absoluta: %m"
+
+#: ../../common/exec.c:412
+#, c-format
+msgid "%s() failed: %m"
+msgstr "%s() falló: %m"
+
+#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687
+msgid "out of memory"
+msgstr "memoria agotada"
+
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161
+#: ../../port/path.c:753 ../../port/path.c:791 ../../port/path.c:808
+#, c-format
+msgid "out of memory\n"
+msgstr "memoria agotada\n"
+
+#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "no se puede duplicar un puntero nulo (error interno)\n"
+
+#: ../../common/wait_error.c:55
+#, c-format
+msgid "command not executable"
+msgstr "la orden no es ejecutable"
+
+#: ../../common/wait_error.c:59
+#, c-format
+msgid "command not found"
+msgstr "orden no encontrada"
+
+#: ../../common/wait_error.c:64
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "el proceso hijo terminó con código de salida %d"
+
+#: ../../common/wait_error.c:72
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "el proceso hijo fue terminado por una excepción 0x%X"
+
+#: ../../common/wait_error.c:76
+#, c-format
+msgid "child process was terminated by signal %d: %s"
+msgstr "el proceso hijo fue terminado por una señal %d: %s"
+
+#: ../../common/wait_error.c:82
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "el proceso hijo terminó con código no reconocido %d"
+
+#: ../../port/path.c:775
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "no se pudo obtener el directorio de trabajo actual: %s\n"
+
+#: pg_ctl.c:255
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "%s: el directorio «%s» no existe\n"
+
+#: pg_ctl.c:258
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s: no se pudo acceder al directorio «%s»: %s\n"
+
+#: pg_ctl.c:271
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "%s: el directorio «%s» no es un directorio de base de datos\n"
+
+#: pg_ctl.c:284
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "%s: no se pudo abrir el archivo de PID «%s»: %s\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "%s: el archivo de PID «%s» está vacío\n"
+
+#: pg_ctl.c:296
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "%s: datos no válidos en archivo de PID «%s»\n"
+
+#: pg_ctl.c:458 pg_ctl.c:500
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "%s: no se pudo iniciar el servidor: %s\n"
+
+#: pg_ctl.c:478
+#, c-format
+msgid "%s: could not start server due to setsid() failure: %s\n"
+msgstr "%s: no se pudo iniciar el servidor debido a falla en setsid(): %s\n"
+
+#: pg_ctl.c:548
+#, c-format
+msgid "%s: could not open log file \"%s\": %s\n"
+msgstr "%s: no se pudo abrir el archivo de log «%s»: %s\n"
+
+#: pg_ctl.c:565
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "%s: no se pudo iniciar el servidor: código de error %lu\n"
+
+#: pg_ctl.c:782
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr ""
+"%s: no se puede establecer el límite de archivos de volcado;\n"
+"impedido por un límite duro\n"
+
+#: pg_ctl.c:808
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "%s: no se pudo leer el archivo «%s»\n"
+
+#: pg_ctl.c:813
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "%s: archivo de opciones «%s» debe tener exactamente una línea\n"
+
+#: pg_ctl.c:855 pg_ctl.c:1039 pg_ctl.c:1107
+#, c-format
+msgid "%s: could not send stop signal (PID: %d): %s\n"
+msgstr "%s: falló la señal de detención (PID: %d): %s\n"
+
+#: pg_ctl.c:883
+#, c-format
+msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"\n"
+msgstr "el programa «%s» es requerido por %s, pero no fue encontrado en el mismo directorio que «%s»\n"
+
+#: pg_ctl.c:886
+#, c-format
+msgid "program \"%s\" was found by \"%s\" but was not the same version as %s\n"
+msgstr "El programa «%s» fue encontrado por «%s», pero no es de la misma versión que %s\n"
+
+#: pg_ctl.c:918
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "%s: falló la creación de la base de datos\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr "%s: otro servidor puede estar en ejecución; tratando de iniciarlo de todas formas.\n"
+
+#: pg_ctl.c:981
+msgid "waiting for server to start..."
+msgstr "esperando que el servidor se inicie..."
+
+#: pg_ctl.c:986 pg_ctl.c:1063 pg_ctl.c:1126 pg_ctl.c:1238
+msgid " done\n"
+msgstr " listo\n"
+
+#: pg_ctl.c:987
+msgid "server started\n"
+msgstr "servidor iniciado\n"
+
+#: pg_ctl.c:990 pg_ctl.c:996 pg_ctl.c:1243
+msgid " stopped waiting\n"
+msgstr " abandonando la espera\n"
+
+#: pg_ctl.c:991
+#, c-format
+msgid "%s: server did not start in time\n"
+msgstr "%s: el servidor no inició a tiempo\n"
+
+#: pg_ctl.c:997
+#, c-format
+msgid ""
+"%s: could not start server\n"
+"Examine the log output.\n"
+msgstr ""
+"%s: no se pudo iniciar el servidor.\n"
+"Examine el registro del servidor.\n"
+
+#: pg_ctl.c:1005
+msgid "server starting\n"
+msgstr "servidor iniciándose\n"
+
+#: pg_ctl.c:1024 pg_ctl.c:1083 pg_ctl.c:1147 pg_ctl.c:1186 pg_ctl.c:1267
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "%s: el archivo de PID «%s» no existe\n"
+
+#: pg_ctl.c:1025 pg_ctl.c:1085 pg_ctl.c:1148 pg_ctl.c:1187 pg_ctl.c:1268
+msgid "Is server running?\n"
+msgstr "¿Está el servidor en ejecución?\n"
+
+#: pg_ctl.c:1031
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %d)\n"
+msgstr ""
+"%s: no se puede detener el servidor;\n"
+"un servidor en modo mono-usuario está en ejecución (PID: %d)\n"
+
+#: pg_ctl.c:1046
+msgid "server shutting down\n"
+msgstr "servidor deteniéndose\n"
+
+#: pg_ctl.c:1051 pg_ctl.c:1112
+msgid "waiting for server to shut down..."
+msgstr "esperando que el servidor se detenga..."
+
+#: pg_ctl.c:1055 pg_ctl.c:1117
+msgid " failed\n"
+msgstr " falló\n"
+
+#: pg_ctl.c:1057 pg_ctl.c:1119
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "%s: el servidor no se detiene\n"
+
+#: pg_ctl.c:1059 pg_ctl.c:1121
+msgid ""
+"HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr ""
+"SUGERENCIA: La opción «-m fast» desconecta las sesiones inmediatamente\n"
+"en lugar de esperar que cada sesión finalice por sí misma.\n"
+
+#: pg_ctl.c:1065 pg_ctl.c:1127
+msgid "server stopped\n"
+msgstr "servidor detenido\n"
+
+#: pg_ctl.c:1086
+msgid "trying to start server anyway\n"
+msgstr "intentando iniciae el servidor de todas maneras\n"
+
+#: pg_ctl.c:1095
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %d)\n"
+msgstr ""
+"%s: no se puede reiniciar el servidor;\n"
+"un servidor en modo mono-usuario está en ejecución (PID: %d)\n"
+
+#: pg_ctl.c:1098 pg_ctl.c:1157
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "Por favor termine el servidor mono-usuario e intente nuevamente.\n"
+
+#: pg_ctl.c:1131
+#, c-format
+msgid "%s: old server process (PID: %d) seems to be gone\n"
+msgstr "%s: el proceso servidor antiguo (PID: %d) parece no estar\n"
+
+#: pg_ctl.c:1133
+msgid "starting server anyway\n"
+msgstr "iniciando el servidor de todas maneras\n"
+
+#: pg_ctl.c:1154
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %d)\n"
+msgstr ""
+"%s: no se puede recargar el servidor;\n"
+"un servidor en modo mono-usuario está en ejecución (PID: %d)\n"
+
+#: pg_ctl.c:1163
+#, c-format
+msgid "%s: could not send reload signal (PID: %d): %s\n"
+msgstr "%s: la señal de recarga falló (PID: %d): %s\n"
+
+#: pg_ctl.c:1168
+msgid "server signaled\n"
+msgstr "se ha enviado una señal al servidor\n"
+
+#: pg_ctl.c:1193
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %d)\n"
+msgstr ""
+"%s: no se puede promover el servidor;\n"
+"un servidor en modo mono-usuario está en ejecución (PID: %d)\n"
+
+#: pg_ctl.c:1201
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr ""
+"%s: no se puede promover el servidor;\n"
+"el servidor no está en modo «standby»\n"
+
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "%s: no se pudo crear el archivo de señal de promoción «%s»: %s\n"
+
+#: pg_ctl.c:1217
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "%s: no se pudo escribir al archivo de señal de promoción «%s»: %s\n"
+
+#: pg_ctl.c:1225
+#, c-format
+msgid "%s: could not send promote signal (PID: %d): %s\n"
+msgstr "%s: no se pudo enviar la señal de promoción (PID: %d): %s\n"
+
+#: pg_ctl.c:1228
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s: no se pudo eliminar el archivo de señal de promoción «%s»: %s\n"
+
+#: pg_ctl.c:1235
+msgid "waiting for server to promote..."
+msgstr "esperando que el servidor se promueva..."
+
+#: pg_ctl.c:1239
+msgid "server promoted\n"
+msgstr "servidor promovido\n"
+
+#: pg_ctl.c:1244
+#, c-format
+msgid "%s: server did not promote in time\n"
+msgstr "%s: el servidor no se promovió a tiempo\n"
+
+#: pg_ctl.c:1250
+msgid "server promoting\n"
+msgstr "servidor promoviendo\n"
+
+#: pg_ctl.c:1274
+#, c-format
+msgid "%s: cannot rotate log file; single-user server is running (PID: %d)\n"
+msgstr "%s: no se puede rotar el archivo de log; un servidor en modo mono-usuario está en ejecución (PID: %d)\n"
+
+#: pg_ctl.c:1284
+#, c-format
+msgid "%s: could not create log rotation signal file \"%s\": %s\n"
+msgstr "%s: no se pudo crear el archivo de señal de rotación de log «%s»: %s\n"
+
+#: pg_ctl.c:1290
+#, c-format
+msgid "%s: could not write log rotation signal file \"%s\": %s\n"
+msgstr "%s: no se pudo escribir al archivo de señal de rotación de log «%s»: %s\n"
+
+#: pg_ctl.c:1298
+#, c-format
+msgid "%s: could not send log rotation signal (PID: %d): %s\n"
+msgstr "%s: no se pudo enviar la señal de rotación de log (PID: %d): %s\n"
+
+#: pg_ctl.c:1301
+#, c-format
+msgid "%s: could not remove log rotation signal file \"%s\": %s\n"
+msgstr "%s: no se pudo eliminar el archivo de señal de rotación de log «%s»: %s\n"
+
+#: pg_ctl.c:1306
+msgid "server signaled to rotate log file\n"
+msgstr "se ha enviado una señal de rotación de log al servidor\n"
+
+#: pg_ctl.c:1353
+#, c-format
+msgid "%s: single-user server is running (PID: %d)\n"
+msgstr "%s: un servidor en modo mono-usuario está en ejecución (PID: %d)\n"
+
+#: pg_ctl.c:1367
+#, c-format
+msgid "%s: server is running (PID: %d)\n"
+msgstr "%s: el servidor está en ejecución (PID: %d)\n"
+
+#: pg_ctl.c:1383
+#, c-format
+msgid "%s: no server running\n"
+msgstr "%s: no hay servidor en ejecución\n"
+
+#: pg_ctl.c:1400
+#, c-format
+msgid "%s: could not send signal %d (PID: %d): %s\n"
+msgstr "%s: no se pudo enviar la señal %d (PID: %d): %s\n"
+
+#: pg_ctl.c:1431
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s: no se pudo encontrar el ejecutable propio\n"
+
+#: pg_ctl.c:1441
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "%s: no se pudo encontrar el ejecutable postgres\n"
+
+#: pg_ctl.c:1511 pg_ctl.c:1545
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "%s: no se pudo abrir el gestor de servicios\n"
+
+#: pg_ctl.c:1517
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "%s: el servicio «%s» ya está registrado\n"
+
+#: pg_ctl.c:1528
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "%s: no se pudo registrar el servicio «%s»: código de error %lu\n"
+
+#: pg_ctl.c:1551
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "%s: el servicio «%s» no ha sido registrado\n"
+
+#: pg_ctl.c:1558
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "%s: no se pudo abrir el servicio «%s»: código de error %lu\n"
+
+#: pg_ctl.c:1567
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "%s: no se pudo dar de baja el servicio «%s»: código de error %lu\n"
+
+#: pg_ctl.c:1654
+msgid "Waiting for server startup...\n"
+msgstr "Esperando que el servidor se inicie...\n"
+
+#: pg_ctl.c:1657
+msgid "Timed out waiting for server startup\n"
+msgstr "Se agotó el tiempo de espera al inicio del servidor\n"
+
+#: pg_ctl.c:1661
+msgid "Server started and accepting connections\n"
+msgstr "Servidor iniciado y aceptando conexiones\n"
+
+#: pg_ctl.c:1716
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "%s: no se pudo iniciar el servicio «%s»: código de error %lu\n"
+
+#: pg_ctl.c:1789
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "%s: no se pudo abrir el token de proceso: código de error %lu\n"
+
+#: pg_ctl.c:1803
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "%s: no se pudo emplazar los SIDs: código de error %lu\n"
+
+#: pg_ctl.c:1829
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "%s: no se pudo crear el token restringido: código de error %lu\n"
+
+#: pg_ctl.c:1911
+#, c-format
+msgid "%s: could not get LUIDs for privileges: error code %lu\n"
+msgstr "%s: no se pudo obtener LUIDs para privilegios: código de error %lu\n"
+
+#: pg_ctl.c:1919 pg_ctl.c:1934
+#, c-format
+msgid "%s: could not get token information: error code %lu\n"
+msgstr "%s: no se pudo obtener información de token: código de error %lu\n"
+
+#: pg_ctl.c:1928
+#, c-format
+msgid "%s: out of memory\n"
+msgstr "%s: memoria agotada\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "Use «%s --help» para obtener más información.\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid ""
+"%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n"
+"\n"
+msgstr ""
+"%s es un programa para inicializar, iniciar, detener o controlar\n"
+"un servidor PostgreSQL.\n"
+"\n"
+
+#: pg_ctl.c:1967
+#, c-format
+msgid "Usage:\n"
+msgstr "Empleo:\n"
+
+#: pg_ctl.c:1968
+#, c-format
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr " %s init[db] [-D DATADIR] [-s] [-o OPCIONES]\n"
+
+#: pg_ctl.c:1969
+#, c-format
+msgid ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr ""
+" %s start [-D DATADIR] [-l ARCHIVO] [-W] [-t SEGS] [-s]\n"
+" [-o OPCIONES] [-p RUTA] [-c]\n"
+
+#: pg_ctl.c:1971
+#, c-format
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr " %s stop [-D DATADIR] [-m MODO-DETENCIÓN] [-W] [-t SEGS] [-s]\n"
+
+#: pg_ctl.c:1972
+#, c-format
+msgid ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr ""
+" %s restart [-D DATADIR] [-m MODO-DETENCIÓN] [-W] [-t SEGS] [-s]\n"
+" [-o OPCIONES]\n"
+
+#: pg_ctl.c:1974
+#, c-format
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D DATADIR] [-s]\n"
+
+#: pg_ctl.c:1975
+#, c-format
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D DATADIR]\n"
+
+#: pg_ctl.c:1976
+#, c-format
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr " %s promote [-D DATADIR] [-W] [-t SEGS] [-s]\n"
+
+#: pg_ctl.c:1977
+#, c-format
+msgid " %s logrotate [-D DATADIR] [-s]\n"
+msgstr " %s logrotate [-D DATADIR] [-s]\n"
+
+#: pg_ctl.c:1978
+#, c-format
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill NOMBRE-SEÑAL ID-DE-PROCESO\n"
+
+#: pg_ctl.c:1980
+#, c-format
+msgid ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+msgstr ""
+" %s register [-D DATADIR] [-N SERVICIO] [-U USUARIO] [-P PASSWORD]\n"
+" [-S TIPO-INICIO] [-e ORIGEN] [-W] [-t SEGS] [-o OPCIONES]\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N SERVICIO]\n"
+
+#: pg_ctl.c:1985
+#, c-format
+msgid ""
+"\n"
+"Common options:\n"
+msgstr ""
+"\n"
+"Opciones comunes:\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr " -D, --pgdata DATADIR ubicación del área de almacenamiento de datos\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid " -e SOURCE event source for logging when running as a service\n"
+msgstr " -e ORIGEN origen para el log de eventos cuando se ejecuta como servicio\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr " -s, --silent mostrar sólo errores, no mensajes de información\n"
+
+#: pg_ctl.c:1991
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr " -t, --timeout=SEGS segundos a esperar cuando se use la opción -w\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr " -V, --version mostrar información de versión, luego salir\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr " -w, --wait esperar hasta que la operación se haya completado (por omisión)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr " -W, --no-wait no esperar hasta que la operación se haya completado\n"
+
+#: pg_ctl.c:1995
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr " -?, --help mostrar esta ayuda, luego salir\n"
+
+#: pg_ctl.c:1996
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr "Si la opción -D es omitida, se usa la variable de ambiente PGDATA.\n"
+
+#: pg_ctl.c:1998
+#, c-format
+msgid ""
+"\n"
+"Options for start or restart:\n"
+msgstr ""
+"\n"
+"Opciones para inicio y reinicio:\n"
+
+#: pg_ctl.c:2000
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr ""
+" -c, --core-files permite que postgres produzca archivos\n"
+" de volcado (core)\n"
+
+#: pg_ctl.c:2002
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr " -c, --core-files no aplicable en esta plataforma\n"
+
+#: pg_ctl.c:2004
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr " -l --log=ARCHIVO guardar el registro del servidor en ARCHIVO.\n"
+
+#: pg_ctl.c:2005
+#, c-format
+msgid ""
+" -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr ""
+" -o, --options=OPCIONES parámetros de línea de órdenes a pasar a postgres\n"
+" (ejecutable del servidor de PostgreSQL) o initdb\n"
+
+#: pg_ctl.c:2007
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr " -p RUTA-A-POSTGRES normalmente no es necesario\n"
+
+#: pg_ctl.c:2008
+#, c-format
+msgid ""
+"\n"
+"Options for stop or restart:\n"
+msgstr ""
+"\n"
+"Opciones para detener o reiniciar:\n"
+
+#: pg_ctl.c:2009
+#, c-format
+msgid " -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr " -m, --mode=MODO puede ser «smart», «fast» o «immediate»\n"
+
+#: pg_ctl.c:2011
+#, c-format
+msgid ""
+"\n"
+"Shutdown modes are:\n"
+msgstr ""
+"\n"
+"Modos de detención son:\n"
+
+#: pg_ctl.c:2012
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr " smart salir después que todos los clientes se hayan desconectado\n"
+
+#: pg_ctl.c:2013
+#, c-format
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr " fast salir directamente, con apagado apropiado (por omisión)\n"
+
+#: pg_ctl.c:2014
+#, c-format
+msgid " immediate quit without complete shutdown; will lead to recovery on restart\n"
+msgstr ""
+" immediate salir sin apagado completo; se ejecutará recuperación\n"
+" en el próximo inicio\n"
+
+#: pg_ctl.c:2016
+#, c-format
+msgid ""
+"\n"
+"Allowed signal names for kill:\n"
+msgstr ""
+"\n"
+"Nombres de señales permitidos para kill:\n"
+
+#: pg_ctl.c:2020
+#, c-format
+msgid ""
+"\n"
+"Options for register and unregister:\n"
+msgstr ""
+"\n"
+"Opciones para registrar y dar de baja:\n"
+
+#: pg_ctl.c:2021
+#, c-format
+msgid " -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr ""
+" -N SERVICIO nombre de servicio con el cual registrar\n"
+" el servidor PostgreSQL\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr ""
+" -P CONTRASEÑA contraseña de la cuenta con la cual registrar\n"
+" el servidor PostgreSQL\n"
+
+#: pg_ctl.c:2023
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr ""
+" -U USUARIO nombre de usuario de la cuenta con la cual\n"
+" registrar el servidor PostgreSQL\n"
+
+#: pg_ctl.c:2024
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr ""
+" -S TIPO-INICIO tipo de inicio de servicio con que registrar\n"
+" el servidor PostgreSQL\n"
+
+#: pg_ctl.c:2026
+#, c-format
+msgid ""
+"\n"
+"Start types are:\n"
+msgstr ""
+"\n"
+"Tipos de inicio del servicio son:\n"
+
+#: pg_ctl.c:2027
+#, c-format
+msgid " auto start service automatically during system startup (default)\n"
+msgstr " auto iniciar automáticamente al inicio del sistema (por omisión)\n"
+
+#: pg_ctl.c:2028
+#, c-format
+msgid " demand start service on demand\n"
+msgstr " demand iniciar el servicio en demanda\n"
+
+#: pg_ctl.c:2031
+#, c-format
+msgid ""
+"\n"
+"Report bugs to <%s>.\n"
+msgstr ""
+"\n"
+"Reporte errores a <%s>.\n"
+
+#: pg_ctl.c:2032
+#, c-format
+msgid "%s home page: <%s>\n"
+msgstr "Sitio web de %s: <%s>\n"
+
+#: pg_ctl.c:2057
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "%s: modo de apagado «%s» no reconocido\n"
+
+#: pg_ctl.c:2086
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "%s: nombre de señal «%s» no reconocido\n"
+
+#: pg_ctl.c:2103
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "%s: tipo de inicio «%s» no reconocido\n"
+
+#: pg_ctl.c:2159
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "%s: no se pudo determinar el directorio de datos usando la orden «%s»\n"
+
+#: pg_ctl.c:2182
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "%s: el archivo de control parece estar corrupto\n"
+
+#: pg_ctl.c:2250
+#, c-format
+msgid ""
+"%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr ""
+"%s: no puede ser ejecutado como «root»\n"
+"Por favor conéctese (usando, por ejemplo, «su») con un usuario no privilegiado,\n"
+"quien ejecutará el proceso servidor.\n"
+
+#: pg_ctl.c:2333
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "%s: la opción -S no está soportada en esta plataforma\n"
+
+#: pg_ctl.c:2370
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "%s: demasiados argumentos de línea de órdenes (el primero es «%s»)\n"
+
+#: pg_ctl.c:2396
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "%s: argumentos faltantes para envío de señal\n"
+
+#: pg_ctl.c:2414
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "%s: modo de operación «%s» no reconocido\n"
+
+#: pg_ctl.c:2424
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "%s: no se especificó operación\n"
+
+#: pg_ctl.c:2445
+#, c-format
+msgid "%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr "%s: no se especificó directorio de datos y la variable PGDATA no está definida\n"
diff --git a/src/bin/pg_ctl/po/fr.po b/src/bin/pg_ctl/po/fr.po
new file mode 100644
index 0000000..f5d95cd
--- /dev/null
+++ b/src/bin/pg_ctl/po/fr.po
@@ -0,0 +1,1013 @@
+# LANGUAGE message translation file for pg_ctl
+# Copyright (C) 2003-2022 PostgreSQL Global Development Group
+# This file is distributed under the same license as the pg_ctl (PostgreSQL) package.
+#
+# Use these quotes: « %s »
+#
+# Guillaume Lelarge <guillaume@lelarge.info>, 2003-2009.
+# Stéphane Schildknecht <stephane.schildknecht@dalibo.com>, 2009.
+# Guillaume Lelarge <guillaume@lelarge.info>, 2010-2022.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: PostgreSQL 15\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
+"POT-Creation-Date: 2023-07-29 09:18+0000\n"
+"PO-Revision-Date: 2023-07-29 22:45+0200\n"
+"Last-Translator: Guillaume Lelarge <guillaume@lelarge.info>\n"
+"Language-Team: French <guillaume@lelarge.info>\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+"X-Generator: Poedit 3.3.2\n"
+
+#: ../../common/exec.c:172
+#, c-format
+msgid "invalid binary \"%s\": %m"
+msgstr "binaire « %s » invalide : %m"
+
+#: ../../common/exec.c:215
+#, c-format
+msgid "could not read binary \"%s\": %m"
+msgstr "n'a pas pu lire le binaire « %s » : %m"
+
+#: ../../common/exec.c:223
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "n'a pas pu trouver un « %s » à exécuter"
+
+#: ../../common/exec.c:250
+#, c-format
+msgid "could not resolve path \"%s\" to absolute form: %m"
+msgstr "n'a pas pu résoudre le chemin « %s » en sa forme absolue : %m"
+
+#: ../../common/exec.c:412
+#, c-format
+msgid "%s() failed: %m"
+msgstr "échec de %s() : %m"
+
+#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687
+msgid "out of memory"
+msgstr "mémoire épuisée"
+
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161
+#: ../../port/path.c:753 ../../port/path.c:791 ../../port/path.c:808
+#, c-format
+msgid "out of memory\n"
+msgstr "mémoire épuisée\n"
+
+#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "ne peut pas dupliquer un pointeur nul (erreur interne)\n"
+
+#: ../../common/wait_error.c:55
+#, c-format
+msgid "command not executable"
+msgstr "commande non exécutable"
+
+#: ../../common/wait_error.c:59
+#, c-format
+msgid "command not found"
+msgstr "commande introuvable"
+
+#: ../../common/wait_error.c:64
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "le processus fils a quitté avec le code de sortie %d"
+
+#: ../../common/wait_error.c:72
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "le processus fils a été terminé par l'exception 0x%X"
+
+#: ../../common/wait_error.c:76
+#, c-format
+msgid "child process was terminated by signal %d: %s"
+msgstr "le processus fils a été terminé par le signal %d : %s"
+
+#: ../../common/wait_error.c:82
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "le processus fils a quitté avec un statut %d non reconnu"
+
+#: ../../port/path.c:775
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "n'a pas pu obtenir le répertoire de travail : %s\n"
+
+#: pg_ctl.c:255
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "%s : le répertoire « %s » n'existe pas\n"
+
+#: pg_ctl.c:258
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s : n'a pas pu accéder au répertoire « %s » : %s\n"
+
+#: pg_ctl.c:271
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "%s : le répertoire « %s » n'est pas un répertoire d'instance\n"
+
+#: pg_ctl.c:284
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "%s : n'a pas pu ouvrir le fichier de PID « %s » : %s\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "%s : le fichier PID « %s » est vide\n"
+
+#: pg_ctl.c:296
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "%s : données invalides dans le fichier de PID « %s »\n"
+
+#: pg_ctl.c:458 pg_ctl.c:500
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "%s : n'a pas pu démarrer le serveur : %s\n"
+
+#: pg_ctl.c:478
+#, c-format
+msgid "%s: could not start server due to setsid() failure: %s\n"
+msgstr "%s : n'a pas pu démarrer le serveur à cause d'un échec de setsid() : %s\n"
+
+#: pg_ctl.c:548
+#, c-format
+msgid "%s: could not open log file \"%s\": %s\n"
+msgstr "%s : n'a pas pu ouvrir le journal applicatif « %s » : %s\n"
+
+#: pg_ctl.c:565
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "%s : n'a pas pu démarrer le serveur : code d'erreur %lu\n"
+
+#: pg_ctl.c:782
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr ""
+"%s : n'a pas pu initialiser la taille des fichiers core, ceci est interdit\n"
+"par une limite dure\n"
+
+#: pg_ctl.c:808
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "%s : n'a pas pu lire le fichier « %s »\n"
+
+#: pg_ctl.c:813
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "%s : le fichier d'options « %s » ne doit comporter qu'une seule ligne\n"
+
+#: pg_ctl.c:855 pg_ctl.c:1039 pg_ctl.c:1107
+#, c-format
+msgid "%s: could not send stop signal (PID: %d): %s\n"
+msgstr "%s : n'a pas pu envoyer le signal d'arrêt (PID : %d) : %s\n"
+
+#: pg_ctl.c:883
+#, c-format
+msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"\n"
+msgstr "le programme « %s » est nécessaire pour %s, mais n'a pas été trouvé dans le même répertoire que « %s »\n"
+
+#: pg_ctl.c:886
+#, c-format
+msgid "program \"%s\" was found by \"%s\" but was not the same version as %s\n"
+msgstr "le programme « %s » a été trouvé par « %s » mais n'est pas de la même version que %s\n"
+
+#: pg_ctl.c:918
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "%s : l'initialisation du système a échoué\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr ""
+"%s : un autre serveur semble en cours d'exécution ; le démarrage du serveur\n"
+"va toutefois être tenté\n"
+
+#: pg_ctl.c:981
+msgid "waiting for server to start..."
+msgstr "en attente du démarrage du serveur..."
+
+#: pg_ctl.c:986 pg_ctl.c:1063 pg_ctl.c:1126 pg_ctl.c:1238
+msgid " done\n"
+msgstr " effectué\n"
+
+#: pg_ctl.c:987
+msgid "server started\n"
+msgstr "serveur démarré\n"
+
+#: pg_ctl.c:990 pg_ctl.c:996 pg_ctl.c:1243
+msgid " stopped waiting\n"
+msgstr " attente arrêtée\n"
+
+#: pg_ctl.c:991
+#, c-format
+msgid "%s: server did not start in time\n"
+msgstr "%s : le serveur ne s'est pas lancé à temps\n"
+
+#: pg_ctl.c:997
+#, c-format
+msgid ""
+"%s: could not start server\n"
+"Examine the log output.\n"
+msgstr ""
+"%s : n'a pas pu démarrer le serveur\n"
+"Examinez le journal applicatif.\n"
+
+#: pg_ctl.c:1005
+msgid "server starting\n"
+msgstr "serveur en cours de démarrage\n"
+
+#: pg_ctl.c:1024 pg_ctl.c:1083 pg_ctl.c:1147 pg_ctl.c:1186 pg_ctl.c:1267
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "%s : le fichier de PID « %s » n'existe pas\n"
+
+#: pg_ctl.c:1025 pg_ctl.c:1085 pg_ctl.c:1148 pg_ctl.c:1187 pg_ctl.c:1268
+msgid "Is server running?\n"
+msgstr "Le serveur est-il en cours d'exécution ?\n"
+
+#: pg_ctl.c:1031
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %d)\n"
+msgstr ""
+"%s : ne peut pas arrêter le serveur ; le serveur mono-utilisateur est en\n"
+"cours d'exécution (PID : %d)\n"
+
+#: pg_ctl.c:1046
+msgid "server shutting down\n"
+msgstr "serveur en cours d'arrêt\n"
+
+#: pg_ctl.c:1051 pg_ctl.c:1112
+msgid "waiting for server to shut down..."
+msgstr "en attente de l'arrêt du serveur..."
+
+#: pg_ctl.c:1055 pg_ctl.c:1117
+msgid " failed\n"
+msgstr " a échoué\n"
+
+#: pg_ctl.c:1057 pg_ctl.c:1119
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "%s : le serveur ne s'est pas arrêté\n"
+
+#: pg_ctl.c:1059 pg_ctl.c:1121
+msgid ""
+"HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr ""
+"ASTUCE : l'option « -m fast » déconnecte immédiatement les sessions plutôt que\n"
+"d'attendre la déconnexion des sessions déjà présentes.\n"
+
+#: pg_ctl.c:1065 pg_ctl.c:1127
+msgid "server stopped\n"
+msgstr "serveur arrêté\n"
+
+#: pg_ctl.c:1086
+msgid "trying to start server anyway\n"
+msgstr "tentative de lancement du serveur malgré tout\n"
+
+#: pg_ctl.c:1095
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %d)\n"
+msgstr ""
+"%s : ne peut pas relancer le serveur ; le serveur mono-utilisateur est en\n"
+"cours d'exécution (PID : %d)\n"
+
+#: pg_ctl.c:1098 pg_ctl.c:1157
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "Merci d'arrêter le serveur mono-utilisateur et de réessayer.\n"
+
+#: pg_ctl.c:1131
+#, c-format
+msgid "%s: old server process (PID: %d) seems to be gone\n"
+msgstr "%s : l'ancien processus serveur (PID : %d) semble être parti\n"
+
+#: pg_ctl.c:1133
+msgid "starting server anyway\n"
+msgstr "lancement du serveur malgré tout\n"
+
+#: pg_ctl.c:1154
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %d)\n"
+msgstr ""
+"%s : ne peut pas recharger le serveur ; le serveur mono-utilisateur est en\n"
+"cours d'exécution (PID : %d)\n"
+
+#: pg_ctl.c:1163
+#, c-format
+msgid "%s: could not send reload signal (PID: %d): %s\n"
+msgstr "%s : n'a pas pu envoyer le signal de rechargement (PID : %d) : %s\n"
+
+#: pg_ctl.c:1168
+msgid "server signaled\n"
+msgstr "envoi d'un signal au serveur\n"
+
+#: pg_ctl.c:1193
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %d)\n"
+msgstr ""
+"%s : ne peut pas promouvoir le serveur ; le serveur mono-utilisateur est en\n"
+"cours d'exécution (PID : %d)\n"
+
+#: pg_ctl.c:1201
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr "%s : ne peut pas promouvoir le serveur ; le serveur n'est pas en standby\n"
+
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "%s : n'a pas pu créer le fichier « %s » signalant la promotion : %s\n"
+
+#: pg_ctl.c:1217
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "%s : n'a pas pu écrire le fichier « %s » signalant la promotion : %s\n"
+
+#: pg_ctl.c:1225
+#, c-format
+msgid "%s: could not send promote signal (PID: %d): %s\n"
+msgstr "%s : n'a pas pu envoyer le signal de promotion (PID : %d) : %s\n"
+
+#: pg_ctl.c:1228
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s : n'a pas pu supprimer le fichier « %s » signalant la promotion : %s\n"
+
+#: pg_ctl.c:1235
+msgid "waiting for server to promote..."
+msgstr "en attente du serveur à promouvoir..."
+
+#: pg_ctl.c:1239
+msgid "server promoted\n"
+msgstr "serveur promu\n"
+
+#: pg_ctl.c:1244
+#, c-format
+msgid "%s: server did not promote in time\n"
+msgstr "%s : le serveur ne s'est pas promu à temps\n"
+
+#: pg_ctl.c:1250
+msgid "server promoting\n"
+msgstr "serveur en cours de promotion\n"
+
+#: pg_ctl.c:1274
+#, c-format
+msgid "%s: cannot rotate log file; single-user server is running (PID: %d)\n"
+msgstr ""
+"%s : ne peut pas faire une rotation de fichier de traces ; le serveur mono-utilisateur est en\n"
+"cours d'exécution (PID : %d)\n"
+
+#: pg_ctl.c:1284
+#, c-format
+msgid "%s: could not create log rotation signal file \"%s\": %s\n"
+msgstr "%s : n'a pas pu créer le fichier « %s » de demande de rotation des fichiers de trace : %s\n"
+
+#: pg_ctl.c:1290
+#, c-format
+msgid "%s: could not write log rotation signal file \"%s\": %s\n"
+msgstr "%s : n'a pas pu écrire le fichier « %s » de demande de rotation des fichiers de trace : %s\n"
+
+#: pg_ctl.c:1298
+#, c-format
+msgid "%s: could not send log rotation signal (PID: %d): %s\n"
+msgstr "%s : n'a pas pu envoyer le signal de rotation des fichiers de trace (PID : %d) : %s\n"
+
+#: pg_ctl.c:1301
+#, c-format
+msgid "%s: could not remove log rotation signal file \"%s\": %s\n"
+msgstr "%s : n'a pas pu supprimer le fichier « %s » signalant la demande de rotation des fichiers de trace : %s\n"
+
+#: pg_ctl.c:1306
+msgid "server signaled to rotate log file\n"
+msgstr "envoi d'un signal au serveur pour faire une rotation des traces\n"
+
+#: pg_ctl.c:1353
+#, c-format
+msgid "%s: single-user server is running (PID: %d)\n"
+msgstr "%s : le serveur mono-utilisateur est en cours d'exécution (PID : %d)\n"
+
+#: pg_ctl.c:1367
+#, c-format
+msgid "%s: server is running (PID: %d)\n"
+msgstr "%s : le serveur est en cours d'exécution (PID : %d)\n"
+
+#: pg_ctl.c:1383
+#, c-format
+msgid "%s: no server running\n"
+msgstr "%s : aucun serveur en cours d'exécution\n"
+
+#: pg_ctl.c:1400
+#, c-format
+msgid "%s: could not send signal %d (PID: %d): %s\n"
+msgstr "%s : n'a pas pu envoyer le signal %d (PID : %d) : %s\n"
+
+#: pg_ctl.c:1431
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s : n'a pas pu trouver l'exécutable du programme\n"
+
+#: pg_ctl.c:1441
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "%s : n'a pas pu trouver l'exécutable postgres\n"
+
+#: pg_ctl.c:1511 pg_ctl.c:1545
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "%s : n'a pas pu ouvrir le gestionnaire de services\n"
+
+#: pg_ctl.c:1517
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "%s : le service « %s » est déjà enregistré\n"
+
+#: pg_ctl.c:1528
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "%s : n'a pas pu enregistrer le service « %s » : code d'erreur %lu\n"
+
+#: pg_ctl.c:1551
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "%s : le service « %s » n'est pas enregistré\n"
+
+#: pg_ctl.c:1558
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "%s : n'a pas pu ouvrir le service « %s » : code d'erreur %lu\n"
+
+#: pg_ctl.c:1567
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "%s : n'a pas pu supprimer le service « %s » : code d'erreur %lu\n"
+
+#: pg_ctl.c:1654
+msgid "Waiting for server startup...\n"
+msgstr "En attente du démarrage du serveur...\n"
+
+#: pg_ctl.c:1657
+msgid "Timed out waiting for server startup\n"
+msgstr "Dépassement du délai pour le démarrage du serveur\n"
+
+#: pg_ctl.c:1661
+msgid "Server started and accepting connections\n"
+msgstr "Serveur lancé et acceptant les connexions\n"
+
+#: pg_ctl.c:1716
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "%s : n'a pas pu démarrer le service « %s » : code d'erreur %lu\n"
+
+#: pg_ctl.c:1789
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "%s : n'a pas pu ouvrir le jeton du processus : code d'erreur %lu\n"
+
+#: pg_ctl.c:1803
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "%s : n'a pas pu allouer les SID : code d'erreur %lu\n"
+
+#: pg_ctl.c:1829
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "%s : n'a pas pu créer le jeton restreint : code d'erreur %lu\n"
+
+#: pg_ctl.c:1911
+#, c-format
+msgid "%s: could not get LUIDs for privileges: error code %lu\n"
+msgstr "%s : n'a pas pu obtenir les LUID pour les droits : code d'erreur %lu\n"
+
+#: pg_ctl.c:1919 pg_ctl.c:1934
+#, c-format
+msgid "%s: could not get token information: error code %lu\n"
+msgstr "%s : n'a pas pu obtenir l'information sur le jeton : code d'erreur %lu\n"
+
+#: pg_ctl.c:1928
+#, c-format
+msgid "%s: out of memory\n"
+msgstr "%s : mémoire épuisée\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "Essayer « %s --help » pour plus d'informations.\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid ""
+"%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n"
+"\n"
+msgstr ""
+"%s est un outil pour initialiser, démarrer, arrêter et contrôler un serveur\n"
+"PostgreSQL.\n"
+"\n"
+
+#: pg_ctl.c:1967
+#, c-format
+msgid "Usage:\n"
+msgstr "Usage :\n"
+
+#: pg_ctl.c:1968
+#, c-format
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr " %s init[db] [-D RÉP_DONNÉES] [-s] [-o OPTIONS]\n"
+
+#: pg_ctl.c:1969
+#, c-format
+msgid ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr ""
+" %s start [-D RÉP_DONNÉES] [-l FICHIER] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p CHEMIN] [-c]\n"
+
+#: pg_ctl.c:1971
+#, c-format
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr " %s stop [-D RÉP_DONNÉES] [-m MODE_ARRÊT] [-W] [-t SECS] [-s]\n"
+
+#: pg_ctl.c:1972
+#, c-format
+msgid ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr ""
+" %s restart [-D RÉP_DONNÉES] [-m MODE_ARRÊT] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+
+#: pg_ctl.c:1974
+#, c-format
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D RÉP_DONNÉES] [-s]\n"
+
+#: pg_ctl.c:1975
+#, c-format
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D RÉP_DONNÉES]\n"
+
+#: pg_ctl.c:1976
+#, c-format
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr " %s promote [-D RÉP_DONNÉES] [-W] [-t SECS] [-s]\n"
+
+#: pg_ctl.c:1977
+#, c-format
+msgid " %s logrotate [-D DATADIR] [-s]\n"
+msgstr " %s logrotate [-D RÉP_DONNÉES] [-s]\n"
+
+#: pg_ctl.c:1978
+#, c-format
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill NOM_SIGNAL PID\n"
+
+#: pg_ctl.c:1980
+#, c-format
+msgid ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+msgstr ""
+" %s register [-D RÉP_DONNÉES] [-N NOM_SERVICE] [-U NOM_UTILISATEUR] [-P MOT_DE_PASSE]\n"
+" [-S TYPE_DÉMARRAGE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N NOM_SERVICE]\n"
+
+#: pg_ctl.c:1985
+#, c-format
+msgid ""
+"\n"
+"Common options:\n"
+msgstr ""
+"\n"
+"Options générales :\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr " -D, --pgdata=RÉP_DONNÉES emplacement du répertoire des données de l'instance\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid " -e SOURCE event source for logging when running as a service\n"
+msgstr ""
+" -e SOURCE source de l'événement pour la trace lors de\n"
+" l'exécution en tant que service\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr ""
+" -s, --silent affiche uniquement les erreurs, aucun message\n"
+" d'informations\n"
+
+#: pg_ctl.c:1991
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr ""
+" -t, --timeout=SECS durée en secondes à attendre lors de l'utilisation\n"
+" de l'option -w\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr " -V, --version affiche la version puis quitte\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr " -w, --wait attend la fin de l'opération (par défaut)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr " -W, --no-wait n'attend pas la fin de l'opération\n"
+
+#: pg_ctl.c:1995
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr " -?, --help affiche cette aide puis quitte\n"
+
+#: pg_ctl.c:1996
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr "Si l'option -D est omise, la variable d'environnement PGDATA est utilisée.\n"
+
+#: pg_ctl.c:1998
+#, c-format
+msgid ""
+"\n"
+"Options for start or restart:\n"
+msgstr ""
+"\n"
+"Options pour le démarrage ou le redémarrage :\n"
+
+#: pg_ctl.c:2000
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr " -c, --core-files autorise postgres à produire des fichiers core\n"
+
+#: pg_ctl.c:2002
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr " -c, --core-files non applicable à cette plateforme\n"
+
+#: pg_ctl.c:2004
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr " -l, --log=FICHIER écrit (ou ajoute) le journal du serveur dans FICHIER\n"
+
+#: pg_ctl.c:2005
+#, c-format
+msgid ""
+" -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr ""
+" -o, --options=OPTIONS options de la ligne de commande à passer à\n"
+" postgres (exécutable du serveur PostgreSQL)\n"
+" ou à initdb\n"
+
+#: pg_ctl.c:2007
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr " -p CHEMIN_POSTGRES normalement pas nécessaire\n"
+
+#: pg_ctl.c:2008
+#, c-format
+msgid ""
+"\n"
+"Options for stop or restart:\n"
+msgstr ""
+"\n"
+"Options pour l'arrêt ou le redémarrage :\n"
+
+#: pg_ctl.c:2009
+#, c-format
+msgid " -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr ""
+" -m, --mode=MODE MODE peut valoir « smart », « fast » ou\n"
+" « immediate »\n"
+
+#: pg_ctl.c:2011
+#, c-format
+msgid ""
+"\n"
+"Shutdown modes are:\n"
+msgstr ""
+"\n"
+"Les modes d'arrêt sont :\n"
+
+#: pg_ctl.c:2012
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr " smart quitte après déconnexion de tous les clients\n"
+
+#: pg_ctl.c:2013
+#, c-format
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr " fast quitte directement, et arrête correctement (par défaut)\n"
+
+#: pg_ctl.c:2014
+#, c-format
+msgid " immediate quit without complete shutdown; will lead to recovery on restart\n"
+msgstr ""
+" immediate quitte sans arrêt complet ; entraîne une restauration au démarrage\n"
+" suivant\n"
+
+#: pg_ctl.c:2016
+#, c-format
+msgid ""
+"\n"
+"Allowed signal names for kill:\n"
+msgstr ""
+"\n"
+"Signaux autorisés pour kill :\n"
+
+#: pg_ctl.c:2020
+#, c-format
+msgid ""
+"\n"
+"Options for register and unregister:\n"
+msgstr ""
+"\n"
+"Options d'enregistrement ou de dés-enregistrement :\n"
+
+#: pg_ctl.c:2021
+#, c-format
+msgid " -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr ""
+" -N NOM_SERVICE nom du service utilisé pour l'enregistrement du\n"
+" serveur PostgreSQL\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr ""
+" -P MOT_DE_PASSE mot de passe du compte utilisé pour\n"
+" l'enregistrement du serveur PostgreSQL\n"
+
+#: pg_ctl.c:2023
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr ""
+" -U NOM_UTILISATEUR nom de l'utilisateur du compte utilisé pour\n"
+" l'enregistrement du serveur PostgreSQL\n"
+
+#: pg_ctl.c:2024
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr ""
+" -S TYPE_DÉMARRAGE type de démarrage du service pour enregistrer le\n"
+" serveur PostgreSQL\n"
+
+#: pg_ctl.c:2026
+#, c-format
+msgid ""
+"\n"
+"Start types are:\n"
+msgstr ""
+"\n"
+"Les types de démarrage sont :\n"
+
+#: pg_ctl.c:2027
+#, c-format
+msgid " auto start service automatically during system startup (default)\n"
+msgstr ""
+" auto démarre le service automatiquement lors du démarrage du système\n"
+" (par défaut)\n"
+
+#: pg_ctl.c:2028
+#, c-format
+msgid " demand start service on demand\n"
+msgstr " demand démarre le service à la demande\n"
+
+#: pg_ctl.c:2031
+#, c-format
+msgid ""
+"\n"
+"Report bugs to <%s>.\n"
+msgstr ""
+"\n"
+"Rapporter les bogues à <%s>.\n"
+
+#: pg_ctl.c:2032
+#, c-format
+msgid "%s home page: <%s>\n"
+msgstr "Page d'accueil de %s : <%s>\n"
+
+#: pg_ctl.c:2057
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "%s : mode d'arrêt non reconnu « %s »\n"
+
+#: pg_ctl.c:2086
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "%s : signal non reconnu « %s »\n"
+
+#: pg_ctl.c:2103
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "%s : type de redémarrage « %s » non reconnu\n"
+
+#: pg_ctl.c:2159
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "%s : n'a pas déterminer le répertoire des données en utilisant la commande « %s »\n"
+
+#: pg_ctl.c:2182
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "%s : le fichier de contrôle semble corrompu\n"
+
+#: pg_ctl.c:2250
+#, c-format
+msgid ""
+"%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr ""
+"%s : ne peut pas être exécuté en tant qu'utilisateur root\n"
+"Connectez-vous (par exemple en utilisant « su ») sous l'utilisateur (non\n"
+" privilégié) qui sera propriétaire du processus serveur.\n"
+
+#: pg_ctl.c:2333
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "%s : option -S non supportée sur cette plateforme\n"
+
+#: pg_ctl.c:2370
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "%s : trop d'arguments en ligne de commande (le premier étant « %s »)\n"
+
+#: pg_ctl.c:2396
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "%s : arguments manquant pour le mode kill\n"
+
+#: pg_ctl.c:2414
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "%s : mode d'opération « %s » non reconnu\n"
+
+#: pg_ctl.c:2424
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "%s : aucune opération indiquée\n"
+
+#: pg_ctl.c:2445
+#, c-format
+msgid "%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr ""
+"%s : aucun répertoire de bases de données indiqué et variable\n"
+"d'environnement PGDATA non initialisée\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "%s: -w option cannot use a relative socket directory specification\n"
+#~ msgstr ""
+#~ "\n"
+#~ "%s : l'option -w ne peut pas utiliser un chemin relatif vers le répertoire de\n"
+#~ "la socket\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "%s: -w option is not supported when starting a pre-9.1 server\n"
+#~ msgstr ""
+#~ "\n"
+#~ "%s : l'option -w n'est pas supportée lors du démarrage d'un serveur pré-9.1\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "%s: this data directory appears to be running a pre-existing postmaster\n"
+#~ msgstr ""
+#~ "\n"
+#~ "%s : ce répertoire des données semble être utilisé par un postmaster déjà existant\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "Options for stop, restart, or promote:\n"
+#~ msgstr ""
+#~ "\n"
+#~ "Options pour l'arrêt, le redémarrage ou la promotion :\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "Report bugs to <pgsql-bugs@lists.postgresql.org>.\n"
+#~ msgstr ""
+#~ "\n"
+#~ "Rapporter les bogues à <pgsql-bugs@lists.postgresql.org>.\n"
+
+#~ msgid " %s start [-w] [-t SECS] [-D DATADIR] [-s] [-l FILENAME] [-o \"OPTIONS\"]\n"
+#~ msgstr ""
+#~ " %s start [-w] [-t SECS] [-D RÉP_DONNÉES] [-s] [-l NOM_FICHIER]\n"
+#~ " [-o \"OPTIONS\"]\n"
+
+#~ msgid " --help show this help, then exit\n"
+#~ msgstr " --help affiche cette aide et quitte\n"
+
+#~ msgid " --version output version information, then exit\n"
+#~ msgstr " --version affiche la version et quitte\n"
+
+#~ msgid ""
+#~ "%s is a utility to start, stop, restart, reload configuration files,\n"
+#~ "report the status of a PostgreSQL server, or signal a PostgreSQL process.\n"
+#~ "\n"
+#~ msgstr ""
+#~ "%s est un outil qui permet de démarrer, arrêter, redémarrer, recharger les\n"
+#~ "les fichiers de configuration, rapporter le statut d'un serveur PostgreSQL\n"
+#~ "ou d'envoyer un signal à un processus PostgreSQL\n"
+#~ "\n"
+
+#~ msgid "%s: could not create log file \"%s\": %s\n"
+#~ msgstr "%s : n'a pas pu créer le fichier de traces « %s » : %s\n"
+
+#~ msgid "%s: could not open process token: %lu\n"
+#~ msgstr "%s : n'a pas pu ouvrir le jeton du processus : %lu\n"
+
+#~ msgid "%s: could not start server: exit code was %d\n"
+#~ msgstr "%s : n'a pas pu démarrer le serveur : le code de sortie est %d\n"
+
+#~ msgid "%s: could not wait for server because of misconfiguration\n"
+#~ msgstr "%s : n'a pas pu attendre le serveur à cause d'une mauvaise configuration\n"
+
+#~ msgid ""
+#~ "(The default is to wait for shutdown, but not for start or restart.)\n"
+#~ "\n"
+#~ msgstr ""
+#~ "(Le comportement par défaut attend l'arrêt, pas le démarrage ou le\n"
+#~ "redémarrage.)\n"
+#~ "\n"
+
+#, c-format
+#~ msgid ""
+#~ "The program \"%s\" is needed by %s but was not found in the\n"
+#~ "same directory as \"%s\".\n"
+#~ "Check your installation.\n"
+#~ msgstr ""
+#~ "Le programme « %s » est nécessaire pour %s, mais n'a pas été trouvé\n"
+#~ "dans le même répertoire que « %s ».\n"
+#~ "Vérifiez votre installation.\n"
+
+#, c-format
+#~ msgid ""
+#~ "The program \"%s\" was found by \"%s\"\n"
+#~ "but was not the same version as %s.\n"
+#~ "Check your installation.\n"
+#~ msgstr ""
+#~ "Le programme « %s » a été trouvé par « %s »\n"
+#~ "mais n'est pas de la même version que %s.\n"
+#~ "Vérifiez votre installation.\n"
+
+#~ msgid ""
+#~ "WARNING: online backup mode is active\n"
+#~ "Shutdown will not complete until pg_stop_backup() is called.\n"
+#~ "\n"
+#~ msgstr ""
+#~ "ATTENTION : le mode de sauvegarde en ligne est activé.\n"
+#~ "L'arrêt ne surviendra qu'au moment où pg_stop_backup() sera appelé.\n"
+#~ "\n"
+
+#~ msgid "child process was terminated by signal %s"
+#~ msgstr "le processus fils a été terminé par le signal %s"
+
+#~ msgid "could not change directory to \"%s\""
+#~ msgstr "n'a pas pu accéder au répertoire « %s »"
+
+#, c-format
+#~ msgid "could not change directory to \"%s\": %m"
+#~ msgstr "n'a pas pu modifier le répertoire par « %s » : %m"
+
+#~ msgid "could not change directory to \"%s\": %s"
+#~ msgstr "n'a pas pu modifier le répertoire par « %s » : %s"
+
+#, c-format
+#~ msgid "could not identify current directory: %m"
+#~ msgstr "n'a pas pu identifier le répertoire courant : %m"
+
+#~ msgid "could not read symbolic link \"%s\""
+#~ msgstr "n'a pas pu lire le lien symbolique « %s »"
+
+#, c-format
+#~ msgid "could not read symbolic link \"%s\": %m"
+#~ msgstr "n'a pas pu lire le lien symbolique « %s » : %m"
+
+#~ msgid "pclose failed: %m"
+#~ msgstr "échec de pclose : %m"
+
+#~ msgid "server is still starting up\n"
+#~ msgstr "le serveur est toujours en cours de démarrage\n"
diff --git a/src/bin/pg_ctl/po/he.po b/src/bin/pg_ctl/po/he.po
new file mode 100644
index 0000000..420e2f2
--- /dev/null
+++ b/src/bin/pg_ctl/po/he.po
@@ -0,0 +1,884 @@
+# Hebrew message translation file for pg_ctl
+# Copyright (C) 2017 PostgreSQL Global Development Group
+# This file is distributed under the same license as the PostgreSQL package.
+# Michael Goldberg <mic.goldbrg@gmail.com>, 2017.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: pg_ctl (PostgreSQL) 10\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@postgresql.org\n"
+"POT-Creation-Date: 2017-05-15 03:45+0000\n"
+"PO-Revision-Date: 2017-05-16 18:13+0300\n"
+"Language: he\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Last-Translator: Michael Goldberg <mic.goldbrg@gmail.com>, 2017.\n"
+"Language-Team: \n"
+"X-Generator: Poedit 2.0.2\n"
+
+#: ../../common/exec.c:127 ../../common/exec.c:241 ../../common/exec.c:284
+#, c-format
+msgid "could not identify current directory: %s"
+msgstr "לא יוכל לזהות את הספריה הנוכחית: %s"
+
+#: ../../common/exec.c:146
+#, c-format
+msgid "invalid binary \"%s\""
+msgstr "בינארי לא חוקי \"%s\""
+
+#: ../../common/exec.c:195
+#, c-format
+msgid "could not read binary \"%s\""
+msgstr "לא ניתן לקרוא בינארי \"%s\""
+
+#: ../../common/exec.c:202
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "לא ניתן למצוא \"%s\" לביצוע"
+
+#: ../../common/exec.c:257 ../../common/exec.c:293
+#, c-format
+msgid "could not change directory to \"%s\": %s"
+msgstr "לא לשנות לשנות ספריות ל \"%s\": %s"
+
+#: ../../common/exec.c:272
+#, c-format
+msgid "could not read symbolic link \"%s\""
+msgstr "לא ניתן לקרוא את הקישור הסימבולי \"%s\""
+
+#: ../../common/exec.c:523
+#, c-format
+msgid "pclose failed: %s"
+msgstr "נכשלpclose : %s"
+
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../port/path.c:632 ../../port/path.c:670
+#: ../../port/path.c:687
+#, c-format
+msgid "out of memory\n"
+msgstr "אין זיכרון פנוי\n"
+
+#: ../../common/fe_memutils.c:92
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "לא ניתן לשכפל מצביע ריק (שגיאה פנימית)\n"
+
+#: ../../common/wait_error.c:45
+#, c-format
+msgid "command not executable"
+msgstr "לא ניתן לבצע את הפקודה"
+
+#: ../../common/wait_error.c:49
+#, c-format
+msgid "command not found"
+msgstr "הפקודה לא נמצאה"
+
+#: ../../common/wait_error.c:54
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "תהליך צאצא יצא עם %d"
+
+#: ../../common/wait_error.c:61
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "תהליך צאצא הופסק על ידי חריגה 0 0x %X"
+
+#: ../../common/wait_error.c:71
+#, c-format
+msgid "child process was terminated by signal %s"
+msgstr "תהליך צאצא הופסק על ידי האות %s"
+
+#: ../../common/wait_error.c:75
+#, c-format
+msgid "child process was terminated by signal %d"
+msgstr "תהליך צאצא הופסק על ידי האות %d"
+
+#: ../../common/wait_error.c:80
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "תהליך צאצא יצא עם מצב לא מזוהה %d"
+
+#: ../../port/path.c:654
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "לא היתה אפשרות לקבל את ספריית עבודה נוכחית: %s\n"
+
+#: pg_ctl.c:251
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "תכנית %s: הספרייה '%s' אינה קיימת\n"
+
+#: pg_ctl.c:254
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "תכנית %s: לא ניתן לגשת לתיקייה \"%s\": %s\n"
+
+#: pg_ctl.c:268
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "תכנית %s: ספרייה \"%s\" היא לא ספריית האשכול של מסד נתונים\n"
+
+#: pg_ctl.c:281
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "תכנית %s: לא ניתן לפתוח קובץ PID \"%s\": %s\n"
+
+#: pg_ctl.c:290
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "תכנית %s: קובץ PID \"%s\" הינו ריק\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "תכנית %s: נתונים לא חוקיים בקובץ PID \"%s\"\n"
+
+#: pg_ctl.c:443 pg_ctl.c:471
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "תכנית %s: לא היתה אפשרות להפעיל שרת: %s\n"
+
+#: pg_ctl.c:495
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "תכנית %s: לא היתה אפשרות להפעיל שרת: קוד שגיאה %lu\n"
+
+#: pg_ctl.c:572
+#, c-format
+msgid ""
+"\n"
+"%s: -w option is not supported when starting a pre-9.1 server\n"
+msgstr ""
+"\n"
+"תכנית %s: אופציה -w אינה נתמכת בעת הפעלת שרת טרום-9.1\n"
+
+#: pg_ctl.c:637
+#, c-format
+msgid ""
+"\n"
+"%s: -w option cannot use a relative socket directory specification\n"
+msgstr ""
+"\n"
+"תכנית %s: אופציה -w לא יכולה להשתמש במפרט ספריית שקע היחסי\n"
+
+#: pg_ctl.c:739
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr "תכנית %s: אין אפשרות להגדיר את מגבלת הגודל של קובץ הליבה; הן אסורה על פי מגבלה קשיחה\n"
+
+#: pg_ctl.c:764
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "תכנית %s: לא ניתן לקרוא קובץ \"%s\"\n"
+
+#: pg_ctl.c:769
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "תכנית %s: בקובץ האופציות \"%s\" חייב להיות קו אחד בדיוק\n"
+
+#: pg_ctl.c:820
+#, c-format
+msgid ""
+"The program \"%s\" is needed by %s but was not found in the\n"
+"same directory as \"%s\".\n"
+"Check your installation.\n"
+msgstr ""
+"התוכנית \"%s\" נדרש על-ידי %s אבל לא נמצא\n"
+"באותה ספריה כמו \"%s\".\n"
+"בדוק את ההתקנה.\n"
+
+#: pg_ctl.c:826
+#, c-format
+msgid ""
+"The program \"%s\" was found by \"%s\"\n"
+"but was not the same version as %s.\n"
+"Check your installation.\n"
+msgstr ""
+"התוכנית \"%s\" נמצאה על ידי \"%s\"\n"
+"אבל היתה לא מגירסה זהה בשם %s.\n"
+"ודא ההתקנה שלך.\n"
+
+#: pg_ctl.c:859
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "תכנית %s: אתחול מסד נתונים מערכת נכשל\n"
+
+#: pg_ctl.c:874
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr "תכנית %s: ייתכן והשרת אחר פוע; מנסה להפעיל שרת בכל מקרה\n"
+
+#: pg_ctl.c:912
+msgid "waiting for server to start..."
+msgstr "מחכה להפעלת השרת..."
+
+#: pg_ctl.c:917 pg_ctl.c:1024 pg_ctl.c:1115 pg_ctl.c:1244
+msgid " done\n"
+msgstr " בוצע\n"
+
+#: pg_ctl.c:918
+msgid "server started\n"
+msgstr "השרת עלה\n"
+
+#: pg_ctl.c:921 pg_ctl.c:925 pg_ctl.c:1249
+msgid " stopped waiting\n"
+msgstr " הפסיק לחכות\n"
+
+#: pg_ctl.c:922
+msgid "server is still starting up\n"
+msgstr "השרת עדיין עולה\n"
+
+#: pg_ctl.c:926
+#, c-format
+msgid ""
+"%s: could not start server\n"
+"Examine the log output.\n"
+msgstr ""
+"תכנית %s: לא היתה אפשרות להפעיל שרת\n"
+"יש לבחון בפלט יומן.\n"
+
+#: pg_ctl.c:932 pg_ctl.c:1016 pg_ctl.c:1106
+msgid " failed\n"
+msgstr " נכשל\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: could not wait for server because of misconfiguration\n"
+msgstr "תכנית %s: לא היתה אפשרות לחכות ל שרת בגלל בתצורה שגויה\n"
+
+#: pg_ctl.c:939
+msgid "server starting\n"
+msgstr "שרת עולה\n"
+
+#: pg_ctl.c:960 pg_ctl.c:1046 pg_ctl.c:1136 pg_ctl.c:1175
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "תכנית %s: הקובץ '%s' אינו קיים\n"
+
+#: pg_ctl.c:961 pg_ctl.c:1048 pg_ctl.c:1137 pg_ctl.c:1176
+msgid "Is server running?\n"
+msgstr "האם השרת פועל?\n"
+
+#: pg_ctl.c:967
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %ld)\n"
+msgstr "תכנית %s: לא יכול להפסיק את השרת; מופעל שרת למשתמש יחיד (PID: %ld)\n"
+
+#: pg_ctl.c:975 pg_ctl.c:1070
+#, c-format
+msgid "%s: could not send stop signal (PID: %ld): %s\n"
+msgstr "תכנית %s: לא היתה אפשרות לשלוח אות עצירה (PID: %ld): %s\n"
+
+#: pg_ctl.c:982
+msgid "server shutting down\n"
+msgstr "תהליך כיבוי השרת\n"
+
+#: pg_ctl.c:997 pg_ctl.c:1085
+msgid ""
+"WARNING: online backup mode is active\n"
+"Shutdown will not complete until pg_stop_backup() is called.\n"
+"\n"
+msgstr ""
+"אזהרה: מצב גיבוי מקוון פעיל\n"
+"הכיבוי לא יושלם עד ש pg_stop_backup() נקרא.\n"
+"\n"
+
+#: pg_ctl.c:1001 pg_ctl.c:1089
+msgid "waiting for server to shut down..."
+msgstr "מחכה שהשרת יכובה..."
+
+#: pg_ctl.c:1018 pg_ctl.c:1108
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "תכנית %s: השרת אינו נכבה\n"
+
+#: pg_ctl.c:1020 pg_ctl.c:1110
+msgid ""
+"HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr ""
+"רמז: אופציה \"-m fast\" מנתקת מיידי את הפעלות\n"
+"ולא מחכות לניתוק המופעלים באמצעות הפעלה.\n"
+
+#: pg_ctl.c:1026 pg_ctl.c:1116
+msgid "server stopped\n"
+msgstr "השרת הופסק\n"
+
+#: pg_ctl.c:1049 pg_ctl.c:1122
+msgid "starting server anyway\n"
+msgstr "מאתחל לשרת בכל מקרה\n"
+
+#: pg_ctl.c:1058
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %ld)\n"
+msgstr "תכנית %s: לא ניתן להפעיל מחדש את השרת; מופעל שרת למשתמש יחיד (PID: %ld)\n"
+
+#: pg_ctl.c:1061 pg_ctl.c:1146
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "אנא כבה את שרת המשתמש היחיד ונסה שוב\n"
+
+#: pg_ctl.c:1120
+#, c-format
+msgid "%s: old server process (PID: %ld) seems to be gone\n"
+msgstr "תכנית %s: תהליך השרת הישן (PID: %ld) כנראה פועל\n"
+
+#: pg_ctl.c:1143
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %ld)\n"
+msgstr "תכנית %s: לא ניתן להפעיל מחדש את השרת; מופעל שרת למשתמש יחיד (PID: %ld)\n"
+
+#: pg_ctl.c:1152
+#, c-format
+msgid "%s: could not send reload signal (PID: %ld): %s\n"
+msgstr "תכנית %s: לא היתה אפשרות לשלוח אות להפעלה מחדש (PID: %ld): %s\n"
+
+#: pg_ctl.c:1157
+msgid "server signaled\n"
+msgstr "שרת איתת\n"
+
+#: pg_ctl.c:1182
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %ld)\n"
+msgstr "תכנית %s: לא ניתן לקדם שרת; מופעל שרת למשתמש יחיד (PID: %ld)\n"
+
+#: pg_ctl.c:1190
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr "תכנית %s: לא ניתן לקדם שרת; שרת אינו במצב המתנה\n"
+
+#: pg_ctl.c:1205
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "תכנית %s: לא היתה אפשרות ליצור קובץ האות לקידום \"%s\": %s\n"
+
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "תכנית %s: לא מצליח לכתוב לקובץ האות לקידום \"%s\": %s\n"
+
+#: pg_ctl.c:1219
+#, c-format
+msgid "%s: could not send promote signal (PID: %ld): %s\n"
+msgstr "תכנית %s: לא היתה אפשרות לשלוח את האות לקדם(PID: %ld): %s\n"
+
+#: pg_ctl.c:1222
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s: לא היתה אפשרות להסיר את קובץ האות לקידום \"%s\": %s\n"
+
+#: pg_ctl.c:1231
+msgid "waiting for server to promote..."
+msgstr "מחכה שהשרת יקודם..."
+
+#: pg_ctl.c:1245
+msgid "server promoted\n"
+msgstr "שרת קודם\n"
+
+#: pg_ctl.c:1250
+msgid "server is still promoting\n"
+msgstr "השרת עדיין מקודם\n"
+
+#: pg_ctl.c:1254
+msgid "server promoting\n"
+msgstr "שרת בקידום\n"
+
+#: pg_ctl.c:1301
+#, c-format
+msgid "%s: single-user server is running (PID: %ld)\n"
+msgstr "תכנית %s: שרת משתמש יחיד פועל (PID: %ld)\n"
+
+#: pg_ctl.c:1314
+#, c-format
+msgid "%s: server is running (PID: %ld)\n"
+msgstr "תכנית %s: שרת פועל (PID: %ld)\n"
+
+#: pg_ctl.c:1330
+#, c-format
+msgid "%s: no server running\n"
+msgstr "תכנית %s: אין שרתים פעילים\n"
+
+#: pg_ctl.c:1348
+#, c-format
+msgid "%s: could not send signal %d (PID: %ld): %s\n"
+msgstr "תכנית %s: לא היתה אפשרות לשלוח אות %d (PID: %ld): %s\n"
+
+#: pg_ctl.c:1405
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s: לא ניתן למצוא תוכנית הפעלה משלו\n"
+
+#: pg_ctl.c:1415
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "תכנית %s: לא היתה אפשרות למצוא תוכנית הפעלה postgres\n"
+
+#: pg_ctl.c:1485 pg_ctl.c:1519
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "תכנית %s: לא היתה אפשרות לפתוח מנהל השירות\n"
+
+#: pg_ctl.c:1491
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "תכנית %s: שירות '%s' כבר רשום\n"
+
+#: pg_ctl.c:1502
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "תכנית %s: אין אפשרות לרשום את השירות \"%s\": קוד שגיאה %lu\n"
+
+#: pg_ctl.c:1525
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "תכנית %s: שירות '%s' אינו רשום\n"
+
+#: pg_ctl.c:1532
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "תכנית %s: לא היתה אפשרות לפתוח שירות '%s': קוד שגיאה %lu\n"
+
+#: pg_ctl.c:1541
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "תכנית %s: לא יכול לבטל את השירות \"%s\": קוד שגיאה %lu\n"
+
+#: pg_ctl.c:1628
+msgid "Waiting for server startup...\n"
+msgstr "מחכה להפעלת השרת...\n"
+
+#: pg_ctl.c:1631
+msgid "Timed out waiting for server startup\n"
+msgstr "תם זמן המתנה להפעלת השרת\n"
+
+#: pg_ctl.c:1635
+msgid "Server started and accepting connections\n"
+msgstr "שרת עלה ומקבל חיבורים\n"
+
+#: pg_ctl.c:1690
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "תכנית %s: לא היתה אפשרות להפעיל שירות '%s': קוד שגיאה %lu\n"
+
+#: pg_ctl.c:1764
+#, c-format
+msgid "%s: WARNING: cannot create restricted tokens on this platform\n"
+msgstr "תכנית %s: אזהרה: אין אפשרות ליצור אסימוני גישה מוגבלים בפלטפורמה זו\n"
+
+#: pg_ctl.c:1777
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "תכנית %s: לא ניתן לפתוח את התהליך token: קוד שגיאה %lu\n"
+
+#: pg_ctl.c:1791
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "תכנית %s: לא ניתן להקצות SID: קוד שגיאה %lu\n"
+
+#: pg_ctl.c:1811
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "תכנית %s: אין אפשרות ליצור אסימוני גישה: קוד שגיאה %lu\n"
+
+#: pg_ctl.c:1842
+#, c-format
+msgid "%s: WARNING: could not locate all job object functions in system API\n"
+msgstr "תכנית %s: אזהרה: לא היתה אפשרות לאתר כל פונקציות האובייקט העבודה בממשק API של מערכת\n"
+
+#: pg_ctl.c:1925
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "נסה '%s --help' לקבלת מידע נוסף.\n"
+
+#: pg_ctl.c:1933
+#, c-format
+msgid ""
+"%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n"
+"\n"
+msgstr "תכנית %s הוא כלי כדי לאתחל, להתחיל, לעצור או לשלוט בשרת PostgreSQL.\n"
+
+#: pg_ctl.c:1934
+#, c-format
+msgid "Usage:\n"
+msgstr "שימוש:\n"
+
+#: pg_ctl.c:1935
+#, c-format
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+
+#: pg_ctl.c:1936
+#, c-format
+msgid ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+
+#: pg_ctl.c:1938
+#, c-format
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+
+#: pg_ctl.c:1939
+#, c-format
+msgid ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+
+#: pg_ctl.c:1941
+#, c-format
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D DATADIR] [-s]\n"
+
+#: pg_ctl.c:1942
+#, c-format
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D DATADIR]\n"
+
+#: pg_ctl.c:1943
+#, c-format
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+
+#: pg_ctl.c:1944
+#, c-format
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill SIGNALNAME PID\n"
+
+#: pg_ctl.c:1946
+#, c-format
+msgid ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+msgstr ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+
+#: pg_ctl.c:1948
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N SERVICENAME]\n"
+
+#: pg_ctl.c:1951
+#, c-format
+msgid ""
+"\n"
+"Common options:\n"
+msgstr ""
+"\n"
+"אפשרויות נפוצות:\n"
+
+#: pg_ctl.c:1952
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr ""
+" -D\n"
+" --pgdata=DATADIR\n"
+"מיקום של אזור אחסון מסד נתונים\n"
+
+#: pg_ctl.c:1954
+#, c-format
+msgid " -e SOURCE event source for logging when running as a service\n"
+msgstr ""
+" -e SOURCE\n"
+"מקור האירוע עבור רישום בעת הפעלת כשירות\n"
+
+#: pg_ctl.c:1956
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr ""
+" -s\n"
+" --silent\n"
+"הדפס רק שגיאות, אין הודעות אינפורמטיביות\n"
+
+#: pg_ctl.c:1957
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr ""
+" -t\n"
+" --timeout=SECS\n"
+"שניות שיש להמתין בעת שימוש באופציה -w\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr ""
+" -V\n"
+" --version\n"
+"להציג מידע על הגירסה, ולאחר מכן לצאת\n"
+
+#: pg_ctl.c:1959
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr ""
+" -w\n"
+" --wait\n"
+"חכה עד השלמת פעולת (ברירת מחדל)\n"
+
+#: pg_ctl.c:1960
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr ""
+" -W\n"
+" --no-wait\n"
+"אל חכה עד השלמת פעולת\n"
+
+#: pg_ctl.c:1961
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr ""
+" -?\n"
+" --help\n"
+"להציג עזרה זו, ולאחר מכן לצאת\n"
+
+#: pg_ctl.c:1962
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr "אם האופציה -D מושמטת, נעשה שימוש במשתנה הסביבה PGDATA.\n"
+
+#: pg_ctl.c:1964
+#, c-format
+msgid ""
+"\n"
+"Options for start or restart:\n"
+msgstr ""
+"\n"
+"אפשרויות עבור ההתחלה או הפעלה מחדש:\n"
+"\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr ""
+" -c\n"
+" --core-files\n"
+"לאפשר postgres לייצר קובץ הליבה\n"
+
+#: pg_ctl.c:1968
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr ""
+" -c\n"
+" --core-files\n"
+"לא ישים על פלטפורמה זו\n"
+
+#: pg_ctl.c:1970
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr ""
+" -l\n"
+" --log=FILENAME\n"
+"כתוב (או צרף) יומן שרת ל- FILENAME\n"
+
+#: pg_ctl.c:1971
+#, c-format
+msgid ""
+" -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr ""
+" -o\n"
+" --options=OPTIONS\n"
+"אפשרויות שורת הפקודה כדי להעביר ל postgres (תכנית ההפעלה של השרת PostgreSQL) או initdb\n"
+
+#: pg_ctl.c:1973
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr ""
+" -p PATH-TO-POSTGRES\n"
+"בדרך כלל לא הכרחי\n"
+
+#: pg_ctl.c:1974
+#, c-format
+msgid ""
+"\n"
+"Options for stop or restart:\n"
+msgstr ""
+"\n"
+"אפשרויות עבור עצירה או הפעלה מחדש:\n"
+
+#: pg_ctl.c:1975
+#, c-format
+msgid " -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr ""
+" -m\n"
+" --mode=MODE\n"
+"ערך MODE יכול להיות \"smart\", \"fast\", או \"immediate\"\n"
+
+#: pg_ctl.c:1977
+#, c-format
+msgid ""
+"\n"
+"Shutdown modes are:\n"
+msgstr ""
+"\n"
+"מצבי כיבוי הם:\n"
+
+#: pg_ctl.c:1978
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr ""
+" smart\n"
+"צא אחרי כל הלקוחות מנותקים\n"
+
+#: pg_ctl.c:1979
+#, c-format
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr ""
+" fast\n"
+"צא ישירות, עם כיבוי תקין (ברירת המחדל)\n"
+
+#: pg_ctl.c:1980
+#, c-format
+msgid " immediate quit without complete shutdown; will lead to recovery on restart\n"
+msgstr ""
+" immediate\n"
+"צא ללא כיבוי מלא; תוביל להתאוששות על הפעלה\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid ""
+"\n"
+"Allowed signal names for kill:\n"
+msgstr ""
+"\n"
+"שמות אותות מורשים לביצוע השבתה של תהליך (kill):\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid ""
+"\n"
+"Options for register and unregister:\n"
+msgstr ""
+"\n"
+"אפשרויות להרשמה וביטול רישום:\n"
+
+#: pg_ctl.c:1987
+#, c-format
+msgid " -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr ""
+" -N SERVICENAME\n"
+"שם שירות אשר שרת PostgreSQL יירשם עם\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr ""
+" -P PASSWORD\n"
+"הסיסמה של חשבון לרשום שרת PostgreSQL\n"
+
+#: pg_ctl.c:1989
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr ""
+" -U USERNAME\n"
+"שם המשתמש של החשבון כדי לרשום שרת PostgreSQL\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr ""
+" -S START-TYPE\n"
+"שירות מסוג התחלה לרשום שרת PostgreSQL\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid ""
+"\n"
+"Start types are:\n"
+msgstr ""
+"\n"
+"סוגי התחלה הם:\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " auto start service automatically during system startup (default)\n"
+msgstr ""
+" auto\n"
+"הפעלת שירות באופן אוטומטי במהלך הפעלת המערכת (ברירת המחדל)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " demand start service on demand\n"
+msgstr ""
+" demand\n"
+"להתחיל שירות על פי דרישה\n"
+
+#: pg_ctl.c:1997
+#, c-format
+msgid ""
+"\n"
+"Report bugs to <pgsql-bugs@postgresql.org>.\n"
+msgstr ""
+"\n"
+"לדווח על באגים ל <pgsql-bugs@postgresql.org>\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "תכנית %s: מצב כיבוי לא מזוהה \"%s\"\n"
+
+#: pg_ctl.c:2054
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "תכנית %s: שם אות לא מזוהה \"%s\"\n"
+
+#: pg_ctl.c:2071
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "תכנית %s: סוג אתחול לא מזוהה \"%s\"\n"
+
+#: pg_ctl.c:2126
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "תכנית %s: לא היתה אפשרות לאתר את הספרית הנתונים באמצעות הפקודה \"%s\"\n"
+
+#: pg_ctl.c:2151
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "תכנית %s: קובץ הבקרה נראה פגום\n"
+
+#: pg_ctl.c:2221
+#, c-format
+msgid ""
+"%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr ""
+"תכנית %s: לא ניתן להפעיל ע\"י root\n"
+"נא להיכנס (באמצעות, למשל, \" su\") כמו המשתמש (ללא הרשאות)\n"
+"שתהליך השרת יהיה בבעלותו\n"
+
+#: pg_ctl.c:2305
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "תכנית %s: אופציה -S אינה נתמכים בפלטפורמה זו\n"
+
+#: pg_ctl.c:2342
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "תכנית %s: יותר מדי ארגומנטים של שורת הפקודה (הראשון הוא \"%s\")\n"
+
+#: pg_ctl.c:2366
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "תכנית %s: חסרים הארגומנטים למצב השבתת התהליך (kill)\n"
+
+#: pg_ctl.c:2384
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "תכנית %s: מצב עבודה לא מזוהה \"%s\"\n"
+
+#: pg_ctl.c:2394
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "תכנית %s: לא צוינה פעולה\n"
+
+#: pg_ctl.c:2415
+#, c-format
+msgid "%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr "תכנית %s: לא צוינה ספריית מסד הנתונים ומשתנה הסביבה PGDATA אינו נקבע\n"
diff --git a/src/bin/pg_ctl/po/it.po b/src/bin/pg_ctl/po/it.po
new file mode 100644
index 0000000..07a0688
--- /dev/null
+++ b/src/bin/pg_ctl/po/it.po
@@ -0,0 +1,863 @@
+#
+# pg_ctl.po
+# Italian message translation file for pg_ctl
+#
+# For development and bug report please use:
+# https://github.com/dvarrazzo/postgresql-it
+#
+# Copyright (C) 2012-2017 PostgreSQL Global Development Group
+# Copyright (C) 2010, Associazione Culturale ITPUG
+#
+# Daniele Varrazzo <daniele.varrazzo@gmail.com>, 2012-2017.
+# Emanuele Zamprogno <emanuele.zamprogno@itpug.org>, 2010.
+#
+# This file is distributed under the same license as the PostgreSQL package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: pg_ctl (PostgreSQL) 11\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
+"POT-Creation-Date: 2023-04-24 03:48+0000\n"
+"PO-Revision-Date: 2023-09-05 08:14+0200\n"
+"Last-Translator: Domenico Sgarbossa <sgarbossa.domenico@gmail.com>\n"
+"Language-Team: https://github.com/dvarrazzo/postgresql-it\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Poedit 2.3\n"
+
+#: ../../common/exec.c:172
+#, c-format
+msgid "invalid binary \"%s\": %m"
+msgstr "binario non valido \"%s\": %m"
+
+#: ../../common/exec.c:215
+#, c-format
+msgid "could not read binary \"%s\": %m"
+msgstr "lettura del binario \"%s\" fallita: %m"
+
+#: ../../common/exec.c:223
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "programma \"%s\" da eseguire non trovato"
+
+#: ../../common/exec.c:250
+#, fuzzy, c-format
+#| msgid "could not reopen file \"%s\" as stderr: %m"
+msgid "could not resolve path \"%s\" to absolute form: %m"
+msgstr "riapertura del file \"%s\" come stderr fallita: %m"
+
+#: ../../common/exec.c:412
+#, c-format
+msgid "%s() failed: %m"
+msgstr "%s() non riuscito: %m"
+
+#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687
+msgid "out of memory"
+msgstr "memoria esaurita"
+
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161
+#: ../../port/path.c:753 ../../port/path.c:791 ../../port/path.c:808
+#, c-format
+msgid "out of memory\n"
+msgstr "memoria esaurita\n"
+
+#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "impossibile duplicare il puntatore nullo (errore interno)\n"
+
+#: ../../common/wait_error.c:55
+#, c-format
+msgid "command not executable"
+msgstr "comando non eseguibile"
+
+#: ../../common/wait_error.c:59
+#, c-format
+msgid "command not found"
+msgstr "comando non trovato"
+
+#: ../../common/wait_error.c:64
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "processo figlio uscito con codice di uscita %d"
+
+#: ../../common/wait_error.c:72
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "processo figlio terminato da eccezione 0x%X"
+
+#: ../../common/wait_error.c:76
+#, c-format
+msgid "child process was terminated by signal %d: %s"
+msgstr "il processo figlio è stato terminato dal segnale %d: %s\\"
+
+#: ../../common/wait_error.c:82
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "processo figlio uscito con stato non riconosciuto %d"
+
+#: ../../port/path.c:775
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "determinazione della directory corrente fallita: %s\n"
+
+#: pg_ctl.c:255
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "%s: la directory \"%s\" non esiste\n"
+
+#: pg_ctl.c:258
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s: accesso alla directory \"%s\" fallito: %s\n"
+
+#: pg_ctl.c:271
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "%s: la directory \"%s\" non è la directory di un cluster di database\n"
+
+#: pg_ctl.c:284
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "%s: apertura del file PID \"%s\" fallita: %s\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "%s: il file PID \"%s\" è vuoto\n"
+
+#: pg_ctl.c:296
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "%s: dati non validi nel file PID \"%s\"\n"
+
+#: pg_ctl.c:458 pg_ctl.c:500
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "%s: errore di avvio del server: %s\n"
+
+#: pg_ctl.c:478
+#, c-format
+msgid "%s: could not start server due to setsid() failure: %s\n"
+msgstr "%s: impossibile avviare il server a causa di un errore di setid(): %s\n"
+
+#: pg_ctl.c:548
+#, c-format
+msgid "%s: could not open log file \"%s\": %s\n"
+msgstr "%s: apertura del file di log \"%s\" fallita: %s\n"
+
+#: pg_ctl.c:565
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "%s: errore di avvio del server: codice dell'errore %lu\n"
+
+#: pg_ctl.c:782
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr "%s: non è possibile configurare il limite di grandezza dei core file; impedito dall'hard limit\n"
+
+#: pg_ctl.c:808
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "%s: lettura del file \"%s\" fallita\n"
+
+#: pg_ctl.c:813
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "%s: il file di opzione \"%s\" deve avere esattamente una riga\n"
+
+#: pg_ctl.c:855 pg_ctl.c:1039 pg_ctl.c:1107
+#, c-format
+msgid "%s: could not send stop signal (PID: %d): %s\n"
+msgstr "%s: invio del segnale di arresto fallito (PID: %d): %s\n"
+
+#: pg_ctl.c:883
+#, c-format
+msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"\n"
+msgstr "il programma \"%s\" è necessario per %s ma non è stato trovato nella stessa directory di \"%s\"\n"
+
+#: pg_ctl.c:886
+#, c-format
+msgid "program \"%s\" was found by \"%s\" but was not the same version as %s\n"
+msgstr "il programma \"%s\" è stato trovato da \"%s\" ma non era della stessa versione di %s\n"
+
+#: pg_ctl.c:918
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "%s: inizializzazione del sistema di database fallita\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr "%s: un altro server potrebbe essere in esecuzione; si sta provando ad avviare il server ugualmente\n"
+
+#: pg_ctl.c:981
+msgid "waiting for server to start..."
+msgstr "in attesa che il server si avvii..."
+
+#: pg_ctl.c:986 pg_ctl.c:1063 pg_ctl.c:1126 pg_ctl.c:1238
+msgid " done\n"
+msgstr " fatto\n"
+
+#: pg_ctl.c:987
+msgid "server started\n"
+msgstr "il server è stato avviato\n"
+
+#: pg_ctl.c:990 pg_ctl.c:996 pg_ctl.c:1243
+msgid " stopped waiting\n"
+msgstr " attesa interrotta\n"
+
+#: pg_ctl.c:991
+#, c-format
+msgid "%s: server did not start in time\n"
+msgstr "%s: il server non è partito nel tempo previsto\n"
+
+#: pg_ctl.c:997
+#, c-format
+msgid ""
+"%s: could not start server\n"
+"Examine the log output.\n"
+msgstr ""
+"%s: l'avvio del server è fallito\n"
+"Esamina il log di output.\n"
+
+#: pg_ctl.c:1005
+msgid "server starting\n"
+msgstr "il server si sta avviando\n"
+
+#: pg_ctl.c:1024 pg_ctl.c:1083 pg_ctl.c:1147 pg_ctl.c:1186 pg_ctl.c:1267
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "%s: il file PID \"%s\" non esiste\n"
+
+#: pg_ctl.c:1025 pg_ctl.c:1085 pg_ctl.c:1148 pg_ctl.c:1187 pg_ctl.c:1268
+msgid "Is server running?\n"
+msgstr "Il server è in esecuzione?\n"
+
+#: pg_ctl.c:1031
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %d)\n"
+msgstr "%s: non è possibile fermare il server; il server è in esecuzione in modalità a utente singolo (PID: %d)\n"
+
+#: pg_ctl.c:1046
+msgid "server shutting down\n"
+msgstr "il server è in fase di arresto\n"
+
+#: pg_ctl.c:1051 pg_ctl.c:1112
+msgid "waiting for server to shut down..."
+msgstr "in attesa dell'arresto del server...."
+
+#: pg_ctl.c:1055 pg_ctl.c:1117
+msgid " failed\n"
+msgstr " fallito\n"
+
+#: pg_ctl.c:1057 pg_ctl.c:1119
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "%s: il server non si è arrestato\n"
+
+#: pg_ctl.c:1059 pg_ctl.c:1121
+msgid ""
+"HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr ""
+"NOTA: L'opzione \"-m fast\" disconnette le sessioni immediatamente invece di\n"
+"attendere che siano le sessioni a disconnettersi.\n"
+
+#: pg_ctl.c:1065 pg_ctl.c:1127
+msgid "server stopped\n"
+msgstr "il server è stato arrestato\n"
+
+#: pg_ctl.c:1086
+msgid "trying to start server anyway\n"
+msgstr "si sta provando ad avviare il server ugualmente\n"
+
+#: pg_ctl.c:1095
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %d)\n"
+msgstr "%s: non è possibile riavviare il server; il server è in esecuzione in modalità a utente singolo (PID: %d)\n"
+
+#: pg_ctl.c:1098 pg_ctl.c:1157
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "Si prega di terminare il server in modalità utente singolo e di riprovare.\n"
+
+#: pg_ctl.c:1131
+#, c-format
+msgid "%s: old server process (PID: %d) seems to be gone\n"
+msgstr "%s: il vecchio processo del server (PID: %d) sembra non essere più attivo\n"
+
+#: pg_ctl.c:1133
+msgid "starting server anyway\n"
+msgstr "il server si sta avviando comunque\n"
+
+#: pg_ctl.c:1154
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %d)\n"
+msgstr "%s: non è possibile eseguire il reload del server; il server è in esecuzione in modalità a utente singolo (PID: %d)\n"
+
+#: pg_ctl.c:1163
+#, c-format
+msgid "%s: could not send reload signal (PID: %d): %s\n"
+msgstr "%s: invio segnale di reload fallito (PID: %d): %s\n"
+
+#: pg_ctl.c:1168
+msgid "server signaled\n"
+msgstr "segnale inviato al server\n"
+
+#: pg_ctl.c:1193
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %d)\n"
+msgstr "%s: non è possibile promuovere il server: il server è in esecuzione in modalità a utente singolo (PID: %d)\n"
+
+#: pg_ctl.c:1201
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr "%s: non è possibile promuovere il server: il server non è in modalità standby\n"
+
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "%s: creazione del file di segnale di promozione \"%s\" fallito: %s\n"
+
+#: pg_ctl.c:1217
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "%s: scrittura del file di segnale di promozione \"%s\" fallita: %s\n"
+
+#: pg_ctl.c:1225
+#, c-format
+msgid "%s: could not send promote signal (PID: %d): %s\n"
+msgstr "%s: invio del segnale di promozione fallito (PID: %d): %s\n"
+
+#: pg_ctl.c:1228
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s: rimozione del file di segnale di promozione \"%s\" fallita: %s\n"
+
+#: pg_ctl.c:1235
+msgid "waiting for server to promote..."
+msgstr "in attesa della promozione del server..."
+
+#: pg_ctl.c:1239
+msgid "server promoted\n"
+msgstr "server promosso\n"
+
+#: pg_ctl.c:1244
+#, c-format
+msgid "%s: server did not promote in time\n"
+msgstr "%s: il server non è stato promosso nel tempo previsto\n"
+
+#: pg_ctl.c:1250
+msgid "server promoting\n"
+msgstr "il server sta venendo promosso\n"
+
+#: pg_ctl.c:1274
+#, c-format
+msgid "%s: cannot rotate log file; single-user server is running (PID: %d)\n"
+msgstr "%s: impossibile ruotare il file di registro; il server per utente singolo è in esecuzione (PID: %d)\n"
+
+#: pg_ctl.c:1284
+#, c-format
+msgid "%s: could not create log rotation signal file \"%s\": %s\n"
+msgstr "%s: impossibile creare il file del segnale di rotazione del registro \"%s\": %s\n"
+
+#: pg_ctl.c:1290
+#, c-format
+msgid "%s: could not write log rotation signal file \"%s\": %s\n"
+msgstr "%s: impossibile scrivere il file del segnale di rotazione del registro \"%s\": %s\n"
+
+#: pg_ctl.c:1298
+#, c-format
+msgid "%s: could not send log rotation signal (PID: %d): %s\n"
+msgstr "%s: impossibile inviare il segnale di rotazione del registro (PID: %d): %s\n"
+
+#: pg_ctl.c:1301
+#, c-format
+msgid "%s: could not remove log rotation signal file \"%s\": %s\n"
+msgstr "%s: impossibile rimuovere il file del segnale di rotazione del registro \"%s\": %s\n"
+
+#: pg_ctl.c:1306
+msgid "server signaled to rotate log file\n"
+msgstr "il server ha segnalato di ruotare il file di registro\n"
+
+#: pg_ctl.c:1353
+#, c-format
+msgid "%s: single-user server is running (PID: %d)\n"
+msgstr "%s: il server è in esecuzione in modalità a utente singolo (PID: %d)\n"
+
+#: pg_ctl.c:1367
+#, c-format
+msgid "%s: server is running (PID: %d)\n"
+msgstr "%s: il server è in esecuzione (PID: %d)\n"
+
+#: pg_ctl.c:1383
+#, c-format
+msgid "%s: no server running\n"
+msgstr "%s: nessun server in esecuzione\n"
+
+#: pg_ctl.c:1400
+#, c-format
+msgid "%s: could not send signal %d (PID: %d): %s\n"
+msgstr "%s: invio del segnale %d fallito (PID: %d): %s\n"
+
+#: pg_ctl.c:1431
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s: il proprio programma eseguibile non è stato trovato\n"
+
+#: pg_ctl.c:1441
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "%s: il programma eseguibile postgres non è stato trovato\n"
+
+#: pg_ctl.c:1511 pg_ctl.c:1545
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "%s: apertura del service manager fallita\n"
+
+#: pg_ctl.c:1517
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "%s: il servizio \"%s\" è già registrato\n"
+
+#: pg_ctl.c:1528
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "%s: registrazione del servizio \"%s\" fallita: codice errore %lu\n"
+
+#: pg_ctl.c:1551
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "%s: il servizio \"%s\" non è registrato\n"
+
+#: pg_ctl.c:1558
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "%s: apertura del servizio \"%s\" fallita: codice errore %lu\n"
+
+#: pg_ctl.c:1567
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "%s: rimozione della registrazione del servizio \"%s\" fallita: codice errore %lu\n"
+
+#: pg_ctl.c:1654
+msgid "Waiting for server startup...\n"
+msgstr "In attesa che il server si avvii...\n"
+
+#: pg_ctl.c:1657
+msgid "Timed out waiting for server startup\n"
+msgstr "Il tempo di attesa per l'avvio del server è scaduto\n"
+
+#: pg_ctl.c:1661
+msgid "Server started and accepting connections\n"
+msgstr "Il server è avviato e accetta connessioni\n"
+
+#: pg_ctl.c:1716
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "%s: non è possibile avviare il servizio \"%s\": codice errore %lu\n"
+
+#: pg_ctl.c:1789
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "%s: apertura del token di processo fallita: codice errore %lu\n"
+
+#: pg_ctl.c:1803
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "%s: allocazione dei SID fallita: codice errore %lu\n"
+
+#: pg_ctl.c:1829
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "%s: creazione del token ristretto fallita: codice errore %lu\n"
+
+#: pg_ctl.c:1911
+#, c-format
+msgid "%s: could not get LUIDs for privileges: error code %lu\n"
+msgstr "%s: errore nella lettura dei LUID per i privilegi: codice di errore %lu\n"
+
+#: pg_ctl.c:1919 pg_ctl.c:1934
+#, c-format
+msgid "%s: could not get token information: error code %lu\n"
+msgstr "%s: errore nella lettura del token di informazione: codice di errore %lu\n"
+
+#: pg_ctl.c:1928
+#, c-format
+msgid "%s: out of memory\n"
+msgstr "%s: memoria esaurita\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "Prova \"%s --help\" per maggiori informazioni.\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid ""
+"%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n"
+"\n"
+msgstr ""
+"%s è un programma per inizializzare, avviare, fermare o controllare un server PostgreSQL.\n"
+"\n"
+
+#: pg_ctl.c:1967
+#, c-format
+msgid "Usage:\n"
+msgstr "Utilizzo:\n"
+
+#: pg_ctl.c:1968
+#, c-format
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+
+#: pg_ctl.c:1969
+#, c-format
+msgid ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPZIONI] [-p PERCORSO] [-c]\n"
+
+#: pg_ctl.c:1971
+#, c-format
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+
+#: pg_ctl.c:1972
+#, c-format
+msgid ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPZIONI] [-c]\n"
+
+#: pg_ctl.c:1974
+#, c-format
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D DATADIR] [-s]\n"
+
+#: pg_ctl.c:1975
+#, c-format
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D DATADIR]\n"
+
+#: pg_ctl.c:1976
+#, c-format
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+
+#: pg_ctl.c:1977
+#, c-format
+msgid " %s logrotate [-D DATADIR] [-s]\n"
+msgstr " %s logrotate [-D DATADIR] [-s]\n"
+
+#: pg_ctl.c:1978
+#, c-format
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill SIGNALNAME PID\n"
+
+#: pg_ctl.c:1980
+#, c-format
+msgid ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+msgstr ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N SERVIZIO]\n"
+
+#: pg_ctl.c:1985
+#, c-format
+msgid ""
+"\n"
+"Common options:\n"
+msgstr ""
+"\n"
+"Opzioni comuni:\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr " -D, --pgdata DATADIR posizione dell'area di archiviazione del database\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid " -e SOURCE event source for logging when running as a service\n"
+msgstr " -e SORGENTE sorgente eventi per il log quando eseguito come servizio\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr " -s, --silent mostra solo gli errori, non i messaggi di informazione\n"
+
+#: pg_ctl.c:1991
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr " -t, --timeout=SEC secondi da aspettare quando si usa l'opzione -w\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr " -V, --version mostra informazioni sulla versione ed esci\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr " -w, --wait aspetta fino al completamento dell'operazione (default)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr " -W, --no-wait non aspettare fino al completamento dell'operazione\n"
+
+#: pg_ctl.c:1995
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr " -?, --help mostra questo aiuto ed esci\n"
+
+#: pg_ctl.c:1996
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr "Se l'opzione -D è omessa, viene usata la variabile d'ambiente PGDATA.\n"
+
+#: pg_ctl.c:1998
+#, c-format
+msgid ""
+"\n"
+"Options for start or restart:\n"
+msgstr ""
+"\n"
+"Opzioni per l'avvio o il riavvio:\n"
+
+#: pg_ctl.c:2000
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr " -c, --core-files permette a postgres di produrre core file\n"
+
+#: pg_ctl.c:2002
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr " -c, --core-files non disponibile su questa piattaforma\n"
+
+#: pg_ctl.c:2004
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr " -l, --log NOMEFILE scrivi (o accoda) il log del server in NOMEFILE\n"
+
+#: pg_ctl.c:2005
+#, c-format
+msgid ""
+" -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr ""
+" -o, --options=OPZIONI opzioni da riga di comando da passare a postgres\n"
+" (programma eseguibile del server PostgreSQL) o initdb\n"
+
+#: pg_ctl.c:2007
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr " -p PATH-TO-POSTGRES normalmente non necessario\n"
+
+#: pg_ctl.c:2008
+#, c-format
+msgid ""
+"\n"
+"Options for stop or restart:\n"
+msgstr ""
+"\n"
+"Opzioni per l'arresto o il riavvio:\n"
+
+#: pg_ctl.c:2009
+#, c-format
+msgid " -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr " -m, --mode=MODE MODE può essere \"smart\", \"fast\" o \"immediate\"\n"
+
+#: pg_ctl.c:2011
+#, c-format
+msgid ""
+"\n"
+"Shutdown modes are:\n"
+msgstr ""
+"\n"
+"I modi di spegnimento sono:\n"
+
+#: pg_ctl.c:2012
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr " smart termina dopo che tutti i client si sono disconnessi\n"
+
+#: pg_ctl.c:2013
+#, c-format
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr " fast termina direttamente, con una corretta procedura di arresto (default)\n"
+
+#: pg_ctl.c:2014
+#, c-format
+msgid " immediate quit without complete shutdown; will lead to recovery on restart\n"
+msgstr ""
+" immediate termina senza un arresto completo: ciò porterà ad un recupero\n"
+" dei dati al riavvio\n"
+
+#: pg_ctl.c:2016
+#, c-format
+msgid ""
+"\n"
+"Allowed signal names for kill:\n"
+msgstr ""
+"\n"
+"Nomi di segnali permessi per kill:\n"
+
+#: pg_ctl.c:2020
+#, c-format
+msgid ""
+"\n"
+"Options for register and unregister:\n"
+msgstr ""
+"\n"
+"Opzioni per register e unregister:\n"
+
+#: pg_ctl.c:2021
+#, c-format
+msgid " -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr " -N SERVIZIO nome del servizio con cui registrare il server PostgreSQL\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr " -P PASSWORD password per l'account con cui registrare il server PostgreSQL\n"
+
+#: pg_ctl.c:2023
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr " -U UTENTE nome utente dell'account con cui registrare il server PostgreSQL\n"
+
+#: pg_ctl.c:2024
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr " -S TIPO-AVVIO tipo di avvio del servizio con cui registrare il server PostgreSQL\n"
+
+#: pg_ctl.c:2026
+#, c-format
+msgid ""
+"\n"
+"Start types are:\n"
+msgstr ""
+"\n"
+"I tipi di avvio sono:\n"
+
+#: pg_ctl.c:2027
+#, c-format
+msgid " auto start service automatically during system startup (default)\n"
+msgstr " auto avvia il servizio automaticamente durante l'avvio del sistema (predefinito)\n"
+
+#: pg_ctl.c:2028
+#, c-format
+msgid " demand start service on demand\n"
+msgstr " demand avvia il servizio quando richiesto\n"
+
+#: pg_ctl.c:2031
+#, c-format
+msgid ""
+"\n"
+"Report bugs to <%s>.\n"
+msgstr ""
+"\n"
+"Segnala i bug a <%s>.\n"
+
+#: pg_ctl.c:2032
+#, c-format
+msgid "%s home page: <%s>\n"
+msgstr "Pagina iniziale di %s: <%s>\n"
+
+#: pg_ctl.c:2057
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "%s: modalità di arresto sconosciuta \"%s\"\n"
+
+#: pg_ctl.c:2086
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "%s: nome del segnale sconosciuto \"%s\"\n"
+
+#: pg_ctl.c:2103
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "%s: tipo di avvio sconosciuto \"%s\"\n"
+
+#: pg_ctl.c:2159
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "%s: non è stato possibile determinare la directory dei dati usando il comando \"%s\"\n"
+
+#: pg_ctl.c:2182
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "%s: il file di controllo sembra corrotto\n"
+
+#: pg_ctl.c:2250
+#, c-format
+msgid ""
+"%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr ""
+"%s: non può essere eseguito da root\n"
+"Effettua il login (usando per esempio \"su\") con l'utente\n"
+"(non privilegiato) che controllerà il processo server.\n"
+
+#: pg_ctl.c:2333
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "%s: l'opzione -S non è supportata su questa piattaforma\n"
+
+#: pg_ctl.c:2370
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "%s: troppi argomenti nella riga di comando (il primo è \"%s\")\n"
+
+#: pg_ctl.c:2396
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "%s: mancano gli argomenti per la modalità di kill\n"
+
+#: pg_ctl.c:2414
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "%s: modalità di operazione sconosciuta \"%s\"\n"
+
+#: pg_ctl.c:2424
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "%s: nessuna operazione specificata\n"
+
+#: pg_ctl.c:2445
+#, c-format
+msgid "%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr "%s: nessuna directory del database è stata specificata e la variabile d'ambiente PGDATA non è configurata\n"
+
+#~ msgid ""
+#~ "WARNING: online backup mode is active\n"
+#~ "Shutdown will not complete until pg_stop_backup() is called.\n"
+#~ "\n"
+#~ msgstr ""
+#~ "ATTENZIONE: è attiva la modalità di backup online\n"
+#~ "L'arresto non sarà completato finché non sarà chiamata pg_stop_backup().\n"
+#~ "\n"
+
+#~ msgid "child process was terminated by signal %s"
+#~ msgstr "processo figlio terminato da segnale %s"
+
+#~ msgid "pclose failed: %s"
+#~ msgstr "pclose fallita: %s"
diff --git a/src/bin/pg_ctl/po/ja.po b/src/bin/pg_ctl/po/ja.po
new file mode 100644
index 0000000..28a3546
--- /dev/null
+++ b/src/bin/pg_ctl/po/ja.po
@@ -0,0 +1,836 @@
+# pg_ctl.po
+# Japanese message translation file for pg_ctl
+#
+# Copyright (C) 2005-2022 PostgreSQL Global Development Group
+#
+# Shigehiro Honda <fwif0083@mb.infoweb.ne.jp>, 2005.
+#
+# This file is distributed under the same license as the PostgreSQL package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: pg_ctl (PostgreSQL 16)\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
+"POT-Creation-Date: 2023-03-24 09:21+0900\n"
+"PO-Revision-Date: 2023-03-24 14:11+0900\n"
+"Last-Translator: Kyotaro Horiguchi <horikyota.ntt@gmail.com>\n"
+"Language-Team: Japan PostgreSQL Users Group <jpug-doc@ml.postgresql.jp>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: Poedit 1.8.13\n"
+
+#: ../../common/exec.c:172
+#, c-format
+msgid "invalid binary \"%s\": %m"
+msgstr "不正なバイナリ\"%s\": %m"
+
+#: ../../common/exec.c:215
+#, c-format
+msgid "could not read binary \"%s\": %m"
+msgstr "バイナリ\"%s\"を読み取れませんでした: %m"
+
+#: ../../common/exec.c:223
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "実行する\"%s\"がありませんでした"
+
+#: ../../common/exec.c:250
+#, c-format
+msgid "could not resolve path \"%s\" to absolute form: %m"
+msgstr "パス\"%s\"を絶対パス形式に変換できませんでした: %m"
+
+#: ../../common/exec.c:412
+#, c-format
+msgid "%s() failed: %m"
+msgstr "%s() が失敗しました: %m"
+
+#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687
+msgid "out of memory"
+msgstr "メモリ不足です"
+
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161
+#: ../../port/path.c:753 ../../port/path.c:791 ../../port/path.c:808
+#, c-format
+msgid "out of memory\n"
+msgstr "メモリ不足です\n"
+
+#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "null ポインタを複製できません(内部エラー)。\n"
+
+#: ../../common/wait_error.c:55
+#, c-format
+msgid "command not executable"
+msgstr "コマンドは実行形式ではありません"
+
+#: ../../common/wait_error.c:59
+#, c-format
+msgid "command not found"
+msgstr "コマンドが見つかりません"
+
+#: ../../common/wait_error.c:64
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "子プロセスが終了コード%dで終了しました"
+
+#: ../../common/wait_error.c:72
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "子プロセスが例外0x%Xで終了しました"
+
+#: ../../common/wait_error.c:76
+#, c-format
+msgid "child process was terminated by signal %d: %s"
+msgstr "子プロセスはシグナル%dにより終了しました: %s"
+
+#: ../../common/wait_error.c:82
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "子プロセスが未知のステータス%dで終了しました"
+
+#: ../../port/path.c:775
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "現在の作業ディレクトリを取得できませんでした: %s\n"
+
+#: pg_ctl.c:255
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "%s: ディレクトリ \"%s\" は存在しません\n"
+
+#: pg_ctl.c:258
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s: ディレクトリ\"%s\"にアクセスできませんでした: %s\n"
+
+#: pg_ctl.c:271
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "%s: ディレクトリ\"%s\"はデータベースクラスタディレクトリではありません\n"
+
+#: pg_ctl.c:284
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "%s: PIDファイル\"%s\"をオープンできませんでした: %s\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "%s: PIDファイル\"%s\"が空です\n"
+
+#: pg_ctl.c:296
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "%s: PIDファイル\"%s\"内に無効なデータがあります\n"
+
+#: pg_ctl.c:458 pg_ctl.c:500
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "%s: サーバーに接続できませんでした: %s\n"
+
+#: pg_ctl.c:478
+#, c-format
+msgid "%s: could not start server due to setsid() failure: %s\n"
+msgstr "%s: setsid()に失敗したためサーバーに接続できませんでした: %s\n"
+
+#: pg_ctl.c:548
+#, c-format
+msgid "%s: could not open log file \"%s\": %s\n"
+msgstr "%s: ログファイル \"%s\" をオープンできませんでした: %s\n"
+
+#: pg_ctl.c:565
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "%s: サーバーの起動に失敗しました: エラーコード %lu\n"
+
+#: pg_ctl.c:782
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr "%s: コアファイルのサイズ制限を設定できません:固定の制限により許されていません\n"
+
+#: pg_ctl.c:808
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "%s: ファイル\"%s\"を読み取ることに失敗しました\n"
+
+#: pg_ctl.c:813
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "%s: オプションファイル\"%s\"は1行のみでなければなりません\n"
+
+#: pg_ctl.c:855 pg_ctl.c:1039 pg_ctl.c:1107
+#, c-format
+msgid "%s: could not send stop signal (PID: %d): %s\n"
+msgstr "%s: 停止シグナルを送信できませんでした。(PID: %d): %s\n"
+
+#: pg_ctl.c:883
+#, c-format
+msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"\n"
+msgstr "%2$sにはプログラム\"%1$s\"が必要ですが、\"%3$s\"と同じディレクトリにありませんでした\n"
+
+#: pg_ctl.c:886
+#, c-format
+msgid "program \"%s\" was found by \"%s\" but was not the same version as %s\n"
+msgstr "\"%2$s\"がプログラム\"%1$s\"を見つけましたが、これは%3$sと同じバージョンではありませんでした\n"
+
+#: pg_ctl.c:918
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "%s: データベースシステムが初期化に失敗しました\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr "%s: 他のサーバーが動作中の可能性がありますが、とにかくpostmasterの起動を試みます。\n"
+
+#: pg_ctl.c:981
+msgid "waiting for server to start..."
+msgstr "サーバーの起動完了を待っています..."
+
+#: pg_ctl.c:986 pg_ctl.c:1063 pg_ctl.c:1126 pg_ctl.c:1238
+msgid " done\n"
+msgstr "完了\n"
+
+#: pg_ctl.c:987
+msgid "server started\n"
+msgstr "サーバー起動完了\n"
+
+#: pg_ctl.c:990 pg_ctl.c:996 pg_ctl.c:1243
+msgid " stopped waiting\n"
+msgstr " 待機処理が停止されました\n"
+
+#: pg_ctl.c:991
+#, c-format
+msgid "%s: server did not start in time\n"
+msgstr "%s: サーバーは時間内に起動しませんでした\n"
+
+#: pg_ctl.c:997
+#, c-format
+msgid ""
+"%s: could not start server\n"
+"Examine the log output.\n"
+msgstr ""
+"%s: サーバーを起動できませんでした。\n"
+"ログ出力を確認してください。\n"
+
+#: pg_ctl.c:1005
+msgid "server starting\n"
+msgstr "サーバーは起動中です。\n"
+
+#: pg_ctl.c:1024 pg_ctl.c:1083 pg_ctl.c:1147 pg_ctl.c:1186 pg_ctl.c:1267
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "%s: PIDファイル\"%s\"がありません\n"
+
+#: pg_ctl.c:1025 pg_ctl.c:1085 pg_ctl.c:1148 pg_ctl.c:1187 pg_ctl.c:1268
+msgid "Is server running?\n"
+msgstr "サーバーが動作していますか?\n"
+
+#: pg_ctl.c:1031
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %d)\n"
+msgstr "%s: サーバーを停止できません。シングルユーザーサーバー(PID: %d)が動作しています。\n"
+
+#: pg_ctl.c:1046
+msgid "server shutting down\n"
+msgstr "サーバーの停止中です\n"
+
+#: pg_ctl.c:1051 pg_ctl.c:1112
+msgid "waiting for server to shut down..."
+msgstr "サーバー停止処理の完了を待っています..."
+
+#: pg_ctl.c:1055 pg_ctl.c:1117
+msgid " failed\n"
+msgstr "失敗しました\n"
+
+#: pg_ctl.c:1057 pg_ctl.c:1119
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "%s: サーバーは停止していません\n"
+
+#: pg_ctl.c:1059 pg_ctl.c:1121
+msgid ""
+"HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr ""
+"ヒント: \"-m fast\"オプションは、セッション切断が始まるまで待機するのではなく\n"
+"即座にセッションを切断します。\n"
+
+#: pg_ctl.c:1065 pg_ctl.c:1127
+msgid "server stopped\n"
+msgstr "サーバーは停止しました\n"
+
+#: pg_ctl.c:1086
+msgid "trying to start server anyway\n"
+msgstr "とにかくサーバーの起動を試みます\n"
+
+#: pg_ctl.c:1095
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %d)\n"
+msgstr "%s: サーバーを再起動できません。シングルユーザーサーバー(PID: %d)が動作中です。\n"
+
+#: pg_ctl.c:1098 pg_ctl.c:1157
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "シングルユーザーサーバーを終了させてから、再度実行してください\n"
+
+#: pg_ctl.c:1131
+#, c-format
+msgid "%s: old server process (PID: %d) seems to be gone\n"
+msgstr "%s: 古いサーバープロセス(PID: %d)が動作していないようです\n"
+
+#: pg_ctl.c:1133
+msgid "starting server anyway\n"
+msgstr "とにかくサーバーを起動しています\n"
+
+#: pg_ctl.c:1154
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %d)\n"
+msgstr "%s: サーバーをリロードできません。シングルユーザーサーバー(PID: %d)が動作中です\n"
+
+#: pg_ctl.c:1163
+#, c-format
+msgid "%s: could not send reload signal (PID: %d): %s\n"
+msgstr "%s: リロードシグナルを送信できませんでした。(PID: %d): %s\n"
+
+#: pg_ctl.c:1168
+msgid "server signaled\n"
+msgstr "サーバーにシグナルを送信しました\n"
+
+#: pg_ctl.c:1193
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %d)\n"
+msgstr "%s: サーバーを昇格できません; シングルユーザーサーバー(PID: %d)が動作中です\n"
+
+#: pg_ctl.c:1201
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr "%s: サーバーを昇格できません; サーバーはスタンバイモードではありません\n"
+
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "%s: 昇格指示ファイル\"%s\"を作成することができませんでした: %s\n"
+
+#: pg_ctl.c:1217
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "%s: 昇格指示ファイル\"%s\"に書き出すことができませんでした: %s\n"
+
+#: pg_ctl.c:1225
+#, c-format
+msgid "%s: could not send promote signal (PID: %d): %s\n"
+msgstr "%s: 昇格シグナルを送信できませんでした (PID: %d): %s\n"
+
+#: pg_ctl.c:1228
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s: 昇格指示ファイル\"%s\"の削除に失敗しました: %s\n"
+
+#: pg_ctl.c:1235
+msgid "waiting for server to promote..."
+msgstr "サーバーの昇格を待っています..."
+
+#: pg_ctl.c:1239
+msgid "server promoted\n"
+msgstr "サーバーは昇格しました\n"
+
+#: pg_ctl.c:1244
+#, c-format
+msgid "%s: server did not promote in time\n"
+msgstr "%s: サーバーは時間内に昇格しませんでした\n"
+
+#: pg_ctl.c:1250
+msgid "server promoting\n"
+msgstr "サーバーを昇格中です\n"
+
+#: pg_ctl.c:1274
+#, c-format
+msgid "%s: cannot rotate log file; single-user server is running (PID: %d)\n"
+msgstr "%s: ログをローテートできません; シングルユーザーサーバーが動作中です (PID: %d)\n"
+
+#: pg_ctl.c:1284
+#, c-format
+msgid "%s: could not create log rotation signal file \"%s\": %s\n"
+msgstr "%s: ログローテート指示ファイル\"%s\"を作成することができませんでした: %s\n"
+
+#: pg_ctl.c:1290
+#, c-format
+msgid "%s: could not write log rotation signal file \"%s\": %s\n"
+msgstr "%s: ログローテート指示ファイル\"%s\"に書き出すことができませんでした: %s\n"
+
+#: pg_ctl.c:1298
+#, c-format
+msgid "%s: could not send log rotation signal (PID: %d): %s\n"
+msgstr "%s: ログローテートシグナルを送信できませんでした (PID: %d): %s\n"
+
+#: pg_ctl.c:1301
+#, c-format
+msgid "%s: could not remove log rotation signal file \"%s\": %s\n"
+msgstr "%s: ログローテーション指示ファイル\"%s\"の削除に失敗しました: %s\n"
+
+#: pg_ctl.c:1306
+msgid "server signaled to rotate log file\n"
+msgstr "サーバーがログローテートをシグナルされました\n"
+
+#: pg_ctl.c:1353
+#, c-format
+msgid "%s: single-user server is running (PID: %d)\n"
+msgstr "%s: シングルユーザーサーバーが動作中です(PID: %d)\n"
+
+#: pg_ctl.c:1367
+#, c-format
+msgid "%s: server is running (PID: %d)\n"
+msgstr "%s: サーバーが動作中です(PID: %d)\n"
+
+#: pg_ctl.c:1383
+#, c-format
+msgid "%s: no server running\n"
+msgstr "%s: サーバーが動作していません\n"
+
+#: pg_ctl.c:1400
+#, c-format
+msgid "%s: could not send signal %d (PID: %d): %s\n"
+msgstr "%s: シグナル%dを送信できませんでした(PID: %d): %s\n"
+
+#: pg_ctl.c:1431
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s: 本プログラムの実行ファイルの検索に失敗しました\n"
+
+#: pg_ctl.c:1441
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "%s: postgres の実行ファイルが見つかりません\n"
+
+#: pg_ctl.c:1511 pg_ctl.c:1545
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "%s: サービスマネージャのオープンに失敗しました\n"
+
+#: pg_ctl.c:1517
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "%s: サービス\\\"%s\\\"は登録済みです\n"
+
+#: pg_ctl.c:1528
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "%s: サービス\"%s\"の登録に失敗しました: エラーコード %lu\n"
+
+#: pg_ctl.c:1551
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "%s: サービス\"%s\"は登録されていません\n"
+
+#: pg_ctl.c:1558
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "%s: サービス\"%s\"のオープンに失敗しました: エラーコード %lu\n"
+
+#: pg_ctl.c:1567
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "%s: サービス\"%s\"の登録削除に失敗しました: エラーコード %lu\n"
+
+#: pg_ctl.c:1654
+msgid "Waiting for server startup...\n"
+msgstr "サーバーの起動完了を待っています...\n"
+
+#: pg_ctl.c:1657
+msgid "Timed out waiting for server startup\n"
+msgstr "サーバーの起動待機がタイムアウトしました\n"
+
+#: pg_ctl.c:1661
+msgid "Server started and accepting connections\n"
+msgstr "サーバーは起動し、接続を受け付けています\n"
+
+#: pg_ctl.c:1716
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "%s: サービス\"%s\"の起動に失敗しました: エラーコード %lu\n"
+
+#: pg_ctl.c:1789
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "%s: プロセストークンをオープンできませんでした: エラーコード %lu\n"
+
+#: pg_ctl.c:1803
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "%s: SIDを割り当てられませんでした: エラーコード %lu\n"
+
+#: pg_ctl.c:1829
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "%s: 制限付きトークンを作成できませんでした: エラーコード %lu\n"
+
+#: pg_ctl.c:1911
+#, c-format
+msgid "%s: could not get LUIDs for privileges: error code %lu\n"
+msgstr "%s: 権限の LUID を取得できません: エラーコード %lu\n"
+
+#: pg_ctl.c:1919 pg_ctl.c:1934
+#, c-format
+msgid "%s: could not get token information: error code %lu\n"
+msgstr "%s: トークン情報を取得できませんでした: エラーコード %lu\n"
+
+#: pg_ctl.c:1928
+#, c-format
+msgid "%s: out of memory\n"
+msgstr "%s: メモリ不足です\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "詳細は\"%s --help\"を実行してください。\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid ""
+"%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n"
+"\n"
+msgstr "%sはPostgreSQLサーバーの初期化、起動、停止、制御を行うユーティリティです。\n"
+
+#: pg_ctl.c:1967
+#, c-format
+msgid "Usage:\n"
+msgstr "使用方法:\n"
+
+#: pg_ctl.c:1968
+#, c-format
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+
+#: pg_ctl.c:1969
+#, c-format
+msgid ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+
+#: pg_ctl.c:1971
+#, c-format
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+
+#: pg_ctl.c:1972
+#, c-format
+msgid ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+
+#: pg_ctl.c:1974
+#, c-format
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D DATADIR] [-s]\n"
+
+#: pg_ctl.c:1975
+#, c-format
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D DATADIR]\n"
+
+#: pg_ctl.c:1976
+#, c-format
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+
+#: pg_ctl.c:1977
+#, c-format
+msgid " %s logrotate [-D DATADIR] [-s]\n"
+msgstr " %s logrotate [-D DATADIR] [-s]\n"
+
+#: pg_ctl.c:1978
+#, c-format
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill SIGNALNAME PID\n"
+
+#: pg_ctl.c:1980
+#, c-format
+msgid ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+msgstr ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N SERVICENAME]\n"
+
+#: pg_ctl.c:1985
+#, c-format
+msgid ""
+"\n"
+"Common options:\n"
+msgstr ""
+"\n"
+"共通のオプション:\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr " -D, --pgdata=DATADIR データベース格納領域の場所\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid " -e SOURCE event source for logging when running as a service\n"
+msgstr " -e SOURCE サービスとして起動させたときのログのイベントソース\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr " -s, --silent エラーメッセージのみを表示、情報メッセージは表示しない\n"
+
+#: pg_ctl.c:1991
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr " -t, --timeout=SECS -wオプションを使用する時に待機する秒数\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr " -V, --version バージョン情報を表示して終了\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr " -w, --wait 操作が完了するまで待機 (デフォルト)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr " -W, --no-wait 作業の完了を待たない\n"
+
+#: pg_ctl.c:1995
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr " -?, --help このヘルプを表示して終了\n"
+
+#: pg_ctl.c:1996
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr "-Dオプションの省略時はPGDATA環境変数が使用されます。\n"
+
+#: pg_ctl.c:1998
+#, c-format
+msgid ""
+"\n"
+"Options for start or restart:\n"
+msgstr ""
+"\n"
+"起動、再起動のオプション\n"
+
+#: pg_ctl.c:2000
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr " -c, --core-files postgresのコアファイル生成を許可\n"
+
+#: pg_ctl.c:2002
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr " -c, --core-files このプラットフォームでは適用されない\n"
+
+#: pg_ctl.c:2004
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr " -l, --log FILENAME サーバーログをFILENAMEへ書き込む(または追加する)\n"
+
+#: pg_ctl.c:2005
+#, c-format
+msgid ""
+" -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr ""
+" -o, --options=OPTIONS postgres(PostgreSQLサーバー実行ファイル)または\n"
+" initdb に渡すコマンドラインオプション\n"
+
+#: pg_ctl.c:2007
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr " -p PATH-TO-POSTGRES 通常は不要\n"
+
+#: pg_ctl.c:2008
+#, c-format
+msgid ""
+"\n"
+"Options for stop or restart:\n"
+msgstr ""
+"\n"
+"停止、再起動のオプション\n"
+
+#: pg_ctl.c:2009
+#, c-format
+msgid " -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr " -m, --mode=MODE MODEは\"smart\"、\"fast\"、\"immediate\"のいずれか\n"
+
+#: pg_ctl.c:2011
+#, c-format
+msgid ""
+"\n"
+"Shutdown modes are:\n"
+msgstr ""
+"\n"
+"シャットダウンモードは以下の通り:\n"
+
+#: pg_ctl.c:2012
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr " smart 全クライアントの接続切断後に停止\n"
+
+#: pg_ctl.c:2013
+#, c-format
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr " fast 適切な手続きで直ちに停止(デフォルト)\n"
+
+#: pg_ctl.c:2014
+#, c-format
+msgid " immediate quit without complete shutdown; will lead to recovery on restart\n"
+msgstr " immediate 適切な手続き抜きで停止; 再起動時にはリカバリが実行される\n"
+
+#: pg_ctl.c:2016
+#, c-format
+msgid ""
+"\n"
+"Allowed signal names for kill:\n"
+msgstr ""
+"\n"
+"killモードで利用できるシグナル名:\n"
+
+#: pg_ctl.c:2020
+#, c-format
+msgid ""
+"\n"
+"Options for register and unregister:\n"
+msgstr ""
+"\n"
+"登録、登録解除のオプション:\n"
+
+#: pg_ctl.c:2021
+#, c-format
+msgid " -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr " -N SERVICENAME PostgreSQLサーバーを登録する際のサービス名\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr " -P PASSWORD PostgreSQLサーバーを登録するためのアカウントのパスワード\n"
+
+#: pg_ctl.c:2023
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr " -U USERNAME PostgreSQLサーバーを登録するためのアカウント名\n"
+
+#: pg_ctl.c:2024
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr " -S START-TYPE PostgreSQLサーバーを登録する際のサービス起動タイプ\n"
+
+#: pg_ctl.c:2026
+#, c-format
+msgid ""
+"\n"
+"Start types are:\n"
+msgstr ""
+"\n"
+"起動タイプは以下の通り:\n"
+
+#: pg_ctl.c:2027
+#, c-format
+msgid " auto start service automatically during system startup (default)\n"
+msgstr " auto システムの起動時にサービスを自動的に開始(デフォルト)\n"
+
+#: pg_ctl.c:2028
+#, c-format
+msgid " demand start service on demand\n"
+msgstr " demand 要求に応じてサービスを開始\n"
+
+#: pg_ctl.c:2031
+#, c-format
+msgid ""
+"\n"
+"Report bugs to <%s>.\n"
+msgstr ""
+"\n"
+"バグは<%s>に報告してください。\n"
+
+#: pg_ctl.c:2032
+#, c-format
+msgid "%s home page: <%s>\n"
+msgstr "%s ホームページ: <%s>\n"
+
+#: pg_ctl.c:2057
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "%s: 不正なシャットダウンモード\"%s\"\n"
+
+#: pg_ctl.c:2086
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "%s: 不正なシグナル名\"%s\"\n"
+
+#: pg_ctl.c:2103
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "%s: 不正な起動タイプ\"%s\"\n"
+
+#: pg_ctl.c:2159
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "%s: コマンド\"%s\"を使用するデータディレクトリを決定できませんでした\n"
+
+#: pg_ctl.c:2182
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "%s: 制御ファイルが壊れているようです\n"
+
+#: pg_ctl.c:2250
+#, c-format
+msgid ""
+"%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr ""
+"%s: rootでは実行できません\n"
+"サーバープロセスの所有者となる(非特権)ユーザーとして(\"su\"などを使用して)\n"
+"ログインしてください。\n"
+
+#: pg_ctl.c:2333
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "%s: -Sオプションはこのプラットフォームでサポートされていません\n"
+
+#: pg_ctl.c:2370
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "%s: コマンドライン引数が多すぎます(先頭は\"%s\")\n"
+
+#: pg_ctl.c:2396
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "%s: killモード用の引数がありません\n"
+
+#: pg_ctl.c:2414
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "%s: 操作モード\"%s\"は不明です\n"
+
+#: pg_ctl.c:2424
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "%s: 操作モードが指定されていません\n"
+
+#: pg_ctl.c:2445
+#, c-format
+msgid "%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr "%s: データベースの指定も、PGDATA環境変数の設定もありません\n"
diff --git a/src/bin/pg_ctl/po/ka.po b/src/bin/pg_ctl/po/ka.po
new file mode 100644
index 0000000..e52b8b2
--- /dev/null
+++ b/src/bin/pg_ctl/po/ka.po
@@ -0,0 +1,854 @@
+# Georgian message translation file for pg_ctl
+# Copyright (C) 2022 PostgreSQL Global Development Group
+# This file is distributed under the same license as the pg_ctl (PostgreSQL) package.
+# Temuri Doghonadze <temuri.doghonadze@gmail.com>, 2022.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: pg_ctl (PostgreSQL) 16\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
+"POT-Creation-Date: 2023-04-19 11:18+0000\n"
+"PO-Revision-Date: 2023-04-20 08:19+0200\n"
+"Last-Translator: Temuri Doghonadze <temuri.doghonadze@gmail.com>\n"
+"Language-Team: Georgian <nothing>\n"
+"Language: ka\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Poedit 3.2.2\n"
+
+#: ../../common/exec.c:172
+#, c-format
+msgid "invalid binary \"%s\": %m"
+msgstr "არასწორი ბინარული ფაილი \"%s\":%m"
+
+#: ../../common/exec.c:215
+#, c-format
+msgid "could not read binary \"%s\": %m"
+msgstr "ბინარული ფაილის (%s) წაკითხვის შეცდომა: %m"
+
+#: ../../common/exec.c:223
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "გასაშვებად ფაილის \"%s\" პოვნა შეუძლებელია"
+
+#: ../../common/exec.c:250
+#, c-format
+msgid "could not resolve path \"%s\" to absolute form: %m"
+msgstr "ბილიკის (\"%s\") აბსოლუტურ ფორმაში ამოხსნის შეცდომა: %m"
+
+#: ../../common/exec.c:412
+#, c-format
+msgid "%s() failed: %m"
+msgstr "%s()-ის შეცდომა: %m"
+
+#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687
+msgid "out of memory"
+msgstr "არასაკმარისი მეხსიერება"
+
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161
+#: ../../port/path.c:753 ../../port/path.c:791 ../../port/path.c:808
+#, c-format
+msgid "out of memory\n"
+msgstr "არასაკმარისი მეხსიერება\n"
+
+#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "ნულოვანი მაჩვენებლის დუბლირება შეუძლებელია (შიდა შეცდომა)\n"
+
+#: ../../common/wait_error.c:55
+#, c-format
+msgid "command not executable"
+msgstr "ბრძანება გაშვებადი არაა"
+
+#: ../../common/wait_error.c:59
+#, c-format
+msgid "command not found"
+msgstr "ბრძანება ვერ ვიპოვე"
+
+#: ../../common/wait_error.c:64
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "შვილეული პროცესი დასრულდა სტატუსით %d"
+
+#: ../../common/wait_error.c:72
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "შვილეული პროცესი დასრულდა გამონაკლისით 0x%X"
+
+#: ../../common/wait_error.c:76
+#, c-format
+msgid "child process was terminated by signal %d: %s"
+msgstr "პროცესი გაჩერდა სიგნალით: %d: %s"
+
+#: ../../common/wait_error.c:82
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "შვილეული პროცესი დასრულდა უცნობი სტატუსით %d"
+
+#: ../../port/path.c:775
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "მიმდინარე სამუშაო საქაღალდის მიღების შეცდომა: %s\n"
+
+#: pg_ctl.c:255
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "%s: საქაღალდე %s არ არსებობს\n"
+
+#: pg_ctl.c:258
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s საქაღალდესთან %s წვდომის უფლება არ გაქვთ: %s\n"
+
+#: pg_ctl.c:271
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "%s: საქაღალდე \"%s\" ბაზის კლასტერის საქაღალდეს არ წარმოადგენს\n"
+
+#: pg_ctl.c:284
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "%s: PID ფაილის (\"%s\") გახსნის შეცდომა: %s\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "%s: PID ფაილი \"%s\" ცარიელია\n"
+
+#: pg_ctl.c:296
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "%s: PID ფაილის (\"%s\") არასწორი შიგთავსი\n"
+
+#: pg_ctl.c:458 pg_ctl.c:500
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "%s: სერვერის გაშვების შეცდომა: %s\n"
+
+#: pg_ctl.c:478
+#, c-format
+msgid "%s: could not start server due to setsid() failure: %s\n"
+msgstr "%s: სერვერის გაშვება შეუძლებელია setsid()-ის შეცდომის გამო: %s\n"
+
+#: pg_ctl.c:548
+#, c-format
+msgid "%s: could not open log file \"%s\": %s\n"
+msgstr "%s: ჟურნალის ფაილის გახსნის შეცდომა \"%s\": %s\n"
+
+#: pg_ctl.c:565
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "%s: სერვერის გაშვება შეუძლებელია: შეცდომის კოდი %lu\n"
+
+#: pg_ctl.c:782
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr "%s ბირთვის ფაილის ზომის ლიმიტის დაყენება აკრძალულია hardlimit-ის მიერ\n"
+
+#: pg_ctl.c:808
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "ფაილის (%s) წაკითხვის შეცდომა: %s\n"
+
+#: pg_ctl.c:813
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "%s: პარამეტრების ფაილში \"%s\" ზუსტად ერთი ხაზი უნდა იყოს\n"
+
+#: pg_ctl.c:855 pg_ctl.c:1039 pg_ctl.c:1107
+#, c-format
+msgid "%s: could not send stop signal (PID: %d): %s\n"
+msgstr "%s: გაჩერების სიგნალის გაგზავნა შეუძლებელია (PID: %d): %s\n"
+
+#: pg_ctl.c:883
+#, c-format
+msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"\n"
+msgstr "პროგრამა \"%s\" სჭირდება \"%s\"-ს, მაგრამ იგივე საქაღალდეში, სადაც \"%s\", ნაპოვნი არაა\n"
+
+#: pg_ctl.c:886
+#, c-format
+msgid "program \"%s\" was found by \"%s\" but was not the same version as %s\n"
+msgstr "პროგრამა „%s“ ნაპოვნია „%s“-ის მიერ, მაგრამ ვერსია, იგივეა არაა, რაც %s\n"
+
+#: pg_ctl.c:918
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "%s: მონაცემთა ბაზის ინიციალიზაციის შეცდომა\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr "%s: შეიძლება გაშვებულია სხვა სერვერი; გაშვებას მაინც ვეცდები\n"
+
+#: pg_ctl.c:981
+msgid "waiting for server to start..."
+msgstr "სერვერის გაშვების მოლოდინი..."
+
+#: pg_ctl.c:986 pg_ctl.c:1063 pg_ctl.c:1126 pg_ctl.c:1238
+msgid " done\n"
+msgstr " დასრულდა\n"
+
+#: pg_ctl.c:987
+msgid "server started\n"
+msgstr "სერვერი გაეშვა\n"
+
+#: pg_ctl.c:990 pg_ctl.c:996 pg_ctl.c:1243
+msgid " stopped waiting\n"
+msgstr " ლოდინი შეწყვეტილია\n"
+
+#: pg_ctl.c:991
+#, c-format
+msgid "%s: server did not start in time\n"
+msgstr "%s: სერვერი დროზე არ გაეშვა\n"
+
+#: pg_ctl.c:997
+#, c-format
+msgid ""
+"%s: could not start server\n"
+"Examine the log output.\n"
+msgstr ""
+"%s: სერვერის გაშვების შეცდომა\n"
+"შეამოწმეთ ჟურნალის ფაილი.\n"
+
+#: pg_ctl.c:1005
+msgid "server starting\n"
+msgstr "სერვერი ეშვება\n"
+
+#: pg_ctl.c:1024 pg_ctl.c:1083 pg_ctl.c:1147 pg_ctl.c:1186 pg_ctl.c:1267
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "%s: PID-ის ფაილი \"%s\" არ არსებობს\n"
+
+#: pg_ctl.c:1025 pg_ctl.c:1085 pg_ctl.c:1148 pg_ctl.c:1187 pg_ctl.c:1268
+msgid "Is server running?\n"
+msgstr "სერვერი გაშვებიულია?\n"
+
+#: pg_ctl.c:1031
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %d)\n"
+msgstr "%s: სერვერის გაჩერების შეცდომა; გაშვებულია ერთმომხმარებლიანი სერვერი (PID: %d)\n"
+
+#: pg_ctl.c:1046
+msgid "server shutting down\n"
+msgstr "მიმდინარეობს სერვერის გამორთვა\n"
+
+#: pg_ctl.c:1051 pg_ctl.c:1112
+msgid "waiting for server to shut down..."
+msgstr "სერვერის გამორთვის მოლოდინი..."
+
+#: pg_ctl.c:1055 pg_ctl.c:1117
+msgid " failed\n"
+msgstr " წარუმატებელი.\n"
+
+#: pg_ctl.c:1057 pg_ctl.c:1119
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "%s სერვერი არ გამორთულა\n"
+
+#: pg_ctl.c:1059 pg_ctl.c:1121
+msgid ""
+"HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr ""
+"მინიშნება: \"-m fast\" პარამეტრი სესიებს მაშინვე წყვეტს,\n"
+"სესიის-ინიცირებული გათიშვის მოლოდინის გარეშე.\n"
+
+#: pg_ctl.c:1065 pg_ctl.c:1127
+msgid "server stopped\n"
+msgstr "სერვერი გამოირთო\n"
+
+#: pg_ctl.c:1086
+msgid "trying to start server anyway\n"
+msgstr "სერვერის მაინც გაშვების მცდელობა\n"
+
+#: pg_ctl.c:1095
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %d)\n"
+msgstr "%s: სერვერის რესტარტი შეუძლებელია; გაშვებულია ერთმომხმარებლიანი სერვერი (PID: %d)\n"
+
+#: pg_ctl.c:1098 pg_ctl.c:1157
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "შეაჩერეთ ერთმომხმარებლიანი სერვერი და თავიდან სცადეთ.\n"
+
+#: pg_ctl.c:1131
+#, c-format
+msgid "%s: old server process (PID: %d) seems to be gone\n"
+msgstr "%s: სერვერის ძველი პროცესი (PID: %d) როგორც ჩანს, მოკვდა\n"
+
+#: pg_ctl.c:1133
+msgid "starting server anyway\n"
+msgstr "სერვერის მაინც გაშვება\n"
+
+#: pg_ctl.c:1154
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %d)\n"
+msgstr "%s: სერვერის გადატვირთვის შეცდომა; გაშვებულია ერთმომხმარებლიანი სერვერი (PID: %d)\n"
+
+#: pg_ctl.c:1163
+#, c-format
+msgid "%s: could not send reload signal (PID: %d): %s\n"
+msgstr "%s: გადატვირთვის სიგნალის გაგზავნის შეცდომა (PID: %d): %s\n"
+
+#: pg_ctl.c:1168
+msgid "server signaled\n"
+msgstr "სერვერს სიგნალი გაეგზავნა\n"
+
+#: pg_ctl.c:1193
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %d)\n"
+msgstr "%s: სერვერის წახალისების შეცდომა; გაშვებულია ერთმომხმარებლიანი სერვერი (PID: %d)\n"
+
+#: pg_ctl.c:1201
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr "%s:სერვერის წახალისება შეუძლებელია; სერვერი უქმე რეჟიმში არაა\n"
+
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "%s: წახალისების სიგნალის ფაილის (\"%s\") შექმნა შეუძლებელია: %s\n"
+
+#: pg_ctl.c:1217
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "%s: წახალისების სიგნალის ფაილში (\"%s\") ჩაწერა შეუძლებელია: %s\n"
+
+#: pg_ctl.c:1225
+#, c-format
+msgid "%s: could not send promote signal (PID: %d): %s\n"
+msgstr "%s: წახალისების სიგნალის გაგზავნა შეუძლებელია(PID: %d): %s\n"
+
+#: pg_ctl.c:1228
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s: წახალისების სიგნალის ფაილის (\"%s\") წაშლის შეცდომა: %s\n"
+
+#: pg_ctl.c:1235
+msgid "waiting for server to promote..."
+msgstr "სერვერის დაწინაურების მოლოდინი..."
+
+#: pg_ctl.c:1239
+msgid "server promoted\n"
+msgstr "სერვერი დაწინაურდა\n"
+
+#: pg_ctl.c:1244
+#, c-format
+msgid "%s: server did not promote in time\n"
+msgstr "%s სერვერი დროზე არ დაწინაურდა\n"
+
+#: pg_ctl.c:1250
+msgid "server promoting\n"
+msgstr "სერვერის დაწინაურება\n"
+
+#: pg_ctl.c:1274
+#, c-format
+msgid "%s: cannot rotate log file; single-user server is running (PID: %d)\n"
+msgstr "%s: ჟურნალის ფაილების როტაცია შეუძლებელია; გაშვებულია ერთმომხმარებლიანი სერვერი (PID: %d)\n"
+
+#: pg_ctl.c:1284
+#, c-format
+msgid "%s: could not create log rotation signal file \"%s\": %s\n"
+msgstr "%s: ჟურნალის როტაციის სიგნალის ფაილის (\"%s\") შექმნა შეუძლებელია: %s\n"
+
+#: pg_ctl.c:1290
+#, c-format
+msgid "%s: could not write log rotation signal file \"%s\": %s\n"
+msgstr "%s: ჟურნალის როტაციის სიგნალის ფაილში (\"%s\") ჩაწერა შეუძლებელია: %s\n"
+
+#: pg_ctl.c:1298
+#, c-format
+msgid "%s: could not send log rotation signal (PID: %d): %s\n"
+msgstr "%s: ჟურნალის როტაციის სიგნალის გაგზავნის შეცდომა (PID: %d): %s\n"
+
+#: pg_ctl.c:1301
+#, c-format
+msgid "%s: could not remove log rotation signal file \"%s\": %s\n"
+msgstr "%s: ჟურნალის როტაციის სიგნალის ფაილის (\"%s\") წაშლის შეცდომა : %s\n"
+
+#: pg_ctl.c:1306
+msgid "server signaled to rotate log file\n"
+msgstr "სერვერმა გვანიშნა რომ ჟურნალის ფაილი დასატრიალებელია\n"
+
+#: pg_ctl.c:1353
+#, c-format
+msgid "%s: single-user server is running (PID: %d)\n"
+msgstr "%s: გაშვებულია ერთმომხმარებლიანი სერვერი (PID: %d)\n"
+
+#: pg_ctl.c:1367
+#, c-format
+msgid "%s: server is running (PID: %d)\n"
+msgstr "%s: სერვერი გაშვებულია (PID: %d)\n"
+
+#: pg_ctl.c:1383
+#, c-format
+msgid "%s: no server running\n"
+msgstr "%s: სერვერი გაშვებული არა\n"
+
+#: pg_ctl.c:1400
+#, c-format
+msgid "%s: could not send signal %d (PID: %d): %s\n"
+msgstr "%s: სიგნალის (%d) გაგზავნის შეცდომა (PID: %d): %s\n"
+
+#: pg_ctl.c:1431
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s: საკუთარი პროგრამის გამშვები ფაილის პოვნა შეუძლებელია\n"
+
+#: pg_ctl.c:1441
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "%s: გამშვები ფაილი postgres არ არსებობს\n"
+
+#: pg_ctl.c:1511 pg_ctl.c:1545
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "%s: სერვისის მმართველის გახსნის შეცდომა\n"
+
+#: pg_ctl.c:1517
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "%s: სერვისი %s უკვე რეგისტრირებულია\n"
+
+#: pg_ctl.c:1528
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "%s: სერვისის (\"%s\") რეგისტრაციის შეცდომა: შეცდომის კოდი %lu\n"
+
+#: pg_ctl.c:1551
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "%s: სერვისი %s უკვე რეგისტრირებულია\n"
+
+#: pg_ctl.c:1558
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "%s: სერვისის (%s) გახსნა შეუძლებელია: შეცდომის კოდი: %lu\n"
+
+#: pg_ctl.c:1567
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "%s: სერვისის (\"%s\") რეგისტრაციის მოხსნა შეუძლებელია: შეცდომის კოდი: %lu\n"
+
+#: pg_ctl.c:1654
+msgid "Waiting for server startup...\n"
+msgstr "სერვერის გაშვების მოლოდინი...\n"
+
+#: pg_ctl.c:1657
+msgid "Timed out waiting for server startup\n"
+msgstr "სერვერის გაშვების მოლოდინის ვადა გავიდა\n"
+
+#: pg_ctl.c:1661
+msgid "Server started and accepting connections\n"
+msgstr "სერვერი გაეშვა და მზადაა შეერთებისთვის\n"
+
+#: pg_ctl.c:1716
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "%s: სერვისის (%s) გაშვება შეუძლებელია: შეცდომის კოდი %lu\n"
+
+#: pg_ctl.c:1789
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "%s: პროცესის კოდის გახსნა შეუძლებელია: შეცდომის კოდი %lu\n"
+
+#: pg_ctl.c:1803
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "%s: შეცდომა SSID-ების გამოყოფისას: შეცდომის კოდი %lu\n"
+
+#: pg_ctl.c:1829
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "%s: შეზღუდული კოდის შექმნა ვერ მოხერხდა: შეცდომის კოდი %lu\n"
+
+#: pg_ctl.c:1911
+#, c-format
+msgid "%s: could not get LUIDs for privileges: error code %lu\n"
+msgstr "%s: პრივილეგიებისთვის LUID-ების მიღება შეუძლებელია: შეცდომის კოდი: %lu\n"
+
+#: pg_ctl.c:1919 pg_ctl.c:1934
+#, c-format
+msgid "%s: could not get token information: error code %lu\n"
+msgstr "%s: შეზღუდული კოდის ინფორმაციის მიღება ვერ მოხერხდა: შეცდომის კოდი %lu\n"
+
+#: pg_ctl.c:1928
+#, c-format
+msgid "%s: out of memory\n"
+msgstr "%s: არასაკმარისი მეხსიერება\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "მეტი ინფორმაციისთვის სცადეთ '%s --help'.\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid ""
+"%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n"
+"\n"
+msgstr ""
+"%s წარმოადგენს პროგრამას PostgreSQL სერვერის ინიციალიზაციის, გაშვების, გაჩერების და კონტროლისთვის.\n"
+"\n"
+
+#: pg_ctl.c:1967
+#, c-format
+msgid "Usage:\n"
+msgstr "გამოყენება:\n"
+
+#: pg_ctl.c:1968
+#, c-format
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr " %s init[db] [-D მონაცემებისსაქაღალდე] [-s] [-o პარამეტრები]\n"
+
+#: pg_ctl.c:1969
+#, c-format
+msgid ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr ""
+" %s start [-D მონაცემებსსაქაღალდე] [-l ფაილისსახელი] [-W] [-t წამი] [-s]\n"
+" [-o პარამეტრი] [-p ბილიკი] [-c]\n"
+
+#: pg_ctl.c:1971
+#, c-format
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr " %s stop [-D მონაცემებსსაქაღალდე] [-m გამორთვის-რეჟიმი] [-W] [-t წამი] [-s]\n"
+
+#: pg_ctl.c:1972
+#, c-format
+msgid ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr ""
+" %s restart [-D მონაცემებსსაქაღალდე] [-m გამორთვის-რეჟიმი] [-W] [-t წამი] [-s]\n"
+" [-o პარამეტრები] [-c]\n"
+
+#: pg_ctl.c:1974
+#, c-format
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D მონაცემებსსაქაღალდე] [-s]\n"
+
+#: pg_ctl.c:1975
+#, c-format
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D მონაცემებსსაქაღალდე]\n"
+
+#: pg_ctl.c:1976
+#, c-format
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr " %s promote [-D მონაცემებისსაქაღალდე] [-W] [-t წამი] [-s]\n"
+
+#: pg_ctl.c:1977
+#, c-format
+msgid " %s logrotate [-D DATADIR] [-s]\n"
+msgstr " %s logrotate [-D მონაცემებისსაქაღალდე] [-s]\n"
+
+#: pg_ctl.c:1978
+#, c-format
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill სიგნალისსახელი PID\n"
+
+#: pg_ctl.c:1980
+#, c-format
+msgid ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+msgstr ""
+" %s register [-D მონაცემებსსაქაღალდე] [-N სერვისისსახელი] [-U მომხმარებელი] [-P პაროლი]\n"
+" [-S გაშვების-ტიპი] [-e წყარო] [-W] [-t წამი] [-s] [-o პარამეტრები]\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N სერვისისსახელი]\n"
+
+#: pg_ctl.c:1985
+#, c-format
+msgid ""
+"\n"
+"Common options:\n"
+msgstr ""
+"\n"
+"ზოგადი პარამეტრები:\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr " [-D, --pgdata=]DATADIR ბაზის საცავის მდებარეობა\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid " -e SOURCE event source for logging when running as a service\n"
+msgstr " -e SOURCE მოვლენების წყარო სერვისად გაშვებულობის დროს ჟურნალის ჩასაწერად\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr " -s, --silent მხოლოდ შეცდომების გამოტანა. საინფორმაციო შეტყობინებები არ გამოჩნდება\n"
+
+#: pg_ctl.c:1991
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr " -t, --timeout=წამი -w პარამეტრის გამოყენებისას მითითებული ლოდინის დრო\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr " -V, --version ვერსიის ინფორმაციის გამოტანა და გასვლა\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr " -w, --wait დალოდება ოპერაციის დასრულებამდე(ნაგულისხმები)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr " -W, --no-wait არ დაელოდება ოპერაციის დასასრულს\n"
+
+#: pg_ctl.c:1995
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr " -?, --help ამ დახმარების ჩვენება და გასვლა\n"
+
+#: pg_ctl.c:1996
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr "თუ -D პარამეტრი მითითებული არაა, გამოყენებული იქნება გარემოს ცვლადი PGDATA.\n"
+
+#: pg_ctl.c:1998
+#, c-format
+msgid ""
+"\n"
+"Options for start or restart:\n"
+msgstr ""
+"\n"
+"გაშვების ან თავიდან გაშვების პარამეტრები:\n"
+
+#: pg_ctl.c:2000
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr " -c, --core-files postgres-ისთვის ბირთვის ფაილების ჩაწერის უფლების მიცემა\n"
+
+#: pg_ctl.c:2002
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr " -c, --core-files ამ პლატფორმაზე არ მუშაობს\n"
+
+#: pg_ctl.c:2004
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr " -l, --log=ფაილისსახელი სერვერის ჟურნალის ფაილში ჩაწერა (ან არსებული ფაილის ბოლოში მიწერა)\n"
+
+#: pg_ctl.c:2005
+#, c-format
+msgid ""
+" -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr ""
+" -o, --options=OPTIONS postgres-ისთვის (PostgreSQL სერვერი) ან initdb-სთვის გადასაცემი \n"
+" ბრძანების სტრიქონის პარამეტრები \n"
+
+#: pg_ctl.c:2007
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr " -p ბილიკი-POSTGRES-მდე ჩვეულებრივ საჭირო არაა\n"
+
+#: pg_ctl.c:2008
+#, c-format
+msgid ""
+"\n"
+"Options for stop or restart:\n"
+msgstr ""
+"\n"
+"გაჩერებისა და გადატვირთვის პარამეტრები:\n"
+
+#: pg_ctl.c:2009
+#, c-format
+msgid " -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr " -m, --mode=რეჟიმი რეჟიმი შეიძლება იყოს: (ჭკვიანი)\"smart\", (ჩქარი)\"fast\", ან (ახლავე)\"immediate\"\n"
+
+#: pg_ctl.c:2011
+#, c-format
+msgid ""
+"\n"
+"Shutdown modes are:\n"
+msgstr ""
+"\n"
+"გამორთვის რეჟიმებია:\n"
+
+#: pg_ctl.c:2012
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr " smart გასვლა, როცა ყველა კლიენტი გაითიშება\n"
+
+#: pg_ctl.c:2013
+#, c-format
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr " fast პირდაპირ გასვლა, სწორად გამორთვით (ნაგულისხმები)\n"
+
+#: pg_ctl.c:2014
+#, c-format
+msgid " immediate quit without complete shutdown; will lead to recovery on restart\n"
+msgstr " immediate სრული გათიშვის გარეშე გასვლა; დიდი ალბათობით შემდეგ გაშვებაზე მონაცემების აღდგენა მოგიწევთ\n"
+
+#: pg_ctl.c:2016
+#, c-format
+msgid ""
+"\n"
+"Allowed signal names for kill:\n"
+msgstr ""
+"\n"
+"მოსაკლავად დაშვებული სიგნალის სახელები:\n"
+
+#: pg_ctl.c:2020
+#, c-format
+msgid ""
+"\n"
+"Options for register and unregister:\n"
+msgstr ""
+"\n"
+"რეგისტრაციისა და მისი მოხსნის პარამეტრები:\n"
+
+#: pg_ctl.c:2021
+#, c-format
+msgid " -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr " -N სერვისისსახელი სერვისის სახელი, რომელიც PostgreSQL სერვერი დარეგისტრირდება\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr " -P პაროლი PostgreSQL სერვერის დასარეგისტრირებელი მომხმარებლის პაროლი\n"
+
+#: pg_ctl.c:2023
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr " -U მომხმარებელი PostgreSQL სერვერის დასარეგისტრირებელი მომხმარებლის სახელი\n"
+
+#: pg_ctl.c:2024
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr " -S გაშვების ტიპი PostgreSQL სერვერის გაშვების ტიპი\n"
+
+#: pg_ctl.c:2026
+#, c-format
+msgid ""
+"\n"
+"Start types are:\n"
+msgstr ""
+"\n"
+"გაშვების ტიპები:\n"
+
+#: pg_ctl.c:2027
+#, c-format
+msgid " auto start service automatically during system startup (default)\n"
+msgstr " auto სერვისი ავტომატურად გაეშვება სისტემის ჩატვირთვისას (ნაგულისხმები)\n"
+
+#: pg_ctl.c:2028
+#, c-format
+msgid " demand start service on demand\n"
+msgstr " demand საჭიროების მიხედვით\n"
+
+#: pg_ctl.c:2031
+#, c-format
+msgid ""
+"\n"
+"Report bugs to <%s>.\n"
+msgstr ""
+"\n"
+"შეცდომების შესახებ მიწერეთ: %s\n"
+
+#: pg_ctl.c:2032
+#, c-format
+msgid "%s home page: <%s>\n"
+msgstr "%s-ის საწყისი გვერდია: <%s>\n"
+
+#: pg_ctl.c:2057
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "%s: მუშაობის დასრულების უცნობი რეჟიმი: \"%s\"\n"
+
+#: pg_ctl.c:2086
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "%s: სიგნალის უცნობი სახელი: \"%s\"\n"
+
+#: pg_ctl.c:2103
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "%s: გაშვების უცნობი ტიპი \"%s\"\n"
+
+#: pg_ctl.c:2159
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "%s: შეუძლებელია მონაცემების საქაღალდის პოვნა ბრძანებით \"%s\"\n"
+
+#: pg_ctl.c:2182
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "%s: როგორც ჩანს, საკონტროლო ფაილი დაზიანებულია\n"
+
+#: pg_ctl.c:2250
+#, c-format
+msgid ""
+"%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr ""
+"%s: არ შეიძლება გაშვებული როგორც root \n"
+"გთხოვთ შეხვიდეთ (მაგ. \"su\"-ის გამოყენებით) როგორც (არაპრივილეგირებული)\n"
+"მომხმარებელი, რომელიც ფლობს სერვერის პროცესს.\n"
+
+#: pg_ctl.c:2333
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "%s: პარამეტრი -S ამ პლატფორმაზე მხარდაუჭერელია\n"
+
+#: pg_ctl.c:2370
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "%s: მეტისმეტად ბევრი ბრძანების-სტრიქონის არგუმენტი (პირველია \"%s\")\n"
+
+#: pg_ctl.c:2396
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "%s: ნაკლული არგუმენტები მოკვლის რეჟიმისთვის\n"
+
+#: pg_ctl.c:2414
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "%s: ოპერაციის უცნობი რეჟიმი \"%s\"\n"
+
+#: pg_ctl.c:2424
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "%s: ოპერაცია მითითებული არაა\n"
+
+#: pg_ctl.c:2445
+#, c-format
+msgid "%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr "%s: ბაზის საქაღალდე და გარემოს ცვლადი PGDATA მითითებული არაა\n"
+
+#, c-format
+#~ msgid "%s: WARNING: cannot create restricted tokens on this platform\n"
+#~ msgstr "%s: გაფრთხილება: ამ პლატფორმაზე შეზღუდული კოდების შექმნა შეუძლებელია\n"
+
+#, c-format
+#~ msgid "%s: WARNING: could not locate all job object functions in system API\n"
+#~ msgstr "%s: გაფრთხილება: სისტემურ API-ში დავალების ობიექტის ყველა ფუნქცია არ არსებობს\n"
+
+#, c-format
+#~ msgid "could not change directory to \"%s\": %m"
+#~ msgstr "საქაღალდის %s-ზე შეცვლის შეცდომა: %m"
+
+#, c-format
+#~ msgid "could not identify current directory: %m"
+#~ msgstr "მიმდინარე საქაღალდის იდენტიფიკაციის პრობლემა: %m"
+
+#, c-format
+#~ msgid "could not read symbolic link \"%s\": %m"
+#~ msgstr "სიმბოლური ბმის \"%s\" წაკითხვის შეცდომა: %m"
diff --git a/src/bin/pg_ctl/po/ko.po b/src/bin/pg_ctl/po/ko.po
new file mode 100644
index 0000000..03d2ac8
--- /dev/null
+++ b/src/bin/pg_ctl/po/ko.po
@@ -0,0 +1,858 @@
+# Korean message translation file for PostgreSQL pg_ctl
+# Ioseph Kim <ioseph@uri.sarang.net>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: pg_ctl (PostgreSQL) 16\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
+"POT-Creation-Date: 2023-09-07 05:49+0000\n"
+"PO-Revision-Date: 2023-05-26 13:21+0900\n"
+"Last-Translator: Ioseph Kim <ioseph@uri.sarang.net>\n"
+"Language-Team: Korean Team <pgsql-kr@postgresql.kr>\n"
+"Language: ko\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#: ../../common/exec.c:172
+#, c-format
+msgid "invalid binary \"%s\": %m"
+msgstr "\"%s\" 파일은 잘못된 바이너리 파일임: %m"
+
+#: ../../common/exec.c:215
+#, c-format
+msgid "could not read binary \"%s\": %m"
+msgstr "\"%s\" 바이너리 파일을 읽을 수 없음: %m"
+
+#: ../../common/exec.c:223
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "실행할 \"%s\" 파일을 찾을 수 없음"
+
+#: ../../common/exec.c:250
+#, c-format
+msgid "could not resolve path \"%s\" to absolute form: %m"
+msgstr "\"%s\" 경로를 절대경로로 바꿀 수 없음: %m"
+
+#: ../../common/exec.c:412
+#, c-format
+msgid "%s() failed: %m"
+msgstr "%s() 실패: %m"
+
+#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687
+msgid "out of memory"
+msgstr "메모리 부족"
+
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161
+#: ../../port/path.c:753 ../../port/path.c:791 ../../port/path.c:808
+#, c-format
+msgid "out of memory\n"
+msgstr "메모리 부족\n"
+
+#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "null 포인터를 복제할 수 없음(내부 오류)\n"
+
+#: ../../common/wait_error.c:55
+#, c-format
+msgid "command not executable"
+msgstr "명령을 실행할 수 없음"
+
+#: ../../common/wait_error.c:59
+#, c-format
+msgid "command not found"
+msgstr "명령어를 찾을 수 없음"
+
+#: ../../common/wait_error.c:64
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "하위 프로세스가 종료되었음, 종료 코드 %d"
+
+#: ../../common/wait_error.c:72
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "0x%X 예외처리로 하위 프로세스가 종료되었음"
+
+#: ../../common/wait_error.c:76
+#, c-format
+msgid "child process was terminated by signal %d: %s"
+msgstr "하위 프로세스가 종료되었음, 시그널 %d: %s"
+
+#: ../../common/wait_error.c:82
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "하위 프로세스가 종료되었음, 알수 없는 상태 %d"
+
+#: ../../port/path.c:775
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "현재 작업 디렉터리를 알 수 없음: %s\n"
+
+#: pg_ctl.c:255
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "%s: \"%s\" 디렉터리 없음\n"
+
+#: pg_ctl.c:258
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s: \"%s\" 디렉터리에 액세스할 수 없음: %s\n"
+
+#: pg_ctl.c:271
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "%s: 지정한 \"%s\" 디렉터리는 데이터베이스 클러스트 디렉터리가 아님\n"
+
+#: pg_ctl.c:284
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "%s: \"%s\" PID 파일을 열 수 없음: %s\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "%s: \"%s\" PID 파일에 내용이 없습니다\n"
+
+#: pg_ctl.c:296
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "%s: \"%s\" PID 파일이 비었음\n"
+
+#: pg_ctl.c:458 pg_ctl.c:500
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "%s: 서버를 시작 할 수 없음: %s\n"
+
+#: pg_ctl.c:478
+#, c-format
+msgid "%s: could not start server due to setsid() failure: %s\n"
+msgstr "%s: setsid() 실패로 서버를 시작 할 수 없음: %s\n"
+
+#: pg_ctl.c:548
+#, c-format
+msgid "%s: could not open log file \"%s\": %s\n"
+msgstr "%s: \"%s\" 로그 파일을 열 수 없음: %s\n"
+
+#: pg_ctl.c:565
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "%s: 서버를 시작할 수 없음: 오류 코드 %lu\n"
+
+#: pg_ctl.c:782
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr ""
+"%s: 코어 파일 크기 한도를 설정할 수 없음, 하드 디스크 용량 초과로 허용되지 않"
+"음\n"
+
+#: pg_ctl.c:808
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "%s: \"%s\" 파일을 읽을 수 없음\n"
+
+#: pg_ctl.c:813
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "%s: \"%s\" 환경설정파일은 반드시 한 줄을 가져야한다?\n"
+
+#: pg_ctl.c:855 pg_ctl.c:1039 pg_ctl.c:1107
+#, c-format
+msgid "%s: could not send stop signal (PID: %d): %s\n"
+msgstr "%s: stop 시그널을 보낼 수 없음 (PID: %d): %s\n"
+
+#: pg_ctl.c:883
+#, c-format
+msgid ""
+"program \"%s\" is needed by %s but was not found in the same directory as "
+"\"%s\"\n"
+msgstr ""
+"\"%s\" 프로그램이 %s 작업에서 필요합니다. 그런데, 이 파일이\n"
+"\"%s\" 파일이 있는 디렉터리안에 없습니다.\n"
+
+#: pg_ctl.c:886
+#, c-format
+msgid "program \"%s\" was found by \"%s\" but was not the same version as %s\n"
+msgstr ""
+"\"%s\" 프로그램을 \"%s\" 작업 때문에 찾았지만 이 파일은\n"
+"%s 프로그램의 버전과 다릅니다.\n"
+
+#: pg_ctl.c:918
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "%s: 데이터베이스 초기화 실패\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr "%s: 다른 서버가 가동 중인 것 같음; 어째든 서버 가동을 시도함\n"
+
+#: pg_ctl.c:981
+msgid "waiting for server to start..."
+msgstr "서버를 시작하기 위해 기다리는 중..."
+
+#: pg_ctl.c:986 pg_ctl.c:1063 pg_ctl.c:1126 pg_ctl.c:1238
+msgid " done\n"
+msgstr " 완료\n"
+
+#: pg_ctl.c:987
+msgid "server started\n"
+msgstr "서버 시작됨\n"
+
+#: pg_ctl.c:990 pg_ctl.c:996 pg_ctl.c:1243
+msgid " stopped waiting\n"
+msgstr " 중지 기다리는 중\n"
+
+#: pg_ctl.c:991
+#, c-format
+msgid "%s: server did not start in time\n"
+msgstr "%s: 서버가 제 시간에 시작되지 못했음\n"
+
+#: pg_ctl.c:997
+#, c-format
+msgid ""
+"%s: could not start server\n"
+"Examine the log output.\n"
+msgstr ""
+"%s: 서버를 시작 할 수 없음\n"
+"로그 출력을 살펴보십시오.\n"
+
+#: pg_ctl.c:1005
+msgid "server starting\n"
+msgstr "서버를 시작합니다\n"
+
+#: pg_ctl.c:1024 pg_ctl.c:1083 pg_ctl.c:1147 pg_ctl.c:1186 pg_ctl.c:1267
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "%s: \"%s\" PID 파일이 없습니다\n"
+
+#: pg_ctl.c:1025 pg_ctl.c:1085 pg_ctl.c:1148 pg_ctl.c:1187 pg_ctl.c:1268
+msgid "Is server running?\n"
+msgstr "서버가 실행 중입니까?\n"
+
+#: pg_ctl.c:1031
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %d)\n"
+msgstr "%s: 서버 중지 실패; 단일 사용자 서버가 실행 중 (PID: %d)\n"
+
+#: pg_ctl.c:1046
+msgid "server shutting down\n"
+msgstr "서버를 멈춥니다\n"
+
+#: pg_ctl.c:1051 pg_ctl.c:1112
+msgid "waiting for server to shut down..."
+msgstr "서버를 멈추기 위해 기다리는 중..."
+
+#: pg_ctl.c:1055 pg_ctl.c:1117
+msgid " failed\n"
+msgstr " 실패\n"
+
+#: pg_ctl.c:1057 pg_ctl.c:1119
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "%s: 서버를 멈추지 못했음\n"
+
+#: pg_ctl.c:1059 pg_ctl.c:1121
+msgid ""
+"HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr ""
+"힌트: \"-m fast\" 옵션을 사용하면 접속한 세션들을 즉시 정리합니다.\n"
+"이 옵션을 사용하지 않으면 접속한 세션들 스스로 끊을 때까지 기다립니다.\n"
+
+#: pg_ctl.c:1065 pg_ctl.c:1127
+msgid "server stopped\n"
+msgstr "서버 멈추었음\n"
+
+#: pg_ctl.c:1086
+msgid "trying to start server anyway\n"
+msgstr "어째든 서버를 시작해 봅니다\n"
+
+#: pg_ctl.c:1095
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %d)\n"
+msgstr ""
+"%s: 서버를 다시 시작 할 수 없음; 단일사용자 서버가 실행 중임 (PID: %d)\n"
+
+#: pg_ctl.c:1098 pg_ctl.c:1157
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "단일 사용자 서버를 멈추고 다시 시도하십시오.\n"
+
+#: pg_ctl.c:1131
+#, c-format
+msgid "%s: old server process (PID: %d) seems to be gone\n"
+msgstr "%s: 이전 서버 프로세스(PID: %d)가 없어졌습니다\n"
+
+#: pg_ctl.c:1133
+msgid "starting server anyway\n"
+msgstr "어째든 서버를 시작합니다\n"
+
+#: pg_ctl.c:1154
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %d)\n"
+msgstr ""
+"%s: 서버 환경설정을 다시 불러올 수 없음; 단일 사용자 서버가 실행 중임 (PID: "
+"%d)\n"
+
+#: pg_ctl.c:1163
+#, c-format
+msgid "%s: could not send reload signal (PID: %d): %s\n"
+msgstr "%s: reload 시그널을 보낼 수 없음 (PID: %d): %s\n"
+
+#: pg_ctl.c:1168
+msgid "server signaled\n"
+msgstr "서버가 시스템 시그널을 받았음\n"
+
+#: pg_ctl.c:1193
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %d)\n"
+msgstr "%s: 운영서버 전환 실패; 단일사용자 서버가 실행 중(PID: %d)\n"
+
+#: pg_ctl.c:1201
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr "%s: 운영서버 전환 실패; 서버가 대기 모드로 상태가 아님\n"
+
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "%s: 운영전환 시그널 파일인 \"%s\" 파일을 만들 수 없음: %s\n"
+
+#: pg_ctl.c:1217
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "%s: 운영전환 시그널 파일인 \"%s\" 파일에 쓰기 실패: %s\n"
+
+#: pg_ctl.c:1225
+#, c-format
+msgid "%s: could not send promote signal (PID: %d): %s\n"
+msgstr "%s: 운영전환 시그널을 서버(PID: %d)로 보낼 수 없음: %s\n"
+
+#: pg_ctl.c:1228
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s: 운영전환 시그널 파일인 \"%s\" 파일을 지울 수 없음: %s\n"
+
+#: pg_ctl.c:1235
+msgid "waiting for server to promote..."
+msgstr "서버를 운영 모드로 전환하는 중 ..."
+
+#: pg_ctl.c:1239
+msgid "server promoted\n"
+msgstr "운영 모드 전환 완료\n"
+
+#: pg_ctl.c:1244
+#, c-format
+msgid "%s: server did not promote in time\n"
+msgstr "%s: 서버를 제 시간에 운영 모드로 전환하지 못했음\n"
+
+#: pg_ctl.c:1250
+msgid "server promoting\n"
+msgstr "서버를 운영 모드로 전환합니다\n"
+
+#: pg_ctl.c:1274
+#, c-format
+msgid "%s: cannot rotate log file; single-user server is running (PID: %d)\n"
+msgstr ""
+"%s: 서버 로그 파일을 바꿀 수 없음; 단일 사용자 서버가 실행 중임 (PID: %d)\n"
+
+#: pg_ctl.c:1284
+#, c-format
+msgid "%s: could not create log rotation signal file \"%s\": %s\n"
+msgstr "%s: 로그 전환 시그널 파일인 \"%s\" 파일을 만들 수 없음: %s\n"
+
+#: pg_ctl.c:1290
+#, c-format
+msgid "%s: could not write log rotation signal file \"%s\": %s\n"
+msgstr "%s: 로그 전환 시그널 파일인 \"%s\" 파일에 쓰기 실패: %s\n"
+
+#: pg_ctl.c:1298
+#, c-format
+msgid "%s: could not send log rotation signal (PID: %d): %s\n"
+msgstr "%s: 로그 전환 시그널을 보낼 수 없음 (PID: %d): %s\n"
+
+#: pg_ctl.c:1301
+#, c-format
+msgid "%s: could not remove log rotation signal file \"%s\": %s\n"
+msgstr "%s: 로그 전환 시그널 파일인 \"%s\" 파일을 지울 수 없음: %s\n"
+
+#: pg_ctl.c:1306
+msgid "server signaled to rotate log file\n"
+msgstr "서버가 로그 전환 시그널을 받았음\n"
+
+#: pg_ctl.c:1353
+#, c-format
+msgid "%s: single-user server is running (PID: %d)\n"
+msgstr "%s: 단일사용자 서버가 실행 중임 (PID: %d)\n"
+
+#: pg_ctl.c:1367
+#, c-format
+msgid "%s: server is running (PID: %d)\n"
+msgstr "%s: 서버가 실행 중임 (PID: %d)\n"
+
+#: pg_ctl.c:1383
+#, c-format
+msgid "%s: no server running\n"
+msgstr "%s: 가동 중인 서버가 없음\n"
+
+#: pg_ctl.c:1400
+#, c-format
+msgid "%s: could not send signal %d (PID: %d): %s\n"
+msgstr "%s: %d 시그널을 보낼 수 없음 (PID: %d): %s\n"
+
+#: pg_ctl.c:1431
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s: 실행 가능한 프로그램을 찾을 수 없습니다\n"
+
+#: pg_ctl.c:1441
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "%s: 실행 가능한 postgres 프로그램을 찾을 수 없음\n"
+
+#: pg_ctl.c:1511 pg_ctl.c:1545
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "%s: 서비스 관리자를 열 수 없음\n"
+
+#: pg_ctl.c:1517
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "%s: \"%s\" 서비스가 이미 등록 되어 있음\n"
+
+#: pg_ctl.c:1528
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "%s: \"%s\" 서비스를 등록할 수 없음: 오류 코드 %lu\n"
+
+#: pg_ctl.c:1551
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "%s: \"%s\" 서비스가 등록되어 있지 않음\n"
+
+#: pg_ctl.c:1558
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "%s: \"%s\" 서비스를 열 수 없음: 오류 코드 %lu\n"
+
+#: pg_ctl.c:1567
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "%s: \"%s\" 서비스를 서비스 목록에서 뺄 수 없음: 오류 코드 %lu\n"
+
+#: pg_ctl.c:1654
+msgid "Waiting for server startup...\n"
+msgstr "서버를 시작하기 위해 기다리는 중...\n"
+
+#: pg_ctl.c:1657
+msgid "Timed out waiting for server startup\n"
+msgstr "서버 시작을 기다리는 동안 시간 초과됨\n"
+
+#: pg_ctl.c:1661
+msgid "Server started and accepting connections\n"
+msgstr "서버가 시작되었으며 연결을 허용함\n"
+
+#: pg_ctl.c:1716
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "%s: \"%s\" 서비스를 시작할 수 없음: 오류 코드 %lu\n"
+
+#: pg_ctl.c:1789
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "%s: 프로세스 토큰을 열 수 없음: 오류 코드 %lu\n"
+
+#: pg_ctl.c:1803
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "%s: SID를 할당할 수 없음: 오류 코드 %lu\n"
+
+#: pg_ctl.c:1829
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "%s: restricted token을 만들 수 없음: 오류 코드 %lu\n"
+
+#: pg_ctl.c:1911
+#, c-format
+msgid "%s: could not get LUIDs for privileges: error code %lu\n"
+msgstr "%s: 접근 권한용 LUID를 구할 수 없음: 오류 코드 %lu\n"
+
+#: pg_ctl.c:1919 pg_ctl.c:1934
+#, c-format
+msgid "%s: could not get token information: error code %lu\n"
+msgstr "%s: 토큰 정보를 구할 수 없음: 오류 코드 %lu\n"
+
+#: pg_ctl.c:1928
+#, c-format
+msgid "%s: out of memory\n"
+msgstr "%s: 메모리 부족\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "보다 자세한 사용법은 \"%s --help\"\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid ""
+"%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n"
+"\n"
+msgstr ""
+"%s 프로그램은 PostgreSQL 서버를 초기화, 시작, 중지, 제어하는 도구입니다.\n"
+"\n"
+
+#: pg_ctl.c:1967
+#, c-format
+msgid "Usage:\n"
+msgstr "사용법:\n"
+
+#: pg_ctl.c:1968
+#, c-format
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr " %s init[db] [-D 데이터디렉터리] [-s] [-o 옵션]\n"
+
+#: pg_ctl.c:1969
+#, c-format
+msgid ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr ""
+" %s start [-D 데이터디렉터리] [-l 파일이름] [-W] [-t 초] [-s]\n"
+" [-o 옵션] [-p 경로] [-c]\n"
+
+#: pg_ctl.c:1971
+#, c-format
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr " %s stop [-D 데이터디렉터리] [-m 중지방법] [-W] [-t 초] [-s]\n"
+
+#: pg_ctl.c:1972
+#, c-format
+msgid ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr ""
+" %s restart [-D 데이터디렉터리] [-m 중지방법] [-W] [-t 초] [-s]\n"
+" [-o 옵션] [-c]\n"
+
+#: pg_ctl.c:1974
+#, c-format
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D 데이터디렉터리] [-s]\n"
+
+#: pg_ctl.c:1975
+#, c-format
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D 데이터디렉터리]\n"
+
+#: pg_ctl.c:1976
+#, c-format
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr " %s promote [-D 데이터디렉터리] [-W] [-t 초] [-s]\n"
+
+#: pg_ctl.c:1977
+#, c-format
+msgid " %s logrotate [-D DATADIR] [-s]\n"
+msgstr " %s logrotate [-D 데이터디렉터리] [-s]\n"
+
+#: pg_ctl.c:1978
+#, c-format
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill 시그널이름 PID\n"
+
+#: pg_ctl.c:1980
+#, c-format
+msgid ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o "
+"OPTIONS]\n"
+msgstr ""
+" %s register [-D 데이터디렉터리] [-N 서비스이름] [-U 사용자이름] [-P 암"
+"호]\n"
+" [-S 시작형태] [-e SOURCE] [-w] [-t 초] [-o 옵션]\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N 서비스이름]\n"
+
+#: pg_ctl.c:1985
+#, c-format
+msgid ""
+"\n"
+"Common options:\n"
+msgstr ""
+"\n"
+"일반 옵션들:\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr ""
+" -D, --pgdata=데이터디렉터리 데이터베이스 자료가 저장되어있는 디렉터리\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid ""
+" -e SOURCE event source for logging when running as a service\n"
+msgstr ""
+" -e SOURCE 서비스가 실행 중일때 쌓을 로그를 위한 이벤트 소스\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr ""
+" -s, --silent 일반적인 메시지는 보이지 않고, 오류만 보여줌\n"
+
+#: pg_ctl.c:1991
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr " -t, --timeout=초 -w 옵션 사용 시 대기 시간(초)\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr " -V, --version 버전 정보를 보여주고 마침\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr " -w, --wait 작업이 끝날 때까지 기다림 (기본값)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr " -W, --no-wait 작업이 끝날 때까지 기다리지 않음\n"
+
+#: pg_ctl.c:1995
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr " -?, --help 이 도움말을 보여주고 마침\n"
+
+#: pg_ctl.c:1996
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr "-D 옵션을 사용하지 않으면, PGDATA 환경변수값을 사용함.\n"
+
+#: pg_ctl.c:1998
+#, c-format
+msgid ""
+"\n"
+"Options for start or restart:\n"
+msgstr ""
+"\n"
+"start, restart 때 사용할 수 있는 옵션들:\n"
+
+#: pg_ctl.c:2000
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr " -c, --core-files 코어 덤프 파일을 만듬\n"
+
+#: pg_ctl.c:2002
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr " -c, --core-files 이 플랫폼에서는 사용할 수 없음\n"
+
+#: pg_ctl.c:2004
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr " -l, --log=로그파일 서버 로그를 이 로그파일에 기록함\n"
+
+#: pg_ctl.c:2005
+#, c-format
+msgid ""
+" -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr ""
+" -o, --options=옵션들 PostgreSQL 서버프로그램인 postgres나 initdb\n"
+" 명령에서 사용할 명령행 옵션들\n"
+
+#: pg_ctl.c:2007
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr " -p PATH-TO-POSTGRES 보통은 필요치 않음\n"
+
+#: pg_ctl.c:2008
+#, c-format
+msgid ""
+"\n"
+"Options for stop or restart:\n"
+msgstr ""
+"\n"
+"stop, restart 때 사용 할 수 있는 옵션들:\n"
+
+#: pg_ctl.c:2009
+#, c-format
+msgid ""
+" -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr ""
+" -m, --mode=모드 모드는 \"smart\", \"fast\", \"immediate\" 중 하나\n"
+
+#: pg_ctl.c:2011
+#, c-format
+msgid ""
+"\n"
+"Shutdown modes are:\n"
+msgstr ""
+"\n"
+"중지방법 설명:\n"
+
+#: pg_ctl.c:2012
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr " smart 모든 클라이언트의 연결이 끊기게 되면 중지 됨\n"
+
+#: pg_ctl.c:2013
+#, c-format
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr ""
+" fast 클라이언트의 연결을 강제로 끊고 정상적으로 중지 됨 (기본값)\n"
+
+#: pg_ctl.c:2014
+#, c-format
+msgid ""
+" immediate quit without complete shutdown; will lead to recovery on "
+"restart\n"
+msgstr ""
+" immediate 그냥 무조건 중지함; 다시 시작할 때 복구 작업을 할 수도 있음\n"
+
+#: pg_ctl.c:2016
+#, c-format
+msgid ""
+"\n"
+"Allowed signal names for kill:\n"
+msgstr ""
+"\n"
+"사용할 수 있는 중지용(for kill) 시그널 이름:\n"
+
+#: pg_ctl.c:2020
+#, c-format
+msgid ""
+"\n"
+"Options for register and unregister:\n"
+msgstr ""
+"\n"
+"서비스 등록/제거용 옵션들:\n"
+
+#: pg_ctl.c:2021
+#, c-format
+msgid ""
+" -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr " -N SERVICENAME 서비스 목록에 등록될 PostgreSQL 서비스 이름\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr " -P PASSWORD 이 서비스를 실행할 사용자의 암호\n"
+
+#: pg_ctl.c:2023
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr " -U USERNAME 이 서비스를 실행할 사용자 이름\n"
+
+#: pg_ctl.c:2024
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr " -S 시작형태 서비스로 등록된 PostgreSQL 서버 시작 방법\n"
+
+#: pg_ctl.c:2026
+#, c-format
+msgid ""
+"\n"
+"Start types are:\n"
+msgstr ""
+"\n"
+"시작형태 설명:\n"
+
+#: pg_ctl.c:2027
+#, c-format
+msgid ""
+" auto start service automatically during system startup (default)\n"
+msgstr " auto 시스템이 시작되면 자동으로 서비스가 시작됨 (초기값)\n"
+
+#: pg_ctl.c:2028
+#, c-format
+msgid " demand start service on demand\n"
+msgstr " demand 수동 시작\n"
+
+#: pg_ctl.c:2031
+#, c-format
+msgid ""
+"\n"
+"Report bugs to <%s>.\n"
+msgstr ""
+"\n"
+"문제점 보고 주소: <%s>\n"
+
+#: pg_ctl.c:2032
+#, c-format
+msgid "%s home page: <%s>\n"
+msgstr "%s 홈페이지: <%s>\n"
+
+#: pg_ctl.c:2057
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "%s: 잘못된 중지 방법 \"%s\"\n"
+
+#: pg_ctl.c:2086
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "%s: 잘못된 시그널 이름 \"%s\"\n"
+
+#: pg_ctl.c:2103
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "%s: 알 수 없는 시작형태 \"%s\"\n"
+
+#: pg_ctl.c:2159
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "%s: \"%s\" 명령에서 사용할 데이터 디렉터리를 알 수 없음\n"
+
+#: pg_ctl.c:2182
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "%s: 컨트롤 파일이 깨졌음\n"
+
+#: pg_ctl.c:2250
+#, c-format
+msgid ""
+"%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr ""
+"%s: root로 이 프로그램을 실행하지 마십시오\n"
+"시스템관리자 권한이 없는, 서버프로세스의 소유주가 될 일반 사용자로\n"
+"로그인 해서(\"su\", \"runas\" 같은 명령 이용) 실행하십시오.\n"
+
+#: pg_ctl.c:2333
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "%s: -S 옵션은 이 운영체제에서는 지원하지 않음\n"
+
+#: pg_ctl.c:2370
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "%s: 너무 많은 명령행 인수들 (시작 \"%s\")\n"
+
+#: pg_ctl.c:2396
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "%s: kill 작업에 필요한 인수가 빠졌습니다\n"
+
+#: pg_ctl.c:2414
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "%s: 알 수 없는 작업 모드 \"%s\"\n"
+
+#: pg_ctl.c:2424
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "%s: 수행할 작업을 지정하지 않았습니다\n"
+
+#: pg_ctl.c:2445
+#, c-format
+msgid ""
+"%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr "%s: -D 옵션도 없고, PGDATA 환경변수값도 지정되어 있지 않습니다.\n"
diff --git a/src/bin/pg_ctl/po/meson.build b/src/bin/pg_ctl/po/meson.build
new file mode 100644
index 0000000..3d35f7a
--- /dev/null
+++ b/src/bin/pg_ctl/po/meson.build
@@ -0,0 +1,3 @@
+# Copyright (c) 2022-2023, PostgreSQL Global Development Group
+
+nls_targets += [i18n.gettext('pg_ctl-' + pg_version_major.to_string())]
diff --git a/src/bin/pg_ctl/po/pl.po b/src/bin/pg_ctl/po/pl.po
new file mode 100644
index 0000000..4f71b48
--- /dev/null
+++ b/src/bin/pg_ctl/po/pl.po
@@ -0,0 +1,956 @@
+# Polish message translation file for pg_ctl
+# Copyright (C) 2011 PostgreSQL Global Development Group
+# This file is distributed under the same license as the PostgreSQL package.
+# Begina Felicysym <begina.felicysym@wp.eu>, 2011, 2012, 2013.
+# grzegorz <begina.felicysym@wp.eu>, 2014, 2015, 2017.
+msgid ""
+msgstr ""
+"Project-Id-Version: pg_ctl (PostgreSQL 9.5)\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
+"POT-Creation-Date: 2023-04-24 03:48+0000\n"
+"PO-Revision-Date: 2023-09-05 08:43+0200\n"
+"Last-Translator: grzegorz <begina.felicysym@wp.eu>\n"
+"Language-Team: begina.felicysym@wp.eu\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: ../../common/exec.c:172
+#, c-format
+msgid "invalid binary \"%s\": %m"
+msgstr "niepoprawny binarny \"%s\": %m"
+
+#: ../../common/exec.c:215
+#, c-format
+msgid "could not read binary \"%s\": %m"
+msgstr "nie można odczytać binarnego \"%s\": %m"
+
+#: ../../common/exec.c:223
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "nie znaleziono \"%s\" do wykonania"
+
+#: ../../common/exec.c:250
+#, fuzzy, c-format
+#| msgid "could not reopen file \"%s\" as stderr: %m"
+msgid "could not resolve path \"%s\" to absolute form: %m"
+msgstr "nie można otworzyć ponownie pliku \"%s\" do jako standardowe wyjście błędów: %m"
+
+#: ../../common/exec.c:412
+#, fuzzy, c-format
+#| msgid "select() failed: %m"
+msgid "%s() failed: %m"
+msgstr "select() nie powiodła się: %m"
+
+#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687
+msgid "out of memory"
+msgstr "brak pamięci"
+
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161
+#: ../../port/path.c:753 ../../port/path.c:791 ../../port/path.c:808
+#, c-format
+msgid "out of memory\n"
+msgstr "brak pamięci\n"
+
+#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "nie można powielić pustego wskazania (błąd wewnętrzny)\n"
+
+#: ../../common/wait_error.c:55
+#, c-format
+msgid "command not executable"
+msgstr "polecenie nie wykonywalne"
+
+#: ../../common/wait_error.c:59
+#, c-format
+msgid "command not found"
+msgstr "polecenia nie znaleziono"
+
+#: ../../common/wait_error.c:64
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "proces potomny zakończył działanie z kodem %d"
+
+#: ../../common/wait_error.c:72
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "proces potomny został zatrzymany przez wyjątek 0x%X"
+
+#: ../../common/wait_error.c:76
+#, c-format
+msgid "child process was terminated by signal %d: %s"
+msgstr "proces potomny został zakończony przez sygnał %d: %s"
+
+#: ../../common/wait_error.c:82
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "proces potomny zakończył działanie z nieznanym stanem %d"
+
+#: ../../port/path.c:775
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "nie można zidentyfikować aktualnego folderu roboczego: %s\n"
+
+#: pg_ctl.c:255
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "%s: folder \"%s\" nie istnieje\n"
+
+#: pg_ctl.c:258
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s: brak dostępu do katalogu \"%s\": %s\n"
+
+#: pg_ctl.c:271
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "%s: folder \"%s\" nie jest folderem klastra bazy danych\n"
+
+#: pg_ctl.c:284
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "%s: nie można otworzyć pliku PID \"%s\": %s\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "%s: plik PID \"%s\" jest pusty\n"
+
+#: pg_ctl.c:296
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "%s: niepoprawne dane w pliku PID \"%s\"\n"
+
+#: pg_ctl.c:458 pg_ctl.c:500
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "%s: nie można uruchomić serwera: %s\n"
+
+#: pg_ctl.c:478
+#, fuzzy, c-format
+#| msgid "%s: could not start server: %s\n"
+msgid "%s: could not start server due to setsid() failure: %s\n"
+msgstr "%s: nie można uruchomić serwera: %s\n"
+
+#: pg_ctl.c:548
+#, c-format
+msgid "%s: could not open log file \"%s\": %s\n"
+msgstr "%s: nie można otworzyć pliku logów \"%s\": %s\n"
+
+#: pg_ctl.c:565
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "%s: nie udało się uruchomić serwera: kod błędu %lu\n"
+
+#: pg_ctl.c:782
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr "%s: nie można ustawić ograniczenia rozmiaru pliku jądra; zablokowane przez twardy limit\n"
+
+#: pg_ctl.c:808
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "%s: nie można czytać z pliku \"%s\"\n"
+
+#: pg_ctl.c:813
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "%s: plik opcji \"%s\" musi mieć dokładnie jedną linię\n"
+
+#: pg_ctl.c:855 pg_ctl.c:1039 pg_ctl.c:1107
+#, c-format
+msgid "%s: could not send stop signal (PID: %d): %s\n"
+msgstr "%s: nie udało się wysłać sygnału zatrzymującego (PID: %d): %s\n"
+
+#: pg_ctl.c:883
+#, fuzzy, c-format
+#| msgid ""
+#| "The program \"%s\" is needed by %s but was not found in the\n"
+#| "same directory as \"%s\".\n"
+#| "Check your installation.\n"
+msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"\n"
+msgstr ""
+"Program \"%s\" jest wymagany przez %s ale nie został znaleziony\n"
+"w tym samym folderze co \"%s\".\n"
+"Sprawdź instalację.\n"
+
+#: pg_ctl.c:886
+#, fuzzy, c-format
+#| msgid ""
+#| "The program \"%s\" was found by \"%s\"\n"
+#| "but was not the same version as %s.\n"
+#| "Check your installation.\n"
+msgid "program \"%s\" was found by \"%s\" but was not the same version as %s\n"
+msgstr ""
+"Program \"%s\" został znaleziony przez \"%s\"\n"
+"ale nie jest w tej samej wersji co %s.\n"
+"Sprawdź instalację.\n"
+
+#: pg_ctl.c:918
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "%s: inicjacja systemu bazy danych nie powiodła się\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr "%s: inny serwer może być uruchomiony, próba uruchomienia serwera mimo to\n"
+
+#: pg_ctl.c:981
+msgid "waiting for server to start..."
+msgstr "oczekiwanie na uruchomienie serwera..."
+
+#: pg_ctl.c:986 pg_ctl.c:1063 pg_ctl.c:1126 pg_ctl.c:1238
+msgid " done\n"
+msgstr " zakończono\n"
+
+#: pg_ctl.c:987
+msgid "server started\n"
+msgstr "uruchomiono serwer\n"
+
+#: pg_ctl.c:990 pg_ctl.c:996 pg_ctl.c:1243
+msgid " stopped waiting\n"
+msgstr " oczekiwanie zakończone\n"
+
+#: pg_ctl.c:991
+#, fuzzy, c-format
+#| msgid "%s: server does not shut down\n"
+msgid "%s: server did not start in time\n"
+msgstr "%s: serwer nie zatrzymał się\n"
+
+#: pg_ctl.c:997
+#, c-format
+msgid ""
+"%s: could not start server\n"
+"Examine the log output.\n"
+msgstr ""
+"%s: Nie udało się uruchomić serwera\n"
+"Sprawdź logi wyjścia.\n"
+
+#: pg_ctl.c:1005
+msgid "server starting\n"
+msgstr "serwer w trakcie uruchamiania\n"
+
+#: pg_ctl.c:1024 pg_ctl.c:1083 pg_ctl.c:1147 pg_ctl.c:1186 pg_ctl.c:1267
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "%s: plik PID \"%s\" nie istnieje\n"
+
+#: pg_ctl.c:1025 pg_ctl.c:1085 pg_ctl.c:1148 pg_ctl.c:1187 pg_ctl.c:1268
+msgid "Is server running?\n"
+msgstr "Czy serwer działa?\n"
+
+#: pg_ctl.c:1031
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %d)\n"
+msgstr "%s: Nie można zatrzymać serwera; jest uruchomiony serwer pojedynczego użytkownika (PID: %d)\n"
+
+#: pg_ctl.c:1046
+msgid "server shutting down\n"
+msgstr "zatrzymywanie serwera\n"
+
+#: pg_ctl.c:1051 pg_ctl.c:1112
+msgid "waiting for server to shut down..."
+msgstr "oczekiwanie na zatrzymanie serwera..."
+
+#: pg_ctl.c:1055 pg_ctl.c:1117
+msgid " failed\n"
+msgstr " niepowodzenie\n"
+
+#: pg_ctl.c:1057 pg_ctl.c:1119
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "%s: serwer nie zatrzymał się\n"
+
+#: pg_ctl.c:1059 pg_ctl.c:1121
+msgid ""
+"HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr ""
+"PORADA: Opcja \"-m fast\" rozłącza natychmiast sesje zamiast\n"
+"czekać na odłączenie sesji przez użytkowników.\n"
+
+#: pg_ctl.c:1065 pg_ctl.c:1127
+msgid "server stopped\n"
+msgstr "serwer zatrzymany\n"
+
+#: pg_ctl.c:1086
+#, fuzzy
+#| msgid "starting server anyway\n"
+msgid "trying to start server anyway\n"
+msgstr "uruchomienie serwera mimo wszystko\n"
+
+#: pg_ctl.c:1095
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %d)\n"
+msgstr "%s: Nie można zrestartować serwera; jest uruchomiony serwer pojedynczego użytkownika (PID: %d)\n"
+
+#: pg_ctl.c:1098 pg_ctl.c:1157
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "Proszę zakończyć działanie serwera pojedynczego użytkownika i spróbować raz jeszcze.\n"
+
+#: pg_ctl.c:1131
+#, c-format
+msgid "%s: old server process (PID: %d) seems to be gone\n"
+msgstr "%s: poprzedni proces serwera (PID: %d) wydaje się zginął\n"
+
+#: pg_ctl.c:1133
+msgid "starting server anyway\n"
+msgstr "uruchomienie serwera mimo wszystko\n"
+
+#: pg_ctl.c:1154
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %d)\n"
+msgstr "%s: Nie można przeładować serwera; jest uruchomiony serwer pojedynczego użytkownika (PID: %d)\n"
+
+#: pg_ctl.c:1163
+#, c-format
+msgid "%s: could not send reload signal (PID: %d): %s\n"
+msgstr "%s: nie udało się wysłać sygnału przeładowującego (PID: %d): %s\n"
+
+#: pg_ctl.c:1168
+msgid "server signaled\n"
+msgstr "serwer zasygnalizowany\n"
+
+#: pg_ctl.c:1193
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %d)\n"
+msgstr "%s: Nie można rozgłosić serwera; jest uruchomiony serwer pojedynczego użytkownika (PID: %d)\n"
+
+#: pg_ctl.c:1201
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr "%s: nie można rozgłosić serwera; nie jest w trybie gotowości\n"
+
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "%s: nie można utworzyć pliku sygnału rozgłoszenia \"%s\": %s\n"
+
+#: pg_ctl.c:1217
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "%s: nie można zapisać pliku sygnału rozgłoszenia \"%s\": %s\n"
+
+#: pg_ctl.c:1225
+#, c-format
+msgid "%s: could not send promote signal (PID: %d): %s\n"
+msgstr "%s: nie udało się wysłać sygnału rozgłaszającego (PID: %d): %s\n"
+
+#: pg_ctl.c:1228
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s: nie można usunąć pliku sygnału rozgłoszenia \"%s\": %s\n"
+
+#: pg_ctl.c:1235
+msgid "waiting for server to promote..."
+msgstr "oczekiwanie na rozgłoszenie serwera..."
+
+#: pg_ctl.c:1239
+msgid "server promoted\n"
+msgstr "serwer rozgłoszony\n"
+
+#: pg_ctl.c:1244
+#, fuzzy, c-format
+#| msgid "server is still promoting\n"
+msgid "%s: server did not promote in time\n"
+msgstr "serwer ciągle się rozgłasza\n"
+
+#: pg_ctl.c:1250
+msgid "server promoting\n"
+msgstr "serwer w trakcie rozgłaszania\n"
+
+#: pg_ctl.c:1274
+#, fuzzy, c-format
+#| msgid "%s: cannot reload server; single-user server is running (PID: %ld)\n"
+msgid "%s: cannot rotate log file; single-user server is running (PID: %d)\n"
+msgstr "%s: Nie można przeładować serwera; jest uruchomiony serwer pojedynczego użytkownika (PID: %ld)\n"
+
+#: pg_ctl.c:1284
+#, fuzzy, c-format
+#| msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgid "%s: could not create log rotation signal file \"%s\": %s\n"
+msgstr "%s: nie można utworzyć pliku sygnału rozgłoszenia \"%s\": %s\n"
+
+#: pg_ctl.c:1290
+#, fuzzy, c-format
+#| msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgid "%s: could not write log rotation signal file \"%s\": %s\n"
+msgstr "%s: nie można zapisać pliku sygnału rozgłoszenia \"%s\": %s\n"
+
+#: pg_ctl.c:1298
+#, fuzzy, c-format
+#| msgid "%s: could not send reload signal (PID: %ld): %s\n"
+msgid "%s: could not send log rotation signal (PID: %d): %s\n"
+msgstr "%s: nie udało się wysłać sygnału przeładowującego (PID: %ld): %s\n"
+
+#: pg_ctl.c:1301
+#, fuzzy, c-format
+#| msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgid "%s: could not remove log rotation signal file \"%s\": %s\n"
+msgstr "%s: nie można usunąć pliku sygnału rozgłoszenia \"%s\": %s\n"
+
+#: pg_ctl.c:1306
+#, fuzzy
+#| msgid "must be superuser to rotate log files"
+msgid "server signaled to rotate log file\n"
+msgstr "musisz być super użytkownikiem aby obrócić pliki dziennika"
+
+#: pg_ctl.c:1353
+#, c-format
+msgid "%s: single-user server is running (PID: %d)\n"
+msgstr "%s: jest uruchomiony serwer pojedynczego użytkownika (PID: %d)\n"
+
+#: pg_ctl.c:1367
+#, c-format
+msgid "%s: server is running (PID: %d)\n"
+msgstr "%s: jest uruchomiony serwer (PID: %d)\n"
+
+#: pg_ctl.c:1383
+#, c-format
+msgid "%s: no server running\n"
+msgstr "%s: brak uruchomionego serwera\n"
+
+#: pg_ctl.c:1400
+#, c-format
+msgid "%s: could not send signal %d (PID: %d): %s\n"
+msgstr "%s: nie udało się wysłać sygnału %d (PID: %d): %s\n"
+
+#: pg_ctl.c:1431
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s: nie udało się znaleźć własnego programu wykonywalnego\n"
+
+#: pg_ctl.c:1441
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "%s: nie udało się znaleźć programu wykonywalnego postgresa\n"
+
+#: pg_ctl.c:1511 pg_ctl.c:1545
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "%s: nie udało się otworzyć menadżera usług\n"
+
+#: pg_ctl.c:1517
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "%s: usługa \"%s\" jest już zarejestrowana\n"
+
+#: pg_ctl.c:1528
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "%s: nie udało się zarejestrować usługi \"%s\": kod błędu %lu\n"
+
+#: pg_ctl.c:1551
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "%s: usługa \"%s\" niezarejestrowana\n"
+
+#: pg_ctl.c:1558
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "%s: nie udało się otworzyć usługi \"%s\": kod błędu %lu\n"
+
+#: pg_ctl.c:1567
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "%s: nie udało się wyrejestrować usługi \"%s\": kod błędu %lu\n"
+
+#: pg_ctl.c:1654
+msgid "Waiting for server startup...\n"
+msgstr "Oczekiwanie na uruchomienie serwera...\n"
+
+#: pg_ctl.c:1657
+msgid "Timed out waiting for server startup\n"
+msgstr "Minął czas oczekiwania na uruchomienie serwera\n"
+
+#: pg_ctl.c:1661
+msgid "Server started and accepting connections\n"
+msgstr "Serwer uruchomiony i akceptuje połączenia\n"
+
+#: pg_ctl.c:1716
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "%s: nie udało się uruchomić usługi \"%s\": kod błędu %lu\n"
+
+#: pg_ctl.c:1789
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "%s: nie można otworzyć tokenu procesu: kod błędu %lu\n"
+
+#: pg_ctl.c:1803
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "%s: nie udało się przydzielić SIDów: kod błędu %lu\n"
+
+#: pg_ctl.c:1829
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "%s: nie udało się utworzyć ograniczonego tokena: kod błędu %lu\n"
+
+#: pg_ctl.c:1911
+#, fuzzy, c-format
+#| msgid "%s: could not open service \"%s\": error code %lu\n"
+msgid "%s: could not get LUIDs for privileges: error code %lu\n"
+msgstr "%s: nie udało się otworzyć usługi \"%s\": kod błędu %lu\n"
+
+#: pg_ctl.c:1919 pg_ctl.c:1934
+#, fuzzy, c-format
+#| msgid "%s: could not open process token: error code %lu\n"
+msgid "%s: could not get token information: error code %lu\n"
+msgstr "%s: nie można otworzyć tokenu procesu: kod błędu %lu\n"
+
+#: pg_ctl.c:1928
+#, c-format
+msgid "%s: out of memory\n"
+msgstr "%s: brak pamięci\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "Spróbuj \"%s --help\" aby uzyskać więcej informacji.\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid ""
+"%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n"
+"\n"
+msgstr ""
+"%s jest narzędziem do inicjacji, uruchamiania, zatrzymywania i kontroli serwera PostgreSQL.\n"
+"\n"
+
+#: pg_ctl.c:1967
+#, c-format
+msgid "Usage:\n"
+msgstr "Składnia:\n"
+
+#: pg_ctl.c:1968
+#, fuzzy, c-format
+#| msgid " %s init[db] [-D DATADIR] [-s] [-o \"OPTIONS\"]\n"
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr " %s init[db] [-D KATDANE] [-s] [-o \"OPCJE\"]\n"
+
+#: pg_ctl.c:1969
+#, fuzzy, c-format
+#| msgid ""
+#| " %s restart [-w] [-t SECS] [-D DATADIR] [-s] [-m SHUTDOWN-MODE]\n"
+#| " [-o \"OPTIONS\"]\n"
+msgid ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr ""
+" %s restart [-w] [-t SEKUNDY] [-D KATDANE] [-s] [-m TRYB-ZAMKNIECIA]\n"
+" [-o \"OPCJE\"]\n"
+
+#: pg_ctl.c:1971
+#, fuzzy, c-format
+#| msgid " %s stop [-W] [-t SECS] [-D DATADIR] [-s] [-m SHUTDOWN-MODE]\n"
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr " %s stop [-W] [-t SEKUNDY] [-D KATDANE] [-s] [-m TRYB-ZAMKNIECIA]\n"
+
+#: pg_ctl.c:1972
+#, fuzzy, c-format
+#| msgid ""
+#| " %s restart [-w] [-t SECS] [-D DATADIR] [-s] [-m SHUTDOWN-MODE]\n"
+#| " [-o \"OPTIONS\"]\n"
+msgid ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr ""
+" %s restart [-w] [-t SEKUNDY] [-D KATDANE] [-s] [-m TRYB-ZAMKNIECIA]\n"
+" [-o \"OPCJE\"]\n"
+
+#: pg_ctl.c:1974
+#, fuzzy, c-format
+#| msgid " %s reload [-D DATADIR] [-s]\n"
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D KATDANE] [-s]\n"
+
+#: pg_ctl.c:1975
+#, fuzzy, c-format
+#| msgid " %s status [-D DATADIR]\n"
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D KATDANE]\n"
+
+#: pg_ctl.c:1976
+#, fuzzy, c-format
+#| msgid " %s promote [-w] [-t SECS] [-D DATADIR] [-s]\n"
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr " %s promote [-w] [-t SEK] [-D KATDANE] [-s]\n"
+
+#: pg_ctl.c:1977
+#, fuzzy, c-format
+#| msgid " %s promote [-w] [-t SECS] [-D DATADIR] [-s]\n"
+msgid " %s logrotate [-D DATADIR] [-s]\n"
+msgstr " %s promote [-w] [-t SEK] [-D KATDANE] [-s]\n"
+
+#: pg_ctl.c:1978
+#, fuzzy, c-format
+#| msgid " %s kill SIGNALNAME PID\n"
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill NAZWASYGNAŁU PID\n"
+
+#: pg_ctl.c:1980
+#, fuzzy, c-format
+#| msgid ""
+#| " %s register [-N SERVICENAME] [-U USERNAME] [-P PASSWORD] [-D DATADIR]\n"
+#| " [-S START-TYPE] [-w] [-t SECS] [-o \"OPTIONS\"]\n"
+msgid ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+msgstr ""
+" %s register [-N NAZWAUSLUGI] [-U USERNAME] [-P PASSWORD] [-D KATDANE]\n"
+" [-S TYP-STARTU] [-w] [-t SEKUNDY] [-o \"OPCJE\"]\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N NAZWAUSLUGI]\n"
+
+#: pg_ctl.c:1985
+#, c-format
+msgid ""
+"\n"
+"Common options:\n"
+msgstr ""
+"\n"
+"Opcje ogólne:\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr " -D, --pgdata=KATDANE położenie miejsca przechowywania bazy danych\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid " -e SOURCE event source for logging when running as a service\n"
+msgstr " -e ŹRÓDŁO źródło zdarzenia do logowania gdy uruchomiono jako usługę\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr " -s, --silent wypisz tylko błędy, bez komunikatów informacyjnych\n"
+
+#: pg_ctl.c:1991
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr " -t, --timeout=SEKUNDY sekundy oczekiwania podczas użycia opcji -w\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr " -V, --version pokaż informacje o wersji i zakończ\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr " -w, --wait czekaj na zakończenie operacji (domyślnie)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr " -W, --no-wait nie czekaj na zakończenie operacji\n"
+
+#: pg_ctl.c:1995
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr " -?, --help pokaż tą pomoc i zakończ działanie\n"
+
+#: pg_ctl.c:1996
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr "Jeśli nie jest podana -D, używana jest zmienna środowiskowa PGDATA.\n"
+
+#: pg_ctl.c:1998
+#, c-format
+msgid ""
+"\n"
+"Options for start or restart:\n"
+msgstr ""
+"\n"
+"Opcje uruchomienia lub restartu:\n"
+
+#: pg_ctl.c:2000
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr " -c, --core-files zezwól postgresowi utworzyć pliki jądra\n"
+
+#: pg_ctl.c:2002
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr " -c, --core-files niedostępne na tej platformie\n"
+
+#: pg_ctl.c:2004
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr " -l, --log=NAZWAPLIKU zapisuje (lub dodaje) komunikaty serwera do NAZWAPLIKU\n"
+
+#: pg_ctl.c:2005
+#, c-format
+msgid ""
+" -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr ""
+" -o, --options=OPCJE opcje wiersza poleceń przekazywanych postgresowi\n"
+" (program wykonywalny PostgreSQL) lub initdb\n"
+
+#: pg_ctl.c:2007
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr " -p ŚCIEŻKA-DO-POSTGRES zwykle niekonieczna\n"
+
+#: pg_ctl.c:2008
+#, c-format
+msgid ""
+"\n"
+"Options for stop or restart:\n"
+msgstr ""
+"\n"
+"Opcje dla zatrzymania lub restartu:\n"
+
+#: pg_ctl.c:2009
+#, c-format
+msgid " -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr " -m, --mode=TRYB TRYB może być \"smart\", \"fast\" lub \"immediate\"\n"
+
+#: pg_ctl.c:2011
+#, c-format
+msgid ""
+"\n"
+"Shutdown modes are:\n"
+msgstr ""
+"\n"
+"Tryby zamknięcia to:\n"
+
+#: pg_ctl.c:2012
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr " smart wyjście po rozłączeniu się wszystkich klientów\n"
+
+#: pg_ctl.c:2013
+#, fuzzy, c-format
+#| msgid " fast quit directly, with proper shutdown\n"
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr " fast bezpośrednie wyjście, z właściwym zamknięciem\n"
+
+#: pg_ctl.c:2014
+#, c-format
+msgid " immediate quit without complete shutdown; will lead to recovery on restart\n"
+msgstr " immediate wyjście bez pełnego zamknięcia; doprowadzi do odzyskiwania przy restarcie\n"
+
+#: pg_ctl.c:2016
+#, c-format
+msgid ""
+"\n"
+"Allowed signal names for kill:\n"
+msgstr ""
+"\n"
+"Dopuszczalne nazwy sygnałów dla zabicia:\n"
+
+#: pg_ctl.c:2020
+#, c-format
+msgid ""
+"\n"
+"Options for register and unregister:\n"
+msgstr ""
+"\n"
+"Opcje rejestracji i wyrejestrowania:\n"
+
+#: pg_ctl.c:2021
+#, c-format
+msgid " -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr " -N SERVICENAME nazwa usługi, na której rejestruje się serwer PostgreSQL\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr " -P PASSWORD hasło konta rejestracji serwera PostgreSQL\n"
+
+#: pg_ctl.c:2023
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr " -U USERNAME nazwa użytkownika konta rejestracji serwera PostgreSQL\n"
+
+#: pg_ctl.c:2024
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr " -S TYP-STARTU typ startu usługi rejestracji serwera PostgreSQL\n"
+
+#: pg_ctl.c:2026
+#, c-format
+msgid ""
+"\n"
+"Start types are:\n"
+msgstr ""
+"\n"
+"Rodzaje startu to:\n"
+
+#: pg_ctl.c:2027
+#, c-format
+msgid " auto start service automatically during system startup (default)\n"
+msgstr " auto uruchamia usługę automatycznie w czasie startu systemu (domyślnie)\n"
+
+#: pg_ctl.c:2028
+#, c-format
+msgid " demand start service on demand\n"
+msgstr " demand uruchamia usługę na żądanie\n"
+
+#: pg_ctl.c:2031
+#, fuzzy, c-format
+#| msgid ""
+#| "\n"
+#| "Report bugs to <pgsql-bugs@postgresql.org>.\n"
+msgid ""
+"\n"
+"Report bugs to <%s>.\n"
+msgstr ""
+"\n"
+"Błędy proszę przesyłać na adres <pgsql-bugs@postgresql.org>.\n"
+
+#: pg_ctl.c:2032
+#, c-format
+msgid "%s home page: <%s>\n"
+msgstr ""
+
+#: pg_ctl.c:2057
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "%s: nierozpoznany tryb wyłączenia \"%s\"\n"
+
+#: pg_ctl.c:2086
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "%s: nierozpoznana nazwa sygnału \"%s\"\n"
+
+#: pg_ctl.c:2103
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "%s: nierozpoznany tryb uruchomienia \"%s\"\n"
+
+#: pg_ctl.c:2159
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "%s: nie można określić folderu danych przy użyciu polecenia \"%s\"\n"
+
+#: pg_ctl.c:2182
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "%s: plik kontrolny wydaje się uszkodzony\n"
+
+#: pg_ctl.c:2250
+#, c-format
+msgid ""
+"%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr ""
+"%s: nie można uruchomić jako root\n"
+"Proszę zalogować się (używając np: \"su\") na (nieuprzywilejowanego) użytkownika który\n"
+"będzie właścicielem procesu.\n"
+
+#: pg_ctl.c:2333
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "%s: opcja -S nieobsługiwana na tej platformie\n"
+
+#: pg_ctl.c:2370
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "%s: za duża ilość parametrów (pierwszy to \"%s\")\n"
+
+#: pg_ctl.c:2396
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "%s: nie wskazano wszystkich argumentów trybu zabicia\n"
+
+#: pg_ctl.c:2414
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "%s: nierozpoznany tryb autoryzacji \"%s\"\n"
+
+#: pg_ctl.c:2424
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "%s: nie podano operacji\n"
+
+#: pg_ctl.c:2445
+#, c-format
+msgid "%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr "%s: nie wskazano folderu bazy danych ani nie ustawiono zmiennej środowiska PGDATA\n"
+
+#, c-format
+#~ msgid ""
+#~ "\n"
+#~ "%s: -w option cannot use a relative socket directory specification\n"
+#~ msgstr ""
+#~ "\n"
+#~ "%s: opcja -w nie może używać względnego wskazania katalogu gniazd\n"
+
+#, c-format
+#~ msgid ""
+#~ "\n"
+#~ "%s: -w option is not supported when starting a pre-9.1 server\n"
+#~ msgstr ""
+#~ "\n"
+#~ "%s: opcja -w nie jest wspierana przy uruchomieniu serwera pre-9.1\n"
+
+#, c-format
+#~ msgid " %s start [-w] [-t SECS] [-D DATADIR] [-s] [-l FILENAME] [-o \"OPTIONS\"]\n"
+#~ msgstr " %s start [-w] [-t SEKUNDY] [-D KATDANE] [-s] [-l NAZWAPLIKU] [-o \"OPCJE\"]\n"
+
+#, c-format
+#~ msgid "%s: WARNING: cannot create restricted tokens on this platform\n"
+#~ msgstr "%s: OSTRZEŻENIE nie można tworzyć ograniczonych tokenów na tej platformie\n"
+
+#, c-format
+#~ msgid "%s: WARNING: could not locate all job object functions in system API\n"
+#~ msgstr "%s: OSTRZEŻENIE: nie może zlokalizować wszystkich funkcji obiektów zadań w systemowym API\n"
+
+#, c-format
+#~ msgid "%s: could not wait for server because of misconfiguration\n"
+#~ msgstr "%s: nie można czekać na serwer z powodu błędnej konfiguracji\n"
+
+#, c-format
+#~ msgid ""
+#~ "(The default is to wait for shutdown, but not for start or restart.)\n"
+#~ "\n"
+#~ msgstr ""
+#~ "(Oczekiwanie jest domyślne dla zamknięcia, ale nie dla uruchomienia i restartu.)\n"
+#~ "\n"
+
+#~ msgid ""
+#~ "WARNING: online backup mode is active\n"
+#~ "Shutdown will not complete until pg_stop_backup() is called.\n"
+#~ "\n"
+#~ msgstr ""
+#~ "OSTRZEŻENIE: jest aktywny tryb robienia kopii roboczej online\n"
+#~ "Zatrzymanie nie zakończy się póki wywoływana jest pg_stop_backup().\n"
+#~ "\n"
+
+#, c-format
+#~ msgid "child process was terminated by signal %s"
+#~ msgstr "proces potomny został zatrzymany przez sygnał %s"
+
+#, c-format
+#~ msgid "could not change directory to \"%s\": %s"
+#~ msgstr "nie można zmienić katalogu na \"%s\": %s"
+
+#, c-format
+#~ msgid "could not identify current directory: %s"
+#~ msgstr "nie można zidentyfikować aktualnego katalogu: %s"
+
+#, c-format
+#~ msgid "could not read symbolic link \"%s\""
+#~ msgstr "nie można odczytać linku symbolicznego \"%s\""
+
+#, c-format
+#~ msgid "pclose failed: %s"
+#~ msgstr "pclose nie powiodło się: %s"
+
+#~ msgid "server is still starting up\n"
+#~ msgstr "serwer ciągle się uruchamia\n"
diff --git a/src/bin/pg_ctl/po/pt_BR.po b/src/bin/pg_ctl/po/pt_BR.po
new file mode 100644
index 0000000..b519356
--- /dev/null
+++ b/src/bin/pg_ctl/po/pt_BR.po
@@ -0,0 +1,832 @@
+# Brazilian Portuguese message translation file for pg_ctl
+#
+# Copyright (C) 2004-2023 PostgreSQL Global Development Group
+# This file is distributed under the same license as the PostgreSQL package.
+#
+# Euler Taveira <euler@eulerto.com>, 2004-2024.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: PostgreSQL 16\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
+"POT-Creation-Date: 2024-01-02 13:01-0300\n"
+"PO-Revision-Date: 2005-10-04 22:15-0300\n"
+"Last-Translator: Euler Taveira <euler@eulerto.com>\n"
+"Language-Team: Brazilian Portuguese <pgsql-translators@postgresql.org>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: ../../common/exec.c:172
+#, c-format
+msgid "invalid binary \"%s\": %m"
+msgstr "binário \"%s\" é inválido: %m"
+
+#: ../../common/exec.c:215
+#, c-format
+msgid "could not read binary \"%s\": %m"
+msgstr "não pôde ler o binário \"%s\": %m"
+
+#: ../../common/exec.c:223
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "não pôde encontrar o \"%s\" para executá-lo"
+
+#: ../../common/exec.c:250
+#, c-format
+msgid "could not resolve path \"%s\" to absolute form: %m"
+msgstr "não pôde resolver caminho \"%s\" para forma absoluta: %m"
+
+#: ../../common/exec.c:412
+#, c-format
+msgid "%s() failed: %m"
+msgstr "%s() falhou: %m"
+
+#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687
+msgid "out of memory"
+msgstr "sem memória"
+
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161
+#: ../../port/path.c:753 ../../port/path.c:791 ../../port/path.c:808
+#, c-format
+msgid "out of memory\n"
+msgstr "sem memória\n"
+
+#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "não pode duplicar ponteiro nulo (erro interno)\n"
+
+#: ../../common/wait_error.c:55
+#, c-format
+msgid "command not executable"
+msgstr "comando não é executável"
+
+#: ../../common/wait_error.c:59
+#, c-format
+msgid "command not found"
+msgstr "comando não foi encontrado"
+
+#: ../../common/wait_error.c:64
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "processo filho terminou com código de saída %d"
+
+#: ../../common/wait_error.c:72
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "processo filho foi terminado pela exceção 0x%X"
+
+#: ../../common/wait_error.c:76
+#, c-format
+msgid "child process was terminated by signal %d: %s"
+msgstr "processo filho foi terminado pelo sinal %d: %s"
+
+#: ../../common/wait_error.c:82
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "processo filho terminou com status desconhecido %d"
+
+#: ../../port/path.c:775
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "não pôde obter diretório de trabalho atual: %s\n"
+
+#: pg_ctl.c:255
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "%s: diretório \"%s\" não existe\n"
+
+#: pg_ctl.c:258
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s: não pôde acessar diretório \"%s\": %s\n"
+
+#: pg_ctl.c:271
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "%s: diretório \"%s\" não é um diretório de agrupamento de banco dados\n"
+
+#: pg_ctl.c:284
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "%s: não pôde abrir arquivo do PID \"%s\": %s\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "%s: arquivo do PID \"%s\" está vazio\n"
+
+#: pg_ctl.c:296
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "%s: dado inválido no arquivo do PID \"%s\"\n"
+
+#: pg_ctl.c:458 pg_ctl.c:500
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "%s: não pôde iniciar servidor: %s\n"
+
+#: pg_ctl.c:478
+#, c-format
+msgid "%s: could not start server due to setsid() failure: %s\n"
+msgstr "%s: não pôde iniciar servidor devido a falha no setsid(): %s\n"
+
+#: pg_ctl.c:548
+#, c-format
+msgid "%s: could not open log file \"%s\": %s\n"
+msgstr "%s: não pôde abrir arquivo de log \"%s\": %s\n"
+
+#: pg_ctl.c:565
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "%s: não pôde iniciar servidor: código de erro %lu\n"
+
+#: pg_ctl.c:782
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr "%s: não pode definir tamanho limite do arquivo core; não é permitido pelo limite superior\n"
+
+#: pg_ctl.c:808
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "%s: não pôde ler arquivo \"%s\"\n"
+
+#: pg_ctl.c:813
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "%s: arquivo de opções \"%s\" deve ter exatamente uma linha\n"
+
+#: pg_ctl.c:855 pg_ctl.c:1039 pg_ctl.c:1107
+#, c-format
+msgid "%s: could not send stop signal (PID: %d): %s\n"
+msgstr "%s: não pôde enviar sinal de parada (PID: %d): %s\n"
+
+#: pg_ctl.c:883
+#, c-format
+msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"\n"
+msgstr "O programa \"%s\" é requerido pelo %s mas não foi encontrado no mesmo diretório que \"%s\"\n"
+
+#: pg_ctl.c:886
+#, c-format
+msgid "program \"%s\" was found by \"%s\" but was not the same version as %s\n"
+msgstr "O programa \"%s\" foi encontrado pelo \"%s\" mas não tem a mesma versão que %s\n"
+
+#: pg_ctl.c:918
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "%s: inicialização do sistema de banco de dados falhou\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr "%s: outro servidor pode estar executando; tentando iniciar o servidor assim mesmo\n"
+
+#: pg_ctl.c:981
+msgid "waiting for server to start..."
+msgstr "esperando o servidor iniciar..."
+
+#: pg_ctl.c:986 pg_ctl.c:1063 pg_ctl.c:1126 pg_ctl.c:1238
+msgid " done\n"
+msgstr "feito\n"
+
+#: pg_ctl.c:987
+msgid "server started\n"
+msgstr "servidor iniciado\n"
+
+#: pg_ctl.c:990 pg_ctl.c:996 pg_ctl.c:1243
+msgid " stopped waiting\n"
+msgstr "parou de esperar\n"
+
+#: pg_ctl.c:991
+#, c-format
+msgid "%s: server did not start in time\n"
+msgstr "%s: servidor não iniciou a tempo\n"
+
+#: pg_ctl.c:997
+#, c-format
+msgid ""
+"%s: could not start server\n"
+"Examine the log output.\n"
+msgstr ""
+"%s: não pode iniciar o servidor\n"
+"Examine o arquivo de log.\n"
+
+#: pg_ctl.c:1005
+msgid "server starting\n"
+msgstr "servidor está iniciando\n"
+
+#: pg_ctl.c:1024 pg_ctl.c:1083 pg_ctl.c:1147 pg_ctl.c:1186 pg_ctl.c:1267
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "%s: arquivo do PID \"%s\" não existe\n"
+
+#: pg_ctl.c:1025 pg_ctl.c:1085 pg_ctl.c:1148 pg_ctl.c:1187 pg_ctl.c:1268
+msgid "Is server running?\n"
+msgstr "O servidor está executando?\n"
+
+#: pg_ctl.c:1031
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %d)\n"
+msgstr "%s: não pode parar servidor; servidor monousuário está executando (PID: %d)\n"
+
+#: pg_ctl.c:1046
+msgid "server shutting down\n"
+msgstr "servidor está desligando\n"
+
+#: pg_ctl.c:1051 pg_ctl.c:1112
+msgid "waiting for server to shut down..."
+msgstr "esperando o servidor desligar..."
+
+#: pg_ctl.c:1055 pg_ctl.c:1117
+msgid " failed\n"
+msgstr "falhou\n"
+
+#: pg_ctl.c:1057 pg_ctl.c:1119
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "%s: servidor não desligou\n"
+
+#: pg_ctl.c:1059 pg_ctl.c:1121
+msgid ""
+"HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr "DICA: A opção \"-m fast\" desconecta imediatamente sessões ao invés de esperar pela desconexão das sessões iniciadas.\n"
+
+#: pg_ctl.c:1065 pg_ctl.c:1127
+msgid "server stopped\n"
+msgstr "servidor está parado\n"
+
+#: pg_ctl.c:1086
+msgid "trying to start server anyway\n"
+msgstr "tentando iniciar servidor mesmo assim\n"
+
+#: pg_ctl.c:1095
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %d)\n"
+msgstr "%s: não pode reiniciar servidor; servidor monousuário está executando (PID: %d)\n"
+
+#: pg_ctl.c:1098 pg_ctl.c:1157
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "Por favor finalize o servidor monousuário e tente novamente.\n"
+
+#: pg_ctl.c:1131
+#, c-format
+msgid "%s: old server process (PID: %d) seems to be gone\n"
+msgstr "%s: processo servidor antigo (PID: %d) parece estar terminado\n"
+
+#: pg_ctl.c:1133
+msgid "starting server anyway\n"
+msgstr "iniciando servidor mesmo assim\n"
+
+#: pg_ctl.c:1154
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %d)\n"
+msgstr "%s: não pode recarregar servidor; servidor monousuário está executando (PID: %d)\n"
+
+#: pg_ctl.c:1163
+#, c-format
+msgid "%s: could not send reload signal (PID: %d): %s\n"
+msgstr "%s: não pôde enviar sinal de recarga (PID: %d): %s\n"
+
+#: pg_ctl.c:1168
+msgid "server signaled\n"
+msgstr "servidor foi sinalizado\n"
+
+#: pg_ctl.c:1193
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %d)\n"
+msgstr "%s: não pode promover servidor; servidor monousuário está executando (PID: %d)\n"
+
+#: pg_ctl.c:1201
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr "%s: não pode promover servidor; servidor não está no modo em espera\n"
+
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "%s: não pôde criar arquivo de sinal de promoção \"%s\": %s\n"
+
+#: pg_ctl.c:1217
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "%s: não pôde escrever no arquivo de sinal de promoção \"%s\": %s\n"
+
+#: pg_ctl.c:1225
+#, c-format
+msgid "%s: could not send promote signal (PID: %d): %s\n"
+msgstr "%s: não pôde enviar sinal de promoção (PID: %d): %s\n"
+
+#: pg_ctl.c:1228
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s: não pôde remover arquivo de sinal de promoção \"%s\": %s\n"
+
+#: pg_ctl.c:1235
+msgid "waiting for server to promote..."
+msgstr "esperando servidor ser promovido..."
+
+#: pg_ctl.c:1239
+msgid "server promoted\n"
+msgstr "servidor promovido\n"
+
+#: pg_ctl.c:1244
+#, c-format
+msgid "%s: server did not promote in time\n"
+msgstr "%s: servidor não foi promovido a tempo\n"
+
+#: pg_ctl.c:1250
+msgid "server promoting\n"
+msgstr "servidor está sendo promovido\n"
+
+#: pg_ctl.c:1274
+#, c-format
+msgid "%s: cannot rotate log file; single-user server is running (PID: %d)\n"
+msgstr "%s: não pode rotacionar log do servidor; servidor monousuário está executando (PID: %d)\n"
+
+#: pg_ctl.c:1284
+#, c-format
+msgid "%s: could not create log rotation signal file \"%s\": %s\n"
+msgstr "%s: não pôde criar arquivo de sinal de rotação de log \"%s\": %s\n"
+
+#: pg_ctl.c:1290
+#, c-format
+msgid "%s: could not write log rotation signal file \"%s\": %s\n"
+msgstr "%s: não pôde escrever no arquivo de sinal de rotação de log \"%s\": %s\n"
+
+#: pg_ctl.c:1298
+#, c-format
+msgid "%s: could not send log rotation signal (PID: %d): %s\n"
+msgstr "%s: não pôde enviar sinal de rotação de log (PID: %d): %s\n"
+
+#: pg_ctl.c:1301
+#, c-format
+msgid "%s: could not remove log rotation signal file \"%s\": %s\n"
+msgstr "%s: não pôde remover arquivo de sinal de rotação de log \"%s\": %s\n"
+
+#: pg_ctl.c:1306
+msgid "server signaled to rotate log file\n"
+msgstr "servidor sinalizado para rotacionar arquivo de log\n"
+
+#: pg_ctl.c:1353
+#, c-format
+msgid "%s: single-user server is running (PID: %d)\n"
+msgstr "%s: servidor monousuário está executando (PID: %d)\n"
+
+#: pg_ctl.c:1367
+#, c-format
+msgid "%s: server is running (PID: %d)\n"
+msgstr "%s: servidor está executando (PID: %d)\n"
+
+#: pg_ctl.c:1383
+#, c-format
+msgid "%s: no server running\n"
+msgstr "%s: nenhum servidor está executando\n"
+
+#: pg_ctl.c:1400
+#, c-format
+msgid "%s: could not send signal %d (PID: %d): %s\n"
+msgstr "%s: não pôde enviar sinal %d (PID: %d): %s\n"
+
+#: pg_ctl.c:1431
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s: não pôde encontrar executável\n"
+
+#: pg_ctl.c:1441
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "%s: não pôde encontrar o programa executável do postgres\n"
+
+#: pg_ctl.c:1511 pg_ctl.c:1545
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "%s: não pôde abrir gerenciador de serviço\n"
+
+#: pg_ctl.c:1517
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "%s: serviço \"%s\" já está registrado\n"
+
+#: pg_ctl.c:1528
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "%s: não pôde registrar serviço \"%s\": código de erro %lu\n"
+
+#: pg_ctl.c:1551
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "%s: serviço \"%s\" não está registrado\n"
+
+#: pg_ctl.c:1558
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "%s: não pôde abrir serviço \"%s\": código de erro %lu\n"
+
+#: pg_ctl.c:1567
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "%s: não pôde remover registro do serviço \"%s\": código de erro %lu\n"
+
+#: pg_ctl.c:1654
+msgid "Waiting for server startup...\n"
+msgstr "Esperando o servidor iniciar...\n"
+
+#: pg_ctl.c:1657
+msgid "Timed out waiting for server startup\n"
+msgstr "Tempo de espera esgotado para início do servidor\n"
+
+#: pg_ctl.c:1661
+msgid "Server started and accepting connections\n"
+msgstr "Servidor foi iniciado e está aceitando conexões\n"
+
+#: pg_ctl.c:1716
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "%s: não pôde iniciar serviço \"%s\": código de erro %lu\n"
+
+#: pg_ctl.c:1789
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "%s: não pôde abrir token de processo: código de erro %lu\n"
+
+#: pg_ctl.c:1803
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "%s: não pôde alocar SIDs: código de erro %lu\n"
+
+#: pg_ctl.c:1829
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "%s: não pôde criar token restrito: código de erro %lu\n"
+
+#: pg_ctl.c:1911
+#, c-format
+msgid "%s: could not get LUIDs for privileges: error code %lu\n"
+msgstr "%s: não pôde obter LUIDs para privilégios: código de erro %lu\n"
+
+#: pg_ctl.c:1919 pg_ctl.c:1934
+#, c-format
+msgid "%s: could not get token information: error code %lu\n"
+msgstr "%s: não pôde obter informação sobre token: código de erro %lu\n"
+
+#: pg_ctl.c:1928
+#, c-format
+msgid "%s: out of memory\n"
+msgstr "%s: sem memória\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "Tente \"%s --help\" para obter informações adicionais.\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid ""
+"%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n"
+"\n"
+msgstr ""
+"%s é um utilitário para inicializar, iniciar, parar e controlar um servidor PostgreSQL.\n"
+"\n"
+
+#: pg_ctl.c:1967
+#, c-format
+msgid "Usage:\n"
+msgstr "Uso:\n"
+
+#: pg_ctl.c:1968
+#, c-format
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr " %s init[db] [-D DIRDADOS] [-s] [-o OPÇÕES]\n"
+
+#: pg_ctl.c:1969
+#, c-format
+msgid ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr ""
+" %s start [-D DIRDADOS] [-l ARQUIVO] [-W] [-t SEGS] [-s]\n"
+" [-o OPÇÕES] [-p CAMINHO] [-c]\n"
+
+#: pg_ctl.c:1971
+#, c-format
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr " %s stop [-D DIRDADOS] [-m MODO-DESLIGAMENTO] [-W] [-t SEGS] [-s]\n"
+
+#: pg_ctl.c:1972
+#, c-format
+msgid ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr ""
+" %s restart [-D DIRDADOS] [-m MODO-DESLIGAMENTO] [-W] [-t SEGS] [-s]\n"
+" [-o OPÇÕES] [-c]\n"
+
+#: pg_ctl.c:1974
+#, c-format
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D DIRDADOS] [-s]\n"
+
+#: pg_ctl.c:1975
+#, c-format
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D DIRDADOS]\n"
+
+#: pg_ctl.c:1976
+#, c-format
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr " %s promote [-D DIRDADOS] [-W] [-t SEGS] [-s]\n"
+
+#: pg_ctl.c:1977
+#, c-format
+msgid " %s logrotate [-D DATADIR] [-s]\n"
+msgstr " %s logrotate [-D DIRDADOS] [-s]\n"
+
+#: pg_ctl.c:1978
+#, c-format
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill NOMESINAL PID\n"
+
+#: pg_ctl.c:1980
+#, c-format
+msgid ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+msgstr ""
+" %s register [-D DIRDADOS] [-N NOMESERVIÇO] [-U USUÁRIO] [-P SENHA]\n"
+" [-S TIPO-INÍCIO] [-e ORIGEM] [-W] [-t SEGS] [-s] [-o OPÇÕES]\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N NOMESERVIÇO]\n"
+
+#: pg_ctl.c:1985
+#, c-format
+msgid ""
+"\n"
+"Common options:\n"
+msgstr ""
+"\n"
+"Opções comuns:\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr " -D, --pgdata=DIRDADOS local da área de armazenamento dos bancos de dados\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid " -e SOURCE event source for logging when running as a service\n"
+msgstr " -e ORIGEM origem de eventos para registro quando executar como um serviço\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr " -s, --silent mostra somente erros, nenhuma mensagem informativa\n"
+
+#: pg_ctl.c:1991
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr " -t, --timeout= SEGS segundos a esperar quando a opção -w for utilizada\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr " -V, --version mostra informação sobre a versão e termina\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr " -w, --wait espera até que a operação seja concluída (padrão)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr " -W, --no-wait não espera até que a operação seja concluída\n"
+
+#: pg_ctl.c:1995
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr " -?, --help mostra essa ajuda e termina\n"
+
+#: pg_ctl.c:1996
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr "Se a opção -D for omitida, a variável de ambiente PGDATA é utilizada.\n"
+
+#: pg_ctl.c:1998
+#, c-format
+msgid ""
+"\n"
+"Options for start or restart:\n"
+msgstr ""
+"\n"
+"Opções para início ou reinício:\n"
+
+#: pg_ctl.c:2000
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr " -c, --core-files permite o postgres produzir arquivos core\n"
+
+#: pg_ctl.c:2002
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr " -c, --core-files não é aplicável a esta plataforma\n"
+
+#: pg_ctl.c:2004
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr " -l, --log=ARQUIVO escreve (ou concatena) log do servidor para ARQUIVO\n"
+
+#: pg_ctl.c:2005
+#, c-format
+msgid ""
+" -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr ""
+" -o, --options=OPÇÕES opções de linha de comando passadas para o postgres\n"
+" (executável do servidor PostgreSQL) ou initdb\n"
+
+#: pg_ctl.c:2007
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr " -p CAMINHO-DO-POSTGRES normalmente não é necessário\n"
+
+#: pg_ctl.c:2008
+#, c-format
+msgid ""
+"\n"
+"Options for stop or restart:\n"
+msgstr ""
+"\n"
+"Opções para parada ou reinício:\n"
+
+#: pg_ctl.c:2009
+#, c-format
+msgid " -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr " -m, --mode=MODO MODO pode ser \"smart\", \"fast\" ou \"immediate\"\n"
+
+#: pg_ctl.c:2011
+#, c-format
+msgid ""
+"\n"
+"Shutdown modes are:\n"
+msgstr ""
+"\n"
+"Modos de desligamento são:\n"
+
+#: pg_ctl.c:2012
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr " smart termina depois que todos os clientes desconectarem\n"
+
+#: pg_ctl.c:2013
+#, c-format
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr " fast termina diretamente, com desligamento apropriado (padrão)\n"
+
+#: pg_ctl.c:2014
+#, c-format
+msgid " immediate quit without complete shutdown; will lead to recovery on restart\n"
+msgstr " immediate termina sem desligamento completo; conduzirá a uma recuperação durante o reinício\n"
+
+#: pg_ctl.c:2016
+#, c-format
+msgid ""
+"\n"
+"Allowed signal names for kill:\n"
+msgstr ""
+"\n"
+"Sinais permitidos para sinalização:\n"
+
+#: pg_ctl.c:2020
+#, c-format
+msgid ""
+"\n"
+"Options for register and unregister:\n"
+msgstr ""
+"\n"
+"Opções para registrar ou remover registro:\n"
+
+#: pg_ctl.c:2021
+#, c-format
+msgid " -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr " -N NOMESERVIÇO nome do serviço no qual se registrou o servidor PostgreSQL\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr " -P SENHA senha da conta que registrou o servidor PostgreSQL\n"
+
+#: pg_ctl.c:2023
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr " -U USUÁRIO nome do usuário que registrou o servidor PostgreSQL\n"
+
+#: pg_ctl.c:2024
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr " -S TIPO-INÍCIO tipo de início do serviço para registrar o servidor PostgreSQL\n"
+
+#: pg_ctl.c:2026
+#, c-format
+msgid ""
+"\n"
+"Start types are:\n"
+msgstr ""
+"\n"
+"Tipos de início são:\n"
+
+#: pg_ctl.c:2027
+#, c-format
+msgid " auto start service automatically during system startup (default)\n"
+msgstr " auto inicia serviço automaticamente durante a inicialização do sistema (padrão)\n"
+
+#: pg_ctl.c:2028
+#, c-format
+msgid " demand start service on demand\n"
+msgstr " demand inicia serviço sob demanda\n"
+
+#: pg_ctl.c:2031
+#, c-format
+msgid ""
+"\n"
+"Report bugs to <%s>.\n"
+msgstr ""
+"\n"
+"Relate erros a <%s>.\n"
+
+#: pg_ctl.c:2032
+#, c-format
+msgid "%s home page: <%s>\n"
+msgstr "Página web do %s: <%s>\n"
+
+#: pg_ctl.c:2057
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "%s: modo de desligamento \"%s\" desconhecido\n"
+
+#: pg_ctl.c:2086
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "%s: nome de sinal \"%s\" desconhecido\n"
+
+#: pg_ctl.c:2103
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "%s: tipo de início \"%s\" desconhecido\n"
+
+#: pg_ctl.c:2159
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "%s: não pôde determinar diretório de dados utilizando comando \"%s\"\n"
+
+#: pg_ctl.c:2182
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "%s: arquivo de controle parece estar corrompido\n"
+
+#: pg_ctl.c:2250
+#, c-format
+msgid ""
+"%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr ""
+"%s: não pode ser executado como root\n"
+"Por favor entre (utilizando \"su\") como um usuário (sem privilégios) que\n"
+"será o dono do processo do servidor.\n"
+
+#: pg_ctl.c:2333
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "%s: opção -S não é suportada nessa plataforma\n"
+
+#: pg_ctl.c:2370
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "%s: muitos argumentos de linha de comando (primeiro é \"%s\")\n"
+
+#: pg_ctl.c:2396
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "%s: faltando argumento para modo kill\n"
+
+#: pg_ctl.c:2414
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "%s: modo de operação \"%s\" é desconhecido\n"
+
+#: pg_ctl.c:2424
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "%s: nenhuma operação especificada\n"
+
+#: pg_ctl.c:2445
+#, c-format
+msgid "%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr "%s: nenhum diretório de banco de dados especificado e variável de ambiente PGDATA não foi definida\n"
diff --git a/src/bin/pg_ctl/po/ru.po b/src/bin/pg_ctl/po/ru.po
new file mode 100644
index 0000000..a5d7ee2
--- /dev/null
+++ b/src/bin/pg_ctl/po/ru.po
@@ -0,0 +1,1025 @@
+# Russian message translation file for pg_ctl
+# Copyright (C) 2004-2016 PostgreSQL Global Development Group
+# This file is distributed under the same license as the PostgreSQL package.
+# Oleg Bartunov <oleg@sai.msu.su>, 2004.
+# Serguei A. Mokhov <mokhov@cs.concordia.ca>, 2004-2005.
+# Sergey Burladyan <eshkinkot@gmail.com>, 2009, 2012.
+# Andrey Sudnik <sudnikand@gmail.com>, 2010.
+# Dmitriy Olshevskiy <olshevskiy87@bk.ru>, 2014.
+# Alexander Lakhin <exclusion@gmail.com>, 2012-2017, 2018, 2019, 2020, 2021, 2022, 2023.
+msgid ""
+msgstr ""
+"Project-Id-Version: pg_ctl (PostgreSQL current)\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
+"POT-Creation-Date: 2023-08-28 07:59+0300\n"
+"PO-Revision-Date: 2023-08-29 10:20+0300\n"
+"Last-Translator: Alexander Lakhin <exclusion@gmail.com>\n"
+"Language-Team: Russian <pgsql-ru-general@postgresql.org>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
+"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: ../../common/exec.c:172
+#, c-format
+msgid "invalid binary \"%s\": %m"
+msgstr "неверный исполняемый файл \"%s\": %m"
+
+#: ../../common/exec.c:215
+#, c-format
+msgid "could not read binary \"%s\": %m"
+msgstr "не удалось прочитать исполняемый файл \"%s\": %m"
+
+#: ../../common/exec.c:223
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "не удалось найти запускаемый файл \"%s\""
+
+#: ../../common/exec.c:250
+#, c-format
+msgid "could not resolve path \"%s\" to absolute form: %m"
+msgstr "не удалось преобразовать относительный путь \"%s\" в абсолютный: %m"
+
+#: ../../common/exec.c:412
+#, c-format
+msgid "%s() failed: %m"
+msgstr "ошибка в %s(): %m"
+
+#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687
+msgid "out of memory"
+msgstr "нехватка памяти"
+
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161
+#: ../../port/path.c:753 ../../port/path.c:791 ../../port/path.c:808
+#, c-format
+msgid "out of memory\n"
+msgstr "нехватка памяти\n"
+
+#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "попытка дублирования нулевого указателя (внутренняя ошибка)\n"
+
+#: ../../common/wait_error.c:55
+#, c-format
+msgid "command not executable"
+msgstr "неисполняемая команда"
+
+#: ../../common/wait_error.c:59
+#, c-format
+msgid "command not found"
+msgstr "команда не найдена"
+
+#: ../../common/wait_error.c:64
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "дочерний процесс завершился с кодом возврата %d"
+
+#: ../../common/wait_error.c:72
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "дочерний процесс прерван исключением 0x%X"
+
+#: ../../common/wait_error.c:76
+#, c-format
+msgid "child process was terminated by signal %d: %s"
+msgstr "дочерний процесс завершён по сигналу %d: %s"
+
+#: ../../common/wait_error.c:82
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "дочерний процесс завершился с нераспознанным состоянием %d"
+
+#: ../../port/path.c:775
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "не удалось определить текущий рабочий каталог: %s\n"
+
+#: pg_ctl.c:255
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "%s: каталог \"%s\" не существует\n"
+
+#: pg_ctl.c:258
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s: ошибка доступа к каталогу \"%s\": %s\n"
+
+#: pg_ctl.c:271
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "%s: каталог \"%s\" не содержит структуры кластера баз данных\n"
+
+#: pg_ctl.c:284
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "%s: не удалось открыть файл PID \"%s\": %s\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "%s: файл PID \"%s\" пуст\n"
+
+#: pg_ctl.c:296
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "%s: неверные данные в файле PID \"%s\"\n"
+
+#: pg_ctl.c:458 pg_ctl.c:500
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "%s: не удалось запустить сервер: %s\n"
+
+#: pg_ctl.c:478
+#, c-format
+msgid "%s: could not start server due to setsid() failure: %s\n"
+msgstr "%s: не удалось запустить сервер из-за ошибки в setsid(): %s\n"
+
+#: pg_ctl.c:548
+#, c-format
+msgid "%s: could not open log file \"%s\": %s\n"
+msgstr "%s: не удалось открыть файл протокола \"%s\": %s\n"
+
+#: pg_ctl.c:565
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "%s: не удалось запустить сервер (код ошибки: %lu)\n"
+
+#: pg_ctl.c:782
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr ""
+"%s: не удалось ограничить размер дампа памяти; запрещено жёстким "
+"ограничением\n"
+
+#: pg_ctl.c:808
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "%s: не удалось прочитать файл \"%s\"\n"
+
+#: pg_ctl.c:813
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "%s: в файле параметров \"%s\" должна быть ровно одна строка\n"
+
+#: pg_ctl.c:855 pg_ctl.c:1039 pg_ctl.c:1107
+#, c-format
+msgid "%s: could not send stop signal (PID: %d): %s\n"
+msgstr "%s: не удалось отправить сигнал остановки (PID: %d): %s\n"
+
+#: pg_ctl.c:883
+#, c-format
+msgid ""
+"program \"%s\" is needed by %s but was not found in the same directory as "
+"\"%s\"\n"
+msgstr "программа \"%s\" нужна для %s, но она не найдена в каталоге \"%s\"\n"
+
+#: pg_ctl.c:886
+#, c-format
+msgid "program \"%s\" was found by \"%s\" but was not the same version as %s\n"
+msgstr ""
+"программа \"%s\" найдена программой \"%s\", но её версия отличается от "
+"версии %s\n"
+
+#: pg_ctl.c:918
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "%s: сбой при инициализации системы баз данных\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr ""
+"%s: возможно, уже работает другой сервер; всё же пробуем запустить этот "
+"сервер\n"
+
+#: pg_ctl.c:981
+msgid "waiting for server to start..."
+msgstr "ожидание запуска сервера..."
+
+#: pg_ctl.c:986 pg_ctl.c:1063 pg_ctl.c:1126 pg_ctl.c:1238
+msgid " done\n"
+msgstr " готово\n"
+
+#: pg_ctl.c:987
+msgid "server started\n"
+msgstr "сервер запущен\n"
+
+#: pg_ctl.c:990 pg_ctl.c:996 pg_ctl.c:1243
+msgid " stopped waiting\n"
+msgstr " прекращение ожидания\n"
+
+#: pg_ctl.c:991
+#, c-format
+msgid "%s: server did not start in time\n"
+msgstr "%s: сервер не запустился за отведённое время\n"
+
+#: pg_ctl.c:997
+#, c-format
+msgid ""
+"%s: could not start server\n"
+"Examine the log output.\n"
+msgstr ""
+"%s: не удалось запустить сервер\n"
+"Изучите протокол выполнения.\n"
+
+#: pg_ctl.c:1005
+msgid "server starting\n"
+msgstr "сервер запускается\n"
+
+#: pg_ctl.c:1024 pg_ctl.c:1083 pg_ctl.c:1147 pg_ctl.c:1186 pg_ctl.c:1267
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "%s: файл PID \"%s\" не существует\n"
+
+#: pg_ctl.c:1025 pg_ctl.c:1085 pg_ctl.c:1148 pg_ctl.c:1187 pg_ctl.c:1268
+msgid "Is server running?\n"
+msgstr "Запущен ли сервер?\n"
+
+#: pg_ctl.c:1031
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %d)\n"
+msgstr ""
+"%s: остановить сервер с PID %d нельзя - он запущен в монопольном режиме\n"
+
+#: pg_ctl.c:1046
+msgid "server shutting down\n"
+msgstr "сервер останавливается\n"
+
+#: pg_ctl.c:1051 pg_ctl.c:1112
+msgid "waiting for server to shut down..."
+msgstr "ожидание завершения работы сервера..."
+
+#: pg_ctl.c:1055 pg_ctl.c:1117
+msgid " failed\n"
+msgstr " ошибка\n"
+
+#: pg_ctl.c:1057 pg_ctl.c:1119
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "%s: сервер не останавливается\n"
+
+#: pg_ctl.c:1059 pg_ctl.c:1121
+msgid ""
+"HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr ""
+"ПОДСКАЗКА: Параметр \"-m fast\" может сбросить сеансы принудительно,\n"
+"не дожидаясь, пока они завершатся сами.\n"
+
+#: pg_ctl.c:1065 pg_ctl.c:1127
+msgid "server stopped\n"
+msgstr "сервер остановлен\n"
+
+#: pg_ctl.c:1086
+msgid "trying to start server anyway\n"
+msgstr "производится попытка запуска сервера в любом случае\n"
+
+#: pg_ctl.c:1095
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %d)\n"
+msgstr ""
+"%s: перезапустить сервер с PID %d нельзя - он запущен в монопольном режиме\n"
+
+#: pg_ctl.c:1098 pg_ctl.c:1157
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "Пожалуйста, остановите его и повторите попытку.\n"
+
+#: pg_ctl.c:1131
+#, c-format
+msgid "%s: old server process (PID: %d) seems to be gone\n"
+msgstr "%s: похоже, что старый серверный процесс (PID: %d) исчез\n"
+
+#: pg_ctl.c:1133
+msgid "starting server anyway\n"
+msgstr "сервер запускается, несмотря на это\n"
+
+#: pg_ctl.c:1154
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %d)\n"
+msgstr ""
+"%s: перезагрузить сервер с PID %d нельзя - он запущен в монопольном режиме\n"
+
+#: pg_ctl.c:1163
+#, c-format
+msgid "%s: could not send reload signal (PID: %d): %s\n"
+msgstr "%s: не удалось отправить сигнал перезагрузки (PID: %d): %s\n"
+
+#: pg_ctl.c:1168
+msgid "server signaled\n"
+msgstr "сигнал отправлен серверу\n"
+
+#: pg_ctl.c:1193
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %d)\n"
+msgstr ""
+"%s: повысить сервер с PID %d нельзя - он выполняется в монопольном режиме\n"
+
+#: pg_ctl.c:1201
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr "%s: повысить сервер нельзя - он работает не в режиме резерва\n"
+
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "%s: не удалось создать файл \"%s\" с сигналом к повышению: %s\n"
+
+#: pg_ctl.c:1217
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "%s: не удалось записать файл \"%s\" с сигналом к повышению: %s\n"
+
+#: pg_ctl.c:1225
+#, c-format
+msgid "%s: could not send promote signal (PID: %d): %s\n"
+msgstr "%s: не удалось отправить сигнал к повышению (PID: %d): %s\n"
+
+#: pg_ctl.c:1228
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s: ошибка при удалении файла \"%s\" с сигналом к повышению: %s\n"
+
+#: pg_ctl.c:1235
+msgid "waiting for server to promote..."
+msgstr "ожидание повышения сервера..."
+
+#: pg_ctl.c:1239
+msgid "server promoted\n"
+msgstr "сервер повышен\n"
+
+#: pg_ctl.c:1244
+#, c-format
+msgid "%s: server did not promote in time\n"
+msgstr "%s: повышение сервера не завершилось за отведённое время\n"
+
+#: pg_ctl.c:1250
+msgid "server promoting\n"
+msgstr "сервер повышается\n"
+
+#: pg_ctl.c:1274
+#, c-format
+msgid "%s: cannot rotate log file; single-user server is running (PID: %d)\n"
+msgstr ""
+"%s: не удалось прокрутить файл журнала; сервер работает в монопольном режиме "
+"(PID: %d)\n"
+
+#: pg_ctl.c:1284
+#, c-format
+msgid "%s: could not create log rotation signal file \"%s\": %s\n"
+msgstr ""
+"%s: не удалось создать файл \"%s\" с сигналом к прокрутке журнала: %s\n"
+
+#: pg_ctl.c:1290
+#, c-format
+msgid "%s: could not write log rotation signal file \"%s\": %s\n"
+msgstr ""
+"%s: не удалось записать файл \"%s\" с сигналом к прокрутке журнала: %s\n"
+
+#: pg_ctl.c:1298
+#, c-format
+msgid "%s: could not send log rotation signal (PID: %d): %s\n"
+msgstr "%s: не удалось отправить сигнал к прокрутке журнала (PID: %d): %s\n"
+
+#: pg_ctl.c:1301
+#, c-format
+msgid "%s: could not remove log rotation signal file \"%s\": %s\n"
+msgstr ""
+"%s: ошибка при удалении файла \"%s\" с сигналом к прокрутке журнала: %s\n"
+
+#: pg_ctl.c:1306
+msgid "server signaled to rotate log file\n"
+msgstr "сигнал для прокрутки файла журнала отправлен серверу\n"
+
+#: pg_ctl.c:1353
+#, c-format
+msgid "%s: single-user server is running (PID: %d)\n"
+msgstr "%s: сервер работает в монопольном режиме (PID: %d)\n"
+
+#: pg_ctl.c:1367
+#, c-format
+msgid "%s: server is running (PID: %d)\n"
+msgstr "%s: сервер работает (PID: %d)\n"
+
+#: pg_ctl.c:1383
+#, c-format
+msgid "%s: no server running\n"
+msgstr "%s: сервер не работает\n"
+
+#: pg_ctl.c:1400
+#, c-format
+msgid "%s: could not send signal %d (PID: %d): %s\n"
+msgstr "%s: не удалось отправить сигнал %d (PID: %d): %s\n"
+
+#: pg_ctl.c:1431
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s: не удалось найти свой исполняемый файл\n"
+
+#: pg_ctl.c:1441
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "%s: не удалось найти исполняемый файл postgres\n"
+
+#: pg_ctl.c:1511 pg_ctl.c:1545
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "%s: не удалось открыть менеджер служб\n"
+
+#: pg_ctl.c:1517
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "%s: служба \"%s\" уже зарегистрирована\n"
+
+#: pg_ctl.c:1528
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "%s: не удалось зарегистрировать службу \"%s\" (код ошибки: %lu)\n"
+
+#: pg_ctl.c:1551
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "%s: служба \"%s\" не зарегистрирована\n"
+
+#: pg_ctl.c:1558
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "%s: не удалось открыть службу \"%s\" (код ошибки: %lu)\n"
+
+#: pg_ctl.c:1567
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "%s: ошибка при удалении службы \"%s\" (код ошибки: %lu)\n"
+
+#: pg_ctl.c:1654
+msgid "Waiting for server startup...\n"
+msgstr "Ожидание запуска сервера...\n"
+
+#: pg_ctl.c:1657
+msgid "Timed out waiting for server startup\n"
+msgstr "Превышено время ожидания запуска сервера\n"
+
+#: pg_ctl.c:1661
+msgid "Server started and accepting connections\n"
+msgstr "Сервер запущен и принимает подключения\n"
+
+#: pg_ctl.c:1716
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "%s: не удалось запустить службу \"%s\" (код ошибки: %lu)\n"
+
+#: pg_ctl.c:1789
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "%s: не удалось открыть маркер процесса (код ошибки: %lu)\n"
+
+#: pg_ctl.c:1803
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "%s: не удалось подготовить структуры SID (код ошибки: %lu)\n"
+
+#: pg_ctl.c:1829
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "%s: не удалось создать ограниченный маркер (код ошибки: %lu)\n"
+
+#: pg_ctl.c:1911
+#, c-format
+msgid "%s: could not get LUIDs for privileges: error code %lu\n"
+msgstr "%s: не удалось получить LUID для привилегий (код ошибки: %lu)\n"
+
+#: pg_ctl.c:1919 pg_ctl.c:1934
+#, c-format
+msgid "%s: could not get token information: error code %lu\n"
+msgstr "%s: не удалось получить информацию о маркере (код ошибки: %lu)\n"
+
+#: pg_ctl.c:1928
+#, c-format
+msgid "%s: out of memory\n"
+msgstr "%s: нехватка памяти\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "Для дополнительной информации попробуйте \"%s --help\".\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid ""
+"%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n"
+"\n"
+msgstr ""
+"%s - это утилита для инициализации, запуска, остановки и управления сервером "
+"PostgreSQL.\n"
+"\n"
+
+#: pg_ctl.c:1967
+#, c-format
+msgid "Usage:\n"
+msgstr "Использование:\n"
+
+#: pg_ctl.c:1968
+#, c-format
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr " %s init[db] [-D КАТАЛОГ-ДАННЫХ] [-s] [-o ПАРАМЕТРЫ]\n"
+
+#: pg_ctl.c:1969
+#, c-format
+msgid ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr ""
+" %s start [-D КАТАЛОГ-ДАННЫХ] [-l ИМЯ-ФАЙЛА] [-W] [-t СЕК] [-s]\n"
+" [-o ПАРАМЕТРЫ] [-p ПУТЬ] [-c]\n"
+
+#: pg_ctl.c:1971
+#, c-format
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr ""
+" %s stop [-D КАТАЛОГ-ДАННЫХ] [-m РЕЖИМ-ОСТАНОВКИ] [-W] [-t СЕК] [-s]\n"
+
+#: pg_ctl.c:1972
+#, c-format
+msgid ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr ""
+" %s restart [-D КАТАЛОГ-ДАННЫХ] [-m РЕЖИМ-ОСТАНОВКИ] [-W] [-t СЕК] [-s]\n"
+" [-o ПАРАМЕТРЫ] [-c]\n"
+
+#: pg_ctl.c:1974
+#, c-format
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D КАТАЛОГ-ДАННЫХ] [-s]\n"
+
+#: pg_ctl.c:1975
+#, c-format
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D КАТАЛОГ-ДАННЫХ]\n"
+
+#: pg_ctl.c:1976
+#, c-format
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr " %s promote [-D КАТАЛОГ-ДАННЫХ] [-W] [-t СЕК] [-s]\n"
+
+#: pg_ctl.c:1977
+#, c-format
+msgid " %s logrotate [-D DATADIR] [-s]\n"
+msgstr " %s logrotate [-D КАТАЛОГ-ДАННЫХ] [-s]\n"
+
+#: pg_ctl.c:1978
+#, c-format
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill СИГНАЛ PID\n"
+
+#: pg_ctl.c:1980
+#, c-format
+msgid ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o "
+"OPTIONS]\n"
+msgstr ""
+" %s register [-D КАТАЛОГ-ДАННЫХ] [-N ИМЯ-СЛУЖБЫ] [-U ПОЛЬЗОВАТЕЛЬ] [-P "
+"ПАРОЛЬ]\n"
+" [-S ТИП-ЗАПУСКА] [-e ИСТОЧНИК] [-W] [-t СЕК] [-s] [-o "
+"ПАРАМЕТРЫ]\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N ИМЯ-СЛУЖБЫ]\n"
+
+#: pg_ctl.c:1985
+#, c-format
+msgid ""
+"\n"
+"Common options:\n"
+msgstr ""
+"\n"
+"Общие параметры:\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr " -D, --pgdata=КАТАЛОГ расположение хранилища баз данных\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid ""
+" -e SOURCE event source for logging when running as a service\n"
+msgstr ""
+" -e ИСТОЧНИК источник событий, устанавливаемый при записи в "
+"журнал,\n"
+" когда сервер работает в виде службы\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr ""
+" -s, --silent выводить только ошибки, без информационных "
+"сообщений\n"
+
+#: pg_ctl.c:1991
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr ""
+" -t, --timeout=СЕК время ожидания при использовании параметра -w\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr " -V, --version показать версию и выйти\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr " -w, --wait ждать завершения операции (по умолчанию)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr " -W, --no-wait не ждать завершения операции\n"
+
+#: pg_ctl.c:1995
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr " -?, --help показать эту справку и выйти\n"
+
+#: pg_ctl.c:1996
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr "Если параметр -D опущен, используется переменная окружения PGDATA.\n"
+
+#: pg_ctl.c:1998
+#, c-format
+msgid ""
+"\n"
+"Options for start or restart:\n"
+msgstr ""
+"\n"
+"Параметры запуска и перезапуска:\n"
+
+#: pg_ctl.c:2000
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr " -c, --core-files указать postgres создавать дампы памяти\n"
+
+#: pg_ctl.c:2002
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr " -c, --core-files неприменимо на этой платформе\n"
+
+#: pg_ctl.c:2004
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr ""
+" -l, --log=ФАЙЛ записывать (или добавлять) протокол сервера в "
+"ФАЙЛ.\n"
+
+#: pg_ctl.c:2005
+#, c-format
+msgid ""
+" -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr ""
+" -o, --options=ПАРАМЕТРЫ передаваемые postgres (исполняемому файлу "
+"PostgreSQL)\n"
+" или initdb параметры командной строки\n"
+
+#: pg_ctl.c:2007
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr " -p ПУТЬ-К-POSTGRES обычно не требуется\n"
+
+#: pg_ctl.c:2008
+#, c-format
+msgid ""
+"\n"
+"Options for stop or restart:\n"
+msgstr ""
+"\n"
+"Параметры остановки и перезапуска:\n"
+
+#: pg_ctl.c:2009
+#, c-format
+msgid ""
+" -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr ""
+" -m, --mode=РЕЖИМ может быть \"smart\", \"fast\" или \"immediate\"\n"
+
+#: pg_ctl.c:2011
+#, c-format
+msgid ""
+"\n"
+"Shutdown modes are:\n"
+msgstr ""
+"\n"
+"Режимы остановки:\n"
+
+#: pg_ctl.c:2012
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr " smart закончить работу после отключения всех клиентов\n"
+
+#: pg_ctl.c:2013
+#, c-format
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr " fast закончить сразу, в штатном режиме (по умолчанию)\n"
+
+#: pg_ctl.c:2014
+#, c-format
+msgid ""
+" immediate quit without complete shutdown; will lead to recovery on "
+"restart\n"
+msgstr ""
+" immediate закончить немедленно, в экстренном режиме; влечёт за собой\n"
+" восстановление при перезапуске\n"
+
+#: pg_ctl.c:2016
+#, c-format
+msgid ""
+"\n"
+"Allowed signal names for kill:\n"
+msgstr ""
+"\n"
+"Разрешённые сигналы для команды kill:\n"
+
+#: pg_ctl.c:2020
+#, c-format
+msgid ""
+"\n"
+"Options for register and unregister:\n"
+msgstr ""
+"\n"
+"Параметры для регистрации и удаления:\n"
+
+#: pg_ctl.c:2021
+#, c-format
+msgid ""
+" -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr " -N ИМЯ-СЛУЖБЫ имя службы для регистрации сервера PostgreSQL\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr ""
+" -P ПАРОЛЬ пароль учётной записи для регистрации сервера PostgreSQL\n"
+
+#: pg_ctl.c:2023
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr ""
+" -U ПОЛЬЗОВАТЕЛЬ имя пользователя для регистрации сервера PostgreSQL\n"
+
+#: pg_ctl.c:2024
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr " -S ТИП-ЗАПУСКА тип запуска службы сервера PostgreSQL\n"
+
+#: pg_ctl.c:2026
+#, c-format
+msgid ""
+"\n"
+"Start types are:\n"
+msgstr ""
+"\n"
+"Типы запуска:\n"
+
+#: pg_ctl.c:2027
+#, c-format
+msgid ""
+" auto start service automatically during system startup (default)\n"
+msgstr ""
+" auto запускать службу автоматически при старте системы (по "
+"умолчанию)\n"
+
+#: pg_ctl.c:2028
+#, c-format
+msgid " demand start service on demand\n"
+msgstr " demand запускать службу по требованию\n"
+
+#: pg_ctl.c:2031
+#, c-format
+msgid ""
+"\n"
+"Report bugs to <%s>.\n"
+msgstr ""
+"\n"
+"Об ошибках сообщайте по адресу <%s>.\n"
+
+#: pg_ctl.c:2032
+#, c-format
+msgid "%s home page: <%s>\n"
+msgstr "Домашняя страница %s: <%s>\n"
+
+#: pg_ctl.c:2057
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "%s: неизвестный режим остановки \"%s\"\n"
+
+#: pg_ctl.c:2086
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "%s: нераспознанное имя сигнала \"%s\"\n"
+
+#: pg_ctl.c:2103
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "%s: нераспознанный тип запуска \"%s\"\n"
+
+#: pg_ctl.c:2159
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "%s: не удалось определить каталог данных с помощью команды \"%s\"\n"
+
+#: pg_ctl.c:2182
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "%s: управляющий файл, по-видимому, испорчен\n"
+
+#: pg_ctl.c:2250
+#, c-format
+msgid ""
+"%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr ""
+"Запускать %s от имени root нельзя.\n"
+"Пожалуйста, переключитесь на обычного пользователя (например,\n"
+"используя \"su\"), который будет запускать серверный процесс.\n"
+
+#: pg_ctl.c:2333
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "%s: параметр -S не поддерживается в этой ОС\n"
+
+#: pg_ctl.c:2370
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "%s: слишком много аргументов командной строки (первый: \"%s\")\n"
+
+#: pg_ctl.c:2396
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "%s: отсутствуют аргументы для режима kill\n"
+
+#: pg_ctl.c:2414
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "%s: нераспознанный режим работы \"%s\"\n"
+
+#: pg_ctl.c:2424
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "%s: команда не указана\n"
+
+#: pg_ctl.c:2445
+#, c-format
+msgid ""
+"%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr ""
+"%s: каталог баз данных не указан и переменная окружения PGDATA не "
+"установлена\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "%s: -w option cannot use a relative socket directory specification\n"
+#~ msgstr ""
+#~ "\n"
+#~ "%s: в параметре -w нельзя указывать относительный путь к каталогу "
+#~ "сокетов\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "%s: -w option is not supported when starting a pre-9.1 server\n"
+#~ msgstr ""
+#~ "\n"
+#~ "%s: параметр -w не поддерживается при запуске сервера до версии 9.1\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "%s: could not stat file \"%s\": %s\n"
+#~ msgstr ""
+#~ "\n"
+#~ "%s: не удалось получить информацию о файле \"%s\": %s\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "%s: this data directory appears to be running a pre-existing postmaster\n"
+#~ msgstr ""
+#~ "\n"
+#~ "%s: похоже, что с этим каталогом уже работает управляющий процесс "
+#~ "postmaster\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "Options for start or stop:\n"
+#~ msgstr ""
+#~ "\n"
+#~ "Параметры запуска и остановки сервера:\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "Options for stop, restart, or promote:\n"
+#~ msgstr ""
+#~ "\n"
+#~ "Параметры остановки, перезапуска и повышения:\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "Promotion modes are:\n"
+#~ msgstr ""
+#~ "\n"
+#~ "Режимы повышения:\n"
+
+#~ msgid ""
+#~ "\n"
+#~ "Report bugs to <pgsql-bugs@lists.postgresql.org>.\n"
+#~ msgstr ""
+#~ "\n"
+#~ "Об ошибках сообщайте по адресу <pgsql-bugs@lists.postgresql.org>.\n"
+
+#~ msgid " %s promote [-w] [-t SECS] [-D DATADIR] [-s]\n"
+#~ msgstr " %s promote [-w] [-t СЕК] [-D КАТАЛОГ-ДАННЫХ] [-s]\n"
+
+#~ msgid ""
+#~ " %s start [-w] [-t SECS] [-D DATADIR] [-s] [-l FILENAME] [-o "
+#~ "\"OPTIONS\"]\n"
+#~ msgstr ""
+#~ " %s start [-w] [-t СЕК] [-D КАТАЛОГ-ДАННЫХ] [-s] [-l ИМЯ-ФАЙЛА]\n"
+#~ " [-o \"ПАРАМЕТРЫ\"]\n"
+
+#~ msgid ""
+#~ " -I, --idempotent don't error if server already running or "
+#~ "stopped\n"
+#~ msgstr ""
+#~ " -I, --idempotent не считать ошибкой, если он уже запущен или "
+#~ "остановлен\n"
+
+#~ msgid ""
+#~ " fast promote quickly without waiting for checkpoint completion\n"
+#~ msgstr ""
+#~ " fast быстрое повышение, без ожидания завершения контрольной "
+#~ "точки\n"
+
+#~ msgid " smart promote after performing a checkpoint\n"
+#~ msgstr " smart повышение после выполнения контрольной точки\n"
+
+#, c-format
+#~ msgid "%s: WARNING: cannot create restricted tokens on this platform\n"
+#~ msgstr ""
+#~ "%s: ПРЕДУПРЕЖДЕНИЕ: в этой ОС нельзя создавать ограниченные маркеры\n"
+
+#, c-format
+#~ msgid ""
+#~ "%s: WARNING: could not locate all job object functions in system API\n"
+#~ msgstr ""
+#~ "%s: ПРЕДУПРЕЖДЕНИЕ: не удалось найти все функции для работы с задачами в "
+#~ "системном API\n"
+
+#~ msgid "%s: another server might be running\n"
+#~ msgstr "%s: возможно, работает другой сервер\n"
+
+#~ msgid "%s: could not create log file \"%s\": %s\n"
+#~ msgstr "%s: не удалось создать файл журнала \"%s\": %s\n"
+
+#~ msgid "%s: could not wait for server because of misconfiguration\n"
+#~ msgstr "%s: не удалось дождаться сервера вследствие ошибки конфигурации\n"
+
+#~ msgid ""
+#~ "(The default is to wait for shutdown, but not for start or restart.)\n"
+#~ "\n"
+#~ msgstr ""
+#~ "(По умолчанию ожидание имеет место при остановке, но не при "
+#~ "(пере)запуске.)\n"
+#~ "\n"
+
+#~ msgid ""
+#~ "WARNING: online backup mode is active\n"
+#~ "Shutdown will not complete until pg_stop_backup() is called.\n"
+#~ "\n"
+#~ msgstr ""
+#~ "ПРЕДУПРЕЖДЕНИЕ: активен режим копирования \"на ходу\"\n"
+#~ "Выключение произойдёт только при вызове pg_stop_backup().\n"
+#~ "\n"
+
+#~ msgid "child process was terminated by signal %s"
+#~ msgstr "дочерний процесс завершён по сигналу %s"
+
+#, c-format
+#~ msgid "could not change directory to \"%s\": %m"
+#~ msgstr "не удалось перейти в каталог \"%s\": %m"
+
+#, c-format
+#~ msgid "could not identify current directory: %m"
+#~ msgstr "не удалось определить текущий каталог: %m"
+
+#, c-format
+#~ msgid "could not read symbolic link \"%s\": %m"
+#~ msgstr "не удалось прочитать символическую ссылку \"%s\": %m"
+
+#~ msgid "server is still starting up\n"
+#~ msgstr "сервер всё ещё запускается\n"
diff --git a/src/bin/pg_ctl/po/sv.po b/src/bin/pg_ctl/po/sv.po
new file mode 100644
index 0000000..3ab0f95
--- /dev/null
+++ b/src/bin/pg_ctl/po/sv.po
@@ -0,0 +1,858 @@
+# Swedish message translation file for pg_ctl
+# Dennis Björklund <db@zigo.dhs.org>, 2004, 2005, 2006, 2017, 2018, 2019, 2020, 2021, 2022, 2023.
+# Magnus Hagander <magnus@hagander.net>, 2010.
+# Mats Erik Andersson <bsd@gisladisker.se>, 2013, 2014.
+#
+# Use these quotes: "%s"
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: PostgreSQL 16\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
+"POT-Creation-Date: 2023-08-01 14:18+0000\n"
+"PO-Revision-Date: 2023-08-30 09:01+0200\n"
+"Last-Translator: Dennis Björklund <db@zigo.dhs.org>\n"
+"Language-Team: Swedish <pgsql-translators@postgresql.org>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+
+#: ../../common/exec.c:172
+#, c-format
+msgid "invalid binary \"%s\": %m"
+msgstr "ogiltig binär \"%s\": %m"
+
+#: ../../common/exec.c:215
+#, c-format
+msgid "could not read binary \"%s\": %m"
+msgstr "kunde inte läsa binär \"%s\": %m"
+
+#: ../../common/exec.c:223
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "kunde inte hitta en \"%s\" att köra"
+
+#: ../../common/exec.c:250
+#, c-format
+msgid "could not resolve path \"%s\" to absolute form: %m"
+msgstr "kunde inte konvertera sökvägen \"%s\" till en absolut sökväg: %m"
+
+#: ../../common/exec.c:412
+#, c-format
+msgid "%s() failed: %m"
+msgstr "%s() misslyckades: %m"
+
+#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687
+msgid "out of memory"
+msgstr "slut på minne"
+
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161
+#: ../../port/path.c:753 ../../port/path.c:791 ../../port/path.c:808
+#, c-format
+msgid "out of memory\n"
+msgstr "slut på minne\n"
+
+#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "kan inte duplicera null-pekare (internt fel)\n"
+
+#: ../../common/wait_error.c:55
+#, c-format
+msgid "command not executable"
+msgstr "kommandot är inte körbart"
+
+#: ../../common/wait_error.c:59
+#, c-format
+msgid "command not found"
+msgstr "kommandot kan ej hittas"
+
+#: ../../common/wait_error.c:64
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "barnprocess avslutade med kod %d"
+
+#: ../../common/wait_error.c:72
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "barnprocess terminerades med avbrott 0x%X"
+
+#: ../../common/wait_error.c:76
+#, c-format
+msgid "child process was terminated by signal %d: %s"
+msgstr "barnprocess terminerades av signal %d: %s"
+
+#: ../../common/wait_error.c:82
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "barnprocess avslutade med okänd statuskod %d"
+
+#: ../../port/path.c:775
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "kunde inte fastställa nuvarande arbetskatalog: %s\n"
+
+#: pg_ctl.c:255
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "%s: katalogen \"%s\" existerar inte\n"
+
+#: pg_ctl.c:258
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s: kunde inte komma åt katalogen \"%s\": %s\n"
+
+#: pg_ctl.c:271
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "%s: katalogen \"%s\" innehåller inte något databaskluster.\n"
+
+#: pg_ctl.c:284
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "%s: kunde inte öppna PID-fil \"%s\": %s\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "%s: PID-filen \"%s\" är tom\n"
+
+#: pg_ctl.c:296
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "%s: ogiltig data i PID-fil \"%s\"\n"
+
+#: pg_ctl.c:458 pg_ctl.c:500
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "%s: kunde inte starta servern: %s\n"
+
+#: pg_ctl.c:478
+#, c-format
+msgid "%s: could not start server due to setsid() failure: %s\n"
+msgstr "%s: kunde inte starta servern då setsid() misslyckades: %s\n"
+
+#: pg_ctl.c:548
+#, c-format
+msgid "%s: could not open log file \"%s\": %s\n"
+msgstr "%s: kunde inte öppna logg-fil \"%s\": %s\n"
+
+#: pg_ctl.c:565
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "%s: kunde inte starta servern: felkod %lu\n"
+
+#: pg_ctl.c:782
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr "%s: kan inte sätta storleksgränsning på core-fil; tillåts inte av hård gräns\n"
+
+#: pg_ctl.c:808
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "%s: kunde inte läsa filen \"%s\"\n"
+
+#: pg_ctl.c:813
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "%s: inställningsfilen \"%s\" måste bestå av en enda rad.\n"
+
+#: pg_ctl.c:855 pg_ctl.c:1039 pg_ctl.c:1107
+#, c-format
+msgid "%s: could not send stop signal (PID: %d): %s\n"
+msgstr "%s: kunde inte skicka stopp-signal (PID: %d): %s\n"
+
+#: pg_ctl.c:883
+#, c-format
+msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"\n"
+msgstr "programmet \"%s\" behövs av %s men hittades inte i samma katalog som \"%s\"\n"
+
+#: pg_ctl.c:886
+#, c-format
+msgid "program \"%s\" was found by \"%s\" but was not the same version as %s\n"
+msgstr "programmet \"%s\" hittades av \"%s\" men är inte av samma version som %s\n"
+
+#: pg_ctl.c:918
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "%s: skapande av databaskluster misslyckades\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr "%s: en annan server verkar köra; försöker starta servern ändå.\n"
+
+#: pg_ctl.c:981
+msgid "waiting for server to start..."
+msgstr "väntar på att servern skall starta..."
+
+#: pg_ctl.c:986 pg_ctl.c:1063 pg_ctl.c:1126 pg_ctl.c:1238
+msgid " done\n"
+msgstr " klar\n"
+
+#: pg_ctl.c:987
+msgid "server started\n"
+msgstr "servern startad\n"
+
+#: pg_ctl.c:990 pg_ctl.c:996 pg_ctl.c:1243
+msgid " stopped waiting\n"
+msgstr " avslutade väntan\n"
+
+#: pg_ctl.c:991
+#, c-format
+msgid "%s: server did not start in time\n"
+msgstr "%s: servern startade inte i tid\n"
+
+#: pg_ctl.c:997
+#, c-format
+msgid ""
+"%s: could not start server\n"
+"Examine the log output.\n"
+msgstr ""
+"%s: kunde inte starta servern\n"
+"Undersök logg-utskriften.\n"
+
+#: pg_ctl.c:1005
+msgid "server starting\n"
+msgstr "servern startar\n"
+
+#: pg_ctl.c:1024 pg_ctl.c:1083 pg_ctl.c:1147 pg_ctl.c:1186 pg_ctl.c:1267
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "%s: PID-filen \"%s\" finns inte\n"
+
+#: pg_ctl.c:1025 pg_ctl.c:1085 pg_ctl.c:1148 pg_ctl.c:1187 pg_ctl.c:1268
+msgid "Is server running?\n"
+msgstr "Kör servern?\n"
+
+#: pg_ctl.c:1031
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %d)\n"
+msgstr "%s: Kan inte stanna servern. En-användar-server i drift (PID: %d).\n"
+
+#: pg_ctl.c:1046
+msgid "server shutting down\n"
+msgstr "servern stänger ner\n"
+
+#: pg_ctl.c:1051 pg_ctl.c:1112
+msgid "waiting for server to shut down..."
+msgstr "väntar på att servern skall stänga ner..."
+
+#: pg_ctl.c:1055 pg_ctl.c:1117
+msgid " failed\n"
+msgstr " misslyckades\n"
+
+#: pg_ctl.c:1057 pg_ctl.c:1119
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "%s: servern stänger inte ner\n"
+
+#: pg_ctl.c:1059 pg_ctl.c:1121
+msgid ""
+"HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr ""
+"TIPS: Flaggan \"-m fast\" avslutar sessioner omedelbart, i stället för att\n"
+"vänta på deras självvalda avslut.\n"
+
+#: pg_ctl.c:1065 pg_ctl.c:1127
+msgid "server stopped\n"
+msgstr "servern är stoppad\n"
+
+#: pg_ctl.c:1086
+msgid "trying to start server anyway\n"
+msgstr "försöker starta servern ändå\n"
+
+#: pg_ctl.c:1095
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %d)\n"
+msgstr "%s: kan inte starta om servern. En-användar-server kör (PID: %d).\n"
+
+#: pg_ctl.c:1098 pg_ctl.c:1157
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "Var vänlig att stanna en-användar-servern och försök sedan igen.\n"
+
+#: pg_ctl.c:1131
+#, c-format
+msgid "%s: old server process (PID: %d) seems to be gone\n"
+msgstr "%s: gamla serverprocessen (PID: %d) verkar vara borta\n"
+
+#: pg_ctl.c:1133
+msgid "starting server anyway\n"
+msgstr "startar servern ändå\n"
+
+#: pg_ctl.c:1154
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %d)\n"
+msgstr "%s: kan inte ladda om servern; en-användar-server kör (PID: %d)\n"
+
+#: pg_ctl.c:1163
+#, c-format
+msgid "%s: could not send reload signal (PID: %d): %s\n"
+msgstr "%s: kunde inte skicka signalen \"reload\" (PID: %d): %s\n"
+
+#: pg_ctl.c:1168
+msgid "server signaled\n"
+msgstr "servern är signalerad\n"
+
+#: pg_ctl.c:1193
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %d)\n"
+msgstr "%s: kan inte befordra servern; en-användar-server kör (PID: %d)\n"
+
+#: pg_ctl.c:1201
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr "%s: kan inte befordra servern; servern är inte i beredskapsläge.\n"
+
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "%s: kunde inte skapa befordringssignalfil \"%s\": %s\n"
+
+#: pg_ctl.c:1217
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "%s: kunde inte skriva befordringssignalfil \"%s\": %s\n"
+
+#: pg_ctl.c:1225
+#, c-format
+msgid "%s: could not send promote signal (PID: %d): %s\n"
+msgstr "%s: kunde inte skicka befordringssignal (PID: %d): %s\n"
+
+#: pg_ctl.c:1228
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s: kunde inte ta bort befordringssignalfil \"%s\": %s\n"
+
+#: pg_ctl.c:1235
+msgid "waiting for server to promote..."
+msgstr "väntar på att servern skall befordras..."
+
+#: pg_ctl.c:1239
+msgid "server promoted\n"
+msgstr "servern befordrad\n"
+
+#: pg_ctl.c:1244
+#, c-format
+msgid "%s: server did not promote in time\n"
+msgstr "%s: servern befordrades inte i tid\n"
+
+#: pg_ctl.c:1250
+msgid "server promoting\n"
+msgstr "servern befordras\n"
+
+#: pg_ctl.c:1274
+#, c-format
+msgid "%s: cannot rotate log file; single-user server is running (PID: %d)\n"
+msgstr "%s: kan inte rotera loggfil; en-användar-server kör (PID: %d)\n"
+
+#: pg_ctl.c:1284
+#, c-format
+msgid "%s: could not create log rotation signal file \"%s\": %s\n"
+msgstr "%s: kunde inte skapa loggroteringssignalfil \"%s\": %s\n"
+
+#: pg_ctl.c:1290
+#, c-format
+msgid "%s: could not write log rotation signal file \"%s\": %s\n"
+msgstr "%s: kunde inte skriva loggroteringssignalfil \"%s\": %s\n"
+
+#: pg_ctl.c:1298
+#, c-format
+msgid "%s: could not send log rotation signal (PID: %d): %s\n"
+msgstr "%s: kunde inte skicka signalen för loggrotering (PID: %d): %s\n"
+
+#: pg_ctl.c:1301
+#, c-format
+msgid "%s: could not remove log rotation signal file \"%s\": %s\n"
+msgstr "%s: kunde inte ta bort loggroteringssignalfil \"%s\": %s\n"
+
+#: pg_ctl.c:1306
+msgid "server signaled to rotate log file\n"
+msgstr "servern är signalerad att rotera loggfil\n"
+
+#: pg_ctl.c:1353
+#, c-format
+msgid "%s: single-user server is running (PID: %d)\n"
+msgstr "%s: en-användar-server kör. (PID: %d)\n"
+
+#: pg_ctl.c:1367
+#, c-format
+msgid "%s: server is running (PID: %d)\n"
+msgstr "%s: servern kör (PID: %d)\n"
+
+#: pg_ctl.c:1383
+#, c-format
+msgid "%s: no server running\n"
+msgstr "%s: ingen server kör\n"
+
+#: pg_ctl.c:1400
+#, c-format
+msgid "%s: could not send signal %d (PID: %d): %s\n"
+msgstr "%s: kunde inte skicka signal %d (PID: %d): %s\n"
+
+#: pg_ctl.c:1431
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s: kunde inte hitta det egna programmets körbara fil\n"
+
+#: pg_ctl.c:1441
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "%s: kunde inte hitta körbar postgres.\n"
+
+#: pg_ctl.c:1511 pg_ctl.c:1545
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "%s: kunde inte öppna tjänstehanteraren\n"
+
+#: pg_ctl.c:1517
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "%s: tjänsten \"%s\" är redan registrerad\n"
+
+#: pg_ctl.c:1528
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "%s: kunde inte registrera tjänsten \"%s\": felkod %lu\n"
+
+#: pg_ctl.c:1551
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "%s: tjänsten \"%s\" är inte registrerad\n"
+
+#: pg_ctl.c:1558
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "%s: kunde inte öppna tjänsten \"%s\": felkod %lu\n"
+
+#: pg_ctl.c:1567
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "%s: kunde inte avregistrera tjänsten \"%s\": felkod %lu\n"
+
+#: pg_ctl.c:1654
+msgid "Waiting for server startup...\n"
+msgstr "Väntar på serverstart...\n"
+
+#: pg_ctl.c:1657
+msgid "Timed out waiting for server startup\n"
+msgstr "Tidsfristen ute vid väntan på serverstart\n"
+
+#: pg_ctl.c:1661
+msgid "Server started and accepting connections\n"
+msgstr "Server startad och accepterar nu anslutningar\n"
+
+#: pg_ctl.c:1716
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "%s: kunde inte starta tjänsten \"%s\": felkod %lu\n"
+
+#: pg_ctl.c:1789
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "%s: kunde inte öppna process-token: felkod %lu\n"
+
+#: pg_ctl.c:1803
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "%s: kunde inte tilldela SID: felkod %lu\n"
+
+#: pg_ctl.c:1829
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "%s: kunde inte skapa restriktivt styrmärke (token): felkod %lu\n"
+
+#: pg_ctl.c:1911
+#, c-format
+msgid "%s: could not get LUIDs for privileges: error code %lu\n"
+msgstr "%s: kunde inte hämta LUID:er för rättigheter: felkod %lu\n"
+
+#: pg_ctl.c:1919 pg_ctl.c:1934
+#, c-format
+msgid "%s: could not get token information: error code %lu\n"
+msgstr "%s: kunde inte hämta token-information: felkod %lu\n"
+
+#: pg_ctl.c:1928
+#, c-format
+msgid "%s: out of memory\n"
+msgstr "%s: slut på minne\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "Försök med \"%s --help\" för mer information.\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid ""
+"%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n"
+"\n"
+msgstr ""
+"%s är ett verktyg för att initiera, starta, stanna och att styra\n"
+"PostgreSQL-tjänsten.\n"
+"\n"
+
+#: pg_ctl.c:1967
+#, c-format
+msgid "Usage:\n"
+msgstr "Användning:\n"
+
+#: pg_ctl.c:1968
+#, c-format
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr " %s init[db] [-D DATAKAT] [-s] [-o FLAGGOR]\n"
+
+#: pg_ctl.c:1969
+#, c-format
+msgid ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr ""
+" %s start [-D DATAKAT] [-l FILNAMN] [-W] [-t SEK] [-s]\n"
+" [-o FLAGGOR] [-p SOKVÄG] [-c]\n"
+
+#: pg_ctl.c:1971
+#, c-format
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr " %s stop [-D DATAKAT] [-m STÄNGNINGSMETOD] [-W] [-t SEK] [-s]\n"
+
+#: pg_ctl.c:1972
+#, c-format
+msgid ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr ""
+" %s restart [-D DATAKAT] [-m STÄNGNINGSMETOD] [-W] [-t SEK] [-s]\n"
+" [-o FLAGGOR] [-c]\n"
+
+#: pg_ctl.c:1974
+#, c-format
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D DATAKAT] [-s]\n"
+
+#: pg_ctl.c:1975
+#, c-format
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D DATAKAT]\n"
+
+#: pg_ctl.c:1976
+#, c-format
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr " %s promote [-D DATAKAT] [-W] [-t SEK] [-s]\n"
+
+#: pg_ctl.c:1977
+#, c-format
+msgid " %s logrotate [-D DATADIR] [-s]\n"
+msgstr " %s logrotate [-D DATAKAT] [-s]\n"
+
+#: pg_ctl.c:1978
+#, c-format
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill SIGNALNAMN PID\n"
+
+#: pg_ctl.c:1980
+#, c-format
+msgid ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+msgstr ""
+" %s register [-D DATAKAT] [-N TJÄNSTENAMN] [-U ANVÄNDARNAMN] [-P LÖSENORD]\n"
+" [-S STARTTYPE] [-e KÄLLA] [-W] [-t SEK] [-s] [-o FLAGGOR]\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N TJÄNSTNAMN]\n"
+
+#: pg_ctl.c:1985
+#, c-format
+msgid ""
+"\n"
+"Common options:\n"
+msgstr ""
+"\n"
+"Gemensamma flaggor:\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr " -D, --pgdata=DATAKAT plats för databasens lagringsarea\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid " -e SOURCE event source for logging when running as a service\n"
+msgstr " -e KÄLLA händelsekälla för loggning när vi kör som en tjänst\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr " -s, --silent skriv bara ut fel, inga informationsmeddelanden\n"
+
+#: pg_ctl.c:1991
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr " -t, --timeout=SEK antal sekunder att vänta när växeln -w används\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr " -V, --version visa versionsinformation, avsluta sedan\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr " -w, --wait vänta på att operationen slutförs (standard)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr " -W, --no-wait vänta inte på att operationen slutförs\n"
+
+#: pg_ctl.c:1995
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr " -?, --help visa den här hjälpen, avsluta sedan\n"
+
+#: pg_ctl.c:1996
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr "Om flaggan -D inte har angivits så används omgivningsvariabeln PGDATA.\n"
+
+#: pg_ctl.c:1998
+#, c-format
+msgid ""
+"\n"
+"Options for start or restart:\n"
+msgstr ""
+"\n"
+"Flaggor för start eller omstart:\n"
+
+#: pg_ctl.c:2000
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr " -c, --core-files tillåt postgres att skapa core-filer\n"
+
+#: pg_ctl.c:2002
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr " -c, --core-files inte giltig för denna plattform\n"
+
+#: pg_ctl.c:2004
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr " -l, --log=FILNAMN skriv, eller tillfoga, server-loggen till FILNAMN\n"
+
+#: pg_ctl.c:2005
+#, c-format
+msgid ""
+" -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr ""
+" -o, --options=OPTIONS kommandoradsflaggor som skickas vidare till postgres\n"
+" (PostgreSQL-serverns körbara fil) eller till initdb\n"
+
+#: pg_ctl.c:2007
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr ""
+" -p SÖKVÄG-TILL-POSTGRES\n"
+" behövs normalt inte\n"
+
+#: pg_ctl.c:2008
+#, c-format
+msgid ""
+"\n"
+"Options for stop or restart:\n"
+msgstr ""
+"\n"
+"Flaggor för stopp eller omstart:\n"
+
+#: pg_ctl.c:2009
+#, c-format
+msgid " -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr " -m, --mode=METOD METOD kan vara \"smart\", \"fast\" eller \"immediate\"\n"
+
+#: pg_ctl.c:2011
+#, c-format
+msgid ""
+"\n"
+"Shutdown modes are:\n"
+msgstr ""
+"\n"
+"Stängningsmetoder är:\n"
+
+#: pg_ctl.c:2012
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr " smart stäng när alla klienter har avslutat\n"
+
+#: pg_ctl.c:2013
+#, c-format
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr " fast stäng omedelbart, med en kontrollerad nedstängning (standard)\n"
+
+#: pg_ctl.c:2014
+#, c-format
+msgid " immediate quit without complete shutdown; will lead to recovery on restart\n"
+msgstr " immediate stäng utan kontroller; kommer leda till återställning vid omstart\n"
+
+#: pg_ctl.c:2016
+#, c-format
+msgid ""
+"\n"
+"Allowed signal names for kill:\n"
+msgstr ""
+"\n"
+"Tillåtna signalnamn för kommando \"kill\":\n"
+
+#: pg_ctl.c:2020
+#, c-format
+msgid ""
+"\n"
+"Options for register and unregister:\n"
+msgstr ""
+"\n"
+"Flaggor för registrering och avregistrering:\n"
+
+#: pg_ctl.c:2021
+#, c-format
+msgid " -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr " -N TJÄNSTENAMN tjänstenamn att registrera PostgreSQL-servern med\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr " -P LÖSENORD lösenord för konto vid registrering av PostgreSQL-servern\n"
+
+#: pg_ctl.c:2023
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr " -U NAMN användarnamn för konto vid registrering av PostgreSQL-servern\n"
+
+#: pg_ctl.c:2024
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr " -S STARTSÄTT sätt att registrera PostgreSQL-servern vid tjänstestart\n"
+
+#: pg_ctl.c:2026
+#, c-format
+msgid ""
+"\n"
+"Start types are:\n"
+msgstr ""
+"\n"
+"Startmetoder är:\n"
+
+#: pg_ctl.c:2027
+#, c-format
+msgid " auto start service automatically during system startup (default)\n"
+msgstr " auto starta tjänsten automatiskt vid systemstart (förval)\n"
+
+#: pg_ctl.c:2028
+#, c-format
+msgid " demand start service on demand\n"
+msgstr " demand starta tjänsten vid behov\n"
+
+#: pg_ctl.c:2031
+#, c-format
+msgid ""
+"\n"
+"Report bugs to <%s>.\n"
+msgstr ""
+"\n"
+"Rapportera fel till <%s>.\n"
+
+#: pg_ctl.c:2032
+#, c-format
+msgid "%s home page: <%s>\n"
+msgstr "hemsida för %s: <%s>\n"
+
+#: pg_ctl.c:2057
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "%s: ogiltig stängningsmetod \"%s\"\n"
+
+#: pg_ctl.c:2086
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "%s: ogiltigt signalnamn \"%s\"\n"
+
+#: pg_ctl.c:2103
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "%s: ogiltigt startvillkor \"%s\"\n"
+
+#: pg_ctl.c:2159
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "%s: kunde inte bestämma databaskatalogen från kommandot \"%s\"\n"
+
+#: pg_ctl.c:2182
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "%s: kontrollfilen verkar vara trasig\n"
+
+#: pg_ctl.c:2250
+#, c-format
+msgid ""
+"%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr ""
+"%s: kan inte köras som root\n"
+"Logga in (t.ex. med \"su\") som den (opriviligerade) användare\n"
+"vilken skall äga serverprocessen.\n"
+
+#: pg_ctl.c:2333
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "%s: flaggan -S stöds inte på denna plattform.\n"
+
+#: pg_ctl.c:2370
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "%s: för många kommandoradsargument (första är \"%s\")\n"
+
+#: pg_ctl.c:2396
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "%s: saknar argument för \"kill\"-kommando.\n"
+
+#: pg_ctl.c:2414
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "%s: okänd operationsmetod \"%s\"\n"
+
+#: pg_ctl.c:2424
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "%s: ingen operation angiven\n"
+
+#: pg_ctl.c:2445
+#, c-format
+msgid "%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr "%s: ingen databaskatalog angiven och omgivningsvariabeln PGDATA är inte satt\n"
+
+#, c-format
+#~ msgid "%s: WARNING: cannot create restricted tokens on this platform\n"
+#~ msgstr "%s: VARNING: \"Restricted Token\" stöds inte av plattformen.\n"
+
+#, c-format
+#~ msgid "%s: WARNING: could not locate all job object functions in system API\n"
+#~ msgstr "%s: VARNING: kunde inte hitta alla jobb-funktioner system-API:et.\n"
+
+#, c-format
+#~ msgid "could not change directory to \"%s\": %m"
+#~ msgstr "kunde inte byta katalog till \"%s\": %m"
+
+#, c-format
+#~ msgid "could not identify current directory: %m"
+#~ msgstr "kunde inte identifiera aktuell katalog: %m"
+
+#, c-format
+#~ msgid "could not read symbolic link \"%s\": %m"
+#~ msgstr "kan inte läsa symbolisk länk \"%s\": %m"
diff --git a/src/bin/pg_ctl/po/tr.po b/src/bin/pg_ctl/po/tr.po
new file mode 100644
index 0000000..a90dd50
--- /dev/null
+++ b/src/bin/pg_ctl/po/tr.po
@@ -0,0 +1,962 @@
+# translation of pg_ctl-tr.po to Turkish
+# Devrim GUNDUZ <devrim@CommandPrompt.com>, 2004, 2005, 2007.
+# Nicolai Tufar <ntufar@gmail.com>, 2004, 2005, 2007.
+# Abdullah Gülner <agulner@gmail.com>, 2018.
+msgid ""
+msgstr ""
+"Project-Id-Version: pg_ctl-tr\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
+"POT-Creation-Date: 2023-04-24 03:48+0000\n"
+"PO-Revision-Date: 2023-09-05 09:10+0200\n"
+"Last-Translator: Abdullah Gülner\n"
+"Language-Team: Turkish <ceviri@postgresql.org.tr>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.8.7.1\n"
+
+#: ../../common/exec.c:172
+#, fuzzy, c-format
+#| msgid "invalid binary \"%s\""
+msgid "invalid binary \"%s\": %m"
+msgstr "geçersiz ikili (binary) \"%s\""
+
+#: ../../common/exec.c:215
+#, fuzzy, c-format
+#| msgid "could not read binary \"%s\""
+msgid "could not read binary \"%s\": %m"
+msgstr "\"%s\" ikili (binary) dosyası okunamadı"
+
+#: ../../common/exec.c:223
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "\"%s\" çalıştırmak için bulunamadı"
+
+#: ../../common/exec.c:250
+#, fuzzy, c-format
+#| msgid "could not reopen file \"%s\" as stderr: %m"
+msgid "could not resolve path \"%s\" to absolute form: %m"
+msgstr "\"%s\" dosyası stderr olarak yeiden açılamadı: %m"
+
+#: ../../common/exec.c:412
+#, fuzzy, c-format
+#| msgid "%s failed: %m"
+msgid "%s() failed: %m"
+msgstr "%s başarısız oldu: %m"
+
+#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687
+msgid "out of memory"
+msgstr "yetersiz bellek"
+
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161
+#: ../../port/path.c:753 ../../port/path.c:791 ../../port/path.c:808
+#, c-format
+msgid "out of memory\n"
+msgstr "bellek yetersiz\n"
+
+#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "null pointer duplicate edilemiyor (iç hata)\n"
+
+#: ../../common/wait_error.c:55
+#, c-format
+msgid "command not executable"
+msgstr "komut çalıştırılabilir değil"
+
+#: ../../common/wait_error.c:59
+#, c-format
+msgid "command not found"
+msgstr "komut bulunamadı"
+
+#: ../../common/wait_error.c:64
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "alt süreç %d çıkış koduyla sonuçlandırılmıştır"
+
+#: ../../common/wait_error.c:72
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "alt süreç 0x%X exception tarafından sonlandırılmıştır"
+
+#: ../../common/wait_error.c:76
+#, c-format
+msgid "child process was terminated by signal %d: %s"
+msgstr "alt süreç %d sinyali tarafından sonlandırılmıştır: %s"
+
+#: ../../common/wait_error.c:82
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "alt süreç %d bilinmeyen durumu ile sonlandırılmıştır"
+
+#: ../../port/path.c:775
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "geçerli dizin belirlenemedi: %s\n"
+
+#: pg_ctl.c:255
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "%s: \"%s\" dizini mevcut değil\n"
+
+#: pg_ctl.c:258
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s: \"%s\" dizine erişim hatası: %s\n"
+
+#: pg_ctl.c:271
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "%s: \"%s\" dizini bir veritabanı kümesi dizini değil\n"
+
+#: pg_ctl.c:284
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "%s: \"%s\" PID dosyası açılamadı: %s\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "%s: \"%s\" PID dosyası boştur\n"
+
+#: pg_ctl.c:296
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "%s: \"%s\" PID dosyasında geçersiz veri\n"
+
+#: pg_ctl.c:458 pg_ctl.c:500
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "%s: sunucu başlatılamadı: %s\n"
+
+#: pg_ctl.c:478
+#, fuzzy, c-format
+#| msgid "%s: could not start server: %s\n"
+msgid "%s: could not start server due to setsid() failure: %s\n"
+msgstr "%s: sunucu başlatılamadı: %s\n"
+
+#: pg_ctl.c:548
+#, c-format
+msgid "%s: could not open log file \"%s\": %s\n"
+msgstr "%s: \"%s\" kayıt dosyası açılamıyor: %s\n"
+
+#: pg_ctl.c:565
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "%s: sunucu başlatılamadı: hata kodu %lu\n"
+
+#: pg_ctl.c:782
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr "%s: core boyutu ayarlanamadı; hard limit tarafından sınırlanmış.\n"
+
+#: pg_ctl.c:808
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "%s: \"%s\" dosyası okunamadı\n"
+
+#: pg_ctl.c:813
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "%s: \"%s\" seçenek dosyası sadece 1 satır olmalıdır\n"
+
+#: pg_ctl.c:855 pg_ctl.c:1039 pg_ctl.c:1107
+#, c-format
+msgid "%s: could not send stop signal (PID: %d): %s\n"
+msgstr "%s: durdurma sinyali başarısız oldu (PID: %d): %s\n"
+
+#: pg_ctl.c:883
+#, fuzzy, c-format
+#| msgid ""
+#| "The program \"%s\" is needed by %s but was not found in the\n"
+#| "same directory as \"%s\".\n"
+#| "Check your installation.\n"
+msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"\n"
+msgstr ""
+"\"%s\" programına %s tarafından gereksinim duyuluyor, ancak \n"
+"\"%s\" ile aynı dizinde bulunamadı.\n"
+"Kurulumunuzu kontrol ediniz.\n"
+
+#: pg_ctl.c:886
+#, fuzzy, c-format
+#| msgid ""
+#| "The program \"%s\" was found by \"%s\"\n"
+#| "but was not the same version as %s.\n"
+#| "Check your installation.\n"
+msgid "program \"%s\" was found by \"%s\" but was not the same version as %s\n"
+msgstr ""
+"\"%s\" programı \"%s\" tarafından\n"
+"bulundu ancak %s ile aynı sürüm numarasına sahip değil.\n"
+"Kurulumunuzu kontrol ediniz.\n"
+
+#: pg_ctl.c:918
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "%s: veritabanı ilklendirme başarısız oldu\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr "%s: başka bir sunucu çalışıyor olabilir; yine de başlatmaya çalışılıyor.\n"
+
+#: pg_ctl.c:981
+msgid "waiting for server to start..."
+msgstr "sunucunun başlaması bekleniyor..."
+
+#: pg_ctl.c:986 pg_ctl.c:1063 pg_ctl.c:1126 pg_ctl.c:1238
+msgid " done\n"
+msgstr " tamam\n"
+
+#: pg_ctl.c:987
+msgid "server started\n"
+msgstr "sunucu başlatıldı\n"
+
+#: pg_ctl.c:990 pg_ctl.c:996 pg_ctl.c:1243
+msgid " stopped waiting\n"
+msgstr "bekleme durduruldu\n"
+
+#: pg_ctl.c:991
+#, c-format
+msgid "%s: server did not start in time\n"
+msgstr "%s: sunucu zamanında başlamadı\n"
+
+#: pg_ctl.c:997
+#, c-format
+msgid ""
+"%s: could not start server\n"
+"Examine the log output.\n"
+msgstr ""
+"%s: sunucu başlatılamadı\n"
+"Kayıt dosyasını inceleyiniz\n"
+
+#: pg_ctl.c:1005
+msgid "server starting\n"
+msgstr "sunucu başlıyor\n"
+
+#: pg_ctl.c:1024 pg_ctl.c:1083 pg_ctl.c:1147 pg_ctl.c:1186 pg_ctl.c:1267
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "%s: \"%s\" PID dosyası bulunamadı\n"
+
+#: pg_ctl.c:1025 pg_ctl.c:1085 pg_ctl.c:1148 pg_ctl.c:1187 pg_ctl.c:1268
+msgid "Is server running?\n"
+msgstr "Sunucu çalışıyor mu?\n"
+
+#: pg_ctl.c:1031
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %d)\n"
+msgstr "%s: sunucu durdurulamadı; tek kullanıcılı sunucu çalışıyor (PID: %d)\n"
+
+#: pg_ctl.c:1046
+msgid "server shutting down\n"
+msgstr "sunucu kapatılıyor\n"
+
+#: pg_ctl.c:1051 pg_ctl.c:1112
+msgid "waiting for server to shut down..."
+msgstr "sunucunun kapanması bekleniyor..."
+
+#: pg_ctl.c:1055 pg_ctl.c:1117
+msgid " failed\n"
+msgstr " başarısız oldu\n"
+
+#: pg_ctl.c:1057 pg_ctl.c:1119
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "%s: sunucu kapanmıyor\n"
+
+#: pg_ctl.c:1059 pg_ctl.c:1121
+msgid ""
+"HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr ""
+"İPUCU: \"-m fast\" seçeneği oturumların kendilerinin bitmesini beklemektense\n"
+"oturumları aniden keser.\n"
+
+#: pg_ctl.c:1065 pg_ctl.c:1127
+msgid "server stopped\n"
+msgstr "sunucu durduruldu\n"
+
+#: pg_ctl.c:1086
+msgid "trying to start server anyway\n"
+msgstr "sunucu yine de başlatılmaya çalışılıyor\n"
+
+#: pg_ctl.c:1095
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %d)\n"
+msgstr "%s: sunucu başlatılamadı; tek kullanıcılı sunucu çalışıyor (PID: %d)\n"
+
+#: pg_ctl.c:1098 pg_ctl.c:1157
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "Lütfen tek kullanıcılı sunucuyu durdurun ve yeniden deneyin.\n"
+
+#: pg_ctl.c:1131
+#, c-format
+msgid "%s: old server process (PID: %d) seems to be gone\n"
+msgstr "%s: eski sunucu süreci (PID: %d) kaybolmuştur\n"
+
+#: pg_ctl.c:1133
+msgid "starting server anyway\n"
+msgstr "sunucu yine de başlatılıyor\n"
+
+#: pg_ctl.c:1154
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %d)\n"
+msgstr "%s: sunucu yeniden yüklenemedi, tek kullanıcılı sunucu çalışıyor (PID: %d)\n"
+
+#: pg_ctl.c:1163
+#, fuzzy, c-format
+#| msgid "%s: could not send reload signal (PID: %ld): %s\n"
+msgid "%s: could not send reload signal (PID: %d): %s\n"
+msgstr "%s: yeniden yükleme sinyali gönderilemedi (PID: %ld): %s\n"
+
+#: pg_ctl.c:1168
+msgid "server signaled\n"
+msgstr "sunucuya sinyal gönderildi\n"
+
+#: pg_ctl.c:1193
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %d)\n"
+msgstr "%s: sunucu yükseltilemedi (promote), tek kullanıcılı sunucu çalışıyor (PID: %d)\n"
+
+#: pg_ctl.c:1201
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr "%s: sunucu yükseltilemiyor (promote), sunucu yedek (standby) modda değil\n"
+
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "%s: \"%s\" yükseltme (promote) sinyal dosyası yaratılamadı: %s\n"
+
+#: pg_ctl.c:1217
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "%s: \"%s\" yükseltme (promote) sinyal dosyasına yazılamadı: %s\n"
+
+#: pg_ctl.c:1225
+#, c-format
+msgid "%s: could not send promote signal (PID: %d): %s\n"
+msgstr "%s: yükseltme (promote) sinyali gönderilemedi (PID: %d): %s\n"
+
+#: pg_ctl.c:1228
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s: \"%s\" yükseltme (promote) sinyal dosyası slinemedi: %s\n"
+
+#: pg_ctl.c:1235
+msgid "waiting for server to promote..."
+msgstr "sunucunun yükseltilmesi (promote) bekleniyor..."
+
+#: pg_ctl.c:1239
+msgid "server promoted\n"
+msgstr "sunucu yükseltildi (promote)\n"
+
+#: pg_ctl.c:1244
+#, c-format
+msgid "%s: server did not promote in time\n"
+msgstr "%s: sunucu zamanında yükseltilemedi (promote)\n"
+
+#: pg_ctl.c:1250
+msgid "server promoting\n"
+msgstr "sunucu yükeltiliyor (promote)\n"
+
+#: pg_ctl.c:1274
+#, fuzzy, c-format
+#| msgid "%s: cannot reload server; single-user server is running (PID: %ld)\n"
+msgid "%s: cannot rotate log file; single-user server is running (PID: %d)\n"
+msgstr "%s: sunucu yeniden yüklenemedi, tek kullanıcılı sunucu çalışıyor (PID: %ld)\n"
+
+#: pg_ctl.c:1284
+#, fuzzy, c-format
+#| msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgid "%s: could not create log rotation signal file \"%s\": %s\n"
+msgstr "%s: \"%s\" yükseltme (promote) sinyal dosyası yaratılamadı: %s\n"
+
+#: pg_ctl.c:1290
+#, fuzzy, c-format
+#| msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgid "%s: could not write log rotation signal file \"%s\": %s\n"
+msgstr "%s: \"%s\" yükseltme (promote) sinyal dosyasına yazılamadı: %s\n"
+
+#: pg_ctl.c:1298
+#, fuzzy, c-format
+#| msgid "%s: could not send reload signal (PID: %ld): %s\n"
+msgid "%s: could not send log rotation signal (PID: %d): %s\n"
+msgstr "%s: yeniden yükleme sinyali gönderilemedi (PID: %ld): %s\n"
+
+#: pg_ctl.c:1301
+#, fuzzy, c-format
+#| msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgid "%s: could not remove log rotation signal file \"%s\": %s\n"
+msgstr "%s: \"%s\" yükseltme (promote) sinyal dosyası slinemedi: %s\n"
+
+#: pg_ctl.c:1306
+#, fuzzy
+#| msgid "server signaled\n"
+msgid "server signaled to rotate log file\n"
+msgstr "sunucuya sinyal gönderildi\n"
+
+#: pg_ctl.c:1353
+#, c-format
+msgid "%s: single-user server is running (PID: %d)\n"
+msgstr "%s: sunucu, tek kullanıcı biçiminde çalışıyor (PID: %d)\n"
+
+#: pg_ctl.c:1367
+#, c-format
+msgid "%s: server is running (PID: %d)\n"
+msgstr "%s: sunucu çalışıyor (PID: %d)\n"
+
+#: pg_ctl.c:1383
+#, c-format
+msgid "%s: no server running\n"
+msgstr "%s: çalışan sunucu yok\n"
+
+#: pg_ctl.c:1400
+#, c-format
+msgid "%s: could not send signal %d (PID: %d): %s\n"
+msgstr "%s: %d reload sinyali gönderilemedi (PID: %d): %s\n"
+
+#: pg_ctl.c:1431
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s:Çalıştırılabilir dosya bulunamadı\n"
+
+#: pg_ctl.c:1441
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "%s: çalıştırılabilir postgres programı bulunamadı\n"
+
+#: pg_ctl.c:1511 pg_ctl.c:1545
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "%s: servis yöneticisi açılamadı\n"
+
+#: pg_ctl.c:1517
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "%s: \"%s\" servisi daha önce kaydedilmiştir\n"
+
+#: pg_ctl.c:1528
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "%s: \"%s\" servisi kayıt edilemedi: hata kodu %lu\n"
+
+#: pg_ctl.c:1551
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "%s: \"%s\" servisi kayıtlı değil\n"
+
+#: pg_ctl.c:1558
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "%s: \"%s\" servisi açılamadı: hata kodu %lu\n"
+
+#: pg_ctl.c:1567
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "%s: \"%s\" servisinin kaydı silinemedi: hata kodu %lu\n"
+
+#: pg_ctl.c:1654
+msgid "Waiting for server startup...\n"
+msgstr "Sunucunun başlaması bekleniyor...\n"
+
+#: pg_ctl.c:1657
+msgid "Timed out waiting for server startup\n"
+msgstr "Sunucu başlarken zaman aşımı oldu\n"
+
+#: pg_ctl.c:1661
+msgid "Server started and accepting connections\n"
+msgstr "Sunucu başladı ve bağlantı kabul ediyor\n"
+
+#: pg_ctl.c:1716
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "%s: \"%s\" servisi başlatılamadı: Hata kodu %lu\n"
+
+#: pg_ctl.c:1789
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "%s: process token açma başarısız: hata kodu %lu\n"
+
+#: pg_ctl.c:1803
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "%s: SIDler ayrılamadı: Hata kodu %lu\n"
+
+#: pg_ctl.c:1829
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "%s: kısıtlı andaç (restricted token) oluşturulamıyor: hata kodu %lu\n"
+
+#: pg_ctl.c:1911
+#, c-format
+msgid "%s: could not get LUIDs for privileges: error code %lu\n"
+msgstr "%s: yetkiler için LUID'ler alınamadı: hata kodu %lu\n"
+
+#: pg_ctl.c:1919 pg_ctl.c:1934
+#, c-format
+msgid "%s: could not get token information: error code %lu\n"
+msgstr "%s: andaç (token) bilgisi alınamadı: hata kodu %lu\n"
+
+#: pg_ctl.c:1928
+#, c-format
+msgid "%s: out of memory\n"
+msgstr "%s: yetersiz bellek\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "Daha fazla bilgi için \"%s --help\" komutunu kullanabilirsiniz.\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid ""
+"%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n"
+"\n"
+msgstr ""
+"%s bir PostgreSQL sunucusunu ilklendirmek, başlatmak, durdurmak ya da kontrol etmek için bir araçtır.\n"
+"\n"
+
+#: pg_ctl.c:1967
+#, c-format
+msgid "Usage:\n"
+msgstr "Kullanımı:\n"
+
+#: pg_ctl.c:1968
+#, fuzzy, c-format
+#| msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr " %s init[db] [-D VERİDİZİN] [-s] [-o SEÇENEKLER]\n"
+
+#: pg_ctl.c:1969
+#, fuzzy, c-format
+#| msgid ""
+#| " %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+#| " [-o OPTIONS] [-p PATH] [-c]\n"
+msgid ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr ""
+" %s start [-D VERİDİZİN] [-l DOSYAADI] [-W] [-t SANİYE] [-s]\n"
+" [-o SECENEKLER] [-p YOL] [-c]\n"
+
+#: pg_ctl.c:1971
+#, fuzzy, c-format
+#| msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr ""
+" %s stop [-D VERİDİZİNİ] [-m KAPATMA_MODU] [-W] [-t SANİYE] [-s]\n"
+"\n"
+
+#: pg_ctl.c:1972
+#, fuzzy, c-format
+#| msgid ""
+#| " %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+#| " [-o OPTIONS] [-c]\n"
+msgid ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr ""
+" %s restart [-D VERİDİZİNİ] [-m KAPATMA-MODU] [-W] [-t SANİYE] [-s]\n"
+" [-o SEÇENEKLER] [-c]\n"
+"\n"
+
+#: pg_ctl.c:1974
+#, fuzzy, c-format
+#| msgid " %s reload [-D DATADIR] [-s]\n"
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D VERİ_DİZİNİ] [-s]\n"
+
+#: pg_ctl.c:1975
+#, fuzzy, c-format
+#| msgid " %s status [-D DATADIR]\n"
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D VERİ_DİZİNİ]\n"
+
+#: pg_ctl.c:1976
+#, fuzzy, c-format
+#| msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr ""
+" %s promote [-D VERİDİZİNİ] [-W] [-t SANİYE] [-s]\n"
+"\n"
+
+#: pg_ctl.c:1977
+#, fuzzy, c-format
+#| msgid " %s reload [-D DATADIR] [-s]\n"
+msgid " %s logrotate [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D VERİ_DİZİNİ] [-s]\n"
+
+#: pg_ctl.c:1978
+#, fuzzy, c-format
+#| msgid " %s kill SIGNALNAME PID\n"
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill SİNYAL_ADI SÜREÇ_NUMARASI\n"
+
+#: pg_ctl.c:1980
+#, fuzzy, c-format
+#| msgid ""
+#| " %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+#| " [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+msgid ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+msgstr ""
+" %s register [-D VERİDİZİNİ] [-N SERVISADI] [-U KULLANICIADI] [-P PAROLA]\n"
+" [-S BAŞLATMA-TİPİ] [-e KAYNAK] [-W] [-t SANİYE] [-s] [-o SEÇENEKLER]\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N SERVİS_ADI]\n"
+
+#: pg_ctl.c:1985
+#, c-format
+msgid ""
+"\n"
+"Common options:\n"
+msgstr ""
+"\n"
+"Ortak seçenekler:\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr " -D, --pgdata=VERİDİZİNİ verinin tutulacağı alan\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid " -e SOURCE event source for logging when running as a service\n"
+msgstr " -e SOURCE servis olarak çalışırken loglama için olay (event) kaynağı\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr " -s, --silent sadece hataları yazar, hiç bir bilgi mesajı yazmaz\n"
+
+#: pg_ctl.c:1991
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr " -t, --timeout=SANİYE -w seçeneğini kullanırken beklenecek saniye\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr " -V, --version sürüm bilgisini göster, sonra çık\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr " -w, --wait işlem bitene kadar bekle (varsayılan)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr " -W, --no-wait işlem bitene kadar bekleme\n"
+
+#: pg_ctl.c:1995
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr " -?, --help bu yardımı göster, sonra çık\n"
+
+#: pg_ctl.c:1996
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr "Eğer -D seçeneği gözardı edilirse, PGDATA çevresel değişkeni kullanılacaktır.\n"
+
+#: pg_ctl.c:1998
+#, c-format
+msgid ""
+"\n"
+"Options for start or restart:\n"
+msgstr ""
+"\n"
+"Başlamak ya da yeniden başlamak için seçenekler:\n"
+
+#: pg_ctl.c:2000
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr " -c, --core-files postgres'in core dosyaları oluşturmasına izin ver\n"
+
+#: pg_ctl.c:2002
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr " -c, --core-files bu platformda uygulanmaz\n"
+
+#: pg_ctl.c:2004
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr " -l, --log=DOSYA_ADI sunucu loglarını DOSYA_ADI dosyasına yaz (ya da dosyanın sonuna ekle).\n"
+
+#: pg_ctl.c:2005
+#, c-format
+msgid ""
+" -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr ""
+" -o, --options=SEÇENEKLER postgres'e (PostgreSQL sunucusu çalıştırılabilir dosyası)\n"
+" ya da initdb'ye geçilecek komut satırı seçenekleri\n"
+
+#: pg_ctl.c:2007
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr " -p PATH-TO-POSTGRES normalde gerekli değildir\n"
+
+#: pg_ctl.c:2008
+#, c-format
+msgid ""
+"\n"
+"Options for stop or restart:\n"
+msgstr ""
+"\n"
+"Durdurmak ya da yeniden başlatmak için seçenekler:\n"
+
+#: pg_ctl.c:2009
+#, c-format
+msgid " -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr " -m, --mode=MOD MOD \"smart\", \"fast\", veya \"immediate\" olabilir\n"
+
+#: pg_ctl.c:2011
+#, c-format
+msgid ""
+"\n"
+"Shutdown modes are:\n"
+msgstr ""
+"\n"
+"Kapatma modları:\n"
+
+#: pg_ctl.c:2012
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr " smart tüm istemciler bağlantılarını kestikten sonra dur\n"
+
+#: pg_ctl.c:2013
+#, c-format
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr " fast düzgünce kapanarak direk olarak dur (varsayılan)\n"
+
+#: pg_ctl.c:2014
+#, c-format
+msgid " immediate quit without complete shutdown; will lead to recovery on restart\n"
+msgstr " immediate tam bir kapanma gerçekleşmeden dur; yeniden başladığında kurtarma modunda açılır\n"
+
+#: pg_ctl.c:2016
+#, c-format
+msgid ""
+"\n"
+"Allowed signal names for kill:\n"
+msgstr ""
+"\n"
+"kill için izin verilen sinyal adları:\n"
+
+#: pg_ctl.c:2020
+#, c-format
+msgid ""
+"\n"
+"Options for register and unregister:\n"
+msgstr ""
+"\n"
+"Kaydetmek ya da kaydı silmek için seçenekler:\n"
+
+#: pg_ctl.c:2021
+#, c-format
+msgid " -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr " -N SERVICENAME PostgreSQL sunucusunu kaydedeceğiniz servis adı\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr " -P PASSWORD PostgreSQL sunucusunu kaydetmek için hesabın şifresi\n"
+
+#: pg_ctl.c:2023
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr " -U USERNAME PostgreSQL sunucusunu kaydetmek için gerekli kullanıcı adı\n"
+
+#: pg_ctl.c:2024
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr " -S START-TYPE PostgreSQL sunucusunu kaydedeceğiniz servis başlama tipi\n"
+
+#: pg_ctl.c:2026
+#, c-format
+msgid ""
+"\n"
+"Start types are:\n"
+msgstr ""
+"\n"
+"Başlama tipleri: \n"
+
+#: pg_ctl.c:2027
+#, c-format
+msgid " auto start service automatically during system startup (default)\n"
+msgstr " auto sistem açılışında servisi otomatik başlat (varsayılan)\n"
+
+#: pg_ctl.c:2028
+#, c-format
+msgid " demand start service on demand\n"
+msgstr " demand hizmeti talep üzerine başlat\n"
+
+#: pg_ctl.c:2031
+#, fuzzy, c-format
+#| msgid ""
+#| "\n"
+#| "Report bugs to <pgsql-bugs@postgresql.org>.\n"
+msgid ""
+"\n"
+"Report bugs to <%s>.\n"
+msgstr ""
+"\n"
+"Hataları <pgsql-bugs@postgresql.org> adresine bildiriniz.\n"
+
+#: pg_ctl.c:2032
+#, c-format
+msgid "%s home page: <%s>\n"
+msgstr ""
+
+#: pg_ctl.c:2057
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "%s: geçersiz kapanma modu \"%s\"\n"
+
+#: pg_ctl.c:2086
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "%s: geçersiz sinyal adı \"%s\"\n"
+
+#: pg_ctl.c:2103
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "%s: geçersiz başlama tipi \"%s\"\n"
+
+#: pg_ctl.c:2159
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "%s: \"%s\" komutu kullanılarak veri dizini belirlenemedi\n"
+
+#: pg_ctl.c:2182
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "%s: kontrol dosyası bozuk görünüyor\n"
+
+#: pg_ctl.c:2250
+#, c-format
+msgid ""
+"%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr ""
+"%s: root olarak çalıştırılamaz\n"
+"Lütfen (yani \"su\" kullanarak) sunucu sürecine sahip olacak (yetkisiz) kullanıcı\n"
+"ile sisteme giriş yapınız.\n"
+
+#: pg_ctl.c:2333
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "%s: -S seçeneği bu platformda desteklenmiyor.\n"
+
+#: pg_ctl.c:2370
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "%s: çok fazla komut satırı argümanı (ilki : \"%s\")\n"
+
+#: pg_ctl.c:2396
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "%s: kill modu için eksik argümanlar\n"
+
+#: pg_ctl.c:2414
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "%s: geçersiz işlem modu \"%s\"\n"
+
+#: pg_ctl.c:2424
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "%s: hiçbir işlem belirtilmedi\n"
+
+#: pg_ctl.c:2445
+#, c-format
+msgid "%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr "%s: Hiçbir veritabanı dizini belirtilmemiş ve PGDATA çevresel değişkeni boş\n"
+
+#~ msgid " %s start [-w] [-t SECS] [-D DATADIR] [-s] [-l FILENAME] [-o \"OPTIONS\"]\n"
+#~ msgstr " %s start [-w] [-t saniye] [-D VERİ_DİZİNİ] [-s] [-l DOSYA_ADI] [-o \"SEÇENEKLER\"]\n"
+
+#~ msgid " --help show this help, then exit\n"
+#~ msgstr " --help Bu yardımı göster ve çık\n"
+
+#~ msgid " --version output version information, then exit\n"
+#~ msgstr " --version sürüm numarasını yazar ve çıkar\n"
+
+#~ msgid ""
+#~ "%s is a utility to start, stop, restart, reload configuration files,\n"
+#~ "report the status of a PostgreSQL server, or signal a PostgreSQL process.\n"
+#~ "\n"
+#~ msgstr ""
+#~ "%s başlatmak, durdurmak, yeniden başlatmak, yapılandırma dosyalarını yeniden yüklemek\n"
+#~ "PostgreSQL sunucusunun durumunu bildirmek, ya da PostgreSQL sürecini öldürmek için bir yardımcı programdır\n"
+#~ "\n"
+
+#, c-format
+#~ msgid "%s: WARNING: cannot create restricted tokens on this platform\n"
+#~ msgstr "%s: UYARI: bu platformda restricted token oluşturulamıyor\n"
+
+#, c-format
+#~ msgid "%s: WARNING: could not locate all job object functions in system API\n"
+#~ msgstr "%s: UYARI: sistem API içinde tüm iş nesnesi fonksiyonlarının yeri belirlenemedi\n"
+
+#~ msgid "%s: could not start server: exit code was %d\n"
+#~ msgstr "%s: sunucu başlatılamadı: çıkış kodu: %d\n"
+
+#, fuzzy
+#~ msgid "%s: could not wait for server because of misconfiguration\n"
+#~ msgstr "geçersiz ayarlarından dolayı autovacuum çalıştırılamadı"
+
+#~ msgid ""
+#~ "(The default is to wait for shutdown, but not for start or restart.)\n"
+#~ "\n"
+#~ msgstr ""
+#~ "(Ön tanımlı işlem kapanmak için beklemektir; başlamak ya da yeniden başlamak değildir.)\n"
+#~ "\n"
+
+#~ msgid ""
+#~ "WARNING: online backup mode is active\n"
+#~ "Shutdown will not complete until pg_stop_backup() is called.\n"
+#~ "\n"
+#~ msgstr ""
+#~ "WARNING: çevrimiçi yedekleme modu etkin\n"
+#~ "pg_stop_backup() çalıştırılmadam sunucu kapatılmayacaktır.\n"
+#~ "\n"
+
+#, c-format
+#~ msgid "child process was terminated by signal %d"
+#~ msgstr "alt süreç %d sinyali tarafından sonlandırılmıştır"
+
+#, c-format
+#~ msgid "child process was terminated by signal %s"
+#~ msgstr "alt süreç %s sinyali tarafından sonlandırılmıştır"
+
+#~ msgid "could not change directory to \"%s\""
+#~ msgstr "çalışma dizini \"%s\" olarak değiştirilemedi"
+
+#, c-format
+#~ msgid "could not change directory to \"%s\": %s"
+#~ msgstr "çalışma dizini \"%s\" olarak değiştirilemedi: %s"
+
+#, c-format
+#~ msgid "could not identify current directory: %s"
+#~ msgstr "geçerli dizin tespit edilemedi: %s"
+
+#, c-format
+#~ msgid "could not read symbolic link \"%s\""
+#~ msgstr "symbolic link \"%s\" okuma hatası"
+
+#, c-format
+#~ msgid "pclose failed: %s"
+#~ msgstr "pclose başarısız oldu: %s"
+
+#~ msgid "server is still starting up\n"
+#~ msgstr "sunucu hala başlıyor\n"
diff --git a/src/bin/pg_ctl/po/uk.po b/src/bin/pg_ctl/po/uk.po
new file mode 100644
index 0000000..c1fcbe9
--- /dev/null
+++ b/src/bin/pg_ctl/po/uk.po
@@ -0,0 +1,798 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: postgresql\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
+"POT-Creation-Date: 2023-04-19 11:18+0000\n"
+"PO-Revision-Date: 2023-12-19 15:37\n"
+"Last-Translator: \n"
+"Language-Team: Ukrainian\n"
+"Language: uk_UA\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=4; plural=((n%10==1 && n%100!=11) ? 0 : ((n%10 >= 2 && n%10 <=4 && (n%100 < 12 || n%100 > 14)) ? 1 : ((n%10 == 0 || (n%10 >= 5 && n%10 <=9)) || (n%100 >= 11 && n%100 <= 14)) ? 2 : 3));\n"
+"X-Crowdin-Project: postgresql\n"
+"X-Crowdin-Project-ID: 324573\n"
+"X-Crowdin-Language: uk\n"
+"X-Crowdin-File: /REL_16_STABLE/pg_ctl.pot\n"
+"X-Crowdin-File-ID: 937\n"
+
+#: ../../common/exec.c:172
+#, c-format
+msgid "invalid binary \"%s\": %m"
+msgstr "невірний бінарний файл \"%s\": %m"
+
+#: ../../common/exec.c:215
+#, c-format
+msgid "could not read binary \"%s\": %m"
+msgstr "не вдалося прочитати бінарний файл \"%s\": %m"
+
+#: ../../common/exec.c:223
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "неможливо знайти \"%s\" для виконання"
+
+#: ../../common/exec.c:250
+#, c-format
+msgid "could not resolve path \"%s\" to absolute form: %m"
+msgstr "не вдалося знайти абсолютний шлях \"%s\": %m"
+
+#: ../../common/exec.c:412
+#, c-format
+msgid "%s() failed: %m"
+msgstr "%s() помилка: %m"
+
+#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687
+msgid "out of memory"
+msgstr "недостатньо пам'яті"
+
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161
+#: ../../port/path.c:753 ../../port/path.c:791 ../../port/path.c:808
+#, c-format
+msgid "out of memory\n"
+msgstr "недостатньо пам'яті\n"
+
+#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "неможливо дублювати нульовий покажчик (внутрішня помилка)\n"
+
+#: ../../common/wait_error.c:55
+#, c-format
+msgid "command not executable"
+msgstr "неможливо виконати команду"
+
+#: ../../common/wait_error.c:59
+#, c-format
+msgid "command not found"
+msgstr "команду не знайдено"
+
+#: ../../common/wait_error.c:64
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "дочірній процес завершився з кодом виходу %d"
+
+#: ../../common/wait_error.c:72
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "дочірній процес перервано через помилку 0х%X"
+
+#: ../../common/wait_error.c:76
+#, c-format
+msgid "child process was terminated by signal %d: %s"
+msgstr "дочірній процес перервано через сигнал %d: %s"
+
+#: ../../common/wait_error.c:82
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "дочірній процес завершився з невизнаним статусом %d"
+
+#: ../../port/path.c:775
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "не вдалося отримати поточний робочий каталог: %s\n"
+
+#: pg_ctl.c:255
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "%s: директорія \"%s\" не існує\n"
+
+#: pg_ctl.c:258
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s: немає доступу до каталогу \"%s\": %s\n"
+
+#: pg_ctl.c:271
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "%s: каталог \"%s\" не є каталогом кластера бази даних\n"
+
+#: pg_ctl.c:284
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "%s: не вдалося відкрити файл PID \"%s\": %s\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "%s: файл PID \"%s\" пустий\n"
+
+#: pg_ctl.c:296
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "%s: невірні дані у файлі PID \"%s\"\n"
+
+#: pg_ctl.c:458 pg_ctl.c:500
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "%s: не вдалося запустити сервер: %s\n"
+
+#: pg_ctl.c:478
+#, c-format
+msgid "%s: could not start server due to setsid() failure: %s\n"
+msgstr "%s: не вдалося запустити сервер через помилку setsid(): %s\n"
+
+#: pg_ctl.c:548
+#, c-format
+msgid "%s: could not open log file \"%s\": %s\n"
+msgstr "%s: не вдалося відкрити файл журналу \"%s\": %s\n"
+
+#: pg_ctl.c:565
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "%s: не вдалося запустити сервер: код помилки %lu\n"
+
+#: pg_ctl.c:782
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr "%s: не вдалося встановити обмеження на розмір файлу; заборонено жорстким лімітом\n"
+
+#: pg_ctl.c:808
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "%s: не вдалося прочитати файл \"%s\"\n"
+
+#: pg_ctl.c:813
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "%s: файл параметрів \"%s\" повинен містити рівно один рядок\n"
+
+#: pg_ctl.c:855 pg_ctl.c:1039 pg_ctl.c:1107
+#, c-format
+msgid "%s: could not send stop signal (PID: %d): %s\n"
+msgstr "%s: не вдалося надіслати стоп-сигнал (PID: %d): %s\n"
+
+#: pg_ctl.c:883
+#, c-format
+msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"\n"
+msgstr "програма \"%s\" потрібна для %s, але не знайдена в тому ж каталозі, що й \"%s\"\n"
+
+#: pg_ctl.c:886
+#, c-format
+msgid "program \"%s\" was found by \"%s\" but was not the same version as %s\n"
+msgstr "програма \"%s\" знайдена для \"%s\", але має відмінну версію від %s\n"
+
+#: pg_ctl.c:918
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "%s: не вдалося виконати ініціалізацію системи бази даних\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr "%s: мабуть, інший сервер вже працює; у будь-якому разі спробуємо запустити сервер\n"
+
+#: pg_ctl.c:981
+msgid "waiting for server to start..."
+msgstr "очікується запуск серверу..."
+
+#: pg_ctl.c:986 pg_ctl.c:1063 pg_ctl.c:1126 pg_ctl.c:1238
+msgid " done\n"
+msgstr " готово\n"
+
+#: pg_ctl.c:987
+msgid "server started\n"
+msgstr "сервер запущено\n"
+
+#: pg_ctl.c:990 pg_ctl.c:996 pg_ctl.c:1243
+msgid " stopped waiting\n"
+msgstr " очікування припинено\n"
+
+#: pg_ctl.c:991
+#, c-format
+msgid "%s: server did not start in time\n"
+msgstr "%s: сервер не було запущено вчасно\n"
+
+#: pg_ctl.c:997
+#, c-format
+msgid "%s: could not start server\n"
+"Examine the log output.\n"
+msgstr "%s: неможливо запустити сервер\n"
+"Передивіться протокол виконання.\n"
+
+#: pg_ctl.c:1005
+msgid "server starting\n"
+msgstr "запуск серверу\n"
+
+#: pg_ctl.c:1024 pg_ctl.c:1083 pg_ctl.c:1147 pg_ctl.c:1186 pg_ctl.c:1267
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "%s: файл PID \"%s\" не існує\n"
+
+#: pg_ctl.c:1025 pg_ctl.c:1085 pg_ctl.c:1148 pg_ctl.c:1187 pg_ctl.c:1268
+msgid "Is server running?\n"
+msgstr "Сервер працює?\n"
+
+#: pg_ctl.c:1031
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %d)\n"
+msgstr "%s: не можливо зупинити сервер; сервер запущений в режимі single-user (PID: %d)\n"
+
+#: pg_ctl.c:1046
+msgid "server shutting down\n"
+msgstr "сервер зупиняється\n"
+
+#: pg_ctl.c:1051 pg_ctl.c:1112
+msgid "waiting for server to shut down..."
+msgstr "очікується зупинка серверу..."
+
+#: pg_ctl.c:1055 pg_ctl.c:1117
+msgid " failed\n"
+msgstr " помилка\n"
+
+#: pg_ctl.c:1057 pg_ctl.c:1119
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "%s: сервер не зупинено\n"
+
+#: pg_ctl.c:1059 pg_ctl.c:1121
+msgid "HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr "ПІДКАЗКА: Режим \"-m fast\" закриває сесії відразу, не чекаючи на відключення ініційовані сесіями.\n"
+
+#: pg_ctl.c:1065 pg_ctl.c:1127
+msgid "server stopped\n"
+msgstr "сервер зупинено\n"
+
+#: pg_ctl.c:1086
+msgid "trying to start server anyway\n"
+msgstr "спроба запуску серверу в будь-якому разі\n"
+
+#: pg_ctl.c:1095
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %d)\n"
+msgstr "%s: не можливо перезапустити сервер; сервер запущений в режимі single-user (PID: %d)\n"
+
+#: pg_ctl.c:1098 pg_ctl.c:1157
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "Будь ласка, припиніть однокористувацький сервер та спробуйте ще раз.\n"
+
+#: pg_ctl.c:1131
+#, c-format
+msgid "%s: old server process (PID: %d) seems to be gone\n"
+msgstr "%s: старий серверний процес (PID: %d), здається, зник\n"
+
+#: pg_ctl.c:1133
+msgid "starting server anyway\n"
+msgstr "запуск серверу в будь-якому разі\n"
+
+#: pg_ctl.c:1154
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %d)\n"
+msgstr "%s: не можливо перезапустити сервер; сервер запущений в режимі single-user (PID: %d)\n"
+
+#: pg_ctl.c:1163
+#, c-format
+msgid "%s: could not send reload signal (PID: %d): %s\n"
+msgstr "%s: не можливо надіслати сигнал перезавантаження (PID: %d): %s\n"
+
+#: pg_ctl.c:1168
+msgid "server signaled\n"
+msgstr "серверу надіслано сигнал\n"
+
+#: pg_ctl.c:1193
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %d)\n"
+msgstr "%s: неможливо підвищити сервер; сервер запущено в режимі single-user (PID: %d)\n"
+
+#: pg_ctl.c:1201
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr "%s: неможливо підвищити сервер; сервер запущено не в режимі резерву\n"
+
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "%s: неможливо створити файл \"%s\" із сигналом для підвищення: %s\n"
+
+#: pg_ctl.c:1217
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "%s: неможливо записати файл \"%s\" із сигналом для підвищення: %s\n"
+
+#: pg_ctl.c:1225
+#, c-format
+msgid "%s: could not send promote signal (PID: %d): %s\n"
+msgstr "%s: неможливо надіслати сигнал підвищення (PID: %d): %s\n"
+
+#: pg_ctl.c:1228
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s: неможливо видалити файл \"%s\" із сигналом для підвищення: %s\n"
+
+#: pg_ctl.c:1235
+msgid "waiting for server to promote..."
+msgstr "очікується підвищення серверу..."
+
+#: pg_ctl.c:1239
+msgid "server promoted\n"
+msgstr "сервер підвищено\n"
+
+#: pg_ctl.c:1244
+#, c-format
+msgid "%s: server did not promote in time\n"
+msgstr "%s: сервер не було підвищено вчасно\n"
+
+#: pg_ctl.c:1250
+msgid "server promoting\n"
+msgstr "сервер підвищується\n"
+
+#: pg_ctl.c:1274
+#, c-format
+msgid "%s: cannot rotate log file; single-user server is running (PID: %d)\n"
+msgstr "%s: не можливо розвернути файл журналу; сервер працює в режимі одного користувача (PID: %d)\n"
+
+#: pg_ctl.c:1284
+#, c-format
+msgid "%s: could not create log rotation signal file \"%s\": %s\n"
+msgstr "%s: не вдалося створити файл сигналу розвороту журналу \"%s\": %s\n"
+
+#: pg_ctl.c:1290
+#, c-format
+msgid "%s: could not write log rotation signal file \"%s\": %s\n"
+msgstr "%s: не вдалося записати у файл сигналу розвороту журналу \"%s\": %s\n"
+
+#: pg_ctl.c:1298
+#, c-format
+msgid "%s: could not send log rotation signal (PID: %d): %s\n"
+msgstr "%s: не вдалося надіслати сигнал розвороту журналу (PID: %d): %s\n"
+
+#: pg_ctl.c:1301
+#, c-format
+msgid "%s: could not remove log rotation signal file \"%s\": %s\n"
+msgstr "%s: не вдалося видалити файл сигналу розвороту журналу \"%s\": %s\n"
+
+#: pg_ctl.c:1306
+msgid "server signaled to rotate log file\n"
+msgstr "серверу надіслано сигнал для розворот файлу журналу\n"
+
+#: pg_ctl.c:1353
+#, c-format
+msgid "%s: single-user server is running (PID: %d)\n"
+msgstr "%s: однокористувацький сервер працює (PID: %d)\n"
+
+#: pg_ctl.c:1367
+#, c-format
+msgid "%s: server is running (PID: %d)\n"
+msgstr "%s: сервер працює (PID: %d)\n"
+
+#: pg_ctl.c:1383
+#, c-format
+msgid "%s: no server running\n"
+msgstr "%s: сервер не працює \n"
+
+#: pg_ctl.c:1400
+#, c-format
+msgid "%s: could not send signal %d (PID: %d): %s\n"
+msgstr "%s: не вдалося надіслати сигнал %d (PID: %d): %s\n"
+
+#: pg_ctl.c:1431
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s: не вдалося знайти ехе файл власної програми\n"
+
+#: pg_ctl.c:1441
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "%s: не вдалося знайти виконану програму postgres\n"
+
+#: pg_ctl.c:1511 pg_ctl.c:1545
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "%s: не вдалося відкрити менеджер служб\n"
+
+#: pg_ctl.c:1517
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "%s: служба \"%s\" вже зареєстрована \n"
+
+#: pg_ctl.c:1528
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "%s: не вдалося зареєструвати службу \"%s\": код помилки %lu\n"
+
+#: pg_ctl.c:1551
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "%s: служба \"%s\" не зареєстрована \n"
+
+#: pg_ctl.c:1558
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "%s: не вдалося відкрити службу \"%s\": код помилки %lu\n"
+
+#: pg_ctl.c:1567
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "%s: не вдалося видалити службу \"%s\": код помилки %lu\n"
+
+#: pg_ctl.c:1654
+msgid "Waiting for server startup...\n"
+msgstr "Очікування запуску сервера...\n"
+
+#: pg_ctl.c:1657
+msgid "Timed out waiting for server startup\n"
+msgstr "Перевищено час очікування запуску сервера\n"
+
+#: pg_ctl.c:1661
+msgid "Server started and accepting connections\n"
+msgstr "Сервер запущений і приймає з'єднання\n"
+
+#: pg_ctl.c:1716
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "%s: не вдалося почати службу \"%s\": код помилки %lu\n"
+
+#: pg_ctl.c:1789
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "%s: не вдалося відкрити токен процесу: код помилки %lu\n"
+
+#: pg_ctl.c:1803
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "%s: не вдалося виділити SID: код помилки %lu\n"
+
+#: pg_ctl.c:1829
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "%s: не вдалося створити обмежений токен: код помилки %lu\n"
+
+#: pg_ctl.c:1911
+#, c-format
+msgid "%s: could not get LUIDs for privileges: error code %lu\n"
+msgstr "%s: не вдалося отримати LUIDs для прав: код помилки %lu\n"
+
+#: pg_ctl.c:1919 pg_ctl.c:1934
+#, c-format
+msgid "%s: could not get token information: error code %lu\n"
+msgstr "%s: не вдалося отримати інформацію токену: код помилки %lu\n"
+
+#: pg_ctl.c:1928
+#, c-format
+msgid "%s: out of memory\n"
+msgstr "%s: бракує пам'яті\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "Спробуйте \"%s --help\" для додаткової інформації.\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid "%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n\n"
+msgstr "%s - це утиліта для ініціалізації, запуску, зупинки і контролю серверу PostgreSQL.\n\n"
+
+#: pg_ctl.c:1967
+#, c-format
+msgid "Usage:\n"
+msgstr "Використання:\n"
+
+#: pg_ctl.c:1968
+#, c-format
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr " %s init[db] [-D КАТАЛОГ-ДАНИХ] [-s] [-o ПАРАМЕТРИ]\n"
+
+#: pg_ctl.c:1969
+#, c-format
+msgid " %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr " %s start [-D КАТАЛОГ-ДАНИХ] [-l ІМ'Я-ФАЙЛ] [-W] [-t СЕК] [-s]\n"
+" [-o ПАРАМЕТРИ] [-p ШЛЯХ] [-c]\n"
+
+#: pg_ctl.c:1971
+#, c-format
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr " %s stop [-D КАТАЛОГ-ДАНИХ] [-m РЕЖИМ-ЗУПИНКИ] [-W] [-t СЕК] [-s]\n"
+
+#: pg_ctl.c:1972
+#, c-format
+msgid " %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr " %s restart [-D КАТАЛОГ-ДАНИХ] [-m РЕЖИМ-ЗУПИНКИ] [-W] [-t СЕК] [-s]\n"
+" [-o ПАРАМЕТРИ] [-c]\n"
+
+#: pg_ctl.c:1974
+#, c-format
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D КАТАЛОГ-ДАНИХ] [-s]\n"
+
+#: pg_ctl.c:1975
+#, c-format
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D DATADIR]\n"
+
+#: pg_ctl.c:1976
+#, c-format
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr " %s promote [-D КАТАЛОГ-ДАНИХ] [-W] [-t СЕК] [-s]\n"
+
+#: pg_ctl.c:1977
+#, c-format
+msgid " %s logrotate [-D DATADIR] [-s]\n"
+msgstr " %s logrotate [-D DATADIR] [-s]\n"
+
+#: pg_ctl.c:1978
+#, c-format
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill ІМ'Я-СИГНАЛУ PID\n"
+
+#: pg_ctl.c:1980
+#, c-format
+msgid " %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+msgstr " %s register [-D КАТАЛОГ-ДАНИХ] [-N ІМ'Я-СЛУЖБИ] [-U ІМ'Я-КОРИСТУВАЧА] [-P ПАРОЛЬ]\n"
+" [-S ТИП-ЗАПУСКУ] [-e ДЖЕРЕЛО] [-W] [-t СЕК] [-s] [-o ПАРАМЕТРИ]\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N ІМ'Я-СЛУЖБИ]\n"
+
+#: pg_ctl.c:1985
+#, c-format
+msgid "\n"
+"Common options:\n"
+msgstr "\n"
+"Загальні параметри:\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr " -D, --pgdata=КАТАЛОГ-ДАНИХ розташування простору зберігання бази даних\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid " -e SOURCE event source for logging when running as a service\n"
+msgstr " -e ДЖЕРЕЛО джерело подій для протоколу при запуску в якості послуги\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr " -s, --silent виводити лише помилки, без інформаційних повідомлень\n"
+
+#: pg_ctl.c:1991
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr " -t, --timeout=СЕК час очікування при використанні -w параметра\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr " -V, --version вивести інформацію про версію і вийти\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr " -w, --wait чекати завершення операції (за замовчуванням)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr " -W, --no-wait не чекати завершення операції\n"
+
+#: pg_ctl.c:1995
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr " -?, --help показати цю довідку потім вийти\n"
+
+#: pg_ctl.c:1996
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr "Якщо -D параметр пропущено, використовувати змінну середовища PGDATA.\n"
+
+#: pg_ctl.c:1998
+#, c-format
+msgid "\n"
+"Options for start or restart:\n"
+msgstr "\n"
+"Параметри запуску або перезапуску:\n"
+
+#: pg_ctl.c:2000
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr " -c, --core-files дозволяти postgres створювати дампи пам'яті\n"
+
+#: pg_ctl.c:2002
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr " -c, --core-files недопустимо цією платформою\n"
+
+#: pg_ctl.c:2004
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr " -l, --log=ФАЙЛ записувати (або додавати) протокол служби до ФАЙЛ\n"
+
+#: pg_ctl.c:2005
+#, c-format
+msgid " -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr " -o, --options=ПАРАМЕТРИ параметри командного рядку для PostgreSQL або initdb\n"
+
+#: pg_ctl.c:2007
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr " -p ШЛЯХ-ДО-СЕРВЕРУ зазвичай зайвий\n"
+
+#: pg_ctl.c:2008
+#, c-format
+msgid "\n"
+"Options for stop or restart:\n"
+msgstr "\n"
+"Параметри припинення або перезапуску:\n"
+
+#: pg_ctl.c:2009
+#, c-format
+msgid " -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr " -m, --mode=РЕЖИМ РЕЖИМ може бути \"smart\", \"fast\", або \"immediate\"\n"
+
+#: pg_ctl.c:2011
+#, c-format
+msgid "\n"
+"Shutdown modes are:\n"
+msgstr "\n"
+"Режими зупинки:\n"
+
+#: pg_ctl.c:2012
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr " smart вийти після від'єднання усіх клієнтів\n"
+
+#: pg_ctl.c:2013
+#, c-format
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr " fast вийти негайно з коректним вимкненням (за замовченням)\n"
+
+#: pg_ctl.c:2014
+#, c-format
+msgid " immediate quit without complete shutdown; will lead to recovery on restart\n"
+msgstr " immediate вийти негайно без повної процедури. Приведе до відновлення під час перезапуску\n"
+
+#: pg_ctl.c:2016
+#, c-format
+msgid "\n"
+"Allowed signal names for kill:\n"
+msgstr "\n"
+"Дозволенні сигнали для команди kill:\n"
+
+#: pg_ctl.c:2020
+#, c-format
+msgid "\n"
+"Options for register and unregister:\n"
+msgstr "\n"
+"Параметри для реєстрації і видалення: \n"
+
+#: pg_ctl.c:2021
+#, c-format
+msgid " -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr " -N ІМ'Я-СЛУЖБИ ім'я служби під яким зареєструвати сервер PostgreSQL\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr " -P ПАРОЛЬ пароль облікового запису для реєстрації серверу PostgreSQL\n"
+
+#: pg_ctl.c:2023
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr " -U КОРИСТУВАЧ ім'я користувача під яким зареєструвати сервер PostgreSQL\n"
+
+#: pg_ctl.c:2024
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr " -S ТИП-ЗАПУСКУ тип запуску служби для реєстрації серверу PostgreSQL\n"
+
+#: pg_ctl.c:2026
+#, c-format
+msgid "\n"
+"Start types are:\n"
+msgstr "\n"
+"Типи запуску:\n"
+
+#: pg_ctl.c:2027
+#, c-format
+msgid " auto start service automatically during system startup (default)\n"
+msgstr " auto запускати сервер автоматично під час запуску системи (за замовчуванням)\n"
+
+#: pg_ctl.c:2028
+#, c-format
+msgid " demand start service on demand\n"
+msgstr " demand запускати сервер за потреби\n"
+
+#: pg_ctl.c:2031
+#, c-format
+msgid "\n"
+"Report bugs to <%s>.\n"
+msgstr "\n"
+"Повідомляти про помилки на <%s>.\n"
+
+#: pg_ctl.c:2032
+#, c-format
+msgid "%s home page: <%s>\n"
+msgstr "Домашня сторінка %s: <%s>\n"
+
+#: pg_ctl.c:2057
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "%s: невідомий режим завершення \"%s\"\n"
+
+#: pg_ctl.c:2086
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "%s: невідомий сигнал \"%s\"\n"
+
+#: pg_ctl.c:2103
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "%s: невідомий тип запуску \"%s\"\n"
+
+#: pg_ctl.c:2159
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "%s: неможливо визначити каталог даних за допомогою команди \"%s\"\n"
+
+#: pg_ctl.c:2182
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "%s: контрольний файл видається пошкодженим\n"
+
+#: pg_ctl.c:2250
+#, c-format
+msgid "%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr "%s: не може бути запущеним від ім'я супер-користувача\n"
+" Будь ласка увійдіть (використовуючи наприклад, \"su\") як (непривілейований) користувач який буде мати\n"
+"свій серверний процес. \n"
+
+#: pg_ctl.c:2333
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "%s: параметр -S не підтримується цією платформою\n"
+
+#: pg_ctl.c:2370
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "%s: забагато аргументів у командному рядку (перший \"%s\")\n"
+
+#: pg_ctl.c:2396
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "%s: відсутні аргументи для режиму kill\n"
+
+#: pg_ctl.c:2414
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "%s: невідомий режим роботи \"%s\"\n"
+
+#: pg_ctl.c:2424
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "%s: команда не вказана\n"
+
+#: pg_ctl.c:2445
+#, c-format
+msgid "%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr "%s: не вказано каталог даних і змінна середовища PGDATA не встановлена\n"
+
diff --git a/src/bin/pg_ctl/po/zh_CN.po b/src/bin/pg_ctl/po/zh_CN.po
new file mode 100644
index 0000000..d678a9e
--- /dev/null
+++ b/src/bin/pg_ctl/po/zh_CN.po
@@ -0,0 +1,879 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: pg_ctl (PostgreSQL) 14\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
+"POT-Creation-Date: 2023-04-24 03:48+0000\n"
+"PO-Revision-Date: 2023-04-24 09:26+0200\n"
+"Last-Translator: Jie Zhang <zhangjie2@fujitsu.com>\n"
+"Language-Team: Chinese (Simplified)<zhangjie2@fujitsu.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.5.7\n"
+
+#: ../../common/exec.c:172
+#, fuzzy, c-format
+#| msgid "invalid binary \"%s\""
+msgid "invalid binary \"%s\": %m"
+msgstr "无效的二进制码 \"%s\""
+
+#: ../../common/exec.c:215
+#, fuzzy, c-format
+#| msgid "could not read binary \"%s\""
+msgid "could not read binary \"%s\": %m"
+msgstr "无法读取二进制码 \"%s\""
+
+#: ../../common/exec.c:223
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "未能找到一个 \"%s\" 来执行"
+
+#: ../../common/exec.c:250
+#, fuzzy, c-format
+#| msgid "could not reopen file \"%s\" as stderr: %m"
+msgid "could not resolve path \"%s\" to absolute form: %m"
+msgstr "无法作为标准错误重新打开文件 \"%s\": %m"
+
+#: ../../common/exec.c:412
+#, c-format
+msgid "%s() failed: %m"
+msgstr "%s()失败: %m"
+
+#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687
+msgid "out of memory"
+msgstr "内存不足"
+
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161
+#: ../../port/path.c:753 ../../port/path.c:791 ../../port/path.c:808
+#, c-format
+msgid "out of memory\n"
+msgstr "内存不足\n"
+
+#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "无法复制空指针 (内部错误)\n"
+
+#: ../../common/wait_error.c:55
+#, c-format
+msgid "command not executable"
+msgstr "无法执行命令"
+
+#: ../../common/wait_error.c:59
+#, c-format
+msgid "command not found"
+msgstr "命令没有找到"
+
+#: ../../common/wait_error.c:64
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "子进程已退出, 退出码为 %d"
+
+#: ../../common/wait_error.c:72
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "子进程被例外(exception) 0x%X 终止"
+
+#: ../../common/wait_error.c:76
+#, c-format
+msgid "child process was terminated by signal %d: %s"
+msgstr "子进程被信号 %d 终止: %s"
+
+#: ../../common/wait_error.c:82
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "子进程已退出, 未知状态 %d"
+
+#: ../../port/path.c:775
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "无法得到当前工作目录: %s\n"
+
+#: pg_ctl.c:255
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "%s: 目录 \"%s\" 不存在\n"
+
+#: pg_ctl.c:258
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s: 无法访问目录 \"%s\": %s\n"
+
+#: pg_ctl.c:271
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "%s: 目录 \"%s\"不是一个数据库集群目录\n"
+
+#: pg_ctl.c:284
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "%s: 无法打开 PID 文件 \"%s\": %s\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "%s: PID 文件 \"%s\" 为空\n"
+
+#: pg_ctl.c:296
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "%s: PID文件 \"%s\" 中存在无效数据\n"
+
+#: pg_ctl.c:458 pg_ctl.c:500
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "%s: 无法启动服务器:%s\n"
+
+#: pg_ctl.c:478
+#, c-format
+msgid "%s: could not start server due to setsid() failure: %s\n"
+msgstr "%s: 由于setsid()调用失败无法启动服务器:%s\n"
+
+# command.c:1148
+#: pg_ctl.c:548
+#, c-format
+msgid "%s: could not open log file \"%s\": %s\n"
+msgstr "%s:无法开启日志文件 \"%s\":%s\n"
+
+#: pg_ctl.c:565
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "%s:无法启动服务器:错误代码%lu\n"
+
+#: pg_ctl.c:782
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr "%s: 不能设置核心文件大小的限制;磁盘限额不允许\n"
+
+#: pg_ctl.c:808
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "%s: 无法读取文件 \"%s\"\n"
+
+#: pg_ctl.c:813
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "%s: 选项文件 \"%s\" 只能有一行\n"
+
+#: pg_ctl.c:855 pg_ctl.c:1039 pg_ctl.c:1107
+#, c-format
+msgid "%s: could not send stop signal (PID: %d): %s\n"
+msgstr "%s: 无法发送停止信号 (PID: %d): %s\n"
+
+#: pg_ctl.c:883
+#, fuzzy, c-format
+#| msgid ""
+#| "The program \"%s\" is needed by %s but was not found in the\n"
+#| "same directory as \"%s\".\n"
+#| "Check your installation."
+msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"\n"
+msgstr ""
+"%2$s需要程序\"%1$s\"\n"
+"但在与\"%3$s\"相同的目录中找不到该程序.\n"
+"检查您的安装."
+
+#: pg_ctl.c:886
+#, fuzzy, c-format
+#| msgid ""
+#| "The program \"%s\" was found by \"%s\"\n"
+#| "but was not the same version as %s.\n"
+#| "Check your installation."
+msgid "program \"%s\" was found by \"%s\" but was not the same version as %s\n"
+msgstr ""
+"程序\"%s\"是由\"%s\"找到的\n"
+"但与%s的版本不同.\n"
+"检查您的安装."
+
+#: pg_ctl.c:918
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "%s: 数据库系统初始化失败\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr "%s: 其他服务器进程可能正在运行; 尝试启动服务器进程\n"
+
+#: pg_ctl.c:981
+msgid "waiting for server to start..."
+msgstr "等待服务器进程启动 ..."
+
+#: pg_ctl.c:986 pg_ctl.c:1063 pg_ctl.c:1126 pg_ctl.c:1238
+msgid " done\n"
+msgstr " 完成\n"
+
+#: pg_ctl.c:987
+msgid "server started\n"
+msgstr "服务器进程已经启动\n"
+
+#: pg_ctl.c:990 pg_ctl.c:996 pg_ctl.c:1243
+msgid " stopped waiting\n"
+msgstr " 已停止等待\n"
+
+#: pg_ctl.c:991
+#, c-format
+msgid "%s: server did not start in time\n"
+msgstr "%s: 服务没有及时启动\n"
+
+#: pg_ctl.c:997
+#, c-format
+msgid ""
+"%s: could not start server\n"
+"Examine the log output.\n"
+msgstr ""
+"%s: 无法启动服务器进程\n"
+"检查日志输出.\n"
+
+#: pg_ctl.c:1005
+msgid "server starting\n"
+msgstr "正在启动服务器进程\n"
+
+#: pg_ctl.c:1024 pg_ctl.c:1083 pg_ctl.c:1147 pg_ctl.c:1186 pg_ctl.c:1267
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "%s: PID 文件 \"%s\" 不存在\n"
+
+#: pg_ctl.c:1025 pg_ctl.c:1085 pg_ctl.c:1148 pg_ctl.c:1187 pg_ctl.c:1268
+msgid "Is server running?\n"
+msgstr "服务器进程是否正在运行?\n"
+
+#: pg_ctl.c:1031
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %d)\n"
+msgstr "%s: 无法停止服务器进程; 正在运行 单用户模式服务器进程(PID: %d)\n"
+
+#: pg_ctl.c:1046
+msgid "server shutting down\n"
+msgstr "正在关闭服务器进程\n"
+
+#: pg_ctl.c:1051 pg_ctl.c:1112
+msgid "waiting for server to shut down..."
+msgstr "等待服务器进程关闭 ..."
+
+#: pg_ctl.c:1055 pg_ctl.c:1117
+msgid " failed\n"
+msgstr " 失败\n"
+
+#: pg_ctl.c:1057 pg_ctl.c:1119
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "%s: server进程没有关闭\n"
+
+#: pg_ctl.c:1059 pg_ctl.c:1121
+msgid ""
+"HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr ""
+"提示: \"-m fast\" 选项可以立即断开会话, 而不用\n"
+"等待会话发起的断连.\n"
+
+#: pg_ctl.c:1065 pg_ctl.c:1127
+msgid "server stopped\n"
+msgstr "服务器进程已经关闭\n"
+
+#: pg_ctl.c:1086
+msgid "trying to start server anyway\n"
+msgstr "尝试启动服务器进程\n"
+
+#: pg_ctl.c:1095
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %d)\n"
+msgstr "%s: 无法重启服务器进程; 单用户模式服务器进程正在运行 (PID: %d)\n"
+
+#: pg_ctl.c:1098 pg_ctl.c:1157
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "请终止单用户模式服务器进程,然后再重试.\n"
+
+#: pg_ctl.c:1131
+#, c-format
+msgid "%s: old server process (PID: %d) seems to be gone\n"
+msgstr "%s: 原有的进程(PID: %d)可能已经不存在了\n"
+
+#: pg_ctl.c:1133
+msgid "starting server anyway\n"
+msgstr "正在启动服务器进程\n"
+
+#: pg_ctl.c:1154
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %d)\n"
+msgstr "%s: 无法重新加载服务器进程;正在运行单用户模式的服务器进程 (PID: %d)\n"
+
+#: pg_ctl.c:1163
+#, c-format
+msgid "%s: could not send reload signal (PID: %d): %s\n"
+msgstr "%s: 无法发送重载信号 (PID: %d): %s\n"
+
+#: pg_ctl.c:1168
+msgid "server signaled\n"
+msgstr "服务器进程发出信号\n"
+
+#: pg_ctl.c:1193
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %d)\n"
+msgstr "%s: 无法重新加载服务器进程;正在运行单用户模式的服务器进程 (PID: %d)\n"
+
+#: pg_ctl.c:1201
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr "%s: 无法重新加载服务器进程;服务器没有运行在standby模式下\n"
+
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "%s: 无法创建重新加载信号文件 \"%s\": %s\n"
+
+#: pg_ctl.c:1217
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "%s: 无法写入重新加载文件 \"%s\": %s\n"
+
+#: pg_ctl.c:1225
+#, c-format
+msgid "%s: could not send promote signal (PID: %d): %s\n"
+msgstr "%s: 无法发送重载信号(PID: %d): %s\n"
+
+#: pg_ctl.c:1228
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s: 无法移动重新加载信号文件 \"%s\": %s\n"
+
+#: pg_ctl.c:1235
+msgid "waiting for server to promote..."
+msgstr "等待服务器进程加载 ..."
+
+#: pg_ctl.c:1239
+msgid "server promoted\n"
+msgstr "服务器加载完毕\n"
+
+#: pg_ctl.c:1244
+#, c-format
+msgid "%s: server did not promote in time\n"
+msgstr "%s: 服务进程没有及时加载\n"
+
+#: pg_ctl.c:1250
+msgid "server promoting\n"
+msgstr "服务器重新加载中\n"
+
+#: pg_ctl.c:1274
+#, c-format
+msgid "%s: cannot rotate log file; single-user server is running (PID: %d)\n"
+msgstr "%s: 无法轮换日志文件;正在运行单用户模式的服务器进程 (PID: %d)\n"
+
+#: pg_ctl.c:1284
+#, c-format
+msgid "%s: could not create log rotation signal file \"%s\": %s\n"
+msgstr "%s: 无法创建日志轮换信号文件 \"%s\": %s\n"
+
+#: pg_ctl.c:1290
+#, c-format
+msgid "%s: could not write log rotation signal file \"%s\": %s\n"
+msgstr "%s: 无法写入日志轮换信号文件 \"%s\": %s\n"
+
+#: pg_ctl.c:1298
+#, c-format
+msgid "%s: could not send log rotation signal (PID: %d): %s\n"
+msgstr "%s: 无法发送日志轮换信号 (PID: %d): %s\n"
+
+#: pg_ctl.c:1301
+#, c-format
+msgid "%s: could not remove log rotation signal file \"%s\": %s\n"
+msgstr "%s: 无法删除日志轮换信号文件 \"%s\": %s\n"
+
+#: pg_ctl.c:1306
+msgid "server signaled to rotate log file\n"
+msgstr "服务器发出轮换日志文件的信号\n"
+
+#: pg_ctl.c:1353
+#, c-format
+msgid "%s: single-user server is running (PID: %d)\n"
+msgstr "%s: 正在运行单用户模式服务器进程 (PID: %d)\n"
+
+#: pg_ctl.c:1367
+#, fuzzy, c-format
+#| msgid "%s: server is running (PID: %ld)\n"
+msgid "%s: server is running (PID: %d)\n"
+msgstr "%s: 正在运行服务器进程(PID: %ld)\n"
+
+#: pg_ctl.c:1383
+#, c-format
+msgid "%s: no server running\n"
+msgstr "%s:没有服务器进程正在运行\n"
+
+#: pg_ctl.c:1400
+#, c-format
+msgid "%s: could not send signal %d (PID: %d): %s\n"
+msgstr "%s: 无法发送信号 %d (PID: %d): %s\n"
+
+#: pg_ctl.c:1431
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s: 无法找到执行文件\n"
+
+#: pg_ctl.c:1441
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "%s: 无法找到postgres程序的执行文件\n"
+
+#: pg_ctl.c:1511 pg_ctl.c:1545
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "%s: 无法打开服务管理器\n"
+
+#: pg_ctl.c:1517
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "%s: 服务 \"%s\" 已经注册了\n"
+
+#: pg_ctl.c:1528
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "%s: 无法注册服务 \"%s\": 错误码 %lu\n"
+
+#: pg_ctl.c:1551
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "%s: 服务 \"%s\" 没有注册\n"
+
+#: pg_ctl.c:1558
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "%s: 无法打开服务 \"%s\": 错误码 %lu\n"
+
+#: pg_ctl.c:1567
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "%s: 无法注销服务 \"%s\": 错误码 %lu\n"
+
+#: pg_ctl.c:1654
+msgid "Waiting for server startup...\n"
+msgstr "等待服务器进程启动 ...\n"
+
+#: pg_ctl.c:1657
+msgid "Timed out waiting for server startup\n"
+msgstr "在等待服务器启动时超时\n"
+
+#: pg_ctl.c:1661
+msgid "Server started and accepting connections\n"
+msgstr "服务器进程已启动并且接受连接\n"
+
+#: pg_ctl.c:1716
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "%s: 无法启动服务 \"%s\": 错误码 %lu\n"
+
+#: pg_ctl.c:1789
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "%s: 无法打开进程令牌 (token): 错误码 %lu\n"
+
+#: pg_ctl.c:1803
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "%s: 无法分配SID: 错误码 %lu\n"
+
+#: pg_ctl.c:1829
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "%s: 无法创建继承套接字: 错误码为 %lu\n"
+
+#: pg_ctl.c:1911
+#, c-format
+msgid "%s: could not get LUIDs for privileges: error code %lu\n"
+msgstr "%s: 由于权限无法获取LUID: 错误码 %lu\n"
+
+#: pg_ctl.c:1919 pg_ctl.c:1934
+#, c-format
+msgid "%s: could not get token information: error code %lu\n"
+msgstr "%s: 无法获得令牌信息: 错误码 %lu\n"
+
+#: pg_ctl.c:1928
+#, c-format
+msgid "%s: out of memory\n"
+msgstr "%s: 内存不足\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "请用 \"%s --help\" 获取更多的信息.\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid ""
+"%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n"
+"\n"
+msgstr ""
+"%s 是一个用于初始化、启动、停止或控制PostgreSQL服务器的工具.\n"
+"\n"
+
+#: pg_ctl.c:1967
+#, c-format
+msgid "Usage:\n"
+msgstr "使用方法:\n"
+
+#: pg_ctl.c:1968
+#, c-format
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr " %s init[db] [-D 数据目录] [-s] [-o 选项]\n"
+
+#: pg_ctl.c:1969
+#, c-format
+msgid ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr ""
+" %s start [-D 数据目录] [-l 文件名] [-W] [-t 秒数] [-s]\n"
+" [-o 选项] [-p 路径] [-c]\n"
+
+#: pg_ctl.c:1971
+#, c-format
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr " %s stop [-D 数据目录] [-m SHUTDOWN-MODE] [-W] [-t 秒数] [-s]\n"
+
+#: pg_ctl.c:1972
+#, c-format
+msgid ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr ""
+" %s restart [-D 数据目录] [-m SHUTDOWN-MODE] [-W] [-t 秒数] [-s]\n"
+" [-o 选项] [-c]\n"
+
+#: pg_ctl.c:1974
+#, c-format
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D 数据目录] [-s]\n"
+
+#: pg_ctl.c:1975
+#, c-format
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D 数据目录]\n"
+
+#: pg_ctl.c:1976
+#, c-format
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr " %s promote [-D 数据目录] [-W] [-t 秒数] [-s]\n"
+
+#: pg_ctl.c:1977
+#, c-format
+msgid " %s logrotate [-D DATADIR] [-s]\n"
+msgstr " %s logrotate [-D 数据目录] [-s]\n"
+
+#: pg_ctl.c:1978
+#, c-format
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill 信号名称 进程号\n"
+
+#: pg_ctl.c:1980
+#, c-format
+msgid ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+msgstr ""
+" %s register [-D 数据目录] [-N 服务名称] [-U 用户名] [-P 口令]\n"
+" [-S 启动类型] [-e 源] [-W] [-t 秒数] [-s] [-o 选项]\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N 服务名称]\n"
+
+#: pg_ctl.c:1985
+#, c-format
+msgid ""
+"\n"
+"Common options:\n"
+msgstr ""
+"\n"
+"普通选项:\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr " -D, --pgdata=数据目录 数据库存储区域的位置\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid " -e SOURCE event source for logging when running as a service\n"
+msgstr " -e SOURCE 当作为一个服务运行时要记录的事件的来源\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr " -s, --silent 只打印错误信息, 没有其他信息\n"
+
+#: pg_ctl.c:1991
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr " -t, --timeout=SECS 当使用-w 选项时需要等待的秒数\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr " -V, --version 输出版本信息, 然后退出\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr " -w, --wait 等待直到操作完成(默认)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr " -W, --no-wait 不用等待操作完成\n"
+
+#: pg_ctl.c:1995
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr " -?, --help 显示此帮助, 然后退出\n"
+
+#: pg_ctl.c:1996
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr "如果省略了 -D 选项, 将使用 PGDATA 环境变量.\n"
+
+#: pg_ctl.c:1998
+#, c-format
+msgid ""
+"\n"
+"Options for start or restart:\n"
+msgstr ""
+"\n"
+"启动或重启的选项:\n"
+
+#: pg_ctl.c:2000
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr " -c, --core-files 允许postgres进程产生核心文件\n"
+
+#: pg_ctl.c:2002
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr " -c, --core-files 在这种平台上不可用\n"
+
+#: pg_ctl.c:2004
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr " -l, --log=FILENAME 写入 (或追加) 服务器日志到文件FILENAME\n"
+
+#: pg_ctl.c:2005
+#, c-format
+msgid ""
+" -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr ""
+" -o, --options=OPTIONS 传递给postgres的命令行选项\n"
+" (PostgreSQL 服务器执行文件)或initdb\n"
+
+#: pg_ctl.c:2007
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr " -p PATH-TO-POSTMASTER 正常情况不必要\n"
+
+#: pg_ctl.c:2008
+#, c-format
+msgid ""
+"\n"
+"Options for stop or restart:\n"
+msgstr ""
+"\n"
+"停止或重启的选项:\n"
+
+#: pg_ctl.c:2009
+#, c-format
+msgid " -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr " -m, --mode=MODE 可以是 \"smart\", \"fast\", 或者 \"immediate\"\n"
+
+#: pg_ctl.c:2011
+#, c-format
+msgid ""
+"\n"
+"Shutdown modes are:\n"
+msgstr ""
+"\n"
+"关闭模式有如下几种:\n"
+
+#: pg_ctl.c:2012
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr " smart 所有客户端断开连接后退出\n"
+
+#: pg_ctl.c:2013
+#, c-format
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr " fast 直接退出, 正确的关闭(默认)\n"
+
+#: pg_ctl.c:2014
+#, c-format
+msgid " immediate quit without complete shutdown; will lead to recovery on restart\n"
+msgstr " immediate 不完全的关闭退出; 重启后恢复\n"
+
+#: pg_ctl.c:2016
+#, c-format
+msgid ""
+"\n"
+"Allowed signal names for kill:\n"
+msgstr ""
+"\n"
+"允许关闭的信号名称:\n"
+
+#: pg_ctl.c:2020
+#, c-format
+msgid ""
+"\n"
+"Options for register and unregister:\n"
+msgstr ""
+"\n"
+"注册或注销的选项:\n"
+
+#: pg_ctl.c:2021
+#, c-format
+msgid " -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr " -N 服务名称 注册到 PostgreSQL 服务器的服务名称\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr " -P 口令 注册到 PostgreSQL 服务器帐户的口令\n"
+
+#: pg_ctl.c:2023
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr " -U 用户名 注册到 PostgreSQL 服务器帐户的用户名\n"
+
+#: pg_ctl.c:2024
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr " -S START-TYPE 注册到PostgreSQL服务器的服务启动类型\n"
+
+#: pg_ctl.c:2026
+#, c-format
+msgid ""
+"\n"
+"Start types are:\n"
+msgstr ""
+"\n"
+"启动类型有:\n"
+
+#: pg_ctl.c:2027
+#, c-format
+msgid " auto start service automatically during system startup (default)\n"
+msgstr " auto 在系统启动时自动启动服务(默认选项)\n"
+
+#: pg_ctl.c:2028
+#, c-format
+msgid " demand start service on demand\n"
+msgstr " demand 按需启动服务\n"
+
+#: pg_ctl.c:2031
+#, c-format
+msgid ""
+"\n"
+"Report bugs to <%s>.\n"
+msgstr ""
+"\n"
+"臭虫报告至<%s>.\n"
+
+#: pg_ctl.c:2032
+#, c-format
+msgid "%s home page: <%s>\n"
+msgstr "%s 主页: <%s>\n"
+
+#: pg_ctl.c:2057
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "%s: 无效的关闭模式 \"%s\"\n"
+
+#: pg_ctl.c:2086
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "%s: 无效信号名称 \"%s\"\n"
+
+#: pg_ctl.c:2103
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "%s: 无法识别的启动类型 \"%s\"\n"
+
+#: pg_ctl.c:2159
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "%s: 使用命令 \"%s\"无法确定数据目录\n"
+
+#: pg_ctl.c:2182
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "%s: 控制文件似乎已损坏\n"
+
+#: pg_ctl.c:2250
+#, c-format
+msgid ""
+"%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr ""
+"%s: 无法以 root 用户运行\n"
+"请以服务器进程所属用户 (非特权用户) 登录 (或使用 \"su\")\n"
+"\n"
+
+#: pg_ctl.c:2333
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "%s: -S 选项在该平台上不支持\n"
+
+#: pg_ctl.c:2370
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "%s: 命令行参数太多 (第一个是 \"%s\")\n"
+
+#: pg_ctl.c:2396
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "%s: 缺少 kill 模式参数\n"
+
+#: pg_ctl.c:2414
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "%s: 无效的操作模式 \"%s\"\n"
+
+#: pg_ctl.c:2424
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "%s: 没有指定操作\n"
+
+#: pg_ctl.c:2445
+#, c-format
+msgid "%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr "%s: 没有指定数据目录, 并且没有设置 PGDATA 环境变量\n"
+
+#, c-format
+#~ msgid ""
+#~ "The program \"%s\" is needed by %s but was not found in the\n"
+#~ "same directory as \"%s\".\n"
+#~ "Check your installation.\n"
+#~ msgstr ""
+#~ "%2$s需要程序\"%1$s\"\n"
+#~ "但在与\"%3$s\"相同的目录中找不到该程序.\n"
+#~ "检查您的安装.\n"
+
+#, c-format
+#~ msgid ""
+#~ "The program \"%s\" was found by \"%s\"\n"
+#~ "but was not the same version as %s.\n"
+#~ "Check your installation.\n"
+#~ msgstr ""
+#~ "程序\"%s\"是由\"%s\"找到的\n"
+#~ "但与%s的版本不同.\n"
+#~ "检查您的安装.\n"
+
+#~ msgid ""
+#~ "WARNING: online backup mode is active\n"
+#~ "Shutdown will not complete until pg_stop_backup() is called.\n"
+#~ "\n"
+#~ msgstr ""
+#~ "警告: 在线备份模式处于激活状态\n"
+#~ "关闭命令将不会完成,直到调用了pg_stop_backup().\n"
diff --git a/src/bin/pg_ctl/po/zh_TW.po b/src/bin/pg_ctl/po/zh_TW.po
new file mode 100644
index 0000000..a893775
--- /dev/null
+++ b/src/bin/pg_ctl/po/zh_TW.po
@@ -0,0 +1,983 @@
+# Traditional Chinese message translation file for pg_ctl
+# Copyright (C) 2023 PostgreSQL Global Development Group
+# This file is distributed under the same license as the pg_ctl (PostgreSQL) package.
+# 2004-12-13 Zhenbang Wei <znbang@gmail.com>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: pg_ctl (PostgreSQL) 16\n"
+"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
+"POT-Creation-Date: 2023-09-05 20:48+0000\n"
+"PO-Revision-Date: 2023-09-11 08:37+0800\n"
+"Last-Translator: Zhenbang Wei <znbang@gmail.com>\n"
+"Language-Team: \n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 3.3.2\n"
+
+# command.c:122
+#: ../../common/exec.c:172
+#, c-format
+msgid "invalid binary \"%s\": %m"
+msgstr "無效的執行檔 \"%s\": %m"
+
+# command.c:1103
+#: ../../common/exec.c:215
+#, c-format
+msgid "could not read binary \"%s\": %m"
+msgstr "無法讀取執行檔 \"%s\": %m"
+
+#: ../../common/exec.c:223
+#, c-format
+msgid "could not find a \"%s\" to execute"
+msgstr "找不到可執行的 \"%s\""
+
+# utils/error/elog.c:1128
+#: ../../common/exec.c:250
+#, c-format
+msgid "could not resolve path \"%s\" to absolute form: %m"
+msgstr "無法解析路徑 \"%s\" 為絕對路徑: %m"
+
+# fe-misc.c:991
+#: ../../common/exec.c:412
+#, c-format
+msgid "%s() failed: %m"
+msgstr "%s() 失敗: %m"
+
+# commands/sequence.c:798 executor/execGrouping.c:328
+# executor/execGrouping.c:388 executor/nodeIndexscan.c:1051 lib/dllist.c:43
+# lib/dllist.c:88 libpq/auth.c:637 postmaster/pgstat.c:1006
+# postmaster/pgstat.c:1023 postmaster/pgstat.c:2452 postmaster/pgstat.c:2527
+# postmaster/pgstat.c:2572 postmaster/pgstat.c:2623
+# postmaster/postmaster.c:755 postmaster/postmaster.c:1625
+# postmaster/postmaster.c:2344 storage/buffer/localbuf.c:139
+# storage/file/fd.c:587 storage/file/fd.c:620 storage/file/fd.c:766
+# storage/ipc/sinval.c:789 storage/lmgr/lock.c:497 storage/smgr/md.c:138
+# storage/smgr/md.c:848 storage/smgr/smgr.c:213 utils/adt/cash.c:297
+# utils/adt/cash.c:312 utils/adt/oracle_compat.c:73
+# utils/adt/oracle_compat.c:124 utils/adt/regexp.c:191
+# utils/adt/ri_triggers.c:3471 utils/cache/relcache.c:164
+# utils/cache/relcache.c:178 utils/cache/relcache.c:1130
+# utils/cache/typcache.c:165 utils/cache/typcache.c:487
+# utils/fmgr/dfmgr.c:127 utils/fmgr/fmgr.c:521 utils/fmgr/fmgr.c:532
+# utils/init/miscinit.c:213 utils/init/miscinit.c:234
+# utils/init/miscinit.c:244 utils/misc/guc.c:1898 utils/misc/guc.c:1911
+# utils/misc/guc.c:1924 utils/mmgr/aset.c:337 utils/mmgr/aset.c:503
+# utils/mmgr/aset.c:700 utils/mmgr/aset.c:893 utils/mmgr/portalmem.c:75
+#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687
+msgid "out of memory"
+msgstr "記憶體不足"
+
+# commands/sequence.c:798 executor/execGrouping.c:328
+# executor/execGrouping.c:388 executor/nodeIndexscan.c:1051 lib/dllist.c:43
+# lib/dllist.c:88 libpq/auth.c:637 postmaster/pgstat.c:1006
+# postmaster/pgstat.c:1023 postmaster/pgstat.c:2452 postmaster/pgstat.c:2527
+# postmaster/pgstat.c:2572 postmaster/pgstat.c:2623
+# postmaster/postmaster.c:755 postmaster/postmaster.c:1625
+# postmaster/postmaster.c:2344 storage/buffer/localbuf.c:139
+# storage/file/fd.c:587 storage/file/fd.c:620 storage/file/fd.c:766
+# storage/ipc/sinval.c:789 storage/lmgr/lock.c:497 storage/smgr/md.c:138
+# storage/smgr/md.c:848 storage/smgr/smgr.c:213 utils/adt/cash.c:297
+# utils/adt/cash.c:312 utils/adt/oracle_compat.c:73
+# utils/adt/oracle_compat.c:124 utils/adt/regexp.c:191
+# utils/adt/ri_triggers.c:3471 utils/cache/relcache.c:164
+# utils/cache/relcache.c:178 utils/cache/relcache.c:1130
+# utils/cache/typcache.c:165 utils/cache/typcache.c:487
+# utils/fmgr/dfmgr.c:127 utils/fmgr/fmgr.c:521 utils/fmgr/fmgr.c:532
+# utils/init/miscinit.c:213 utils/init/miscinit.c:234
+# utils/init/miscinit.c:244 utils/misc/guc.c:1898 utils/misc/guc.c:1911
+# utils/misc/guc.c:1924 utils/mmgr/aset.c:337 utils/mmgr/aset.c:503
+# utils/mmgr/aset.c:700 utils/mmgr/aset.c:893 utils/mmgr/portalmem.c:75
+#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75
+#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161
+#: ../../port/path.c:753 ../../port/path.c:791 ../../port/path.c:808
+#, c-format
+msgid "out of memory\n"
+msgstr "記憶體不足\n"
+
+# common.c:78
+#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153
+#, c-format
+msgid "cannot duplicate null pointer (internal error)\n"
+msgstr "無法複製 null 指標(內部錯誤)\n"
+
+#: ../../common/wait_error.c:55
+#, c-format
+msgid "command not executable"
+msgstr "無法執行指令"
+
+#: ../../common/wait_error.c:59
+#, c-format
+msgid "command not found"
+msgstr "找不到指令"
+
+#: ../../common/wait_error.c:64
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "子行程結束,結束碼 %d"
+
+#: ../../common/wait_error.c:72
+#, c-format
+msgid "child process was terminated by exception 0x%X"
+msgstr "子行程因異常 0x%X 而停止"
+
+#: ../../common/wait_error.c:76
+#, c-format
+msgid "child process was terminated by signal %d: %s"
+msgstr "子行程因信號 %d 而停止: %s"
+
+#: ../../common/wait_error.c:82
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "子行程結束,不明狀態碼 %d"
+
+#: ../../port/path.c:775
+#, c-format
+msgid "could not get current working directory: %s\n"
+msgstr "無法取得目前的工作目錄: %s\n"
+
+# postmaster/postmaster.c:892
+#: pg_ctl.c:255
+#, c-format
+msgid "%s: directory \"%s\" does not exist\n"
+msgstr "%s: 目錄 \"%s\" 不存在\n"
+
+#: pg_ctl.c:258
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s: 無法存取目錄 \"%s\": %s\n"
+
+# postmaster/postmaster.c:892
+#: pg_ctl.c:271
+#, c-format
+msgid "%s: directory \"%s\" is not a database cluster directory\n"
+msgstr "%s: 目錄 \"%s\" 不是資料庫叢集目錄\n"
+
+#: pg_ctl.c:284
+#, c-format
+msgid "%s: could not open PID file \"%s\": %s\n"
+msgstr "%s: 無法開啟 PID 檔 \"%s\": %s\n"
+
+#: pg_ctl.c:293
+#, c-format
+msgid "%s: the PID file \"%s\" is empty\n"
+msgstr "%s: PID 檔 \"%s\" 是空的\n"
+
+# access/transam/xlog.c:5414 access/transam/xlog.c:5535
+# access/transam/xlog.c:5541 access/transam/xlog.c:5572
+# access/transam/xlog.c:5578
+#: pg_ctl.c:296
+#, c-format
+msgid "%s: invalid data in PID file \"%s\"\n"
+msgstr "%s: PID 檔 \"%s\" 中的資料無效\n"
+
+#: pg_ctl.c:458 pg_ctl.c:500
+#, c-format
+msgid "%s: could not start server: %s\n"
+msgstr "%s: 無法啟動伺服器: %s\n"
+
+#: pg_ctl.c:478
+#, c-format
+msgid "%s: could not start server due to setsid() failure: %s\n"
+msgstr "%s: 由於 setsid() 失敗,無法啟動伺服器: %s\n"
+
+# command.c:1148
+#: pg_ctl.c:548
+#, c-format
+msgid "%s: could not open log file \"%s\": %s\n"
+msgstr "%s: 無法開啟日誌檔 \"%s\": %s\n"
+
+#: pg_ctl.c:565
+#, c-format
+msgid "%s: could not start server: error code %lu\n"
+msgstr "%s: 無法啟動伺服器: 錯誤碼 %lu\n"
+
+#: pg_ctl.c:782
+#, c-format
+msgid "%s: cannot set core file size limit; disallowed by hard limit\n"
+msgstr "%s: 無法設定核心檔案大小限制,被硬限制禁止\n"
+
+#: pg_ctl.c:808
+#, c-format
+msgid "%s: could not read file \"%s\"\n"
+msgstr "%s: 無法讀取檔案 \"%s\"\n"
+
+#: pg_ctl.c:813
+#, c-format
+msgid "%s: option file \"%s\" must have exactly one line\n"
+msgstr "%s: 選項檔 \"%s\" 只能有一行內容\n"
+
+#: pg_ctl.c:855 pg_ctl.c:1039 pg_ctl.c:1107
+#, c-format
+msgid "%s: could not send stop signal (PID: %d): %s\n"
+msgstr "%s: 無法發送停止信號(PID: %d): %s\n"
+
+#: pg_ctl.c:883
+#, c-format
+msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"\n"
+msgstr "程式 \"%s\" 被 %s 所需,但在相同目錄中並未找到 \"%s\"。\n"
+
+#: pg_ctl.c:886
+#, c-format
+msgid "program \"%s\" was found by \"%s\" but was not the same version as %s\n"
+msgstr "程式 \"%s\" 被 \"%s\" 找到,但版本與 %s 不相同。\n"
+
+#: pg_ctl.c:918
+#, c-format
+msgid "%s: database system initialization failed\n"
+msgstr "%s: 資料庫系統初始化失敗。\n"
+
+#: pg_ctl.c:933
+#, c-format
+msgid "%s: another server might be running; trying to start server anyway\n"
+msgstr "%s: 可能有另一個伺服器正在執行;嘗試強制啟動伺服器\n"
+
+#: pg_ctl.c:981
+msgid "waiting for server to start..."
+msgstr "等待伺服器啟動中..."
+
+#: pg_ctl.c:986 pg_ctl.c:1063 pg_ctl.c:1126 pg_ctl.c:1238
+msgid " done\n"
+msgstr " 完成\n"
+
+#: pg_ctl.c:987
+msgid "server started\n"
+msgstr "伺服器已啟動\n"
+
+#: pg_ctl.c:990 pg_ctl.c:996 pg_ctl.c:1243
+msgid " stopped waiting\n"
+msgstr " 停止等待\n"
+
+#: pg_ctl.c:991
+#, c-format
+msgid "%s: server did not start in time\n"
+msgstr "%s: 伺服器未能及時啟動\n"
+
+#: pg_ctl.c:997
+#, c-format
+msgid ""
+"%s: could not start server\n"
+"Examine the log output.\n"
+msgstr ""
+"%s: 無法啟動伺服器\n"
+"請檢查日誌輸出。\n"
+
+#: pg_ctl.c:1005
+msgid "server starting\n"
+msgstr "伺服器啟動中\n"
+
+#: pg_ctl.c:1024 pg_ctl.c:1083 pg_ctl.c:1147 pg_ctl.c:1186 pg_ctl.c:1267
+#, c-format
+msgid "%s: PID file \"%s\" does not exist\n"
+msgstr "%s: PID 檔 \"%s\" 不存在\n"
+
+#: pg_ctl.c:1025 pg_ctl.c:1085 pg_ctl.c:1148 pg_ctl.c:1187 pg_ctl.c:1268
+msgid "Is server running?\n"
+msgstr "伺服器是否在執行中?\n"
+
+#: pg_ctl.c:1031
+#, c-format
+msgid "%s: cannot stop server; single-user server is running (PID: %d)\n"
+msgstr "%s: 無法停止伺服器,單人模式伺服器執行中(PID: %d)\n"
+
+#: pg_ctl.c:1046
+msgid "server shutting down\n"
+msgstr "伺服器關閉中\n"
+
+#: pg_ctl.c:1051 pg_ctl.c:1112
+msgid "waiting for server to shut down..."
+msgstr "等待伺服器關閉中..."
+
+#: pg_ctl.c:1055 pg_ctl.c:1117
+msgid " failed\n"
+msgstr " 失敗\n"
+
+#: pg_ctl.c:1057 pg_ctl.c:1119
+#, c-format
+msgid "%s: server does not shut down\n"
+msgstr "%s: 伺服器未停止\n"
+
+#: pg_ctl.c:1059 pg_ctl.c:1121
+msgid ""
+"HINT: The \"-m fast\" option immediately disconnects sessions rather than\n"
+"waiting for session-initiated disconnection.\n"
+msgstr "提示: 使用 \"-m fast\" 選項會立即中斷工作階段,而不是等待由工作階段發起的斷線。\n"
+
+#: pg_ctl.c:1065 pg_ctl.c:1127
+msgid "server stopped\n"
+msgstr "伺服器已停止\n"
+
+#: pg_ctl.c:1086
+msgid "trying to start server anyway\n"
+msgstr "嘗試強制啟動伺服器。\n"
+
+#: pg_ctl.c:1095
+#, c-format
+msgid "%s: cannot restart server; single-user server is running (PID: %d)\n"
+msgstr "%s: 無法重新啟動伺服器,單人模式伺服器執行中(PID: %d)\n"
+
+#: pg_ctl.c:1098 pg_ctl.c:1157
+msgid "Please terminate the single-user server and try again.\n"
+msgstr "請結束單人模式伺服器,然後再試一次。\n"
+
+#: pg_ctl.c:1131
+#, c-format
+msgid "%s: old server process (PID: %d) seems to be gone\n"
+msgstr "%s: 舊的伺服器行程(PID: %d) 似乎已經不存在\n"
+
+#: pg_ctl.c:1133
+msgid "starting server anyway\n"
+msgstr "強制啟動伺服器中\n"
+
+#: pg_ctl.c:1154
+#, c-format
+msgid "%s: cannot reload server; single-user server is running (PID: %d)\n"
+msgstr "%s: 無法重新載入伺服器,單人模式伺服器執行中(PID: %d)\n"
+
+#: pg_ctl.c:1163
+#, c-format
+msgid "%s: could not send reload signal (PID: %d): %s\n"
+msgstr "%s: 無法發送重新載入信號(PID: %d): %s\n"
+
+#: pg_ctl.c:1168
+msgid "server signaled\n"
+msgstr "伺服器已收到信號\n"
+
+#: pg_ctl.c:1193
+#, c-format
+msgid "%s: cannot promote server; single-user server is running (PID: %d)\n"
+msgstr "%s: 無法升級伺服器,單人模式伺服器執行中(PID: %d)\n"
+
+#: pg_ctl.c:1201
+#, c-format
+msgid "%s: cannot promote server; server is not in standby mode\n"
+msgstr "%s: 無法升級伺服器,伺服器不在待機模式\n"
+
+# postmaster/postmaster.c:799
+#: pg_ctl.c:1211
+#, c-format
+msgid "%s: could not create promote signal file \"%s\": %s\n"
+msgstr "%s: 無法建立升級信號檔案 \"%s\": %s\n"
+
+# postmaster/postmaster.c:799
+#: pg_ctl.c:1217
+#, c-format
+msgid "%s: could not write promote signal file \"%s\": %s\n"
+msgstr "%s: 無法寫入升級信號檔 \"%s\": %s\n"
+
+#: pg_ctl.c:1225
+#, c-format
+msgid "%s: could not send promote signal (PID: %d): %s\n"
+msgstr "%s: 無法發送升級信號(PID: %d): %s\n"
+
+#: pg_ctl.c:1228
+#, c-format
+msgid "%s: could not remove promote signal file \"%s\": %s\n"
+msgstr "%s: 無法刪除升級信號檔 \"%s\": %s\n"
+
+#: pg_ctl.c:1235
+msgid "waiting for server to promote..."
+msgstr "等得伺服器升級中..."
+
+#: pg_ctl.c:1239
+msgid "server promoted\n"
+msgstr "伺服器已升級\n"
+
+#: pg_ctl.c:1244
+#, c-format
+msgid "%s: server did not promote in time\n"
+msgstr "%s: 伺服器未能及時升級\n"
+
+#: pg_ctl.c:1250
+msgid "server promoting\n"
+msgstr "伺服器升級中\n"
+
+#: pg_ctl.c:1274
+#, c-format
+msgid "%s: cannot rotate log file; single-user server is running (PID: %d)\n"
+msgstr "%s: 無法輪替日誌檔,單人模式伺服器執行中(PID: %d)\n"
+
+# postmaster/postmaster.c:799
+#: pg_ctl.c:1284
+#, c-format
+msgid "%s: could not create log rotation signal file \"%s\": %s\n"
+msgstr "%s: 無法建立日誌輪替信號檔 \"%s\": %s\n"
+
+# postmaster/postmaster.c:799
+#: pg_ctl.c:1290
+#, c-format
+msgid "%s: could not write log rotation signal file \"%s\": %s\n"
+msgstr "%s: 無法寫入日誌輪替信號檔 \"%s\": %s\n"
+
+#: pg_ctl.c:1298
+#, c-format
+msgid "%s: could not send log rotation signal (PID: %d): %s\n"
+msgstr "%s: 無法發送日誌輪替信號(PID: %d): %s\n"
+
+#: pg_ctl.c:1301
+#, c-format
+msgid "%s: could not remove log rotation signal file \"%s\": %s\n"
+msgstr "%s: 無法刪除日誌輪替信號檔 \"%s\": %s\n"
+
+# commands/user.c:655
+#: pg_ctl.c:1306
+msgid "server signaled to rotate log file\n"
+msgstr "伺服器已收到日誌輪替信號\n"
+
+#: pg_ctl.c:1353
+#, c-format
+msgid "%s: single-user server is running (PID: %d)\n"
+msgstr "%s: 單人模式伺服器執行中(PID: %d)\n"
+
+#: pg_ctl.c:1367
+#, c-format
+msgid "%s: server is running (PID: %d)\n"
+msgstr "%s: 伺服器執行中(PID: %d)\n"
+
+#: pg_ctl.c:1383
+#, c-format
+msgid "%s: no server running\n"
+msgstr "%s: 沒有執行中的伺服器\n"
+
+#: pg_ctl.c:1400
+#, c-format
+msgid "%s: could not send signal %d (PID: %d): %s\n"
+msgstr "%s: 無法發送信號 %d(PID: %d): %s\n"
+
+#: pg_ctl.c:1431
+#, c-format
+msgid "%s: could not find own program executable\n"
+msgstr "%s: 找不到自身的程式執行檔\n"
+
+#: pg_ctl.c:1441
+#, c-format
+msgid "%s: could not find postgres program executable\n"
+msgstr "%s: 找不到 postgres 程式的執行檔\n"
+
+#: pg_ctl.c:1511 pg_ctl.c:1545
+#, c-format
+msgid "%s: could not open service manager\n"
+msgstr "%s: 無法開啟服務管理員\n"
+
+#: pg_ctl.c:1517
+#, c-format
+msgid "%s: service \"%s\" already registered\n"
+msgstr "%s: 服務 \"%s\" 已註冊\n"
+
+#: pg_ctl.c:1528
+#, c-format
+msgid "%s: could not register service \"%s\": error code %lu\n"
+msgstr "%s: 無法註冊服務 \"%s\": 錯誤碼 %lu\n"
+
+#: pg_ctl.c:1551
+#, c-format
+msgid "%s: service \"%s\" not registered\n"
+msgstr "%s: 服務 \"%s\" 未註冊\n"
+
+#: pg_ctl.c:1558
+#, c-format
+msgid "%s: could not open service \"%s\": error code %lu\n"
+msgstr "%s: 無法開啟服務 \"%s\": 錯誤碼 %lu\n"
+
+#: pg_ctl.c:1567
+#, c-format
+msgid "%s: could not unregister service \"%s\": error code %lu\n"
+msgstr "%s: 無法取消註冊服務 \"%s\": 錯誤碼 %lu\n"
+
+#: pg_ctl.c:1654
+msgid "Waiting for server startup...\n"
+msgstr "等待伺服器啟動...\n"
+
+#: pg_ctl.c:1657
+msgid "Timed out waiting for server startup\n"
+msgstr "等待伺服器啟動逾時\n"
+
+# utils/init/postinit.c:130
+#: pg_ctl.c:1661
+msgid "Server started and accepting connections\n"
+msgstr "伺服器已啟動並接受連線\n"
+
+#: pg_ctl.c:1716
+#, c-format
+msgid "%s: could not start service \"%s\": error code %lu\n"
+msgstr "%s: 無法啟動服務 \"%s\": 錯誤碼 %lu\n"
+
+# port/win32/security.c:39
+#: pg_ctl.c:1789
+#, c-format
+msgid "%s: could not open process token: error code %lu\n"
+msgstr "%s: 無法開啟行程 token: 錯誤碼 %lu\n"
+
+#: pg_ctl.c:1803
+#, c-format
+msgid "%s: could not allocate SIDs: error code %lu\n"
+msgstr "%s: 無法配置 SID: 錯誤碼 %lu\n"
+
+# port/win32/signal.c:239
+#: pg_ctl.c:1829
+#, c-format
+msgid "%s: could not create restricted token: error code %lu\n"
+msgstr "%s: 無法建立受限制的 token: 錯誤碼 %lu\n"
+
+#: pg_ctl.c:1911
+#, c-format
+msgid "%s: could not get LUIDs for privileges: error code %lu\n"
+msgstr "%s: 無法取得特權的LUID: 錯誤碼 %lu\n"
+
+#: pg_ctl.c:1919 pg_ctl.c:1934
+#, c-format
+msgid "%s: could not get token information: error code %lu\n"
+msgstr "%s: 無法取得 token 資訊: 錯誤碼 %lu\n"
+
+#: pg_ctl.c:1928
+#, c-format
+msgid "%s: out of memory\n"
+msgstr "%s: 記憶體不足\n"
+
+#: pg_ctl.c:1958
+#, c-format
+msgid "Try \"%s --help\" for more information.\n"
+msgstr "用 \"%s --help\" 取得更多資訊。\n"
+
+#: pg_ctl.c:1966
+#, c-format
+msgid ""
+"%s is a utility to initialize, start, stop, or control a PostgreSQL server.\n"
+"\n"
+msgstr ""
+"%s 是用於初始化、啟動、停止或控制 PostgreSQL 伺服器的工具。\n"
+"\n"
+
+#: pg_ctl.c:1967
+#, c-format
+msgid "Usage:\n"
+msgstr "用法:\n"
+
+#: pg_ctl.c:1968
+#, c-format
+msgid " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+msgstr " %s init[db] [-D DATADIR] [-s] [-o OPTIONS]\n"
+
+#: pg_ctl.c:1969
+#, c-format
+msgid ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+msgstr ""
+" %s start [-D DATADIR] [-l FILENAME] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-p PATH] [-c]\n"
+
+#: pg_ctl.c:1971
+#, c-format
+msgid " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+msgstr " %s stop [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+
+#: pg_ctl.c:1972
+#, c-format
+msgid ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+msgstr ""
+" %s restart [-D DATADIR] [-m SHUTDOWN-MODE] [-W] [-t SECS] [-s]\n"
+" [-o OPTIONS] [-c]\n"
+
+#: pg_ctl.c:1974
+#, c-format
+msgid " %s reload [-D DATADIR] [-s]\n"
+msgstr " %s reload [-D DATADIR] [-s]\n"
+
+#: pg_ctl.c:1975
+#, c-format
+msgid " %s status [-D DATADIR]\n"
+msgstr " %s status [-D DATADIR]\n"
+
+#: pg_ctl.c:1976
+#, c-format
+msgid " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+msgstr " %s promote [-D DATADIR] [-W] [-t SECS] [-s]\n"
+
+#: pg_ctl.c:1977
+#, c-format
+msgid " %s logrotate [-D DATADIR] [-s]\n"
+msgstr " %s logrotate [-D DATADIR] [-s]\n"
+
+#: pg_ctl.c:1978
+#, c-format
+msgid " %s kill SIGNALNAME PID\n"
+msgstr " %s kill SIGNALNAME PID\n"
+
+#: pg_ctl.c:1980
+#, c-format
+msgid ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+msgstr ""
+" %s register [-D DATADIR] [-N SERVICENAME] [-U USERNAME] [-P PASSWORD]\n"
+" [-S START-TYPE] [-e SOURCE] [-W] [-t SECS] [-s] [-o OPTIONS]\n"
+
+#: pg_ctl.c:1982
+#, c-format
+msgid " %s unregister [-N SERVICENAME]\n"
+msgstr " %s unregister [-N SERVICENAME]\n"
+
+#: pg_ctl.c:1985
+#, c-format
+msgid ""
+"\n"
+"Common options:\n"
+msgstr ""
+"\n"
+"常用選項:\n"
+
+#: pg_ctl.c:1986
+#, c-format
+msgid " -D, --pgdata=DATADIR location of the database storage area\n"
+msgstr " -D, --pgdata=DATADIR 資料庫儲存區域的位置\n"
+
+#: pg_ctl.c:1988
+#, c-format
+msgid " -e SOURCE event source for logging when running as a service\n"
+msgstr " -e SOURCE 在作為服務運行時的記錄事件來源\n"
+
+#: pg_ctl.c:1990
+#, c-format
+msgid " -s, --silent only print errors, no informational messages\n"
+msgstr " -s, --silent 僅顯示錯誤訊息,不顯示資訊性訊息。\n"
+
+#: pg_ctl.c:1991
+#, c-format
+msgid " -t, --timeout=SECS seconds to wait when using -w option\n"
+msgstr " -t, --timeout=SECS 使用 -w 選項時等待的秒數\n"
+
+#: pg_ctl.c:1992
+#, c-format
+msgid " -V, --version output version information, then exit\n"
+msgstr " -V, --version 顯示版本,然後結束\n"
+
+#: pg_ctl.c:1993
+#, c-format
+msgid " -w, --wait wait until operation completes (default)\n"
+msgstr " -w, --wait 等待操作完成(預設值)\n"
+
+#: pg_ctl.c:1994
+#, c-format
+msgid " -W, --no-wait do not wait until operation completes\n"
+msgstr " -W, --no-wait 不等待操作完成\n"
+
+#: pg_ctl.c:1995
+#, c-format
+msgid " -?, --help show this help, then exit\n"
+msgstr " -?, --help 顯示說明,然後結束\n"
+
+#: pg_ctl.c:1996
+#, c-format
+msgid "If the -D option is omitted, the environment variable PGDATA is used.\n"
+msgstr "若省略 -D 選項,將使用環境變數 PGDATA。\n"
+
+#: pg_ctl.c:1998
+#, c-format
+msgid ""
+"\n"
+"Options for start or restart:\n"
+msgstr ""
+"\n"
+"啟動或重新啟動的選項:\n"
+
+#: pg_ctl.c:2000
+#, c-format
+msgid " -c, --core-files allow postgres to produce core files\n"
+msgstr " -c, --core-files 允許 PostgreSQL 生成核心傾印\n"
+
+#: pg_ctl.c:2002
+#, c-format
+msgid " -c, --core-files not applicable on this platform\n"
+msgstr " -c, --core-files 不適用此平台\n"
+
+#: pg_ctl.c:2004
+#, c-format
+msgid " -l, --log=FILENAME write (or append) server log to FILENAME\n"
+msgstr " -l, --log=FILENAME 將伺服器日誌寫入(或附加到)檔案 FILENAME\n"
+
+#: pg_ctl.c:2005
+#, c-format
+msgid ""
+" -o, --options=OPTIONS command line options to pass to postgres\n"
+" (PostgreSQL server executable) or initdb\n"
+msgstr " -o, --options=OPTIONS 傳遞給 postgres(PostgreSQL 伺服器執行檔)或 initdb 的命令列選項\n"
+
+#: pg_ctl.c:2007
+#, c-format
+msgid " -p PATH-TO-POSTGRES normally not necessary\n"
+msgstr " -p PATH-TO-POSTGRES 通常不需要\n"
+
+#: pg_ctl.c:2008
+#, c-format
+msgid ""
+"\n"
+"Options for stop or restart:\n"
+msgstr ""
+"\n"
+"停止或重新啟動的選項:\n"
+
+#: pg_ctl.c:2009
+#, c-format
+msgid " -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"
+msgstr " -m, --mode=MODE MODE 可以是 \"smart\", \"fast\", \"immediate\"\n"
+
+#: pg_ctl.c:2011
+#, c-format
+msgid ""
+"\n"
+"Shutdown modes are:\n"
+msgstr ""
+"\n"
+"停止模式: \n"
+
+#: pg_ctl.c:2012
+#, c-format
+msgid " smart quit after all clients have disconnected\n"
+msgstr " smart 在所有客戶端中斷連線後結束\n"
+
+#: pg_ctl.c:2013
+#, c-format
+msgid " fast quit directly, with proper shutdown (default)\n"
+msgstr " fast 直接結束,正常停止(預設)\n"
+
+#: pg_ctl.c:2014
+#, c-format
+msgid " immediate quit without complete shutdown; will lead to recovery on restart\n"
+msgstr " immediate 立即結束,不進行完整的停止;重新啟動時將進行復原\n"
+
+#: pg_ctl.c:2016
+#, c-format
+msgid ""
+"\n"
+"Allowed signal names for kill:\n"
+msgstr ""
+"\n"
+"允許用於 kill 命令的信號名稱:\n"
+
+#: pg_ctl.c:2020
+#, c-format
+msgid ""
+"\n"
+"Options for register and unregister:\n"
+msgstr ""
+"\n"
+"註冊和取消註冊服務的選項:\n"
+
+#: pg_ctl.c:2021
+#, c-format
+msgid " -N SERVICENAME service name with which to register PostgreSQL server\n"
+msgstr " -N SERVICENAME 註冊 PostgreSQL 伺服器的服務名稱\n"
+
+#: pg_ctl.c:2022
+#, c-format
+msgid " -P PASSWORD password of account to register PostgreSQL server\n"
+msgstr " -P PASSWORD 註冊 PostgreSQL 伺服器的帳號密碼\n"
+
+#: pg_ctl.c:2023
+#, c-format
+msgid " -U USERNAME user name of account to register PostgreSQL server\n"
+msgstr " -U USERNAME 註冊 PostgreSQL 伺服器的帳號名稱\n"
+
+#: pg_ctl.c:2024
+#, c-format
+msgid " -S START-TYPE service start type to register PostgreSQL server\n"
+msgstr " -S START-TYPE 註冊 PostgreSQL 伺服器的啟動方式\n"
+
+#: pg_ctl.c:2026
+#, c-format
+msgid ""
+"\n"
+"Start types are:\n"
+msgstr ""
+"\n"
+"啟動方式:\n"
+
+#: pg_ctl.c:2027
+#, c-format
+msgid " auto start service automatically during system startup (default)\n"
+msgstr " auto 系統啟動時自動啟動服務(預設)\n"
+
+#: pg_ctl.c:2028
+#, c-format
+msgid " demand start service on demand\n"
+msgstr " demand 手動啟動服務\n"
+
+#: pg_ctl.c:2031
+#, c-format
+msgid ""
+"\n"
+"Report bugs to <%s>.\n"
+msgstr ""
+"\n"
+"回報錯誤至 <%s>。\n"
+
+#: pg_ctl.c:2032
+#, c-format
+msgid "%s home page: <%s>\n"
+msgstr "%s 網頁: <%s>\n"
+
+#: pg_ctl.c:2057
+#, c-format
+msgid "%s: unrecognized shutdown mode \"%s\"\n"
+msgstr "%s: 無法識別的關停模式 \"%s\"\n"
+
+#: pg_ctl.c:2086
+#, c-format
+msgid "%s: unrecognized signal name \"%s\"\n"
+msgstr "%s: 無法識別的信號名稱 \"%s\"\n"
+
+#: pg_ctl.c:2103
+#, c-format
+msgid "%s: unrecognized start type \"%s\"\n"
+msgstr "%s: 無法識別的啟動方式 \"%s\"\n"
+
+#: pg_ctl.c:2159
+#, c-format
+msgid "%s: could not determine the data directory using command \"%s\"\n"
+msgstr "%s: 無法使用命令 \"%s\" 確定資料目錄\n"
+
+#: pg_ctl.c:2182
+#, c-format
+msgid "%s: control file appears to be corrupt\n"
+msgstr "%s: 控制檔似乎損壞\n"
+
+#: pg_ctl.c:2250
+#, c-format
+msgid ""
+"%s: cannot be run as root\n"
+"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n"
+"own the server process.\n"
+msgstr ""
+"%s: 無法以 root 身分執行\n"
+"請以將會擁有伺服務行程的(非特權)使用者登入(例如用 \"su\" 命令)。\n"
+
+# commands/tablespace.c:386 commands/tablespace.c:483
+#: pg_ctl.c:2333
+#, c-format
+msgid "%s: -S option not supported on this platform\n"
+msgstr "%s: 此平台不支援 -S 選項\n"
+
+#: pg_ctl.c:2370
+#, c-format
+msgid "%s: too many command-line arguments (first is \"%s\")\n"
+msgstr "%s: 命令列參數過多(第一個是 \"%s\")\n"
+
+#: pg_ctl.c:2396
+#, c-format
+msgid "%s: missing arguments for kill mode\n"
+msgstr "%s: 未指定 kill 模式參數\n"
+
+#: pg_ctl.c:2414
+#, c-format
+msgid "%s: unrecognized operation mode \"%s\"\n"
+msgstr "%s: 無法識別的操作模式 \"%s\"\n"
+
+#: pg_ctl.c:2424
+#, c-format
+msgid "%s: no operation specified\n"
+msgstr "%s: 沒有任何操作\n"
+
+#: pg_ctl.c:2445
+#, c-format
+msgid "%s: no database directory specified and environment variable PGDATA unset\n"
+msgstr "%s: 未指定資料庫目錄,且未設定環境變數 PGDATA\n"
+
+#, c-format
+#~ msgid " %s start [-w] [-t SECS] [-D DATADIR] [-s] [-l FILENAME] [-o \"OPTIONS\"]\n"
+#~ msgstr " %s start [-w] [-t 秒數] [-D 資料目錄] [-s] [-l 檔名] [-o \"選項\"]\n"
+
+#, c-format
+#~ msgid " --help show this help, then exit\n"
+#~ msgstr " --help 顯示這份說明然後結束\n"
+
+#, c-format
+#~ msgid " --version output version information, then exit\n"
+#~ msgstr " --version 顯示版本資訊然後結束\n"
+
+#, c-format
+#~ msgid ""
+#~ "%s is a utility to start, stop, restart, promote, reload configuration files,\n"
+#~ "report the status of a PostgreSQL server, or signal a PostgreSQL process.\n"
+#~ "\n"
+#~ msgstr ""
+#~ "%s 可以用來啟動、停止、重新啟動、提升、重新載入設定檔、\n"
+#~ "報告 PostgreSQL 伺服器狀態,或送信號給 PostgreSQL 行程。\n"
+#~ "\n"
+
+#, c-format
+#~ msgid "%s: -w option cannot use a relative socket directory specification\n"
+#~ msgstr "%s: -w 選項不能和相對 socket 目錄一起使用\n"
+
+#, c-format
+#~ msgid "%s: -w option is not supported when starting a pre-9.1 server\n"
+#~ msgstr "%s: 啟動 pre-9.1 伺服器時不支援 -w 選項\n"
+
+#~ msgid "%s: a standalone backend \"postgres\" is running (PID: %ld)\n"
+#~ msgstr "%s:一個獨立後端\"postgres\"正在執行(PID:%ld)\n"
+
+#, c-format
+#~ msgid "%s: could not wait for server because of misconfiguration\n"
+#~ msgstr "%s: 無法等待伺服器,設定錯誤\n"
+
+#~ msgid "%s: invalid option %s\n"
+#~ msgstr "%s:無效的選項 %s\n"
+
+#~ msgid "%s: neither postmaster nor postgres running\n"
+#~ msgstr "%s:postmaster或postgres尚未執行\n"
+
+#, c-format
+#~ msgid "%s: this data directory is running a pre-existing postmaster\n"
+#~ msgstr "%s: 這個資料目錄正在執行以前的 postmaster\n"
+
+#, c-format
+#~ msgid ""
+#~ "(The default is to wait for shutdown, but not for start or restart.)\n"
+#~ "\n"
+#~ msgstr ""
+#~ "(預設是關閉時而非啟動或重新啟動時等待。)\n"
+#~ "\n"
+
+#~ msgid ""
+#~ "The program \"postmaster\" is needed by %s but was not found in the\n"
+#~ "same directory as \"%s\".\n"
+#~ "Check your installation.\n"
+#~ msgstr ""
+#~ "%s 需要\"postmaster\"程式,但是在與\"%s\"相同的目錄中找不到。\n"
+#~ "檢查你的安裝。\n"
+
+#~ msgid ""
+#~ "The program \"postmaster\" was found by \"%s\"\n"
+#~ "but was not the same version as %s.\n"
+#~ "Check your installation.\n"
+#~ msgstr ""
+#~ "\"%s\"已找到程式\"postmaster\",但是與 %s 版本不符。\n"
+#~ "請檢查你的安裝。\n"
+
+#~ msgid ""
+#~ "WARNING: online backup mode is active\n"
+#~ "Shutdown will not complete until pg_stop_backup() is called.\n"
+#~ "\n"
+#~ msgstr ""
+#~ "警告: 線上備份模式作用中\n"
+#~ "必須呼叫 pg_stop_backup(),關閉作業才能完成。\n"
+#~ "\n"
+
+#, c-format
+#~ msgid "child process was terminated by signal %s"
+#~ msgstr "子行程被信號 %s 結束"
+
+#, c-format
+#~ msgid "could not change directory to \"%s\""
+#~ msgstr "無法切換目錄至 \"%s\""
+
+#, c-format
+#~ msgid "could not read symbolic link \"%s\""
+#~ msgstr "無法讀取符號連結 \"%s\""
+
+#~ msgid "server is still starting up\n"
+#~ msgstr "伺服器仍在啟動中\n"
diff --git a/src/bin/pg_ctl/t/001_start_stop.pl b/src/bin/pg_ctl/t/001_start_stop.pl
new file mode 100644
index 0000000..f019fe1
--- /dev/null
+++ b/src/bin/pg_ctl/t/001_start_stop.pl
@@ -0,0 +1,103 @@
+
+# Copyright (c) 2021-2023, PostgreSQL Global Development Group
+
+use strict;
+use warnings;
+
+use PostgreSQL::Test::Cluster;
+use PostgreSQL::Test::Utils;
+use Test::More;
+
+my $tempdir = PostgreSQL::Test::Utils::tempdir;
+my $tempdir_short = PostgreSQL::Test::Utils::tempdir_short;
+
+program_help_ok('pg_ctl');
+program_version_ok('pg_ctl');
+program_options_handling_ok('pg_ctl');
+
+command_exit_is([ 'pg_ctl', 'start', '-D', "$tempdir/nonexistent" ],
+ 1, 'pg_ctl start with nonexistent directory');
+
+command_ok([ 'pg_ctl', 'initdb', '-D', "$tempdir/data", '-o', '-N' ],
+ 'pg_ctl initdb');
+command_ok([ $ENV{PG_REGRESS}, '--config-auth', "$tempdir/data" ],
+ 'configure authentication');
+my $node_port = PostgreSQL::Test::Cluster::get_free_port();
+open my $conf, '>>', "$tempdir/data/postgresql.conf";
+print $conf "fsync = off\n";
+print $conf "port = $node_port\n";
+print $conf PostgreSQL::Test::Utils::slurp_file($ENV{TEMP_CONFIG})
+ if defined $ENV{TEMP_CONFIG};
+
+if ($use_unix_sockets)
+{
+ print $conf "listen_addresses = ''\n";
+ $tempdir_short =~ s!\\!/!g if $PostgreSQL::Test::Utils::windows_os;
+ print $conf "unix_socket_directories = '$tempdir_short'\n";
+}
+else
+{
+ print $conf "listen_addresses = '127.0.0.1'\n";
+}
+close $conf;
+my $ctlcmd = [
+ 'pg_ctl', 'start', '-D', "$tempdir/data", '-l',
+ "$PostgreSQL::Test::Utils::log_path/001_start_stop_server.log"
+];
+command_like($ctlcmd, qr/done.*server started/s, 'pg_ctl start');
+
+# sleep here is because Windows builds can't check postmaster.pid exactly,
+# so they may mistake a pre-existing postmaster.pid for one created by the
+# postmaster they start. Waiting more than the 2 seconds slop time allowed
+# by wait_for_postmaster() prevents that mistake.
+sleep 3 if ($windows_os);
+command_fails([ 'pg_ctl', 'start', '-D', "$tempdir/data" ],
+ 'second pg_ctl start fails');
+command_ok([ 'pg_ctl', 'stop', '-D', "$tempdir/data" ], 'pg_ctl stop');
+command_fails([ 'pg_ctl', 'stop', '-D', "$tempdir/data" ],
+ 'second pg_ctl stop fails');
+
+# Log file for default permission test. The permissions won't be checked on
+# Windows but we still want to do the restart test.
+my $logFileName = "$tempdir/data/perm-test-600.log";
+
+command_ok([ 'pg_ctl', 'restart', '-D', "$tempdir/data", '-l', $logFileName ],
+ 'pg_ctl restart with server not running');
+
+# Permissions on log file should be default
+SKIP:
+{
+ skip "unix-style permissions not supported on Windows", 2
+ if ($windows_os);
+
+ ok(-f $logFileName);
+ ok(check_mode_recursive("$tempdir/data", 0700, 0600));
+}
+
+# Log file for group access test
+$logFileName = "$tempdir/data/perm-test-640.log";
+
+SKIP:
+{
+ skip "group access not supported on Windows", 3 if ($windows_os);
+
+ system_or_bail 'pg_ctl', 'stop', '-D', "$tempdir/data";
+
+ # Change the data dir mode so log file will be created with group read
+ # privileges on the next start
+ chmod_recursive("$tempdir/data", 0750, 0640);
+
+ command_ok(
+ [ 'pg_ctl', 'start', '-D', "$tempdir/data", '-l', $logFileName ],
+ 'start server to check group permissions');
+
+ ok(-f $logFileName);
+ ok(check_mode_recursive("$tempdir/data", 0750, 0640));
+}
+
+command_ok([ 'pg_ctl', 'restart', '-D', "$tempdir/data" ],
+ 'pg_ctl restart with server running');
+
+system_or_bail 'pg_ctl', 'stop', '-D', "$tempdir/data";
+
+done_testing();
diff --git a/src/bin/pg_ctl/t/002_status.pl b/src/bin/pg_ctl/t/002_status.pl
new file mode 100644
index 0000000..f5c50f6
--- /dev/null
+++ b/src/bin/pg_ctl/t/002_status.pl
@@ -0,0 +1,29 @@
+
+# Copyright (c) 2021-2023, PostgreSQL Global Development Group
+
+use strict;
+use warnings;
+
+use PostgreSQL::Test::Cluster;
+use PostgreSQL::Test::Utils;
+use Test::More;
+
+my $tempdir = PostgreSQL::Test::Utils::tempdir;
+
+command_exit_is([ 'pg_ctl', 'status', '-D', "$tempdir/nonexistent" ],
+ 4, 'pg_ctl status with nonexistent directory');
+
+my $node = PostgreSQL::Test::Cluster->new('main');
+$node->init;
+
+command_exit_is([ 'pg_ctl', 'status', '-D', $node->data_dir ],
+ 3, 'pg_ctl status with server not running');
+
+system_or_bail 'pg_ctl', '-l', "$tempdir/logfile", '-D',
+ $node->data_dir, '-w', 'start';
+command_exit_is([ 'pg_ctl', 'status', '-D', $node->data_dir ],
+ 0, 'pg_ctl status with server running');
+
+system_or_bail 'pg_ctl', 'stop', '-D', $node->data_dir;
+
+done_testing();
diff --git a/src/bin/pg_ctl/t/003_promote.pl b/src/bin/pg_ctl/t/003_promote.pl
new file mode 100644
index 0000000..0e83933
--- /dev/null
+++ b/src/bin/pg_ctl/t/003_promote.pl
@@ -0,0 +1,66 @@
+
+# Copyright (c) 2021-2023, PostgreSQL Global Development Group
+
+use strict;
+use warnings;
+
+use PostgreSQL::Test::Cluster;
+use PostgreSQL::Test::Utils;
+use Test::More;
+
+my $tempdir = PostgreSQL::Test::Utils::tempdir;
+
+command_fails_like(
+ [ 'pg_ctl', '-D', "$tempdir/nonexistent", 'promote' ],
+ qr/directory .* does not exist/,
+ 'pg_ctl promote with nonexistent directory');
+
+my $node_primary = PostgreSQL::Test::Cluster->new('primary');
+$node_primary->init(allows_streaming => 1);
+
+command_fails_like(
+ [ 'pg_ctl', '-D', $node_primary->data_dir, 'promote' ],
+ qr/PID file .* does not exist/,
+ 'pg_ctl promote of not running instance fails');
+
+$node_primary->start;
+
+command_fails_like(
+ [ 'pg_ctl', '-D', $node_primary->data_dir, 'promote' ],
+ qr/not in standby mode/,
+ 'pg_ctl promote of primary instance fails');
+
+my $node_standby = PostgreSQL::Test::Cluster->new('standby');
+$node_primary->backup('my_backup');
+$node_standby->init_from_backup($node_primary, 'my_backup',
+ has_streaming => 1);
+$node_standby->start;
+
+is($node_standby->safe_psql('postgres', 'SELECT pg_is_in_recovery()'),
+ 't', 'standby is in recovery');
+
+command_ok([ 'pg_ctl', '-D', $node_standby->data_dir, '-W', 'promote' ],
+ 'pg_ctl -W promote of standby runs');
+
+ok( $node_standby->poll_query_until(
+ 'postgres', 'SELECT NOT pg_is_in_recovery()'),
+ 'promoted standby is not in recovery');
+
+# same again with default wait option
+$node_standby = PostgreSQL::Test::Cluster->new('standby2');
+$node_standby->init_from_backup($node_primary, 'my_backup',
+ has_streaming => 1);
+$node_standby->start;
+
+is($node_standby->safe_psql('postgres', 'SELECT pg_is_in_recovery()'),
+ 't', 'standby is in recovery');
+
+command_ok([ 'pg_ctl', '-D', $node_standby->data_dir, 'promote' ],
+ 'pg_ctl promote of standby runs');
+
+# no wait here
+
+is($node_standby->safe_psql('postgres', 'SELECT pg_is_in_recovery()'),
+ 'f', 'promoted standby is not in recovery');
+
+done_testing();
diff --git a/src/bin/pg_ctl/t/004_logrotate.pl b/src/bin/pg_ctl/t/004_logrotate.pl
new file mode 100644
index 0000000..8d48e56
--- /dev/null
+++ b/src/bin/pg_ctl/t/004_logrotate.pl
@@ -0,0 +1,140 @@
+
+# Copyright (c) 2021-2023, PostgreSQL Global Development Group
+
+use strict;
+use warnings;
+
+use PostgreSQL::Test::Cluster;
+use PostgreSQL::Test::Utils;
+use Test::More;
+use Time::HiRes qw(usleep);
+
+# Extract the file name of a $format from the contents of
+# current_logfiles.
+sub fetch_file_name
+{
+ my $logfiles = shift;
+ my $format = shift;
+ my @lines = split(/\n/, $logfiles);
+ my $filename = undef;
+ foreach my $line (@lines)
+ {
+ if ($line =~ /$format (.*)$/gm)
+ {
+ $filename = $1;
+ }
+ }
+
+ return $filename;
+}
+
+# Check for a pattern in the logs associated to one format.
+sub check_log_pattern
+{
+ local $Test::Builder::Level = $Test::Builder::Level + 1;
+
+ my $format = shift;
+ my $logfiles = shift;
+ my $pattern = shift;
+ my $node = shift;
+ my $lfname = fetch_file_name($logfiles, $format);
+
+ my $max_attempts = 10 * $PostgreSQL::Test::Utils::timeout_default;
+
+ my $logcontents;
+ for (my $attempts = 0; $attempts < $max_attempts; $attempts++)
+ {
+ $logcontents = slurp_file($node->data_dir . '/' . $lfname);
+ last if $logcontents =~ m/$pattern/;
+ usleep(100_000);
+ }
+
+ like($logcontents, qr/$pattern/,
+ "found expected log file content for $format");
+
+ # While we're at it, test pg_current_logfile() function
+ is( $node->safe_psql('postgres', "SELECT pg_current_logfile('$format')"),
+ $lfname,
+ "pg_current_logfile() gives correct answer with $format");
+ return;
+}
+
+# Set up node with logging collector
+my $node = PostgreSQL::Test::Cluster->new('primary');
+$node->init();
+$node->append_conf(
+ 'postgresql.conf', qq(
+logging_collector = on
+log_destination = 'stderr, csvlog, jsonlog'
+# these ensure stability of test results:
+log_rotation_age = 0
+lc_messages = 'C'
+));
+
+$node->start();
+
+# Verify that log output gets to the file
+
+$node->psql('postgres', 'SELECT 1/0');
+
+# might need to retry if logging collector process is slow...
+my $max_attempts = 10 * $PostgreSQL::Test::Utils::timeout_default;
+
+my $current_logfiles;
+for (my $attempts = 0; $attempts < $max_attempts; $attempts++)
+{
+ eval {
+ $current_logfiles = slurp_file($node->data_dir . '/current_logfiles');
+ };
+ last unless $@;
+ usleep(100_000);
+}
+die $@ if $@;
+
+note "current_logfiles = $current_logfiles";
+
+like(
+ $current_logfiles,
+ qr|^stderr log/postgresql-.*log
+csvlog log/postgresql-.*csv
+jsonlog log/postgresql-.*json$|,
+ 'current_logfiles is sane');
+
+check_log_pattern('stderr', $current_logfiles, 'division by zero', $node);
+check_log_pattern('csvlog', $current_logfiles, 'division by zero', $node);
+check_log_pattern('jsonlog', $current_logfiles, 'division by zero', $node);
+
+# Sleep 2 seconds and ask for log rotation; this should result in
+# output into a different log file name.
+sleep(2);
+$node->logrotate();
+
+# pg_ctl logrotate doesn't wait for rotation request to be completed.
+# Allow a bit of time for it to happen.
+my $new_current_logfiles;
+for (my $attempts = 0; $attempts < $max_attempts; $attempts++)
+{
+ $new_current_logfiles = slurp_file($node->data_dir . '/current_logfiles');
+ last if $new_current_logfiles ne $current_logfiles;
+ usleep(100_000);
+}
+
+note "now current_logfiles = $new_current_logfiles";
+
+like(
+ $new_current_logfiles,
+ qr|^stderr log/postgresql-.*log
+csvlog log/postgresql-.*csv
+jsonlog log/postgresql-.*json$|,
+ 'new current_logfiles is sane');
+
+# Verify that log output gets to this file, too
+$node->psql('postgres', 'fee fi fo fum');
+
+check_log_pattern('stderr', $new_current_logfiles, 'syntax error', $node);
+check_log_pattern('csvlog', $new_current_logfiles, 'syntax error', $node);
+check_log_pattern('jsonlog', $new_current_logfiles, 'syntax error', $node);
+
+$node->stop();
+
+done_testing();