From e2c86541d4f9f8d01c0f407ec4d8f5aec35e080f Mon Sep 17 00:00:00 2001 From: Justin Pryzby Date: Mon, 26 Oct 2020 16:45:39 -0500 Subject: [PATCH v1 2/2] Retire pg_archivecleanup --- doc/src/sgml/config.sgml | 4 - doc/src/sgml/high-availability.sgml | 12 - doc/src/sgml/ref/allfiles.sgml | 1 - doc/src/sgml/ref/pgarchivecleanup.sgml | 215 ---------- doc/src/sgml/reference.sgml | 1 - src/bin/Makefile | 1 - src/bin/pg_archivecleanup/.gitignore | 3 - src/bin/pg_archivecleanup/Makefile | 36 -- src/bin/pg_archivecleanup/nls.mk | 6 - src/bin/pg_archivecleanup/pg_archivecleanup.c | 378 ------------------ src/bin/pg_archivecleanup/po/cs.po | 189 --------- src/bin/pg_archivecleanup/po/de.po | 178 --------- src/bin/pg_archivecleanup/po/es.po | 185 --------- src/bin/pg_archivecleanup/po/fr.po | 201 ---------- src/bin/pg_archivecleanup/po/ja.po | 212 ---------- src/bin/pg_archivecleanup/po/ko.po | 179 --------- src/bin/pg_archivecleanup/po/pl.po | 178 --------- src/bin/pg_archivecleanup/po/ru.po | 192 --------- src/bin/pg_archivecleanup/po/sv.po | 179 --------- src/bin/pg_archivecleanup/po/tr.po | 185 --------- src/bin/pg_archivecleanup/po/uk.po | 161 -------- src/bin/pg_archivecleanup/po/vi.po | 183 --------- src/bin/pg_archivecleanup/po/zh_CN.po | 174 -------- .../t/010_pg_archivecleanup.pl | 98 ----- src/tools/msvc/Mkvcbuild.pm | 4 +- 25 files changed, 2 insertions(+), 3153 deletions(-) delete mode 100644 doc/src/sgml/ref/pgarchivecleanup.sgml delete mode 100644 src/bin/pg_archivecleanup/.gitignore delete mode 100644 src/bin/pg_archivecleanup/Makefile delete mode 100644 src/bin/pg_archivecleanup/nls.mk delete mode 100644 src/bin/pg_archivecleanup/pg_archivecleanup.c delete mode 100644 src/bin/pg_archivecleanup/po/cs.po delete mode 100644 src/bin/pg_archivecleanup/po/de.po delete mode 100644 src/bin/pg_archivecleanup/po/es.po delete mode 100644 src/bin/pg_archivecleanup/po/fr.po delete mode 100644 src/bin/pg_archivecleanup/po/ja.po delete mode 100644 src/bin/pg_archivecleanup/po/ko.po delete mode 100644 src/bin/pg_archivecleanup/po/pl.po delete mode 100644 src/bin/pg_archivecleanup/po/ru.po delete mode 100644 src/bin/pg_archivecleanup/po/sv.po delete mode 100644 src/bin/pg_archivecleanup/po/tr.po delete mode 100644 src/bin/pg_archivecleanup/po/uk.po delete mode 100644 src/bin/pg_archivecleanup/po/vi.po delete mode 100644 src/bin/pg_archivecleanup/po/zh_CN.po delete mode 100644 src/bin/pg_archivecleanup/t/010_pg_archivecleanup.pl diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 1b6f3a6456..d89b977ff2 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -3567,10 +3567,6 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows may be safely removed. This information can be used to truncate the archive to just the minimum required to support restart from the current restore. - The module - is often used in archive_cleanup_command for - single-standby configurations, for example: -archive_cleanup_command = 'pg_archivecleanup /mnt/server/archivedir %r' Note however that if multiple standby servers are restoring from the same archive directory, you will need to ensure that you do not delete WAL files until they are no longer needed by any of the servers. diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml index 6425d8b15d..b2ca63d370 100644 --- a/doc/src/sgml/high-availability.sgml +++ b/doc/src/sgml/high-availability.sgml @@ -726,23 +726,11 @@ protocol to make nodes agree on a serializable transactional order. If you're using a WAL archive, its size can be minimized using the parameter to remove files that are no longer required by the standby server. - The pg_archivecleanup utility is designed specifically to - be used with archive_cleanup_command in typical single-standby - configurations, see . Note however, that if you're using the archive for backup purposes, you need to retain files needed to recover from at least the latest base backup, even if they're no longer needed by the standby. - - A simple example of configuration is: - -primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass options=''-c wal_sender_timeout=5000''' -restore_command = 'cp /path/to/archive/%f %p' -archive_cleanup_command = 'pg_archivecleanup /path/to/archive %r' - - - You can have any number of standby servers, but if you use streaming replication, make sure you set max_wal_senders high enough in diff --git a/doc/src/sgml/ref/allfiles.sgml b/doc/src/sgml/ref/allfiles.sgml index 0f0064150c..9729cc3f92 100644 --- a/doc/src/sgml/ref/allfiles.sgml +++ b/doc/src/sgml/ref/allfiles.sgml @@ -196,7 +196,6 @@ Complete list of usable sgml source files in this directory. - diff --git a/doc/src/sgml/ref/pgarchivecleanup.sgml b/doc/src/sgml/ref/pgarchivecleanup.sgml deleted file mode 100644 index 56f02fc0e6..0000000000 --- a/doc/src/sgml/ref/pgarchivecleanup.sgml +++ /dev/null @@ -1,215 +0,0 @@ - - - - - pg_archivecleanup - - - - pg_archivecleanup - 1 - Application - - - - pg_archivecleanup - clean up PostgreSQL WAL archive files - - - - - pg_archivecleanup - option - archivelocation - oldestkeptwalfile - - - - - Description - - - pg_archivecleanup is designed to be used as an - archive_cleanup_command to clean up WAL file archives when - running as a standby server (see ). - pg_archivecleanup can also be used as a standalone program to - clean WAL file archives. - - - - To configure a standby - server to use pg_archivecleanup, put this into its - postgresql.conf configuration file: - -archive_cleanup_command = 'pg_archivecleanup archivelocation %r' - - where archivelocation is the directory from which WAL segment - files should be removed. - - - When used within , all WAL files - logically preceding the value of the %r argument will be removed - from archivelocation. This minimizes the number of files - that need to be retained, while preserving crash-restart capability. Use of - this parameter is appropriate if the archivelocation is a - transient staging area for this particular standby server, but - not when the archivelocation is intended as a - long-term WAL archive area, or when multiple standby servers are recovering - from the same archive location. - - - When used as a standalone program all WAL files logically preceding the - oldestkeptwalfile will be removed from archivelocation. - In this mode, if you specify a .partial or .backup - file name, then only the file prefix will be used as the - oldestkeptwalfile. This treatment of .backup - file name allows you to remove - all WAL files archived prior to a specific base backup without error. - For example, the following example will remove all files older than - WAL file name 000000010000003700000010: - -pg_archivecleanup -d archive 000000010000003700000010.00000020.backup - -pg_archivecleanup: keep WAL file "archive/000000010000003700000010" and later -pg_archivecleanup: removing file "archive/00000001000000370000000F" -pg_archivecleanup: removing file "archive/00000001000000370000000E" - - - - pg_archivecleanup assumes that - archivelocation is a directory readable and writable by the - server-owning user. - - - - - Options - - - pg_archivecleanup accepts the following command-line arguments: - - - - - - - - Print lots of debug logging output on stderr. - - - - - - - - - Print the names of the files that would have been removed on stdout (performs a dry run). - - - - - - - - - - Print the pg_archivecleanup version and exit. - - - - - - extension - - - Provide an extension - that will be stripped from all file names before deciding if they - should be deleted. This is typically useful for cleaning up archives - that have been compressed during storage, and therefore have had an - extension added by the compression program. For example: -x - .gz. - - - - - - - - - - - Show help about pg_archivecleanup command line - arguments, and exit. - - - - - - - - - Environment - - - The environment variable PG_COLOR specifies whether to use - color in diagnostic messages. Possible values are - always, auto and - never. - - - - - - Notes - - - pg_archivecleanup is designed to work with - PostgreSQL 8.0 and later when used as a standalone utility, - or with PostgreSQL 9.0 and later when used as an - archive cleanup command. - - - - pg_archivecleanup is written in C and has an - easy-to-modify source code, with specifically designated sections to modify - for your own needs - - - - - Examples - - On Linux or Unix systems, you might use: - -archive_cleanup_command = 'pg_archivecleanup -d /mnt/standby/archive %r 2>>cleanup.log' - - where the archive directory is physically located on the standby server, - so that the archive_command is accessing it across NFS, - but the files are local to the standby. - This will: - - - - - produce debugging output in cleanup.log - - - - - remove no-longer-needed files from the archive directory - - - - - - - See Also - - - - - - diff --git a/doc/src/sgml/reference.sgml b/doc/src/sgml/reference.sgml index dd2bddab8c..5a8690efcb 100644 --- a/doc/src/sgml/reference.sgml +++ b/doc/src/sgml/reference.sgml @@ -276,7 +276,6 @@ &initdb; - &pgarchivecleanup; &pgChecksums; &pgControldata; &pgCtl; diff --git a/src/bin/Makefile b/src/bin/Makefile index 8b870357a1..19fb434e50 100644 --- a/src/bin/Makefile +++ b/src/bin/Makefile @@ -15,7 +15,6 @@ include $(top_builddir)/src/Makefile.global SUBDIRS = \ initdb \ - pg_archivecleanup \ pg_basebackup \ pg_checksums \ pg_config \ diff --git a/src/bin/pg_archivecleanup/.gitignore b/src/bin/pg_archivecleanup/.gitignore deleted file mode 100644 index bd05d00156..0000000000 --- a/src/bin/pg_archivecleanup/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/pg_archivecleanup - -/tmp_check/ diff --git a/src/bin/pg_archivecleanup/Makefile b/src/bin/pg_archivecleanup/Makefile deleted file mode 100644 index 49935d6dce..0000000000 --- a/src/bin/pg_archivecleanup/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -# src/bin/pg_archivecleanup/Makefile - -PGFILEDESC = "pg_archivecleanup - cleans archive when used with streaming replication" -PGAPPICON = win32 - -subdir = src/bin/pg_archivecleanup -top_builddir = ../../.. -include $(top_builddir)/src/Makefile.global - -OBJS = \ - $(WIN32RES) \ - pg_archivecleanup.o - -all: pg_archivecleanup - -pg_archivecleanup: $(OBJS) | submake-libpgport - $(CC) $(CFLAGS) $^ $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X) - -install: all installdirs - $(INSTALL_PROGRAM) pg_archivecleanup$(X) '$(DESTDIR)$(bindir)/pg_archivecleanup$(X)' - -installdirs: - $(MKDIR_P) '$(DESTDIR)$(bindir)' - -uninstall: - rm -f '$(DESTDIR)$(bindir)/pg_archivecleanup$(X)' - -clean distclean maintainer-clean: - rm -f pg_archivecleanup$(X) $(OBJS) - rm -rf tmp_check - -check: - $(prove_check) - -installcheck: - $(prove_installcheck) diff --git a/src/bin/pg_archivecleanup/nls.mk b/src/bin/pg_archivecleanup/nls.mk deleted file mode 100644 index 20a09c8d78..0000000000 --- a/src/bin/pg_archivecleanup/nls.mk +++ /dev/null @@ -1,6 +0,0 @@ -# src/bin/pg_archivecleanup/nls.mk -CATALOG_NAME = pg_archivecleanup -AVAIL_LANGUAGES = cs de es fr ja ko pl ru sv tr uk vi zh_CN -GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) pg_archivecleanup.c -GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS) -GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS) diff --git a/src/bin/pg_archivecleanup/pg_archivecleanup.c b/src/bin/pg_archivecleanup/pg_archivecleanup.c deleted file mode 100644 index 12338e3bb2..0000000000 --- a/src/bin/pg_archivecleanup/pg_archivecleanup.c +++ /dev/null @@ -1,378 +0,0 @@ -/* - * pg_archivecleanup.c - * - * To be used as archive_cleanup_command to clean an archive when using - * standby mode. - * - * src/bin/pg_archivecleanup/pg_archivecleanup.c - */ -#include "postgres_fe.h" - -#include -#include -#include -#include -#include -#include - -#include "access/xlog_internal.h" -#include "common/logging.h" -#include "pg_getopt.h" - -const char *progname; - -/* Options and defaults */ -bool dryrun = false; /* are we performing a dry-run operation? */ -char *additional_ext = NULL; /* Extension to remove from filenames */ - -char *archiveLocation; /* where to find the archive? */ -char *restartWALFileName; /* the file from which we can restart restore */ -char exclusiveCleanupFileName[MAXFNAMELEN]; /* the oldest file we want - * to remain in archive */ - - -/* ===================================================================== - * - * Customizable section - * - * ===================================================================== - * - * Currently, this section assumes that the Archive is a locally - * accessible directory. If you want to make other assumptions, - * such as using a vendor-specific archive and access API, these - * routines are the ones you'll need to change. You're - * encouraged to submit any changes to pgsql-hackers@lists.postgresql.org - * or personally to the current maintainer. Those changes may be - * folded in to later versions of this program. - */ - -/* - * Initialize allows customized commands into the archive cleanup program. - * - * You may wish to add code to check for tape libraries, etc.. - */ -static void -Initialize(void) -{ - /* - * This code assumes that archiveLocation is a directory, so we use stat - * to test if it's accessible. - */ - struct stat stat_buf; - - if (stat(archiveLocation, &stat_buf) != 0 || - !S_ISDIR(stat_buf.st_mode)) - { - pg_log_error("archive location \"%s\" does not exist", - archiveLocation); - exit(2); - } -} - -static void -TrimExtension(char *filename, char *extension) -{ - int flen; - int elen; - - if (extension == NULL) - return; - - elen = strlen(extension); - flen = strlen(filename); - - if (flen > elen && strcmp(filename + flen - elen, extension) == 0) - filename[flen - elen] = '\0'; -} - -static void -CleanupPriorWALFiles(void) -{ - int rc; - DIR *xldir; - struct dirent *xlde; - char walfile[MAXPGPATH]; - - if ((xldir = opendir(archiveLocation)) != NULL) - { - while (errno = 0, (xlde = readdir(xldir)) != NULL) - { - /* - * Truncation is essentially harmless, because we skip names of - * length other than XLOG_FNAME_LEN. (In principle, one could use - * a 1000-character additional_ext and get trouble.) - */ - strlcpy(walfile, xlde->d_name, MAXPGPATH); - TrimExtension(walfile, additional_ext); - - /* - * We ignore the timeline part of the XLOG segment identifiers in - * deciding whether a segment is still needed. This ensures that - * we won't prematurely remove a segment from a parent timeline. - * We could probably be a little more proactive about removing - * segments of non-parent timelines, but that would be a whole lot - * more complicated. - * - * We use the alphanumeric sorting property of the filenames to - * decide which ones are earlier than the exclusiveCleanupFileName - * file. Note that this means files are not removed in the order - * they were originally written, in case this worries you. - */ - if ((IsXLogFileName(walfile) || IsPartialXLogFileName(walfile)) && - strcmp(walfile + 8, exclusiveCleanupFileName + 8) < 0) - { - char WALFilePath[MAXPGPATH * 2]; /* the file path - * including archive */ - - /* - * Use the original file name again now, including any - * extension that might have been chopped off before testing - * the sequence. - */ - snprintf(WALFilePath, sizeof(WALFilePath), "%s/%s", - archiveLocation, xlde->d_name); - - if (dryrun) - { - /* - * Prints the name of the file to be removed and skips the - * actual removal. The regular printout is so that the - * user can pipe the output into some other program. - */ - printf("%s\n", WALFilePath); - pg_log_debug("file \"%s\" would be removed", WALFilePath); - continue; - } - - pg_log_debug("removing file \"%s\"", WALFilePath); - - rc = unlink(WALFilePath); - if (rc != 0) - { - pg_log_error("could not remove file \"%s\": %m", - WALFilePath); - break; - } - } - } - - if (errno) - pg_log_error("could not read archive location \"%s\": %m", - archiveLocation); - if (closedir(xldir)) - pg_log_error("could not close archive location \"%s\": %m", - archiveLocation); - } - else - pg_log_error("could not open archive location \"%s\": %m", - archiveLocation); -} - -/* - * SetWALFileNameForCleanup() - * - * Set the earliest WAL filename that we want to keep on the archive - * and decide whether we need cleanup - */ -static void -SetWALFileNameForCleanup(void) -{ - bool fnameOK = false; - - TrimExtension(restartWALFileName, additional_ext); - - /* - * If restartWALFileName is a WAL file name then just use it directly. If - * restartWALFileName is a .partial or .backup filename, make sure we use - * the prefix of the filename, otherwise we will remove wrong files since - * 000000010000000000000010.partial and - * 000000010000000000000010.00000020.backup are after - * 000000010000000000000010. - */ - if (IsXLogFileName(restartWALFileName)) - { - strcpy(exclusiveCleanupFileName, restartWALFileName); - fnameOK = true; - } - else if (IsPartialXLogFileName(restartWALFileName)) - { - int args; - uint32 tli = 1, - log = 0, - seg = 0; - - args = sscanf(restartWALFileName, "%08X%08X%08X.partial", - &tli, &log, &seg); - if (args == 3) - { - fnameOK = true; - - /* - * Use just the prefix of the filename, ignore everything after - * first period - */ - XLogFileNameById(exclusiveCleanupFileName, tli, log, seg); - } - } - else if (IsBackupHistoryFileName(restartWALFileName)) - { - int args; - uint32 tli = 1, - log = 0, - seg = 0, - offset = 0; - - args = sscanf(restartWALFileName, "%08X%08X%08X.%08X.backup", &tli, &log, &seg, &offset); - if (args == 4) - { - fnameOK = true; - - /* - * Use just the prefix of the filename, ignore everything after - * first period - */ - XLogFileNameById(exclusiveCleanupFileName, tli, log, seg); - } - } - - if (!fnameOK) - { - pg_log_error("invalid file name argument"); - fprintf(stderr, _("Try \"%s --help\" for more information.\n"), progname); - exit(2); - } -} - -/* ===================================================================== - * End of Customizable section - * ===================================================================== - */ - -static void -usage(void) -{ - printf(_("%s removes older WAL files from PostgreSQL archives.\n\n"), progname); - printf(_("Usage:\n")); - printf(_(" %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n"), progname); - printf(_("\nOptions:\n")); - printf(_(" -d generate debug output (verbose mode)\n")); - printf(_(" -n dry run, show the names of the files that would be removed\n")); - printf(_(" -V, --version output version information, then exit\n")); - printf(_(" -x EXT clean up files if they have this extension\n")); - printf(_(" -?, --help show this help, then exit\n")); - printf(_("\n" - "For use as archive_cleanup_command in postgresql.conf:\n" - " archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION %%r'\n" - "e.g.\n" - " archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n")); - printf(_("\n" - "Or for use as a standalone archive cleaner:\n" - "e.g.\n" - " pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n")); - printf(_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); - printf(_("%s home page: <%s>\n"), PACKAGE_NAME, PACKAGE_URL); -} - -/*------------ MAIN ----------------------------------------*/ -int -main(int argc, char **argv) -{ - int c; - - pg_logging_init(argv[0]); - set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_archivecleanup")); - progname = get_progname(argv[0]); - - if (argc > 1) - { - if (strcmp(argv[1], "--help") == 0 || strcmp(argv[1], "-?") == 0) - { - usage(); - exit(0); - } - if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0) - { - puts("pg_archivecleanup (PostgreSQL) " PG_VERSION); - exit(0); - } - } - - while ((c = getopt(argc, argv, "x:dn")) != -1) - { - switch (c) - { - case 'd': /* Debug mode */ - pg_logging_increase_verbosity(); - break; - case 'n': /* Dry-Run mode */ - dryrun = true; - break; - case 'x': - additional_ext = pg_strdup(optarg); /* Extension to remove - * from xlogfile names */ - break; - default: - fprintf(stderr, _("Try \"%s --help\" for more information.\n"), progname); - exit(2); - break; - } - } - - /* - * We will go to the archiveLocation to check restartWALFileName. - * restartWALFileName may not exist anymore, which would not be an error, - * so we separate the archiveLocation and restartWALFileName so we can - * check separately whether archiveLocation exists, if not that is an - * error - */ - if (optind < argc) - { - archiveLocation = argv[optind]; - optind++; - } - else - { - pg_log_error("must specify archive location"); - fprintf(stderr, _("Try \"%s --help\" for more information.\n"), progname); - exit(2); - } - - if (optind < argc) - { - restartWALFileName = argv[optind]; - optind++; - } - else - { - pg_log_error("must specify oldest kept WAL file"); - fprintf(stderr, _("Try \"%s --help\" for more information.\n"), progname); - exit(2); - } - - if (optind < argc) - { - pg_log_error("too many command-line arguments"); - fprintf(stderr, _("Try \"%s --help\" for more information.\n"), progname); - exit(2); - } - - /* - * Check archive exists and other initialization if required. - */ - Initialize(); - - /* - * Check filename is a valid name, then process to find cut-off - */ - SetWALFileNameForCleanup(); - - pg_log_debug("keeping WAL file \"%s/%s\" and later", - archiveLocation, exclusiveCleanupFileName); - - /* - * Remove WAL files older than cut-off - */ - CleanupPriorWALFiles(); - - exit(0); -} diff --git a/src/bin/pg_archivecleanup/po/cs.po b/src/bin/pg_archivecleanup/po/cs.po deleted file mode 100644 index c7f87a76a8..0000000000 --- a/src/bin/pg_archivecleanup/po/cs.po +++ /dev/null @@ -1,189 +0,0 @@ -# LANGUAGE message translation file for pg_archivecleanup -# Copyright (C) 2018 PostgreSQL Global Development Group -# This file is distributed under the same license as the pg_archivecleanup (PostgreSQL) package. -# FIRST AUTHOR , 2018. -# -msgid "" -msgstr "" -"Project-Id-Version: pg_archivecleanup (PostgreSQL) 11\n" -"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" -"POT-Creation-Date: 2019-09-27 08:15+0000\n" -"PO-Revision-Date: 2019-09-28 11:28+0200\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: cs\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.2.3\n" - -#: ../../../src/common/logging.c:188 -#, c-format -#| msgid "fatal\n" -msgid "fatal: " -msgstr "fatal: " - -#: ../../../src/common/logging.c:195 -#, c-format -#| msgid "SQL error: %s\n" -msgid "error: " -msgstr "error: " - -#: ../../../src/common/logging.c:202 -#, c-format -#| msgid "warning" -msgid "warning: " -msgstr "warning: " - -#: pg_archivecleanup.c:68 -#, c-format -msgid "archive location \"%s\" does not exist" -msgstr "archivní lokace \"%s\" neexistuje" - -#: pg_archivecleanup.c:154 -#, c-format -msgid "could not remove file \"%s\": %m" -msgstr "nelze odstranit soubor \"%s\": %m" - -#: pg_archivecleanup.c:162 -#, c-format -msgid "could not read archive location \"%s\": %m" -msgstr "nelze načíst archivní lokaci \"%s\": %m" - -#: pg_archivecleanup.c:165 -#, c-format -msgid "could not close archive location \"%s\": %m" -msgstr "nelze uzavřít archivní lokaci \"%s\": %m" - -#: pg_archivecleanup.c:169 -#, c-format -msgid "could not open archive location \"%s\": %m" -msgstr "nelze otevřít archivní lokaci \"%s\": %m" - -#: pg_archivecleanup.c:242 -#, c-format -msgid "invalid file name argument" -msgstr "chybný argument jména souboru" - -#: pg_archivecleanup.c:243 pg_archivecleanup.c:316 pg_archivecleanup.c:337 -#: pg_archivecleanup.c:349 pg_archivecleanup.c:356 -#, c-format -msgid "Try \"%s --help\" for more information.\n" -msgstr "Zkuste \"%s --help\" pro více informací.\n" - -#: pg_archivecleanup.c:256 -#, c-format -msgid "" -"%s removes older WAL files from PostgreSQL archives.\n" -"\n" -msgstr "" -"%s odstraní starší WAL soubory z PostgreSQL archivů.\n" -"\n" - -#: pg_archivecleanup.c:257 -#, c-format -msgid "Usage:\n" -msgstr "Použití:\n" - -#: pg_archivecleanup.c:258 -#, c-format -msgid " %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n" -msgstr " %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n" - -#: pg_archivecleanup.c:259 -#, c-format -msgid "" -"\n" -"Options:\n" -msgstr "" -"\n" -"Přepínače:\n" - -#: pg_archivecleanup.c:260 -#, c-format -msgid " -d generate debug output (verbose mode)\n" -msgstr " -d vygeneruje debug výstup (více informací)\n" - -#: pg_archivecleanup.c:261 -#, c-format -msgid " -n dry run, show the names of the files that would be removed\n" -msgstr " -n zkušební běh, ukazuje jména souborů které by byly odstraněny\n" - -#: pg_archivecleanup.c:262 -#, c-format -msgid " -V, --version output version information, then exit\n" -msgstr " -V, --version vypíše informaci o verzi, pak skončí\n" - -#: pg_archivecleanup.c:263 -#, c-format -msgid " -x EXT clean up files if they have this extension\n" -msgstr " -x EXT vyčistí soubory pokud mají tuto příponu\n" - -#: pg_archivecleanup.c:264 -#, c-format -msgid " -?, --help show this help, then exit\n" -msgstr " -?, --help ukáže tuto nápovědu, a skončí\n" - -#: pg_archivecleanup.c:265 -#, c-format -msgid "" -"\n" -"For use as archive_cleanup_command in postgresql.conf:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION %%r'\n" -"e.g.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" -msgstr "" -"\n" -"Pro použití jako archive_cleanup_command v recovery.conf pokud standby_mode = on:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION %%r'\n" -"e.g.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" - -#: pg_archivecleanup.c:270 -#, c-format -msgid "" -"\n" -"Or for use as a standalone archive cleaner:\n" -"e.g.\n" -" pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n" -msgstr "" -"\n" -"Nebo jako samostatný čistič archivu:\n" -"e.g.\n" -" pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n" - -#: pg_archivecleanup.c:274 -#, c-format -msgid "" -"\n" -"Report bugs to .\n" -msgstr "" -"\n" -"Chyby hlaste na adresu .\n" - -#: pg_archivecleanup.c:336 -#, c-format -msgid "must specify archive location" -msgstr "nutno zadat archivní lokaci" - -#: pg_archivecleanup.c:348 -#, c-format -msgid "must specify oldest kept WAL file" -msgstr "nutno zadat nejstarčí uchovávaný WAL soubor" - -#: pg_archivecleanup.c:355 -#, c-format -msgid "too many command-line arguments" -msgstr "příliš mnoho argumentů na příkazové řádce" - -#~ msgid "%s: keeping WAL file \"%s\" and later\n" -#~ msgstr "%s: uchovávám WAL soubor \"%s\" a novější\n" - -#~ msgid "%s: ERROR: could not remove file \"%s\": %s\n" -#~ msgstr "%s: ERROR: nelze odstranit soubor \"%s\": %s\n" - -#~ msgid "%s: removing file \"%s\"\n" -#~ msgstr "%s: odstraňuji soubor \"%s\"\n" - -#~ msgid "%s: file \"%s\" would be removed\n" -#~ msgstr "%s: soubor \"%s\" by byl odstraněn\n" diff --git a/src/bin/pg_archivecleanup/po/de.po b/src/bin/pg_archivecleanup/po/de.po deleted file mode 100644 index 7f1664b09d..0000000000 --- a/src/bin/pg_archivecleanup/po/de.po +++ /dev/null @@ -1,178 +0,0 @@ -# pg_archivecleanup message translation file for pg_archivecleanup -# Copyright (C) 2019-2020 PostgreSQL Global Development Group -# This file is distributed under the same license as the PostgreSQL package. -# Peter Eisentraut , 2019 - 2020. -# -msgid "" -msgstr "" -"Project-Id-Version: pg_archivecleanup (PostgreSQL) 13\n" -"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" -"POT-Creation-Date: 2020-04-09 10:17+0000\n" -"PO-Revision-Date: 2020-04-09 15:15+0200\n" -"Last-Translator: Peter Eisentraut \n" -"Language-Team: German \n" -"Language: de\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../../src/common/logging.c:236 -#, c-format -msgid "fatal: " -msgstr "Fatal: " - -#: ../../../src/common/logging.c:243 -#, c-format -msgid "error: " -msgstr "Fehler: " - -#: ../../../src/common/logging.c:250 -#, c-format -msgid "warning: " -msgstr "Warnung: " - -#: pg_archivecleanup.c:66 -#, c-format -msgid "archive location \"%s\" does not exist" -msgstr "Archivverzeichnis »%s« existiert nicht" - -#: pg_archivecleanup.c:152 -#, c-format -msgid "could not remove file \"%s\": %m" -msgstr "konnte Datei »%s« nicht löschen: %m" - -#: pg_archivecleanup.c:160 -#, c-format -msgid "could not read archive location \"%s\": %m" -msgstr "konnte Archivverzeichnis »%s« nicht lesen: %m" - -#: pg_archivecleanup.c:163 -#, c-format -msgid "could not close archive location \"%s\": %m" -msgstr "konnte Archivverzeichnis »%s« nicht schließen: %m" - -#: pg_archivecleanup.c:167 -#, c-format -msgid "could not open archive location \"%s\": %m" -msgstr "konnte Archivverzeichnis »%s« nicht öffnen: %m" - -#: pg_archivecleanup.c:240 -#, c-format -msgid "invalid file name argument" -msgstr "ungültiges Dateinamenargument" - -#: pg_archivecleanup.c:241 pg_archivecleanup.c:315 pg_archivecleanup.c:336 -#: pg_archivecleanup.c:348 pg_archivecleanup.c:355 -#, c-format -msgid "Try \"%s --help\" for more information.\n" -msgstr "Versuchen Sie »%s --help« für weitere Informationen.\n" - -#: pg_archivecleanup.c:254 -#, c-format -msgid "" -"%s removes older WAL files from PostgreSQL archives.\n" -"\n" -msgstr "" -"%s entfernt alte WAL-Dateien aus PostgreSQL-Archiven.\n" -"\n" - -#: pg_archivecleanup.c:255 -#, c-format -msgid "Usage:\n" -msgstr "Aufruf:\n" - -#: pg_archivecleanup.c:256 -#, c-format -msgid " %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n" -msgstr " %s [OPTION]... ARCHIVVERZEICHNIS ÄLTESTE-ZU-BEHALTENE-WALDATEI\n" - -#: pg_archivecleanup.c:257 -#, c-format -msgid "" -"\n" -"Options:\n" -msgstr "" -"\n" -"Optionen:\n" - -#: pg_archivecleanup.c:258 -#, c-format -msgid " -d generate debug output (verbose mode)\n" -msgstr " -d Debug-Ausgaben erzeugen (Verbose-Modus)\n" - -#: pg_archivecleanup.c:259 -#, c-format -msgid " -n dry run, show the names of the files that would be removed\n" -msgstr " -n Probelauf, Namen der Dateien anzeigen, die entfernt würden\n" - -#: pg_archivecleanup.c:260 -#, c-format -msgid " -V, --version output version information, then exit\n" -msgstr " -V, --version Versionsinformationen anzeigen, dann beenden\n" - -#: pg_archivecleanup.c:261 -#, c-format -msgid " -x EXT clean up files if they have this extension\n" -msgstr " -x ERW Dateien mit dieser Erweiterung aufräumen\n" - -#: pg_archivecleanup.c:262 -#, c-format -msgid " -?, --help show this help, then exit\n" -msgstr " -?, --help diese Hilfe anzeigen, dann beenden\n" - -#: pg_archivecleanup.c:263 -#, c-format -msgid "" -"\n" -"For use as archive_cleanup_command in postgresql.conf:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION %%r'\n" -"e.g.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" -msgstr "" -"\n" -"Verwendung als archive_cleanup_command in postgresql.conf:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVVERZ %%r'\n" -"z.B.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiv %%r'\n" - -#: pg_archivecleanup.c:268 -#, c-format -msgid "" -"\n" -"Or for use as a standalone archive cleaner:\n" -"e.g.\n" -" pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n" -msgstr "" -"\n" -"Oder alleinstehende Verwendung zum Aufräumen eines Archivs:\n" -"z.B.\n" -" pg_archivecleanup /mnt/server/archiv 000000010000000000000010.00000020.backup\n" - -#: pg_archivecleanup.c:272 -#, c-format -msgid "" -"\n" -"Report bugs to <%s>.\n" -msgstr "" -"\n" -"Berichten Sie Fehler an <%s>.\n" - -#: pg_archivecleanup.c:273 -#, c-format -msgid "%s home page: <%s>\n" -msgstr "%s Homepage: <%s>\n" - -#: pg_archivecleanup.c:335 -#, c-format -msgid "must specify archive location" -msgstr "Archivverzeichnis muss angegeben werden" - -#: pg_archivecleanup.c:347 -#, c-format -msgid "must specify oldest kept WAL file" -msgstr "älteste zu behaltene WAL-Datei muss angegeben werden" - -#: pg_archivecleanup.c:354 -#, c-format -msgid "too many command-line arguments" -msgstr "zu viele Kommandozeilenargumente" diff --git a/src/bin/pg_archivecleanup/po/es.po b/src/bin/pg_archivecleanup/po/es.po deleted file mode 100644 index f0350a1385..0000000000 --- a/src/bin/pg_archivecleanup/po/es.po +++ /dev/null @@ -1,185 +0,0 @@ -# Spanish message translation file for pg_archivecleanup -# Copyright (c) 2017-2019, PostgreSQL Global Development Group -# This file is distributed under the same license as the PostgreSQL package. -# -# Carlos Chapi , 2017. -# -msgid "" -msgstr "" -"Project-Id-Version: pg_archivecleanup (PostgreSQL) 12\n" -"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" -"POT-Creation-Date: 2020-05-17 02:47+0000\n" -"PO-Revision-Date: 2019-06-06 17:21-0400\n" -"Last-Translator: Carlos Chapi \n" -"Language-Team: PgSQL-es-Ayuda \n" -"Language: es\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: BlackCAT 1.0\n" - -#: ../../../src/common/logging.c:236 -#, c-format -msgid "fatal: " -msgstr "fatal: " - -#: ../../../src/common/logging.c:243 -#, c-format -msgid "error: " -msgstr "error: " - -#: ../../../src/common/logging.c:250 -#, c-format -msgid "warning: " -msgstr "precaución: " - -#: pg_archivecleanup.c:66 -#, c-format -msgid "archive location \"%s\" does not exist" -msgstr "ubicación de archivador «%s» no existe" - -#: pg_archivecleanup.c:152 -#, c-format -msgid "could not remove file \"%s\": %m" -msgstr "no se pudo eliminar el archivo «%s»: %m" - -#: pg_archivecleanup.c:160 -#, c-format -msgid "could not read archive location \"%s\": %m" -msgstr "no se pudo leer la ubicación del archivador «%s»: %m" - -#: pg_archivecleanup.c:163 -#, c-format -msgid "could not close archive location \"%s\": %m" -msgstr "no se pudo cerrar la ubicación del archivador «%s»: %m" - -#: pg_archivecleanup.c:167 -#, c-format -msgid "could not open archive location \"%s\": %m" -msgstr "no se pudo abrir la ubicación del archivador «%s»: %m" - -#: pg_archivecleanup.c:240 -#, c-format -msgid "invalid file name argument" -msgstr "el nombre de archivo usado como argumento no es válido" - -#: pg_archivecleanup.c:241 pg_archivecleanup.c:315 pg_archivecleanup.c:336 -#: pg_archivecleanup.c:348 pg_archivecleanup.c:355 -#, c-format -msgid "Try \"%s --help\" for more information.\n" -msgstr "Pruebe «%s --help» para mayor información.\n" - -#: pg_archivecleanup.c:254 -#, c-format -msgid "" -"%s removes older WAL files from PostgreSQL archives.\n" -"\n" -msgstr "" -"%s elimina archivos de WAL antiguos del archivador de PostgreSQL.\n" -"\n" - -#: pg_archivecleanup.c:255 -#, c-format -msgid "Usage:\n" -msgstr "Empleo:\n" - -#: pg_archivecleanup.c:256 -#, c-format -msgid " %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n" -msgstr " %s [OPCIÓN].... UBICACIÓNARCHIVADOR WALMÁSANTIGUOAMANTENER\n" - -#: pg_archivecleanup.c:257 -#, c-format -msgid "" -"\n" -"Options:\n" -msgstr "" -"\n" -"Opciones:\n" - -#: pg_archivecleanup.c:258 -#, c-format -msgid " -d generate debug output (verbose mode)\n" -msgstr " -d genera salida de depuración (modo verboso)\n" - -#: pg_archivecleanup.c:259 -#, c-format -msgid " -n dry run, show the names of the files that would be removed\n" -msgstr " -n simulacro, muestra el nombre de los archivos que se eliminarían\n" - -#: pg_archivecleanup.c:260 -#, c-format -msgid " -V, --version output version information, then exit\n" -msgstr " -V, --version muestra información de la versión, luego sale\n" - -#: pg_archivecleanup.c:261 -#, c-format -msgid " -x EXT clean up files if they have this extension\n" -msgstr " -x EXT hace limpieza de archivos que tengan esta extensión\n" - -#: pg_archivecleanup.c:262 -#, c-format -msgid " -?, --help show this help, then exit\n" -msgstr " -?, --help muestra esta ayuda, luego sale\n" - -#: pg_archivecleanup.c:263 -#, c-format -msgid "" -"\n" -"For use as archive_cleanup_command in postgresql.conf:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION %%r'\n" -"e.g.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" -msgstr "" -"\n" -"Para usar como archive_cleanup_command en postgresql.conf:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPCIÓN]... UBICACIÓNARCHIVADOR %%r'\n" -"por ej.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/servidor/directorioarchivador %%r'\n" - -#: pg_archivecleanup.c:268 -#, c-format -msgid "" -"\n" -"Or for use as a standalone archive cleaner:\n" -"e.g.\n" -" pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n" -msgstr "" -"\n" -"O para usar como un limpiador de archivador de forma independiente:\n" -"por ej.\n" -" pg_archivecleanup /mnt/servidor/directorioarchivador 000000010000000000000010.00000020.backup\n" - -#: pg_archivecleanup.c:272 -#, c-format -msgid "" -"\n" -"Report bugs to <%s>.\n" -msgstr "" - -#: pg_archivecleanup.c:273 -#, c-format -msgid "%s home page: <%s>\n" -msgstr "" - -#: pg_archivecleanup.c:335 -#, c-format -msgid "must specify archive location" -msgstr "debe especificar la ubicación del archivador" - -#: pg_archivecleanup.c:347 -#, c-format -msgid "must specify oldest kept WAL file" -msgstr "debe especificar el fichero WAL más antiguo a mantener" - -#: pg_archivecleanup.c:354 -#, c-format -msgid "too many command-line arguments" -msgstr "demasiados argumentos de línea de órdenes" - -#~ msgid "" -#~ "\n" -#~ "Report bugs to .\n" -#~ msgstr "" -#~ "\n" -#~ "Reporte errores a .\n" diff --git a/src/bin/pg_archivecleanup/po/fr.po b/src/bin/pg_archivecleanup/po/fr.po deleted file mode 100644 index 02749f8a63..0000000000 --- a/src/bin/pg_archivecleanup/po/fr.po +++ /dev/null @@ -1,201 +0,0 @@ -# LANGUAGE message translation file for pg_archivecleanup -# Copyright (C) 2017 PostgreSQL Global Development Group -# This file is distributed under the same license as the PostgreSQL package. -# FIRST AUTHOR , 2017. -# -msgid "" -msgstr "" -"Project-Id-Version: pg_archivecleanup (PostgreSQL) 12\n" -"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" -"POT-Creation-Date: 2020-04-16 06:16+0000\n" -"PO-Revision-Date: 2020-04-16 13:39+0200\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: fr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.3\n" - -#: ../../../src/common/logging.c:236 -#, c-format -msgid "fatal: " -msgstr "fatal : " - -#: ../../../src/common/logging.c:243 -#, c-format -msgid "error: " -msgstr "erreur : " - -#: ../../../src/common/logging.c:250 -#, c-format -msgid "warning: " -msgstr "attention : " - -#: pg_archivecleanup.c:66 -#, c-format -msgid "archive location \"%s\" does not exist" -msgstr "l'emplacement d'archivage « %s » n'existe pas" - -#: pg_archivecleanup.c:152 -#, c-format -msgid "could not remove file \"%s\": %m" -msgstr "n'a pas pu supprimer le fichier « %s » : %m" - -#: pg_archivecleanup.c:160 -#, c-format -msgid "could not read archive location \"%s\": %m" -msgstr "n'a pas pu lire l'emplacement de l'archive « %s » : %m" - -#: pg_archivecleanup.c:163 -#, c-format -msgid "could not close archive location \"%s\": %m" -msgstr "n'a pas pu fermer l'emplacement de l'archive « %s » : %m" - -#: pg_archivecleanup.c:167 -#, c-format -msgid "could not open archive location \"%s\": %m" -msgstr "n'a pas pu ouvrir l'emplacement de l'archive « %s » : %m" - -#: pg_archivecleanup.c:240 -#, c-format -msgid "invalid file name argument" -msgstr "argument du nom de fichier invalide" - -#: pg_archivecleanup.c:241 pg_archivecleanup.c:315 pg_archivecleanup.c:336 -#: pg_archivecleanup.c:348 pg_archivecleanup.c:355 -#, c-format -msgid "Try \"%s --help\" for more information.\n" -msgstr "Essayez « %s --help » pour plus d'informations.\n" - -#: pg_archivecleanup.c:254 -#, c-format -msgid "" -"%s removes older WAL files from PostgreSQL archives.\n" -"\n" -msgstr "" -"%s supprime les anciens fichiers WAL des archives de PostgreSQL.\n" -"\n" - -#: pg_archivecleanup.c:255 -#, c-format -msgid "Usage:\n" -msgstr "Usage :\n" - -#: pg_archivecleanup.c:256 -#, c-format -msgid " %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n" -msgstr " %s [OPTION]... EMPLACEMENTARCHIVE PLUSANCIENFICHIERWALCONSERVÉ\n" - -#: pg_archivecleanup.c:257 -#, c-format -msgid "" -"\n" -"Options:\n" -msgstr "" -"\n" -"Options :\n" - -#: pg_archivecleanup.c:258 -#, c-format -msgid " -d generate debug output (verbose mode)\n" -msgstr " -d affiche des informations de débugage (mode verbeux)\n" - -#: pg_archivecleanup.c:259 -#, c-format -msgid " -n dry run, show the names of the files that would be removed\n" -msgstr " -n test, affiche le nom des fichiers qui seraient supprimés\n" - -#: pg_archivecleanup.c:260 -#, c-format -msgid " -V, --version output version information, then exit\n" -msgstr " -V, --version affiche la version et quitte\n" - -#: pg_archivecleanup.c:261 -#, c-format -msgid " -x EXT clean up files if they have this extension\n" -msgstr " -x EXT nettoie les fichiers s'ils ont cette extension\n" - -#: pg_archivecleanup.c:262 -#, c-format -msgid " -?, --help show this help, then exit\n" -msgstr " -?, --help affiche cette aide et quitte\n" - -#: pg_archivecleanup.c:263 -#, c-format -msgid "" -"\n" -"For use as archive_cleanup_command in postgresql.conf:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION %%r'\n" -"e.g.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" -msgstr "" -"\n" -"Pour utiliser comme archive_cleanup_command dans postgresql.conf :\n" -" archive_cleanup_command = 'pg_archivecleanup [OPTION]... EMPLACEMENTARCHIVE %%r'\n" -"e.g.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/serveur/reparchives %%r'\n" - -#: pg_archivecleanup.c:268 -#, c-format -msgid "" -"\n" -"Or for use as a standalone archive cleaner:\n" -"e.g.\n" -" pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n" -msgstr "" -"\n" -"Ou pour utiliser comme nettoyeur autonome d'archives :\n" -"e.g.\n" -" pg_archivecleanup /mnt/serveur/reparchives 000000010000000000000010.00000020.backup\n" - -#: pg_archivecleanup.c:272 -#, c-format -msgid "" -"\n" -"Report bugs to <%s>.\n" -msgstr "" -"\n" -"Rapporter les bogues à <%s>.\n" - -#: pg_archivecleanup.c:273 -#, c-format -msgid "%s home page: <%s>\n" -msgstr "page d'accueil de %s : <%s>\n" - -#: pg_archivecleanup.c:335 -#, c-format -msgid "must specify archive location" -msgstr "doit spécifier l'emplacement de l'archive" - -#: pg_archivecleanup.c:347 -#, c-format -msgid "must specify oldest kept WAL file" -msgstr "doit spécifier le plus ancien journal de transactions conservé" - -#: pg_archivecleanup.c:354 -#, c-format -msgid "too many command-line arguments" -msgstr "trop d'arguments en ligne de commande" - -#~ msgid "%s: file \"%s\" would be removed\n" -#~ msgstr "%s : le fichier « %s » serait supprimé\n" - -#~ msgid "%s: removing file \"%s\"\n" -#~ msgstr "%s : suppression du fichier « %s »\n" - -#~ msgid "%s: ERROR: could not remove file \"%s\": %s\n" -#~ msgstr "%s : ERREUR : n'a pas pu supprimer le fichier « %s » : %s\n" - -#~ msgid "%s: keeping WAL file \"%s\" and later\n" -#~ msgstr "%s : conservation du fichier WAL « %s » et des suivants\n" - -#~ msgid "%s: too many parameters\n" -#~ msgstr "%s : trop de paramètres\n" - -#~ msgid "" -#~ "\n" -#~ "Report bugs to .\n" -#~ msgstr "" -#~ "\n" -#~ "Rapporter les bogues à .\n" diff --git a/src/bin/pg_archivecleanup/po/ja.po b/src/bin/pg_archivecleanup/po/ja.po deleted file mode 100644 index c1d079a6df..0000000000 --- a/src/bin/pg_archivecleanup/po/ja.po +++ /dev/null @@ -1,212 +0,0 @@ -# Japanese message translation file for pg_archivecleanup -# Copyright (C) 2019 PostgreSQL Global Development Group -# This file is distributed under the same license as the pg_archivecleanup (PostgreSQL) package. -# -msgid "" -msgstr "" -"Project-Id-Version: pg_archivecleanup (PostgreSQL 12 beta 1)\n" -"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" -"POT-Creation-Date: 2019-06-06 10:43+0900\n" -"PO-Revision-Date: 2019-06-06 17:02+0900\n" -"Last-Translator: Kyotaro Horiguchi \n" -"Language-Team: Japan PostgreSQL Users Group \n" -"Language: ja\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.5.4\n" - -#: ../../../src/common/logging.c:188 -#, c-format -msgid "fatal: " -msgstr "致命的エラー: " - -#: ../../../src/common/logging.c:195 -#, c-format -msgid "error: " -msgstr "エラー: " - -#: ../../../src/common/logging.c:202 -#, c-format -msgid "warning: " -msgstr "警告: " - -#: pg_archivecleanup.c:68 -#, c-format -#| msgid "%s: archive location \"%s\" does not exist\n" -msgid "archive location \"%s\" does not exist" -msgstr "アーカイブの場所\"%s\"が存在しません" - -#: pg_archivecleanup.c:154 -#, c-format -msgid "could not remove file \"%s\": %m" -msgstr "ファイル\"%s\"を削除できませんでした: %m" - -#: pg_archivecleanup.c:162 -#, c-format -#| msgid "%s: could not read archive location \"%s\": %s\n" -msgid "could not read archive location \"%s\": %m" -msgstr "アーカイブの場所\"%s\"を読み込めませんでした: %m" - -#: pg_archivecleanup.c:165 -#, c-format -#| msgid "%s: could not close archive location \"%s\": %s\n" -msgid "could not close archive location \"%s\": %m" -msgstr "アーカイブの場所\"%s\"をクローズできませんでした: %m" - -#: pg_archivecleanup.c:169 -#, c-format -#| msgid "%s: could not open archive location \"%s\": %s\n" -msgid "could not open archive location \"%s\": %m" -msgstr "アーカイブの場所\"%s\"をオープンできませんでした: %m" - -#: pg_archivecleanup.c:242 -#, c-format -#| msgid "%s: invalid file name argument\n" -msgid "invalid file name argument" -msgstr "ファイル名引数が無効です" - -#: pg_archivecleanup.c:243 pg_archivecleanup.c:316 pg_archivecleanup.c:337 -#: pg_archivecleanup.c:349 pg_archivecleanup.c:356 -#, c-format -msgid "Try \"%s --help\" for more information.\n" -msgstr "\"%s --help\"で詳細が参照できます。\n" - -#: pg_archivecleanup.c:256 -#, c-format -msgid "" -"%s removes older WAL files from PostgreSQL archives.\n" -"\n" -msgstr "" -"%sはPostgreSQLのアーカイブから古いWALファイルを削除します。\n" -"\n" - -#: pg_archivecleanup.c:257 -#, c-format -msgid "Usage:\n" -msgstr "使用法:\n" - -#: pg_archivecleanup.c:258 -#, c-format -msgid " %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n" -msgstr "" -"%s [オプション] ... {アーカイブの場所} {保存する最古の WAL ファイル名}\n" - -#: pg_archivecleanup.c:259 -#, c-format -msgid "" -"\n" -"Options:\n" -msgstr "" -"\n" -"オプション:\n" - -#: pg_archivecleanup.c:260 -#, c-format -msgid " -d generate debug output (verbose mode)\n" -msgstr " -d デバッグ情報を出力(冗長モード)\n" - -#: pg_archivecleanup.c:261 -#, c-format -msgid "" -" -n dry run, show the names of the files that would be removed\n" -msgstr " -n リハーサル、削除対象のファイル名を表示\n" - -#: pg_archivecleanup.c:262 -#, c-format -msgid " -V, --version output version information, then exit\n" -msgstr " -V, --version バージョン情報を出力して終了\n" - -#: pg_archivecleanup.c:263 -#, c-format -msgid " -x EXT clean up files if they have this extension\n" -msgstr " -x EXT この拡張子を持つファイルを削除対象とする\n" - -#: pg_archivecleanup.c:264 -#, c-format -msgid " -?, --help show this help, then exit\n" -msgstr " -?, --help このヘルプを表示して終了\n" - -#: pg_archivecleanup.c:265 -#, c-format -#| msgid "" -#| "\n" -#| "For use as archive_cleanup_command in recovery.conf when standby_mode = " -#| "on:\n" -#| " archive_cleanup_command = 'pg_archivecleanup [OPTION]... " -#| "ARCHIVELOCATION %%r'\n" -#| "e.g.\n" -#| " archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir " -#| "%%r'\n" -msgid "" -"\n" -"For use as archive_cleanup_command in postgresql.conf:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION " -"%%r'\n" -"e.g.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" -msgstr "" -"\n" -"postgresql.confでarchive_cleanup_commandとして使用する場合は以下のようにしま" -"す:\n" -" archive_cleanup_command = 'pg_archivecleanup [オプション]... アーカイブの場" -"所 %%r'\n" -"例としては:\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" - -#: pg_archivecleanup.c:270 -#, c-format -msgid "" -"\n" -"Or for use as a standalone archive cleaner:\n" -"e.g.\n" -" pg_archivecleanup /mnt/server/archiverdir " -"000000010000000000000010.00000020.backup\n" -msgstr "" -"\n" -"もしくはスタンドアロンのアーカイブクリーナーとして使う場合は:\n" -"使用例\n" -" pg_archivecleanup /mnt/server/archiverdir " -"000000010000000000000010.00000020.backup\n" - -#: pg_archivecleanup.c:274 -#, c-format -#| msgid "" -#| "\n" -#| "Report bugs to .\n" -msgid "" -"\n" -"Report bugs to .\n" -msgstr "" -"\n" -"バグは に報告してください。\n" - -#: pg_archivecleanup.c:336 -#, c-format -#| msgid "%s: must specify archive location\n" -msgid "must specify archive location" -msgstr "アーカイブの場所を指定してください" - -#: pg_archivecleanup.c:348 -#, c-format -#| msgid "%s: must specify oldest kept WAL file\n" -msgid "must specify oldest kept WAL file" -msgstr "保存する最古のWALファイルを指定してください" - -#: pg_archivecleanup.c:355 -#, c-format -#| msgid "%s: too many command-line arguments\n" -msgid "too many command-line arguments" -msgstr "コマンドライン引数が多すぎます" - -#~ msgid "%s: keeping WAL file \"%s\" and later\n" -#~ msgstr "%s: WAL file \"%s\" とそれ以降の分を保存しています\n" - -#~ msgid "%s: ERROR: could not remove file \"%s\": %s\n" -#~ msgstr "%s: エラー: ファイル \"%s\" を削除できませんでした: %s\n" - -#~ msgid "%s: removing file \"%s\"\n" -#~ msgstr "%s: ファイル \"%s\" を削除しています\n" - -#~ msgid "%s: file \"%s\" would be removed\n" -#~ msgstr "%s: ファイル \"%s\" は削除されます\n" diff --git a/src/bin/pg_archivecleanup/po/ko.po b/src/bin/pg_archivecleanup/po/ko.po deleted file mode 100644 index 2a3a2fb620..0000000000 --- a/src/bin/pg_archivecleanup/po/ko.po +++ /dev/null @@ -1,179 +0,0 @@ -# LANGUAGE message translation file for pg_archivecleanup -# Copyright (C) 2017 PostgreSQL Global Development Group -# This file is distributed under the same license as the PostgreSQL package. -# Ioseph Kim , 2017. -# -msgid "" -msgstr "" -"Project-Id-Version: pg_archivecleanup (PostgreSQL) 12\n" -"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" -"POT-Creation-Date: 2020-02-09 20:16+0000\n" -"PO-Revision-Date: 2019-10-31 11:13+0900\n" -"Last-Translator: Ioseph Kim \n" -"Language-Team: Korean \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" - -#: ../../../src/common/logging.c:188 -#, c-format -msgid "fatal: " -msgstr "심각: " - -#: ../../../src/common/logging.c:195 -#, c-format -msgid "error: " -msgstr "오류: " - -#: ../../../src/common/logging.c:202 -#, c-format -msgid "warning: " -msgstr "경고: " - -#: pg_archivecleanup.c:68 -#, c-format -msgid "archive location \"%s\" does not exist" -msgstr "\"%s\" 이름의 아카이브 위치가 없음" - -#: pg_archivecleanup.c:154 -#, c-format -msgid "could not remove file \"%s\": %m" -msgstr "\"%s\" 파일을 삭제할 수 없음: %m" - -#: pg_archivecleanup.c:162 -#, c-format -msgid "could not read archive location \"%s\": %m" -msgstr "\"%s\" 아카이브 위치를 읽을 수 없음: %m" - -#: pg_archivecleanup.c:165 -#, c-format -msgid "could not close archive location \"%s\": %m" -msgstr "\"%s\" 아카이브 위치를 닫을 수 없음: %m" - -#: pg_archivecleanup.c:169 -#, c-format -msgid "could not open archive location \"%s\": %m" -msgstr "\"%s\" 아카이브 위치를 열 수 없음: %m" - -#: pg_archivecleanup.c:242 -#, c-format -msgid "invalid file name argument" -msgstr "잘못된 파일 이름 매개변수" - -#: pg_archivecleanup.c:243 pg_archivecleanup.c:316 pg_archivecleanup.c:337 -#: pg_archivecleanup.c:349 pg_archivecleanup.c:356 -#, c-format -msgid "Try \"%s --help\" for more information.\n" -msgstr "보다 자세한 정보는 \"%s --help\" 명령을 참조하세요.\n" - -#: pg_archivecleanup.c:256 -#, c-format -msgid "" -"%s removes older WAL files from PostgreSQL archives.\n" -"\n" -msgstr "" -"%s 명령은 PostgreSQL 아카이브 보관소에서 오래된\n" -"WAL 파일을 지웁니다.\n" -"\n" - -#: pg_archivecleanup.c:257 -#, c-format -msgid "Usage:\n" -msgstr "사용법:\n" - -#: pg_archivecleanup.c:258 -#, c-format -msgid " %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n" -msgstr " %s [옵션]... 아카이브위치 보관할제일오래된파일\n" - -#: pg_archivecleanup.c:259 -#, c-format -msgid "" -"\n" -"Options:\n" -msgstr "" -"\n" -"옵션들:\n" - -#: pg_archivecleanup.c:260 -#, c-format -msgid " -d generate debug output (verbose mode)\n" -msgstr " -d 보다 자세한 작업 내용 출력\n" - -#: pg_archivecleanup.c:261 -#, c-format -msgid "" -" -n dry run, show the names of the files that would be removed\n" -msgstr " -n 지울 대상만 확인하고 지우지는 않음\n" - -#: pg_archivecleanup.c:262 -#, c-format -msgid " -V, --version output version information, then exit\n" -msgstr " -V, --version 버전 정보를 보여주고 마침\n" - -#: pg_archivecleanup.c:263 -#, c-format -msgid " -x EXT clean up files if they have this extension\n" -msgstr " -x EXT 해당 확장자 파일들을 작업 대상으로 함\n" - -#: pg_archivecleanup.c:264 -#, c-format -msgid " -?, --help show this help, then exit\n" -msgstr " -?, --help 도움말을 보여주고 마침\n" - -#: pg_archivecleanup.c:265 -#, c-format -msgid "" -"\n" -"For use as archive_cleanup_command in postgresql.conf:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION " -"%%r'\n" -"e.g.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" -msgstr "" -"\n" -"postgresql.conf 파일에서 archive_cleanup_command 설정 방법:\n" -" archive_cleanup_command = 'pg_archivecleanup [옵션]... 아카이브위치 %%r'\n" -"사용예:\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" - -#: pg_archivecleanup.c:270 -#, c-format -msgid "" -"\n" -"Or for use as a standalone archive cleaner:\n" -"e.g.\n" -" pg_archivecleanup /mnt/server/archiverdir " -"000000010000000000000010.00000020.backup\n" -msgstr "" -"\n" -"또는 명령행에서 독립적으로 사용하는 경우:\n" -"사용예:\n" -" pg_archivecleanup /mnt/server/archiverdir " -"000000010000000000000010.00000020.backup\n" - -#: pg_archivecleanup.c:274 -#, c-format -msgid "" -"\n" -"Report bugs to .\n" -msgstr "" -"\n" -"문제점 보고 .\n" - -#: pg_archivecleanup.c:336 -#, c-format -msgid "must specify archive location" -msgstr "아카이브 위치는 지정해야 함" - -#: pg_archivecleanup.c:348 -#, c-format -msgid "must specify oldest kept WAL file" -msgstr "남길 가장 오래된 WAL 파일은 지정해야 함" - -#: pg_archivecleanup.c:355 -#, c-format -msgid "too many command-line arguments" -msgstr "너무 많은 명령행 인자를 지정했음" diff --git a/src/bin/pg_archivecleanup/po/pl.po b/src/bin/pg_archivecleanup/po/pl.po deleted file mode 100644 index 0b5e9d43da..0000000000 --- a/src/bin/pg_archivecleanup/po/pl.po +++ /dev/null @@ -1,178 +0,0 @@ -# LANGUAGE message translation file for pg_archivecleanup -# Copyright (C) 2017 PostgreSQL Global Development Group -# This file is distributed under the same license as the PostgreSQL package. -# grzegorz , 2017. -msgid "" -msgstr "" -"Project-Id-Version: pg_archivecleanup (PostgreSQL) 10\n" -"Report-Msgid-Bugs-To: pgsql-bugs@postgresql.org\n" -"POT-Creation-Date: 2017-03-14 17:45+0000\n" -"PO-Revision-Date: 2017-03-14 19:43+0200\n" -"Last-Translator: grzegorz \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" - -#: pg_archivecleanup.c:73 -#, c-format -msgid "%s: archive location \"%s\" does not exist\n" -msgstr "%s: lokacja archiwum \"%s\" nie istnieje\n" - -#: pg_archivecleanup.c:149 -#, c-format -msgid "%s: file \"%s\" would be removed\n" -msgstr "%s: plik \"%s\" zostanie usunięty\n" - -#: pg_archivecleanup.c:155 -#, c-format -msgid "%s: removing file \"%s\"\n" -msgstr "%s: usuwanie pliku \"%s\"\n" - -#: pg_archivecleanup.c:161 -#, c-format -msgid "%s: ERROR: could not remove file \"%s\": %s\n" -msgstr "%s: BŁĄD: nie dało się usunąć pliku \"%s\": %s\n" - -#: pg_archivecleanup.c:169 -#, c-format -msgid "%s: could not read archive location \"%s\": %s\n" -msgstr "%s: nie można czytać z lokacji archiwum \"%s\": %s\n" - -#: pg_archivecleanup.c:172 -#, c-format -msgid "%s: could not close archive location \"%s\": %s\n" -msgstr "%s: nie można zamknąć lokacji archiwum \"%s\": %s\n" - -#: pg_archivecleanup.c:176 -#, c-format -msgid "%s: could not open archive location \"%s\": %s\n" -msgstr "%s: nie można otworzyć lokacji archiwum \"%s\": %s\n" - -#: pg_archivecleanup.c:249 -#, c-format -msgid "%s: invalid filename input\n" -msgstr "%s: niepoprawna nazwa pliku wejścia\n" - -#: pg_archivecleanup.c:250 pg_archivecleanup.c:322 pg_archivecleanup.c:343 -#: pg_archivecleanup.c:355 pg_archivecleanup.c:362 -#, c-format -msgid "Try \"%s --help\" for more information.\n" -msgstr "Użyj \"%s --help\" aby uzyskać więcej informacji.\n" - -#: pg_archivecleanup.c:263 -#, c-format -msgid "" -"%s removes older WAL files from PostgreSQL archives.\n" -"\n" -msgstr "" -"%s usuwa starsze pliki WAL z archiwów PostgreSQL.\n" -"\n" - -#: pg_archivecleanup.c:264 -#, c-format -msgid "Usage:\n" -msgstr "Składnia:\n" - -#: pg_archivecleanup.c:265 -#, c-format -msgid " %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n" -msgstr " %s [OPCJA]... LOKACJAARCHIWUM NAJSTARSZYZACHOWANYPLIKWAL\n" - -#: pg_archivecleanup.c:266 -#, c-format -msgid "" -"\n" -"Options:\n" -msgstr "" -"\n" -"Opcje:\n" - -#: pg_archivecleanup.c:267 -#, c-format -msgid " -d generate debug output (verbose mode)\n" -msgstr " -d generuje informacje diagnostyczne (trym rozgadany)\n" - -#: pg_archivecleanup.c:268 -#, c-format -msgid " -n dry run, show the names of the files that would be removed\n" -msgstr " -n przebieg próbny, pokazuje nazwy plików do usunięcia\n" - -#: pg_archivecleanup.c:269 -#, c-format -msgid " -V, --version output version information, then exit\n" -msgstr " -V, --version wypisuje informacje o wersji i kończy\n" - -#: pg_archivecleanup.c:270 -#, c-format -msgid " -x EXT clean up files if they have this extension\n" -msgstr " -x EXT czyści pliki jeśli mają takie rozszerzenie\n" - -#: pg_archivecleanup.c:271 -#, c-format -msgid " -?, --help show this help, then exit\n" -msgstr " -?, --help pokazuje ten ekran pomocy i kończy\n" - -#: pg_archivecleanup.c:272 -#, c-format -msgid "" -"\n" -"For use as archive_cleanup_command in recovery.conf when standby_mode = on:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION %%r'\n" -"e.g.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" -msgstr "" -"\n" -"Do użycia jako archive_cleanup_command w recovery.conf kiedy standby_mode = " -"on:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPCJA]... LOKACJAARCHIWUM %%" -"r'\n" -"e.g.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" - -#: pg_archivecleanup.c:277 -#, c-format -msgid "" -"\n" -"Or for use as a standalone archive cleaner:\n" -"e.g.\n" -" pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n" -msgstr "" -"\n" -"Lub by użyć podczas samodzielnego czyszczenia archiwów:\n" -"e.g.\n" -" pg_archivecleanup /mnt/server/archiverdir " -"000000010000000000000010.00000020.backup\n" - -#: pg_archivecleanup.c:281 -#, c-format -msgid "" -"\n" -"Report bugs to .\n" -msgstr "" -"\n" -"Błędy proszę przesyłać na adres .\n" - -#: pg_archivecleanup.c:342 -#, c-format -msgid "%s: must specify archive location\n" -msgstr "%s: wymagane wskazanie lokacji archiwum\n" - -#: pg_archivecleanup.c:354 -#, c-format -msgid "%s: must specify restartfilename\n" -msgstr "%s: wymagane wskazanie nazwy pliku restartu\n" - -#: pg_archivecleanup.c:361 -#, c-format -msgid "%s: too many parameters\n" -msgstr "%s: za dużo parametrów\n" - -#: pg_archivecleanup.c:380 -#, c-format -msgid "%s: keep WAL file \"%s\" and later\n" -msgstr "%s: zachowaj plik WAL \"%s\" a następnie\n" diff --git a/src/bin/pg_archivecleanup/po/ru.po b/src/bin/pg_archivecleanup/po/ru.po deleted file mode 100644 index 579026ecba..0000000000 --- a/src/bin/pg_archivecleanup/po/ru.po +++ /dev/null @@ -1,192 +0,0 @@ -# Russian message translation file for pg_archivecleanup -# Copyright (C) 2017 PostgreSQL Global Development Group -# This file is distributed under the same license as the PostgreSQL package. -# Alexander Lakhin , 2017, 2019. -msgid "" -msgstr "" -"Project-Id-Version: pg_archivecleanup (PostgreSQL) 10\n" -"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" -"POT-Creation-Date: 2019-09-09 12:21+0300\n" -"PO-Revision-Date: 2019-08-28 14:04+0300\n" -"Last-Translator: Alexander Lakhin \n" -"Language-Team: Russian \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" - -#: ../../../src/common/logging.c:188 -#, c-format -msgid "fatal: " -msgstr "важно: " - -#: ../../../src/common/logging.c:195 -#, c-format -msgid "error: " -msgstr "ошибка: " - -#: ../../../src/common/logging.c:202 -#, c-format -msgid "warning: " -msgstr "предупреждение: " - -#: pg_archivecleanup.c:68 -#, c-format -msgid "archive location \"%s\" does not exist" -msgstr "расположение архива \"%s\" не существует" - -#: pg_archivecleanup.c:154 -#, c-format -msgid "could not remove file \"%s\": %m" -msgstr "не удалось стереть файл \"%s\": %m" - -#: pg_archivecleanup.c:162 -#, c-format -msgid "could not read archive location \"%s\": %m" -msgstr "не удалось прочитать расположение архива \"%s\": %m" - -#: pg_archivecleanup.c:165 -#, c-format -msgid "could not close archive location \"%s\": %m" -msgstr "не удалось закрыть расположение архива \"%s\": %m" - -#: pg_archivecleanup.c:169 -#, c-format -msgid "could not open archive location \"%s\": %m" -msgstr "не удалось открыть расположение архива \"%s\": %m" - -#: pg_archivecleanup.c:242 -#, c-format -msgid "invalid file name argument" -msgstr "неверный аргумент с именем файла" - -#: pg_archivecleanup.c:243 pg_archivecleanup.c:316 pg_archivecleanup.c:337 -#: pg_archivecleanup.c:349 pg_archivecleanup.c:356 -#, c-format -msgid "Try \"%s --help\" for more information.\n" -msgstr "Для дополнительной информации попробуйте \"%s --help\".\n" - -#: pg_archivecleanup.c:256 -#, c-format -msgid "" -"%s removes older WAL files from PostgreSQL archives.\n" -"\n" -msgstr "" -"%s удаляет старые файлы WAL из архивов PostgreSQL.\n" -"\n" - -#: pg_archivecleanup.c:257 -#, c-format -msgid "Usage:\n" -msgstr "Использование:\n" - -#: pg_archivecleanup.c:258 -#, c-format -msgid " %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n" -msgstr "" -" %s [ПАРАМЕТР]... РАСПОЛОЖЕНИЕ_АРХИВА СТАРЕЙШИЙ_СОХРАНЯЕМЫЙ_ФАЙЛ_WAL\n" - -#: pg_archivecleanup.c:259 -#, c-format -msgid "" -"\n" -"Options:\n" -msgstr "" -"\n" -"Параметры:\n" - -#: pg_archivecleanup.c:260 -#, c-format -msgid " -d generate debug output (verbose mode)\n" -msgstr " -d генерировать подробные сообщения (отладочный режим)\n" - -#: pg_archivecleanup.c:261 -#, c-format -msgid "" -" -n dry run, show the names of the files that would be removed\n" -msgstr "" -" -n холостой запуск, только показать имена файлов, которые " -"будут удалены\n" - -#: pg_archivecleanup.c:262 -#, c-format -msgid " -V, --version output version information, then exit\n" -msgstr " -V, --version показать версию и выйти\n" - -# well-spelled: РСШ -#: pg_archivecleanup.c:263 -#, c-format -msgid " -x EXT clean up files if they have this extension\n" -msgstr " -x РСШ убрать файлы с заданным расширением\n" - -#: pg_archivecleanup.c:264 -#, c-format -msgid " -?, --help show this help, then exit\n" -msgstr " -?, --help показать эту справку и выйти\n" - -#: pg_archivecleanup.c:265 -#, c-format -msgid "" -"\n" -"For use as archive_cleanup_command in postgresql.conf:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION " -"%%r'\n" -"e.g.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" -msgstr "" -"\n" -"Для использования в качестве archive_cleanup_command в postgresql.conf:\n" -" archive_cleanup_command = 'pg_archivecleanup [ПАРАМЕТР]... " -"РАСПОЛОЖЕНИЕ_АРХИВА %%r'\n" -"например:\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" - -#: pg_archivecleanup.c:270 -#, c-format -msgid "" -"\n" -"Or for use as a standalone archive cleaner:\n" -"e.g.\n" -" pg_archivecleanup /mnt/server/archiverdir " -"000000010000000000000010.00000020.backup\n" -msgstr "" -"\n" -"Либо для использования в качестве отдельного средства очистки архива,\n" -"например:\n" -" pg_archivecleanup /mnt/server/archiverdir " -"000000010000000000000010.00000020.backup\n" - -#: pg_archivecleanup.c:274 -#, c-format -msgid "" -"\n" -"Report bugs to .\n" -msgstr "" -"\n" -"Об ошибках сообщайте по адресу .\n" - -#: pg_archivecleanup.c:336 -#, c-format -msgid "must specify archive location" -msgstr "необходимо задать расположение архива" - -#: pg_archivecleanup.c:348 -#, c-format -msgid "must specify oldest kept WAL file" -msgstr "необходимо задать имя старейшего сохраняемого файла WAL" - -#: pg_archivecleanup.c:355 -#, c-format -msgid "too many command-line arguments" -msgstr "слишком много аргументов командной строки" - -#~ msgid "%s: file \"%s\" would be removed\n" -#~ msgstr "%s: файл \"%s\" не будет удалён\n" - -#~ msgid "%s: removing file \"%s\"\n" -#~ msgstr "%s: удаление файла \"%s\"\n" - -#~ msgid "%s: keeping WAL file \"%s\" and later\n" -#~ msgstr "%s: будет сохранён файл WAL \"%s\" и последующие\n" diff --git a/src/bin/pg_archivecleanup/po/sv.po b/src/bin/pg_archivecleanup/po/sv.po deleted file mode 100644 index c0f3a77282..0000000000 --- a/src/bin/pg_archivecleanup/po/sv.po +++ /dev/null @@ -1,179 +0,0 @@ -# Swedish message translation file for pg_archivecleanup -# Copyright (C) 2017 PostgreSQL Global Development Group -# This file is distributed under the same license as the PostgreSQL package. -# Dennis Björklund , 2017, 2018, 2019, 2020. -# -msgid "" -msgstr "" -"Project-Id-Version: PostgreSQL 13\n" -"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" -"POT-Creation-Date: 2020-04-11 01:17+0000\n" -"PO-Revision-Date: 2020-04-11 07:37+0200\n" -"Last-Translator: FDennis Björklund \n" -"Language-Team: Swedish \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" - -#: ../../../src/common/logging.c:236 -#, c-format -msgid "fatal: " -msgstr "fatalt: " - -#: ../../../src/common/logging.c:243 -#, c-format -msgid "error: " -msgstr "fel: " - -#: ../../../src/common/logging.c:250 -#, c-format -msgid "warning: " -msgstr "varning: " - -#: pg_archivecleanup.c:66 -#, c-format -msgid "archive location \"%s\" does not exist" -msgstr "arkivplats \"%s\" finns inte" - -#: pg_archivecleanup.c:152 -#, c-format -msgid "could not remove file \"%s\": %m" -msgstr "kunde inte ta bort fil \"%s\": %m" - -#: pg_archivecleanup.c:160 -#, c-format -msgid "could not read archive location \"%s\": %m" -msgstr "kunde inte läsa arkivplats \"%s\": %m" - -#: pg_archivecleanup.c:163 -#, c-format -msgid "could not close archive location \"%s\": %m" -msgstr "kunde inte stänga arkivplats \"%s\": %m" - -#: pg_archivecleanup.c:167 -#, c-format -msgid "could not open archive location \"%s\": %m" -msgstr "kunde inte öppna arkivplats \"%s\": %m" - -#: pg_archivecleanup.c:240 -#, c-format -msgid "invalid file name argument" -msgstr "ogiltigt filnamnsargument" - -#: pg_archivecleanup.c:241 pg_archivecleanup.c:315 pg_archivecleanup.c:336 -#: pg_archivecleanup.c:348 pg_archivecleanup.c:355 -#, c-format -msgid "Try \"%s --help\" for more information.\n" -msgstr "Försök med \"%s --help\" för mer information.\n" - -#: pg_archivecleanup.c:254 -#, c-format -msgid "" -"%s removes older WAL files from PostgreSQL archives.\n" -"\n" -msgstr "" -"%s tar bort gamla WAL-filer från PostgreSQLs arkiv.\n" -"\n" - -#: pg_archivecleanup.c:255 -#, c-format -msgid "Usage:\n" -msgstr "Användning:\n" - -#: pg_archivecleanup.c:256 -#, c-format -msgid " %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n" -msgstr " %s [FLAGGA]... ARKIVPLATS ÄLDSTASPARADEWALFIL\n" - -#: pg_archivecleanup.c:257 -#, c-format -msgid "" -"\n" -"Options:\n" -msgstr "" -"\n" -"Flaggor:\n" - -#: pg_archivecleanup.c:258 -#, c-format -msgid " -d generate debug output (verbose mode)\n" -msgstr " -d generera debugutskrift (utförligt läge)\n" - -#: pg_archivecleanup.c:259 -#, c-format -msgid " -n dry run, show the names of the files that would be removed\n" -msgstr " -n gör inga ändringar visa namn på de filer som skulle ha tagits bort\n" - -#: pg_archivecleanup.c:260 -#, c-format -msgid " -V, --version output version information, then exit\n" -msgstr " -V, --version visa versionsinformation, avsluta sedan\n" - -#: pg_archivecleanup.c:261 -#, c-format -msgid " -x EXT clean up files if they have this extension\n" -msgstr " -x SUF städa upp filer om de har detta suffix\n" - -#: pg_archivecleanup.c:262 -#, c-format -msgid " -?, --help show this help, then exit\n" -msgstr " -?, --help visa denna hjälp, avsluta sedan\n" - -#: pg_archivecleanup.c:263 -#, c-format -msgid "" -"\n" -"For use as archive_cleanup_command in postgresql.conf:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION %%r'\n" -"e.g.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" -msgstr "" -"\n" -"För att använda som archive_cleanup_command i postgresql.conf:\n" -" archive_cleanup_command = 'pg_archivecleanup [FLAGGA]... ARKIVPLATS %%r'\n" -"t.ex.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" - -#: pg_archivecleanup.c:268 -#, c-format -msgid "" -"\n" -"Or for use as a standalone archive cleaner:\n" -"e.g.\n" -" pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n" -msgstr "" -"\n" -"Eller för att använda som en separat arkivstädare:\n" -"t.ex.\n" -" pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n" - -#: pg_archivecleanup.c:272 -#, c-format -msgid "" -"\n" -"Report bugs to <%s>.\n" -msgstr "" -"\n" -"Rapportera fel till <%s>.\n" - -#: pg_archivecleanup.c:273 -#, c-format -msgid "%s home page: <%s>\n" -msgstr "hemsida för %s: <%s>\n" - -#: pg_archivecleanup.c:335 -#, c-format -msgid "must specify archive location" -msgstr "måste ange en arkivplats" - -#: pg_archivecleanup.c:347 -#, c-format -msgid "must specify oldest kept WAL file" -msgstr "måste ange äldsta sparade WAL-filen" - -#: pg_archivecleanup.c:354 -#, c-format -msgid "too many command-line arguments" -msgstr "för många kommandoradsargument" diff --git a/src/bin/pg_archivecleanup/po/tr.po b/src/bin/pg_archivecleanup/po/tr.po deleted file mode 100644 index c61889af82..0000000000 --- a/src/bin/pg_archivecleanup/po/tr.po +++ /dev/null @@ -1,185 +0,0 @@ -# LANGUAGE message translation file for pg_archivecleanup -# Copyright (C) 2017 PostgreSQL Global Development Group -# This file is distributed under the same license as the pg_archivecleanup (PostgreSQL) package. -# FIRST AUTHOR , 2017. -# -msgid "" -msgstr "" -"Project-Id-Version: pg_archivecleanup (PostgreSQL) 10\n" -"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" -"POT-Creation-Date: 2019-04-26 13:48+0000\n" -"PO-Revision-Date: 2019-05-28 10:30+0300\n" -"Last-Translator: \n" -"Language-Team: \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" - -#: ../../../src/fe_utils/logging.c:182 -#, c-format -msgid "fatal: " -msgstr "ölümcül (fatal): " - -#: ../../../src/fe_utils/logging.c:189 -#, c-format -msgid "error: " -msgstr "hata: " - -#: ../../../src/fe_utils/logging.c:196 -#, c-format -msgid "warning: " -msgstr "uyarı: " - -#: pg_archivecleanup.c:68 -#, c-format -msgid "archive location \"%s\" does not exist" -msgstr "\"%s\" arşiv lokasyonu mevcut değil" - -#: pg_archivecleanup.c:153 -#, c-format -msgid "could not remove file \"%s\": %m" -msgstr "\"%s\" dosyası silinemedi: %m" - -#: pg_archivecleanup.c:161 -#, c-format -msgid "could not read archive location \"%s\": %m" -msgstr "\"%s\" arşiv lokasyonu okunamadı: %m" - -#: pg_archivecleanup.c:164 -#, c-format -msgid "could not close archive location \"%s\": %m" -msgstr "\"%s\" arşiv lokasyonu kapatılamadı: %m" - -#: pg_archivecleanup.c:168 -#, c-format -msgid "could not open archive location \"%s\": %m" -msgstr "\"%s\" arşiv lokasyonu açılamadı: %m" - -#: pg_archivecleanup.c:241 -#, c-format -msgid "invalid file name argument" -msgstr "geçersiz dosya adı argümanı" - -#: pg_archivecleanup.c:242 pg_archivecleanup.c:315 pg_archivecleanup.c:336 -#: pg_archivecleanup.c:348 pg_archivecleanup.c:355 -#, c-format -msgid "Try \"%s --help\" for more information.\n" -msgstr "Daha fazla bilgi için \"%s --help\" yazın\n" - -#: pg_archivecleanup.c:255 -#, c-format -msgid "" -"%s removes older WAL files from PostgreSQL archives.\n" -"\n" -msgstr "%s daha eski WAL dosyalarını PostgreSQL arşivlerinden kaldırır.\n" - -#: pg_archivecleanup.c:256 -#, c-format -msgid "Usage:\n" -msgstr "Kullanımı:\n" - -#: pg_archivecleanup.c:257 -#, c-format -msgid " %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n" -msgstr " %s [SECENEK]... ARSIVLOKASYONU TUTULANENESKIWALDOSYASI\n" - -#: pg_archivecleanup.c:258 -#, c-format -msgid "" -"\n" -"Options:\n" -msgstr "" -"\n" -"Seçenekler:\n" - -#: pg_archivecleanup.c:259 -#, c-format -msgid " -d generate debug output (verbose mode)\n" -msgstr " -d hata ayıklama çıktısı oluştur (ayrıntılı açıklamalı mod)\n" - -#: pg_archivecleanup.c:260 -#, c-format -msgid " -n dry run, show the names of the files that would be removed\n" -msgstr " -n tatbikat modu, sadece kaldırılacak dosyaların adlarını göster\n" - -#: pg_archivecleanup.c:261 -#, c-format -msgid " -V, --version output version information, then exit\n" -msgstr " -V, --version sürüm bilgisini göster, sonra çık\n" - -#: pg_archivecleanup.c:262 -#, c-format -msgid " -x EXT clean up files if they have this extension\n" -msgstr " -x EXT bu uzantıya sahip dosyaları temizle\n" - -#: pg_archivecleanup.c:263 -#, c-format -msgid " -?, --help show this help, then exit\n" -msgstr " -?, --help bu yardımı göster, sonra çık\n" - -#: pg_archivecleanup.c:264 -#, c-format -msgid "" -"\n" -"For use as archive_cleanup_command in postgresql.conf:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION %%r'\n" -"e.g.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" -msgstr "" -"\n" -"postgresql.conf'da archive_cleanup_command olarak kullanmak için:\n" -" archive_cleanup_command = 'pg_archivecleanup [SECENEK]... ARSIVLOKASYONU %%r'\n" -"örnek:\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" -"\n" - -#: pg_archivecleanup.c:269 -#, c-format -msgid "" -"\n" -"Or for use as a standalone archive cleaner:\n" -"e.g.\n" -" pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n" -msgstr "" -"\n" -"Veya bağımsız bir arşiv temizleyici olarak kullanmak için: \n" -"örnek:\n" -" pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n" - -#: pg_archivecleanup.c:273 -#, c-format -msgid "" -"\n" -"Report bugs to .\n" -msgstr "" -"\n" -"Hataları adresine bildirebilirsiniz.\n" - -#: pg_archivecleanup.c:335 -#, c-format -msgid "must specify archive location" -msgstr "arşiv lokasyonu belirtilmeli" - -#: pg_archivecleanup.c:347 -#, c-format -msgid "must specify oldest kept WAL file" -msgstr "tutulan en eski WAL dosyası belirtilmeli" - -#: pg_archivecleanup.c:354 -#, c-format -msgid "too many command-line arguments" -msgstr "çok fazla komut-satırı argümanı" - -#~ msgid "%s: keeping WAL file \"%s\" and later\n" -#~ msgstr "%s: \"%s\" ve sonrasındaki WAl dosyaları tutuluyor\n" - -#~ msgid "%s: ERROR: could not remove file \"%s\": %s\n" -#~ msgstr "%s: HATA: \"%s\" dosyası kaldırılamadı: %s\n" - -#~ msgid "%s: removing file \"%s\"\n" -#~ msgstr "%s: \"%s\" dosyası kaldırılıyor\n" - -#~ msgid "%s: file \"%s\" would be removed\n" -#~ msgstr "%s: \"%s\" dosyası kaldırılacak\n" diff --git a/src/bin/pg_archivecleanup/po/uk.po b/src/bin/pg_archivecleanup/po/uk.po deleted file mode 100644 index 61b792b791..0000000000 --- a/src/bin/pg_archivecleanup/po/uk.po +++ /dev/null @@ -1,161 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: postgresql\n" -"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" -"POT-Creation-Date: 2019-09-08 14:46+0000\n" -"PO-Revision-Date: 2019-12-20 20:23\n" -"Last-Translator: pasha_golub\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-Language: uk\n" -"X-Crowdin-File: /REL_12_STABLE/pg_archivecleanup.pot\n" - -#: ../../../src/common/logging.c:188 -#, c-format -msgid "fatal: " -msgstr "збій: " - -#: ../../../src/common/logging.c:195 -#, c-format -msgid "error: " -msgstr "помилка: " - -#: ../../../src/common/logging.c:202 -#, c-format -msgid "warning: " -msgstr "попередження: " - -#: pg_archivecleanup.c:68 -#, c-format -msgid "archive location \"%s\" does not exist" -msgstr "архівного розташування \"%s\" не існує" - -#: pg_archivecleanup.c:154 -#, c-format -msgid "could not remove file \"%s\": %m" -msgstr "не можливо видалити файл \"%s\": %m" - -#: pg_archivecleanup.c:162 -#, c-format -msgid "could not read archive location \"%s\": %m" -msgstr "не вдалося прочитати архівне розташування \"%s\":%m" - -#: pg_archivecleanup.c:165 -#, c-format -msgid "could not close archive location \"%s\": %m" -msgstr "не вдалося закрити архівне розташування \"%s\":%m" - -#: pg_archivecleanup.c:169 -#, c-format -msgid "could not open archive location \"%s\": %m" -msgstr "не вдалося відкрити архівне розташування \"%s\":%m" - -#: pg_archivecleanup.c:242 -#, c-format -msgid "invalid file name argument" -msgstr "недійсна назва файла з аргументом" - -#: pg_archivecleanup.c:243 pg_archivecleanup.c:316 pg_archivecleanup.c:337 -#: pg_archivecleanup.c:349 pg_archivecleanup.c:356 -#, c-format -msgid "Try \"%s --help\" for more information.\n" -msgstr "Спробуйте \"%s --help\" для додаткової інформації.\n" - -#: pg_archivecleanup.c:256 -#, c-format -msgid "%s removes older WAL files from PostgreSQL archives.\n\n" -msgstr "%s видаляє старі WAL-файли з архівів PostgreSQL.\n\n" - -#: pg_archivecleanup.c:257 -#, c-format -msgid "Usage:\n" -msgstr "Використання:\n" - -#: pg_archivecleanup.c:258 -#, c-format -msgid " %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n" -msgstr " %s [OPTION]... РОЗТАШУВАННЯ_АРХІВА НАЙДАВНІШИЙ_ЗБЕРЕЖЕНИЙ_WAL_ФАЙЛ\n" - -#: pg_archivecleanup.c:259 -#, c-format -msgid "\n" -"Options:\n" -msgstr "\n" -"Параметри:\n" - -#: pg_archivecleanup.c:260 -#, c-format -msgid " -d generate debug output (verbose mode)\n" -msgstr " -d генерує налагоджувальні повідомлення (детальний режим)\n" - -#: pg_archivecleanup.c:261 -#, c-format -msgid " -n dry run, show the names of the files that would be removed\n" -msgstr " -n сухий запуск, показує тільки ті файли, які будуть видалені\n" - -#: pg_archivecleanup.c:262 -#, c-format -msgid " -V, --version output version information, then exit\n" -msgstr " -V, --version показати версію, потім вийти\n" - -#: pg_archivecleanup.c:263 -#, c-format -msgid " -x EXT clean up files if they have this extension\n" -msgstr " -x EXT прибрати файли з цим розширенням\n" - -#: pg_archivecleanup.c:264 -#, c-format -msgid " -?, --help show this help, then exit\n" -msgstr " -?, --help показати цю довідку, потім вийти\n" - -#: pg_archivecleanup.c:265 -#, c-format -msgid "\n" -"For use as archive_cleanup_command in postgresql.conf:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION %%r'\n" -"e.g.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" -msgstr "\n" -"Для використання як archive_cleanup_command у postgresql.conf:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION %%r'\n" -"напр.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" - -#: pg_archivecleanup.c:270 -#, c-format -msgid "\n" -"Or for use as a standalone archive cleaner:\n" -"e.g.\n" -" pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n" -msgstr "\n" -"Або для використання в якості окремого засобу для чистки архівів,\n" -"наприклад:\n" -" pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n" - -#: pg_archivecleanup.c:274 -#, c-format -msgid "\n" -"Report bugs to .\n" -msgstr "\n" -"Про помилки повідомляйте на .\n" - -#: pg_archivecleanup.c:336 -#, c-format -msgid "must specify archive location" -msgstr "необхідно вказати розташування архіва" - -#: pg_archivecleanup.c:348 -#, c-format -msgid "must specify oldest kept WAL file" -msgstr "необхідно вказати найдавніший збережений WAL-файл" - -#: pg_archivecleanup.c:355 -#, c-format -msgid "too many command-line arguments" -msgstr "занадто багато аргументів командного рядка" - diff --git a/src/bin/pg_archivecleanup/po/vi.po b/src/bin/pg_archivecleanup/po/vi.po deleted file mode 100644 index e35f8181a4..0000000000 --- a/src/bin/pg_archivecleanup/po/vi.po +++ /dev/null @@ -1,183 +0,0 @@ -# LANGUAGE message translation file for pg_archivecleanup -# Copyright (C) 2018 PostgreSQL Global Development Group -# This file is distributed under the same license as the pg_archivecleanup (PostgreSQL) package. -# FIRST AUTHOR , 2018. -# -msgid "" -msgstr "" -"Project-Id-Version: pg_archivecleanup (PostgreSQL) 11\n" -"Report-Msgid-Bugs-To: pgsql-bugs@postgresql.org\n" -"POT-Creation-Date: 2018-04-23 02:27+0900\n" -"PO-Revision-Date: 2018-05-04 22:03+0900\n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.0.6\n" -"Last-Translator: Dang Minh Huong \n" -"Plural-Forms: nplurals=1; plural=0;\n" -"Language: vi_VN\n" - -#: pg_archivecleanup.c:72 -#, c-format -msgid "%s: archive location \"%s\" does not exist\n" -msgstr "%s: vị trí lưu trữ \"%s\" không tồn tại\n" - -#: pg_archivecleanup.c:148 -#, c-format -msgid "%s: file \"%s\" would be removed\n" -msgstr "%s: tệp \"%s\" sẽ bị xóa\n" - -#: pg_archivecleanup.c:154 -#, c-format -msgid "%s: removing file \"%s\"\n" -msgstr "%s: đang xóa tệp \"%s\"\n" - -#: pg_archivecleanup.c:160 -#, c-format -msgid "%s: ERROR: could not remove file \"%s\": %s\n" -msgstr "%s: LỖI: không thể xóa tệp \"%s\": %s\n" - -#: pg_archivecleanup.c:168 -#, c-format -msgid "%s: could not read archive location \"%s\": %s\n" -msgstr "%s: không thể đọc vị trí lưu trữ \"%s\": %s\n" - -#: pg_archivecleanup.c:171 -#, c-format -msgid "%s: could not close archive location \"%s\": %s\n" -msgstr "%s: không thể đóng vị trí lưu trữ \"%s\": %s\n" - -#: pg_archivecleanup.c:175 -#, c-format -msgid "%s: could not open archive location \"%s\": %s\n" -msgstr "%s: không thể mở vị trí lưu trữ \"%s\": %s\n" - -#: pg_archivecleanup.c:248 -#, c-format -msgid "%s: invalid file name argument\n" -msgstr "%s: đối số tên tệp không hợp lệ\n" - -#: pg_archivecleanup.c:249 pg_archivecleanup.c:321 pg_archivecleanup.c:342 -#: pg_archivecleanup.c:354 pg_archivecleanup.c:361 -#, c-format -msgid "Try \"%s --help\" for more information.\n" -msgstr "Hãy thử \"%s --help\" để biết thêm thông tin.\n" - -#: pg_archivecleanup.c:262 -#, c-format -msgid "" -"%s removes older WAL files from PostgreSQL archives.\n" -"\n" -msgstr "%s xóa các tệp WAL cũ hơn khỏi lưu trữ PostgreSQL.\n" - -#: pg_archivecleanup.c:263 -#, c-format -msgid "Usage:\n" -msgstr "Cách sử dụng:\n" - -#: pg_archivecleanup.c:264 -#, c-format -msgid " %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n" -msgstr " %s [Tùy chọn]... ARCHIVELOCATION OLDESTKEPTWALFILE\n" - -#: pg_archivecleanup.c:265 -#, c-format -msgid "" -"\n" -"Options:\n" -msgstr "" -"\n" -"Tùy chọn:\n" - -#: pg_archivecleanup.c:266 -#, c-format -msgid " -d generate debug output (verbose mode)\n" -msgstr " -d xuất debug log (chế độ chi tiết)\n" - -#: pg_archivecleanup.c:267 -#, c-format -msgid "" -" -n dry run, show the names of the files that would be " -"removed\n" -msgstr " -n chạy khô, hiển thị tên của các tệp sẽ bị xóa\n" - -#: pg_archivecleanup.c:268 -#, c-format -msgid " -V, --version output version information, then exit\n" -msgstr " -V, --version xuất thông tin bản, sau đó kết thúc\n" - -#: pg_archivecleanup.c:269 -#, c-format -msgid " -x EXT clean up files if they have this extension\n" -msgstr " -x EXT dọn dẹp các tập tin nếu chúng có phần mở rộng này\n" - -#: pg_archivecleanup.c:270 -#, c-format -msgid " -?, --help show this help, then exit\n" -msgstr " -?, --help hiển thị trợ giúp này, sau đó thoát\n" - -#: pg_archivecleanup.c:271 -#, c-format -msgid "" -"\n" -"For use as archive_cleanup_command in recovery.conf when standby_mode = " -"on:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION " -"%%r'\n" -"e.g.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir " -"%%r'\n" -msgstr "" -"\n" -"Để sử dụng như archive_cleanup_command trong recovery.conf khi " -"standby_mode = on:\n" -" archive_cleanup_command = 'pg_archivecleanup [TÙY CHỌN] ... " -"ARCHIVELOCATION %%r'\n" -"ví dụ.\n" -" archive_cleanup_command = 'pg_archivecleanup/mnt/server/archiverdir " -"%%r'\n" - -#: pg_archivecleanup.c:276 -#, c-format -msgid "" -"\n" -"Or for use as a standalone archive cleaner:\n" -"e.g.\n" -" pg_archivecleanup /mnt/server/archiverdir " -"000000010000000000000010.00000020.backup\n" -msgstr "" -"\n" -"Hoặc để sử dụng như một trình dọn dẹp lưu trữ độc lập:\n" -"ví dụ.\n" -" pg_archivecleanup /mnt/server/archiverdir " -"000000010000000000000010.00000020.backup\n" - -#: pg_archivecleanup.c:280 -#, c-format -msgid "" -"\n" -"Report bugs to .\n" -msgstr "" -"\n" -"Báo cáo bugs qua email .\n" - -#: pg_archivecleanup.c:341 -#, c-format -msgid "%s: must specify archive location\n" -msgstr "%s: phải chỉ định vị trí lưu trữ\n" - -#: pg_archivecleanup.c:353 -#, c-format -msgid "%s: must specify oldest kept WAL file\n" -msgstr "%s: phải chỉ định tệp WAL được giữ lâu nhất\n" - -#: pg_archivecleanup.c:360 -#, c-format -msgid "%s: too many command-line arguments\n" -msgstr "%s: có quá nhiều đối số dòng lệnh\n" - -#: pg_archivecleanup.c:379 -#, c-format -msgid "%s: keeping WAL file \"%s\" and later\n" -msgstr "%s: giữ tệp WAL \"%s\" và những tệp tiếp theo\n" diff --git a/src/bin/pg_archivecleanup/po/zh_CN.po b/src/bin/pg_archivecleanup/po/zh_CN.po deleted file mode 100644 index 39c8569f34..0000000000 --- a/src/bin/pg_archivecleanup/po/zh_CN.po +++ /dev/null @@ -1,174 +0,0 @@ -# LANGUAGE message translation file for pg_archivecleanup -# Copyright (C) 2019 PostgreSQL Global Development Group -# This file is distributed under the same license as the pg_archivecleanup (PostgreSQL) package. -# FIRST AUTHOR , 2019. -# -msgid "" -msgstr "" -"Project-Id-Version: pg_archivecleanup (PostgreSQL) 12\n" -"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" -"POT-Creation-Date: 2019-05-22 17:56+0800\n" -"PO-Revision-Date: 2019-06-16 19:40+0800\n" -"Last-Translator: Jie Zhang \n" -"Language-Team: Chinese (Simplified) \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: zh_CN\n" - -#: ../../../src/common/logging.c:188 -#, c-format -msgid "fatal: " -msgstr "致命的: " - -#: ../../../src/common/logging.c:195 -#, c-format -msgid "error: " -msgstr "错误: " - -#: ../../../src/common/logging.c:202 -#, c-format -msgid "warning: " -msgstr "警告: " - -#: pg_archivecleanup.c:68 -#, c-format -msgid "archive location \"%s\" does not exist" -msgstr "存档位置\"%s\"不存在" - -#: pg_archivecleanup.c:153 -#, c-format -msgid "could not remove file \"%s\": %m" -msgstr "无法删除文件 \"%s\": %m" - -#: pg_archivecleanup.c:161 -#, c-format -msgid "could not read archive location \"%s\": %m" -msgstr "无法读取存档位置\"%s\": %m" - -#: pg_archivecleanup.c:164 -#, c-format -msgid "could not close archive location \"%s\": %m" -msgstr "无法关闭存档位置 \"%s\": %m" - -#: pg_archivecleanup.c:168 -#, c-format -msgid "could not open archive location \"%s\": %m" -msgstr "无法打开存档位置\"%s\": %m" - -#: pg_archivecleanup.c:241 -#, c-format -msgid "invalid file name argument" -msgstr "文件名参数无效" - -#: pg_archivecleanup.c:242 pg_archivecleanup.c:315 pg_archivecleanup.c:336 -#: pg_archivecleanup.c:348 pg_archivecleanup.c:355 -#, c-format -msgid "Try \"%s --help\" for more information.\n" -msgstr "请用 \"%s --help\" 获取更多的信息.\n" - -#: pg_archivecleanup.c:255 -#, c-format -msgid "" -"%s removes older WAL files from PostgreSQL archives.\n" -"\n" -msgstr "" -"%s 从PostgreSQL存档中删除旧的WAL文件.\n" -"\n" - -#: pg_archivecleanup.c:256 -#, c-format -msgid "Usage:\n" -msgstr "使用方法:\n" - -#: pg_archivecleanup.c:257 -#, c-format -msgid " %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n" -msgstr " %s [OPTION]... 归档文件位置 最早保存的WAL文件\n" - -#: pg_archivecleanup.c:258 -#, c-format -msgid "" -"\n" -"Options:\n" -msgstr "" -"\n" -"选项:\n" - -#: pg_archivecleanup.c:259 -#, c-format -msgid " -d generate debug output (verbose mode)\n" -msgstr " -d 生成调试输出(详细模式)\n" - -#: pg_archivecleanup.c:260 -#, c-format -msgid " -n dry run, show the names of the files that would be removed\n" -msgstr " -n dry运行,显示要删除的文件的名称\n" - -#: pg_archivecleanup.c:261 -#, c-format -msgid " -V, --version output version information, then exit\n" -msgstr " -V, --version 输出版本信息,然后退出\n" - -#: pg_archivecleanup.c:262 -#, c-format -msgid " -x EXT clean up files if they have this extension\n" -msgstr " -x EXT 如果文件具有此扩展名,则清除文件\n" - -#: pg_archivecleanup.c:263 -#, c-format -msgid " -?, --help show this help, then exit\n" -msgstr " -?, --help 显示帮助信息,然后退出\n" - -#: pg_archivecleanup.c:264 -#, c-format -msgid "" -"\n" -"For use as archive_cleanup_command in postgresql.conf:\n" -" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION %%r'\n" -"e.g.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" -msgstr "" -"\n" -"在postgresql.conf中,archive_cleanup_command的用法 \n" -" archive_cleanup_command = 'pg_archivecleanup [选项]... 存档位置 %%r'\n" -"例.\n" -" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" - -#: pg_archivecleanup.c:269 -#, c-format -msgid "" -"\n" -"Or for use as a standalone archive cleaner:\n" -"e.g.\n" -" pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n" -msgstr "" -"\n" -"或者,用作独立存档清理程序:\n" -"例.\n" -" pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n" - -#: pg_archivecleanup.c:273 -#, c-format -msgid "" -"\n" -"Report bugs to .\n" -msgstr "" -"\n" -"报告错误至 .\n" - -#: pg_archivecleanup.c:335 -#, c-format -msgid "must specify archive location" -msgstr "必须指定存档位置" - -#: pg_archivecleanup.c:347 -#, c-format -msgid "must specify oldest kept WAL file" -msgstr "必须指定最早保存的WAL文件" - -#: pg_archivecleanup.c:354 -#, c-format -msgid "too many command-line arguments" -msgstr "命令行参数太多" - diff --git a/src/bin/pg_archivecleanup/t/010_pg_archivecleanup.pl b/src/bin/pg_archivecleanup/t/010_pg_archivecleanup.pl deleted file mode 100644 index 22782d3042..0000000000 --- a/src/bin/pg_archivecleanup/t/010_pg_archivecleanup.pl +++ /dev/null @@ -1,98 +0,0 @@ -use strict; -use warnings; -use TestLib; -use Test::More tests => 42; - -program_help_ok('pg_archivecleanup'); -program_version_ok('pg_archivecleanup'); -program_options_handling_ok('pg_archivecleanup'); - -my $tempdir = TestLib::tempdir; - -my @walfiles = ( - '00000001000000370000000C.gz', '00000001000000370000000D', - '00000001000000370000000E', '00000001000000370000000F.partial',); - -sub create_files -{ - foreach my $fn (@walfiles, 'unrelated_file') - { - open my $file, '>', "$tempdir/$fn"; - print $file 'CONTENT'; - close $file; - } - return; -} - -create_files(); - -command_fails_like( - ['pg_archivecleanup'], - qr/must specify archive location/, - 'fails if archive location is not specified'); - -command_fails_like( - [ 'pg_archivecleanup', $tempdir ], - qr/must specify oldest kept WAL file/, - 'fails if oldest kept WAL file name is not specified'); - -command_fails_like( - [ 'pg_archivecleanup', 'notexist', 'foo' ], - qr/archive location .* does not exist/, - 'fails if archive location does not exist'); - -command_fails_like( - [ 'pg_archivecleanup', $tempdir, 'foo', 'bar' ], - qr/too many command-line arguments/, - 'fails with too many command-line arguments'); - -command_fails_like( - [ 'pg_archivecleanup', $tempdir, 'foo' ], - qr/invalid file name argument/, - 'fails with invalid restart file name'); - -{ - # like command_like but checking stderr - my $stderr; - my $result = IPC::Run::run [ 'pg_archivecleanup', '-d', '-n', $tempdir, - $walfiles[2] ], '2>', \$stderr; - ok($result, "pg_archivecleanup dry run: exit code 0"); - like( - $stderr, - qr/$walfiles[1].*would be removed/, - "pg_archivecleanup dry run: matches"); - foreach my $fn (@walfiles) - { - ok(-f "$tempdir/$fn", "$fn not removed"); - } -} - -sub run_check -{ - my ($suffix, $test_name) = @_; - - create_files(); - - command_ok( - [ - 'pg_archivecleanup', '-x', '.gz', $tempdir, - $walfiles[2] . $suffix - ], - "$test_name: runs"); - - ok(!-f "$tempdir/$walfiles[0]", - "$test_name: first older WAL file was cleaned up"); - ok(!-f "$tempdir/$walfiles[1]", - "$test_name: second older WAL file was cleaned up"); - ok(-f "$tempdir/$walfiles[2]", - "$test_name: restartfile was not cleaned up"); - ok(-f "$tempdir/$walfiles[3]", - "$test_name: newer WAL file was not cleaned up"); - ok(-f "$tempdir/unrelated_file", - "$test_name: unrelated file was not cleaned up"); - return; -} - -run_check('', 'pg_archivecleanup'); -run_check('.partial', 'pg_archivecleanup with .partial file'); -run_check('.00000020.backup', 'pg_archivecleanup with .backup file'); diff --git a/src/tools/msvc/Mkvcbuild.pm b/src/tools/msvc/Mkvcbuild.pm index 33ebea2965..a0a6512b11 100644 --- a/src/tools/msvc/Mkvcbuild.pm +++ b/src/tools/msvc/Mkvcbuild.pm @@ -56,11 +56,11 @@ my @contrib_excludes = ( my $frontend_defines = { 'initdb' => 'FRONTEND' }; my @frontend_uselibpq = ('pg_ctl', 'pg_upgrade', 'pgbench', 'psql', 'initdb'); my @frontend_uselibpgport = ( - 'pg_archivecleanup', 'pg_test_fsync', + 'pg_test_fsync', 'pg_test_timing', 'pg_upgrade', 'pg_waldump', 'pgbench'); my @frontend_uselibpgcommon = ( - 'pg_archivecleanup', 'pg_test_fsync', + 'pg_test_fsync', 'pg_test_timing', 'pg_upgrade', 'pg_waldump', 'pgbench'); my $frontend_extralibs = { -- 2.17.0