diff options
Diffstat (limited to 'src/bin/initdb')
28 files changed, 26893 insertions, 0 deletions
diff --git a/src/bin/initdb/.gitignore b/src/bin/initdb/.gitignore new file mode 100644 index 0000000..b3167c4 --- /dev/null +++ b/src/bin/initdb/.gitignore @@ -0,0 +1,5 @@ +/localtime.c + +/initdb + +/tmp_check/ diff --git a/src/bin/initdb/Makefile b/src/bin/initdb/Makefile new file mode 100644 index 0000000..d69bd89 --- /dev/null +++ b/src/bin/initdb/Makefile @@ -0,0 +1,71 @@ +#------------------------------------------------------------------------- +# +# Makefile for src/bin/initdb +# +# Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California +# +# src/bin/initdb/Makefile +# +#------------------------------------------------------------------------- + +PGFILEDESC = "initdb - initialize a new database cluster" +PGAPPICON=win32 + +subdir = src/bin/initdb +top_builddir = ../../.. +include $(top_builddir)/src/Makefile.global + +override CPPFLAGS := -I$(libpq_srcdir) -I$(top_srcdir)/src/timezone $(ICU_CFLAGS) $(CPPFLAGS) + +# Note: it's important that we link to encnames.o from libpgcommon, not +# from libpq, else we have risks of version skew if we run with a libpq +# shared library from a different PG version. The libpq_pgport macro +# should ensure that that happens. +# +# We need libpq only because fe_utils does. +LDFLAGS_INTERNAL += -L$(top_builddir)/src/fe_utils -lpgfeutils $(libpq_pgport) $(ICU_LIBS) + +# use system timezone data? +ifneq (,$(with_system_tzdata)) +override CPPFLAGS += '-DSYSTEMTZDIR="$(with_system_tzdata)"' +endif + +OBJS = \ + $(WIN32RES) \ + findtimezone.o \ + initdb.o \ + localtime.o + +all: initdb + +initdb: $(OBJS) | submake-libpq submake-libpgport submake-libpgfeutils + $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X) + +# We must pull in localtime.c from src/timezones +localtime.c: % : $(top_srcdir)/src/timezone/% + rm -f $@ && $(LN_S) $< . + +install: all installdirs + $(INSTALL_PROGRAM) initdb$(X) '$(DESTDIR)$(bindir)/initdb$(X)' + +installdirs: + $(MKDIR_P) '$(DESTDIR)$(bindir)' + +uninstall: + rm -f '$(DESTDIR)$(bindir)/initdb$(X)' + +clean distclean maintainer-clean: + rm -f initdb$(X) $(OBJS) localtime.c + rm -rf tmp_check + +# ensure that changes in datadir propagate into object file +initdb.o: initdb.c $(top_builddir)/src/Makefile.global + +export with_icu + +check: + $(prove_check) + +installcheck: + $(prove_installcheck) diff --git a/src/bin/initdb/findtimezone.c b/src/bin/initdb/findtimezone.c new file mode 100644 index 0000000..5bf2a30 --- /dev/null +++ b/src/bin/initdb/findtimezone.c @@ -0,0 +1,1777 @@ +/*------------------------------------------------------------------------- + * + * findtimezone.c + * Functions for determining the default timezone to use. + * + * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group + * + * IDENTIFICATION + * src/bin/initdb/findtimezone.c + * + *------------------------------------------------------------------------- + */ +#include "postgres_fe.h" + +#include <fcntl.h> +#include <sys/stat.h> +#include <time.h> +#include <unistd.h> + +#include "pgtz.h" + +/* Ideally this would be in a .h file, but it hardly seems worth the trouble */ +extern const char *select_default_timezone(const char *share_path); + + +#ifndef SYSTEMTZDIR +static char tzdirpath[MAXPGPATH]; +#endif + + +/* + * Return full pathname of timezone data directory + * + * In this file, tzdirpath is assumed to be set up by select_default_timezone. + */ +static const char * +pg_TZDIR(void) +{ +#ifndef SYSTEMTZDIR + /* normal case: timezone stuff is under our share dir */ + return tzdirpath; +#else + /* we're configured to use system's timezone database */ + return SYSTEMTZDIR; +#endif +} + + +/* + * Given a timezone name, open() the timezone data file. Return the + * file descriptor if successful, -1 if not. + * + * This is simpler than the backend function of the same name because + * we assume that the input string has the correct case already, so there + * is no need for case-folding. (This is obviously true if we got the file + * name from the filesystem to start with. The only other place it can come + * from is the environment variable TZ, and there seems no need to allow + * case variation in that; other programs aren't likely to.) + * + * If "canonname" is not NULL, then on success the canonical spelling of the + * given name is stored there (the buffer must be > TZ_STRLEN_MAX bytes!). + * This is redundant but kept for compatibility with the backend code. + */ +int +pg_open_tzfile(const char *name, char *canonname) +{ + char fullname[MAXPGPATH]; + + if (canonname) + strlcpy(canonname, name, TZ_STRLEN_MAX + 1); + + strlcpy(fullname, pg_TZDIR(), sizeof(fullname)); + if (strlen(fullname) + 1 + strlen(name) >= MAXPGPATH) + return -1; /* not gonna fit */ + strcat(fullname, "/"); + strcat(fullname, name); + + return open(fullname, O_RDONLY | PG_BINARY, 0); +} + + + +/* + * Load a timezone definition. + * Does not verify that the timezone is acceptable! + * + * This corresponds to the backend's pg_tzset(), except that we only support + * one loaded timezone at a time. + */ +static pg_tz * +pg_load_tz(const char *name) +{ + static pg_tz tz; + + if (strlen(name) > TZ_STRLEN_MAX) + return NULL; /* not going to fit */ + + /* + * "GMT" is always sent to tzparse(); see comments for pg_tzset(). + */ + if (strcmp(name, "GMT") == 0) + { + if (!tzparse(name, &tz.state, true)) + { + /* This really, really should not happen ... */ + return NULL; + } + } + else if (tzload(name, NULL, &tz.state, true) != 0) + { + if (name[0] == ':' || !tzparse(name, &tz.state, false)) + { + return NULL; /* unknown timezone */ + } + } + + strcpy(tz.TZname, name); + + return &tz; +} + + +/* + * The following block of code attempts to determine which timezone in our + * timezone database is the best match for the active system timezone. + * + * On most systems, we rely on trying to match the observable behavior of + * the C library's localtime() function. The database zone that matches + * furthest into the past is the one to use. Often there will be several + * zones with identical rankings (since the IANA database assigns multiple + * names to many zones). We break ties by first checking for "preferred" + * names (such as "UTC"), and then arbitrarily by preferring shorter, then + * alphabetically earlier zone names. (If we did not explicitly prefer + * "UTC", we would get the alias name "UCT" instead due to alphabetic + * ordering.) + * + * Many modern systems use the IANA database, so if we can determine the + * system's idea of which zone it is using and its behavior matches our zone + * of the same name, we can skip the rather-expensive search through all the + * zones in our database. This short-circuit path also ensures that we spell + * the zone name the same way the system setting does, even in the presence + * of multiple aliases for the same zone. + * + * Win32's native knowledge about timezones appears to be too incomplete + * and too different from the IANA database for the above matching strategy + * to be of any use. But there is just a limited number of timezones + * available, so we can rely on a handmade mapping table instead. + */ + +#ifndef WIN32 + +#define T_DAY ((time_t) (60*60*24)) +#define T_WEEK ((time_t) (60*60*24*7)) +#define T_MONTH ((time_t) (60*60*24*31)) + +#define MAX_TEST_TIMES (52*100) /* 100 years */ + +struct tztry +{ + int n_test_times; + time_t test_times[MAX_TEST_TIMES]; +}; + +static bool check_system_link_file(const char *linkname, struct tztry *tt, + char *bestzonename); +static void scan_available_timezones(char *tzdir, char *tzdirsub, + struct tztry *tt, + int *bestscore, char *bestzonename); + + +/* + * Get GMT offset from a system struct tm + */ +static int +get_timezone_offset(struct tm *tm) +{ +#if defined(HAVE_STRUCT_TM_TM_ZONE) + return tm->tm_gmtoff; +#elif defined(HAVE_INT_TIMEZONE) + return -TIMEZONE_GLOBAL; +#else +#error No way to determine TZ? Can this happen? +#endif +} + +/* + * Convenience subroutine to convert y/m/d to time_t (NOT pg_time_t) + */ +static time_t +build_time_t(int year, int month, int day) +{ + struct tm tm; + + memset(&tm, 0, sizeof(tm)); + tm.tm_mday = day; + tm.tm_mon = month - 1; + tm.tm_year = year - 1900; + tm.tm_isdst = -1; + + return mktime(&tm); +} + +/* + * Does a system tm value match one we computed ourselves? + */ +static bool +compare_tm(struct tm *s, struct pg_tm *p) +{ + if (s->tm_sec != p->tm_sec || + s->tm_min != p->tm_min || + s->tm_hour != p->tm_hour || + s->tm_mday != p->tm_mday || + s->tm_mon != p->tm_mon || + s->tm_year != p->tm_year || + s->tm_wday != p->tm_wday || + s->tm_yday != p->tm_yday || + s->tm_isdst != p->tm_isdst) + return false; + return true; +} + +/* + * See how well a specific timezone setting matches the system behavior + * + * We score a timezone setting according to the number of test times it + * matches. (The test times are ordered later-to-earlier, but this routine + * doesn't actually know that; it just scans until the first non-match.) + * + * We return -1 for a completely unusable setting; this is worse than the + * score of zero for a setting that works but matches not even the first + * test time. + */ +static int +score_timezone(const char *tzname, struct tztry *tt) +{ + int i; + pg_time_t pgtt; + struct tm *systm; + struct pg_tm *pgtm; + char cbuf[TZ_STRLEN_MAX + 1]; + pg_tz *tz; + + /* Load timezone definition */ + tz = pg_load_tz(tzname); + if (!tz) + return -1; /* unrecognized zone name */ + + /* Reject if leap seconds involved */ + if (!pg_tz_acceptable(tz)) + { +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "Reject TZ \"%s\": uses leap seconds\n", tzname); +#endif + return -1; + } + + /* Check for match at all the test times */ + for (i = 0; i < tt->n_test_times; i++) + { + pgtt = (pg_time_t) (tt->test_times[i]); + pgtm = pg_localtime(&pgtt, tz); + if (!pgtm) + return -1; /* probably shouldn't happen */ + systm = localtime(&(tt->test_times[i])); + if (!systm) + { +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "TZ \"%s\" scores %d: at %ld %04d-%02d-%02d %02d:%02d:%02d %s, system had no data\n", + tzname, i, (long) pgtt, + pgtm->tm_year + 1900, pgtm->tm_mon + 1, pgtm->tm_mday, + pgtm->tm_hour, pgtm->tm_min, pgtm->tm_sec, + pgtm->tm_isdst ? "dst" : "std"); +#endif + return i; + } + if (!compare_tm(systm, pgtm)) + { +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "TZ \"%s\" scores %d: at %ld %04d-%02d-%02d %02d:%02d:%02d %s versus %04d-%02d-%02d %02d:%02d:%02d %s\n", + tzname, i, (long) pgtt, + pgtm->tm_year + 1900, pgtm->tm_mon + 1, pgtm->tm_mday, + pgtm->tm_hour, pgtm->tm_min, pgtm->tm_sec, + pgtm->tm_isdst ? "dst" : "std", + systm->tm_year + 1900, systm->tm_mon + 1, systm->tm_mday, + systm->tm_hour, systm->tm_min, systm->tm_sec, + systm->tm_isdst ? "dst" : "std"); +#endif + return i; + } + if (systm->tm_isdst >= 0) + { + /* Check match of zone names, too */ + if (pgtm->tm_zone == NULL) + return -1; /* probably shouldn't happen */ + memset(cbuf, 0, sizeof(cbuf)); + strftime(cbuf, sizeof(cbuf) - 1, "%Z", systm); /* zone abbr */ + if (strcmp(cbuf, pgtm->tm_zone) != 0) + { +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "TZ \"%s\" scores %d: at %ld \"%s\" versus \"%s\"\n", + tzname, i, (long) pgtt, + pgtm->tm_zone, cbuf); +#endif + return i; + } + } + } + +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "TZ \"%s\" gets max score %d\n", tzname, i); +#endif + + return i; +} + +/* + * Test whether given zone name is a perfect match to localtime() behavior + */ +static bool +perfect_timezone_match(const char *tzname, struct tztry *tt) +{ + return (score_timezone(tzname, tt) == tt->n_test_times); +} + + +/* + * Try to identify a timezone name (in our terminology) that best matches the + * observed behavior of the system localtime() function. + */ +static const char * +identify_system_timezone(void) +{ + static char resultbuf[TZ_STRLEN_MAX + 1]; + time_t tnow; + time_t t; + struct tztry tt; + struct tm *tm; + int thisyear; + int bestscore; + char tmptzdir[MAXPGPATH]; + int std_ofs; + char std_zone_name[TZ_STRLEN_MAX + 1], + dst_zone_name[TZ_STRLEN_MAX + 1]; + char cbuf[TZ_STRLEN_MAX + 1]; + + /* Initialize OS timezone library */ + tzset(); + + /* + * Set up the list of dates to be probed to see how well our timezone + * matches the system zone. We first probe January and July of the + * current year; this serves to quickly eliminate the vast majority of the + * TZ database entries. If those dates match, we probe every week for 100 + * years backwards from the current July. (Weekly resolution is good + * enough to identify DST transition rules, since everybody switches on + * Sundays.) This is sufficient to cover most of the Unix time_t range, + * and we don't want to look further than that since many systems won't + * have sane TZ behavior further back anyway. The further back the zone + * matches, the better we score it. This may seem like a rather random + * way of doing things, but experience has shown that system-supplied + * timezone definitions are likely to have DST behavior that is right for + * the recent past and not so accurate further back. Scoring in this way + * allows us to recognize zones that have some commonality with the IANA + * database, without insisting on exact match. (Note: we probe Thursdays, + * not Sundays, to avoid triggering DST-transition bugs in localtime + * itself.) + */ + tnow = time(NULL); + tm = localtime(&tnow); + if (!tm) + return NULL; /* give up if localtime is broken... */ + thisyear = tm->tm_year + 1900; + + t = build_time_t(thisyear, 1, 15); + + /* + * Round back to GMT midnight Thursday. This depends on the knowledge + * that the time_t origin is Thu Jan 01 1970. (With a different origin + * we'd be probing some other day of the week, but it wouldn't matter + * anyway unless localtime() had DST-transition bugs.) + */ + t -= (t % T_WEEK); + + tt.n_test_times = 0; + tt.test_times[tt.n_test_times++] = t; + + t = build_time_t(thisyear, 7, 15); + t -= (t % T_WEEK); + + tt.test_times[tt.n_test_times++] = t; + + while (tt.n_test_times < MAX_TEST_TIMES) + { + t -= T_WEEK; + tt.test_times[tt.n_test_times++] = t; + } + + /* + * Try to avoid the brute-force search by seeing if we can recognize the + * system's timezone setting directly. + * + * Currently we just check /etc/localtime; there are other conventions for + * this, but that seems to be the only one used on enough platforms to be + * worth troubling over. + */ + if (check_system_link_file("/etc/localtime", &tt, resultbuf)) + return resultbuf; + + /* No luck, so search for the best-matching timezone file */ + strlcpy(tmptzdir, pg_TZDIR(), sizeof(tmptzdir)); + bestscore = -1; + resultbuf[0] = '\0'; + scan_available_timezones(tmptzdir, tmptzdir + strlen(tmptzdir) + 1, + &tt, + &bestscore, resultbuf); + if (bestscore > 0) + { + /* Ignore IANA's rather silly "Factory" zone; use GMT instead */ + if (strcmp(resultbuf, "Factory") == 0) + return NULL; + return resultbuf; + } + + /* + * Couldn't find a match in the database, so next we try constructed zone + * names (like "PST8PDT"). + * + * First we need to determine the names of the local standard and daylight + * zones. The idea here is to scan forward from today until we have seen + * both zones, if both are in use. + */ + memset(std_zone_name, 0, sizeof(std_zone_name)); + memset(dst_zone_name, 0, sizeof(dst_zone_name)); + std_ofs = 0; + + tnow = time(NULL); + + /* + * Round back to a GMT midnight so results don't depend on local time of + * day + */ + tnow -= (tnow % T_DAY); + + /* + * We have to look a little further ahead than one year, in case today is + * just past a DST boundary that falls earlier in the year than the next + * similar boundary. Arbitrarily scan up to 14 months. + */ + for (t = tnow; t <= tnow + T_MONTH * 14; t += T_MONTH) + { + tm = localtime(&t); + if (!tm) + continue; + if (tm->tm_isdst < 0) + continue; + if (tm->tm_isdst == 0 && std_zone_name[0] == '\0') + { + /* found STD zone */ + memset(cbuf, 0, sizeof(cbuf)); + strftime(cbuf, sizeof(cbuf) - 1, "%Z", tm); /* zone abbr */ + strcpy(std_zone_name, cbuf); + std_ofs = get_timezone_offset(tm); + } + if (tm->tm_isdst > 0 && dst_zone_name[0] == '\0') + { + /* found DST zone */ + memset(cbuf, 0, sizeof(cbuf)); + strftime(cbuf, sizeof(cbuf) - 1, "%Z", tm); /* zone abbr */ + strcpy(dst_zone_name, cbuf); + } + /* Done if found both */ + if (std_zone_name[0] && dst_zone_name[0]) + break; + } + + /* We should have found a STD zone name by now... */ + if (std_zone_name[0] == '\0') + { +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "could not determine system time zone\n"); +#endif + return NULL; /* go to GMT */ + } + + /* If we found DST then try STD<ofs>DST */ + if (dst_zone_name[0] != '\0') + { + snprintf(resultbuf, sizeof(resultbuf), "%s%d%s", + std_zone_name, -std_ofs / 3600, dst_zone_name); + if (score_timezone(resultbuf, &tt) > 0) + return resultbuf; + } + + /* Try just the STD timezone (works for GMT at least) */ + strcpy(resultbuf, std_zone_name); + if (score_timezone(resultbuf, &tt) > 0) + return resultbuf; + + /* Try STD<ofs> */ + snprintf(resultbuf, sizeof(resultbuf), "%s%d", + std_zone_name, -std_ofs / 3600); + if (score_timezone(resultbuf, &tt) > 0) + return resultbuf; + + /* + * Did not find the timezone. Fallback to use a GMT zone. Note that the + * IANA timezone database names the GMT-offset zones in POSIX style: plus + * is west of Greenwich. It's unfortunate that this is opposite of SQL + * conventions. Should we therefore change the names? Probably not... + */ + snprintf(resultbuf, sizeof(resultbuf), "Etc/GMT%s%d", + (-std_ofs > 0) ? "+" : "", -std_ofs / 3600); + +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "could not recognize system time zone, using \"%s\"\n", + resultbuf); +#endif + return resultbuf; +} + +/* + * Examine a system-provided symlink file to see if it tells us the timezone. + * + * Unfortunately, there is little standardization of how the system default + * timezone is determined in the absence of a TZ environment setting. + * But a common strategy is to create a symlink at a well-known place. + * If "linkname" identifies a readable symlink, and the tail of its contents + * matches a zone name we know, and the actual behavior of localtime() agrees + * with what we think that zone means, then we may use that zone name. + * + * We insist on a perfect behavioral match, which might not happen if the + * system has a different IANA database version than we do; but in that case + * it seems best to fall back to the brute-force search. + * + * linkname is the symlink file location to probe. + * + * tt tells about the system timezone behavior we need to match. + * + * If we successfully identify a zone name, store it in *bestzonename and + * return true; else return false. bestzonename must be a buffer of length + * TZ_STRLEN_MAX + 1. + */ +static bool +check_system_link_file(const char *linkname, struct tztry *tt, + char *bestzonename) +{ +#ifdef HAVE_READLINK + char link_target[MAXPGPATH]; + int len; + const char *cur_name; + + /* + * Try to read the symlink. If not there, not a symlink, etc etc, just + * quietly fail; the precise reason needn't concern us. + */ + len = readlink(linkname, link_target, sizeof(link_target)); + if (len < 0 || len >= sizeof(link_target)) + return false; + link_target[len] = '\0'; + +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "symbolic link \"%s\" contains \"%s\"\n", + linkname, link_target); +#endif + + /* + * The symlink is probably of the form "/path/to/zones/zone/name", or + * possibly it is a relative path. Nobody puts their zone DB directly in + * the root directory, so we can definitely skip the first component; but + * after that it's trial-and-error to identify which path component begins + * the zone name. + */ + cur_name = link_target; + while (*cur_name) + { + /* Advance to next segment of path */ + cur_name = strchr(cur_name + 1, '/'); + if (cur_name == NULL) + break; + /* If there are consecutive slashes, skip all, as the kernel would */ + do + { + cur_name++; + } while (*cur_name == '/'); + + /* + * Test remainder of path to see if it is a matching zone name. + * Relative paths might contain ".."; we needn't bother testing if the + * first component is that. Also defend against overlength names. + */ + if (*cur_name && *cur_name != '.' && + strlen(cur_name) <= TZ_STRLEN_MAX && + perfect_timezone_match(cur_name, tt)) + { + /* Success! */ + strcpy(bestzonename, cur_name); + return true; + } + } + + /* Couldn't extract a matching zone name */ + return false; +#else + /* No symlinks? Forget it */ + return false; +#endif +} + +/* + * Given a timezone name, determine whether it should be preferred over other + * names which are equally good matches. The output is arbitrary but we will + * use 0 for "neutral" default preference; larger values are more preferred. + */ +static int +zone_name_pref(const char *zonename) +{ + /* + * Prefer UTC over alternatives such as UCT. Also prefer Etc/UTC over + * Etc/UCT; but UTC is preferred to Etc/UTC. + */ + if (strcmp(zonename, "UTC") == 0) + return 50; + if (strcmp(zonename, "Etc/UTC") == 0) + return 40; + + /* + * We don't want to pick "localtime" or "posixrules", unless we can find + * no other name for the prevailing zone. Those aren't real zone names. + */ + if (strcmp(zonename, "localtime") == 0 || + strcmp(zonename, "posixrules") == 0) + return -50; + + return 0; +} + +/* + * Recursively scan the timezone database looking for the best match to + * the system timezone behavior. + * + * tzdir points to a buffer of size MAXPGPATH. On entry, it holds the + * pathname of a directory containing TZ files. We internally modify it + * to hold pathnames of sub-directories and files, but must restore it + * to its original contents before exit. + * + * tzdirsub points to the part of tzdir that represents the subfile name + * (ie, tzdir + the original directory name length, plus one for the + * first added '/'). + * + * tt tells about the system timezone behavior we need to match. + * + * *bestscore and *bestzonename on entry hold the best score found so far + * and the name of the best zone. We overwrite them if we find a better + * score. bestzonename must be a buffer of length TZ_STRLEN_MAX + 1. + */ +static void +scan_available_timezones(char *tzdir, char *tzdirsub, struct tztry *tt, + int *bestscore, char *bestzonename) +{ + int tzdir_orig_len = strlen(tzdir); + char **names; + char **namep; + + names = pgfnames(tzdir); + if (!names) + return; + + for (namep = names; *namep; namep++) + { + char *name = *namep; + struct stat statbuf; + + /* Ignore . and .., plus any other "hidden" files */ + if (name[0] == '.') + continue; + + snprintf(tzdir + tzdir_orig_len, MAXPGPATH - tzdir_orig_len, + "/%s", name); + + if (stat(tzdir, &statbuf) != 0) + { +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "could not stat \"%s\": %s\n", + tzdir, strerror(errno)); +#endif + tzdir[tzdir_orig_len] = '\0'; + continue; + } + + if (S_ISDIR(statbuf.st_mode)) + { + /* Recurse into subdirectory */ + scan_available_timezones(tzdir, tzdirsub, tt, + bestscore, bestzonename); + } + else + { + /* Load and test this file */ + int score = score_timezone(tzdirsub, tt); + + if (score > *bestscore) + { + *bestscore = score; + strlcpy(bestzonename, tzdirsub, TZ_STRLEN_MAX + 1); + } + else if (score == *bestscore) + { + /* Consider how to break a tie */ + int namepref = (zone_name_pref(tzdirsub) - + zone_name_pref(bestzonename)); + + if (namepref > 0 || + (namepref == 0 && + (strlen(tzdirsub) < strlen(bestzonename) || + (strlen(tzdirsub) == strlen(bestzonename) && + strcmp(tzdirsub, bestzonename) < 0)))) + strlcpy(bestzonename, tzdirsub, TZ_STRLEN_MAX + 1); + } + } + + /* Restore tzdir */ + tzdir[tzdir_orig_len] = '\0'; + } + + pgfnames_cleanup(names); +} +#else /* WIN32 */ + +static const struct +{ + const char *stdname; /* Windows name of standard timezone */ + const char *dstname; /* Windows name of daylight timezone */ + const char *pgtzname; /* Name of pgsql timezone to map to */ +} win32_tzmap[] = + +{ + /* + * This list was built from the contents of the registry at + * HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time + * Zones on Windows 7, Windows 10, and Windows Server 2019. Some recent + * additions have been made by comparing to the CLDR project's + * windowsZones.xml file. + * + * The zones have been matched to IANA timezones based on CLDR's mapping + * for "territory 001". + */ + { + /* (UTC+04:30) Kabul */ + "Afghanistan Standard Time", "Afghanistan Daylight Time", + "Asia/Kabul" + }, + { + /* (UTC-09:00) Alaska */ + "Alaskan Standard Time", "Alaskan Daylight Time", + "America/Anchorage" + }, + { + /* (UTC-10:00) Aleutian Islands */ + "Aleutian Standard Time", "Aleutian Daylight Time", + "America/Adak" + }, + { + /* (UTC+07:00) Barnaul, Gorno-Altaysk */ + "Altai Standard Time", "Altai Daylight Time", + "Asia/Barnaul" + }, + { + /* (UTC+03:00) Kuwait, Riyadh */ + "Arab Standard Time", "Arab Daylight Time", + "Asia/Riyadh" + }, + { + /* (UTC+04:00) Abu Dhabi, Muscat */ + "Arabian Standard Time", "Arabian Daylight Time", + "Asia/Dubai" + }, + { + /* (UTC+03:00) Baghdad */ + "Arabic Standard Time", "Arabic Daylight Time", + "Asia/Baghdad" + }, + { + /* (UTC-03:00) City of Buenos Aires */ + "Argentina Standard Time", "Argentina Daylight Time", + "America/Buenos_Aires" + }, + { + /* (UTC+04:00) Baku, Tbilisi, Yerevan */ + "Armenian Standard Time", "Armenian Daylight Time", + "Asia/Yerevan" + }, + { + /* (UTC+04:00) Astrakhan, Ulyanovsk */ + "Astrakhan Standard Time", "Astrakhan Daylight Time", + "Europe/Astrakhan" + }, + { + /* (UTC-04:00) Atlantic Time (Canada) */ + "Atlantic Standard Time", "Atlantic Daylight Time", + "America/Halifax" + }, + { + /* (UTC+09:30) Darwin */ + "AUS Central Standard Time", "AUS Central Daylight Time", + "Australia/Darwin" + }, + { + /* (UTC+08:45) Eucla */ + "Aus Central W. Standard Time", "Aus Central W. Daylight Time", + "Australia/Eucla" + }, + { + /* (UTC+10:00) Canberra, Melbourne, Sydney */ + "AUS Eastern Standard Time", "AUS Eastern Daylight Time", + "Australia/Sydney" + }, + { + /* (UTC+04:00) Baku */ + "Azerbaijan Standard Time", "Azerbaijan Daylight Time", + "Asia/Baku" + }, + { + /* (UTC-01:00) Azores */ + "Azores Standard Time", "Azores Daylight Time", + "Atlantic/Azores" + }, + { + /* (UTC-03:00) Salvador */ + "Bahia Standard Time", "Bahia Daylight Time", + "America/Bahia" + }, + { + /* (UTC+06:00) Dhaka */ + "Bangladesh Standard Time", "Bangladesh Daylight Time", + "Asia/Dhaka" + }, + { + /* (UTC+03:00) Minsk */ + "Belarus Standard Time", "Belarus Daylight Time", + "Europe/Minsk" + }, + { + /* (UTC+11:00) Bougainville Island */ + "Bougainville Standard Time", "Bougainville Daylight Time", + "Pacific/Bougainville" + }, + { + /* (UTC-01:00) Cabo Verde Is. */ + "Cabo Verde Standard Time", "Cabo Verde Daylight Time", + "Atlantic/Cape_Verde" + }, + { + /* (UTC-06:00) Saskatchewan */ + "Canada Central Standard Time", "Canada Central Daylight Time", + "America/Regina" + }, + { + /* (UTC-01:00) Cape Verde Is. */ + "Cape Verde Standard Time", "Cape Verde Daylight Time", + "Atlantic/Cape_Verde" + }, + { + /* (UTC+04:00) Yerevan */ + "Caucasus Standard Time", "Caucasus Daylight Time", + "Asia/Yerevan" + }, + { + /* (UTC+09:30) Adelaide */ + "Cen. Australia Standard Time", "Cen. Australia Daylight Time", + "Australia/Adelaide" + }, + { + /* (UTC-06:00) Central America */ + "Central America Standard Time", "Central America Daylight Time", + "America/Guatemala" + }, + { + /* (UTC+06:00) Astana */ + "Central Asia Standard Time", "Central Asia Daylight Time", + "Asia/Almaty" + }, + { + /* (UTC-04:00) Cuiaba */ + "Central Brazilian Standard Time", "Central Brazilian Daylight Time", + "America/Cuiaba" + }, + { + /* (UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague */ + "Central Europe Standard Time", "Central Europe Daylight Time", + "Europe/Budapest" + }, + { + /* (UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb */ + "Central European Standard Time", "Central European Daylight Time", + "Europe/Warsaw" + }, + { + /* (UTC+11:00) Solomon Is., New Caledonia */ + "Central Pacific Standard Time", "Central Pacific Daylight Time", + "Pacific/Guadalcanal" + }, + { + /* (UTC-06:00) Central Time (US & Canada) */ + "Central Standard Time", "Central Daylight Time", + "America/Chicago" + }, + { + /* (UTC-06:00) Guadalajara, Mexico City, Monterrey */ + "Central Standard Time (Mexico)", "Central Daylight Time (Mexico)", + "America/Mexico_City" + }, + { + /* (UTC+12:45) Chatham Islands */ + "Chatham Islands Standard Time", "Chatham Islands Daylight Time", + "Pacific/Chatham" + }, + { + /* (UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi */ + "China Standard Time", "China Daylight Time", + "Asia/Shanghai" + }, + { + /* (UTC) Coordinated Universal Time */ + "Coordinated Universal Time", "Coordinated Universal Time", + "UTC" + }, + { + /* (UTC-05:00) Havana */ + "Cuba Standard Time", "Cuba Daylight Time", + "America/Havana" + }, + { + /* (UTC-12:00) International Date Line West */ + "Dateline Standard Time", "Dateline Daylight Time", + "Etc/GMT+12" + }, + { + /* (UTC+03:00) Nairobi */ + "E. Africa Standard Time", "E. Africa Daylight Time", + "Africa/Nairobi" + }, + { + /* (UTC+10:00) Brisbane */ + "E. Australia Standard Time", "E. Australia Daylight Time", + "Australia/Brisbane" + }, + { + /* (UTC+02:00) Chisinau */ + "E. Europe Standard Time", "E. Europe Daylight Time", + "Europe/Chisinau" + }, + { + /* (UTC-03:00) Brasilia */ + "E. South America Standard Time", "E. South America Daylight Time", + "America/Sao_Paulo" + }, + { + /* (UTC-06:00) Easter Island */ + "Easter Island Standard Time", "Easter Island Daylight Time", + "Pacific/Easter" + }, + { + /* (UTC-05:00) Eastern Time (US & Canada) */ + "Eastern Standard Time", "Eastern Daylight Time", + "America/New_York" + }, + { + /* (UTC-05:00) Chetumal */ + "Eastern Standard Time (Mexico)", "Eastern Daylight Time (Mexico)", + "America/Cancun" + }, + { + /* (UTC+02:00) Cairo */ + "Egypt Standard Time", "Egypt Daylight Time", + "Africa/Cairo" + }, + { + /* (UTC+05:00) Ekaterinburg */ + "Ekaterinburg Standard Time", "Ekaterinburg Daylight Time", + "Asia/Yekaterinburg" + }, + { + /* (UTC+12:00) Fiji */ + "Fiji Standard Time", "Fiji Daylight Time", + "Pacific/Fiji" + }, + { + /* (UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius */ + "FLE Standard Time", "FLE Daylight Time", + "Europe/Kiev" + }, + { + /* (UTC+04:00) Tbilisi */ + "Georgian Standard Time", "Georgian Daylight Time", + "Asia/Tbilisi" + }, + { + /* (UTC+00:00) Dublin, Edinburgh, Lisbon, London */ + "GMT Standard Time", "GMT Daylight Time", + "Europe/London" + }, + { + /* (UTC-03:00) Greenland */ + "Greenland Standard Time", "Greenland Daylight Time", + "America/Godthab" + }, + { + /* + * Windows uses this zone name in various places that lie near the + * prime meridian, but are not in the UK. However, most people + * probably think that "Greenwich" means UK civil time, or maybe even + * straight-up UTC. Atlantic/Reykjavik is a decent match for that + * interpretation because Iceland hasn't observed DST since 1968. + */ + /* (UTC+00:00) Monrovia, Reykjavik */ + "Greenwich Standard Time", "Greenwich Daylight Time", + "Atlantic/Reykjavik" + }, + { + /* (UTC+02:00) Athens, Bucharest */ + "GTB Standard Time", "GTB Daylight Time", + "Europe/Bucharest" + }, + { + /* (UTC-05:00) Haiti */ + "Haiti Standard Time", "Haiti Daylight Time", + "America/Port-au-Prince" + }, + { + /* (UTC-10:00) Hawaii */ + "Hawaiian Standard Time", "Hawaiian Daylight Time", + "Pacific/Honolulu" + }, + { + /* (UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi */ + "India Standard Time", "India Daylight Time", + "Asia/Calcutta" + }, + { + /* (UTC+03:30) Tehran */ + "Iran Standard Time", "Iran Daylight Time", + "Asia/Tehran" + }, + { + /* (UTC+02:00) Jerusalem */ + "Israel Standard Time", "Israel Daylight Time", + "Asia/Jerusalem" + }, + { + /* (UTC+02:00) Jerusalem (old spelling of zone name) */ + "Jerusalem Standard Time", "Jerusalem Daylight Time", + "Asia/Jerusalem" + }, + { + /* (UTC+02:00) Amman */ + "Jordan Standard Time", "Jordan Daylight Time", + "Asia/Amman" + }, + { + /* (UTC+02:00) Kaliningrad */ + "Kaliningrad Standard Time", "Kaliningrad Daylight Time", + "Europe/Kaliningrad" + }, + { + /* (UTC+12:00) Petropavlovsk-Kamchatsky - Old */ + "Kamchatka Standard Time", "Kamchatka Daylight Time", + "Asia/Kamchatka" + }, + { + /* (UTC+09:00) Seoul */ + "Korea Standard Time", "Korea Daylight Time", + "Asia/Seoul" + }, + { + /* (UTC+02:00) Tripoli */ + "Libya Standard Time", "Libya Daylight Time", + "Africa/Tripoli" + }, + { + /* (UTC+14:00) Kiritimati Island */ + "Line Islands Standard Time", "Line Islands Daylight Time", + "Pacific/Kiritimati" + }, + { + /* (UTC+10:30) Lord Howe Island */ + "Lord Howe Standard Time", "Lord Howe Daylight Time", + "Australia/Lord_Howe" + }, + { + /* (UTC+11:00) Magadan */ + "Magadan Standard Time", "Magadan Daylight Time", + "Asia/Magadan" + }, + { + /* (UTC-03:00) Punta Arenas */ + "Magallanes Standard Time", "Magallanes Daylight Time", + "America/Punta_Arenas" + }, + { + /* (UTC+08:00) Kuala Lumpur, Singapore */ + "Malay Peninsula Standard Time", "Malay Peninsula Daylight Time", + "Asia/Kuala_Lumpur" + }, + { + /* (UTC-09:30) Marquesas Islands */ + "Marquesas Standard Time", "Marquesas Daylight Time", + "Pacific/Marquesas" + }, + { + /* (UTC+04:00) Port Louis */ + "Mauritius Standard Time", "Mauritius Daylight Time", + "Indian/Mauritius" + }, + { + /* (UTC-06:00) Guadalajara, Mexico City, Monterrey */ + "Mexico Standard Time", "Mexico Daylight Time", + "America/Mexico_City" + }, + { + /* (UTC-07:00) Chihuahua, La Paz, Mazatlan */ + "Mexico Standard Time 2", "Mexico Daylight Time 2", + "America/Chihuahua" + }, + { + /* (UTC-02:00) Mid-Atlantic - Old */ + "Mid-Atlantic Standard Time", "Mid-Atlantic Daylight Time", + "Atlantic/South_Georgia" + }, + { + /* (UTC+02:00) Beirut */ + "Middle East Standard Time", "Middle East Daylight Time", + "Asia/Beirut" + }, + { + /* (UTC-03:00) Montevideo */ + "Montevideo Standard Time", "Montevideo Daylight Time", + "America/Montevideo" + }, + { + /* (UTC+01:00) Casablanca */ + "Morocco Standard Time", "Morocco Daylight Time", + "Africa/Casablanca" + }, + { + /* (UTC-07:00) Mountain Time (US & Canada) */ + "Mountain Standard Time", "Mountain Daylight Time", + "America/Denver" + }, + { + /* (UTC-07:00) Chihuahua, La Paz, Mazatlan */ + "Mountain Standard Time (Mexico)", "Mountain Daylight Time (Mexico)", + "America/Chihuahua" + }, + { + /* (UTC+06:30) Yangon (Rangoon) */ + "Myanmar Standard Time", "Myanmar Daylight Time", + "Asia/Rangoon" + }, + { + /* (UTC+07:00) Novosibirsk */ + "N. Central Asia Standard Time", "N. Central Asia Daylight Time", + "Asia/Novosibirsk" + }, + { + /* (UTC+02:00) Windhoek */ + "Namibia Standard Time", "Namibia Daylight Time", + "Africa/Windhoek" + }, + { + /* (UTC+05:45) Kathmandu */ + "Nepal Standard Time", "Nepal Daylight Time", + "Asia/Katmandu" + }, + { + /* (UTC+12:00) Auckland, Wellington */ + "New Zealand Standard Time", "New Zealand Daylight Time", + "Pacific/Auckland" + }, + { + /* (UTC-03:30) Newfoundland */ + "Newfoundland Standard Time", "Newfoundland Daylight Time", + "America/St_Johns" + }, + { + /* (UTC+11:00) Norfolk Island */ + "Norfolk Standard Time", "Norfolk Daylight Time", + "Pacific/Norfolk" + }, + { + /* (UTC+08:00) Irkutsk */ + "North Asia East Standard Time", "North Asia East Daylight Time", + "Asia/Irkutsk" + }, + { + /* (UTC+07:00) Krasnoyarsk */ + "North Asia Standard Time", "North Asia Daylight Time", + "Asia/Krasnoyarsk" + }, + { + /* (UTC+09:00) Pyongyang */ + "North Korea Standard Time", "North Korea Daylight Time", + "Asia/Pyongyang" + }, + { + /* (UTC+07:00) Novosibirsk */ + "Novosibirsk Standard Time", "Novosibirsk Daylight Time", + "Asia/Novosibirsk" + }, + { + /* (UTC+06:00) Omsk */ + "Omsk Standard Time", "Omsk Daylight Time", + "Asia/Omsk" + }, + { + /* (UTC-04:00) Santiago */ + "Pacific SA Standard Time", "Pacific SA Daylight Time", + "America/Santiago" + }, + { + /* (UTC-08:00) Pacific Time (US & Canada) */ + "Pacific Standard Time", "Pacific Daylight Time", + "America/Los_Angeles" + }, + { + /* (UTC-08:00) Baja California */ + "Pacific Standard Time (Mexico)", "Pacific Daylight Time (Mexico)", + "America/Tijuana" + }, + { + /* (UTC+05:00) Islamabad, Karachi */ + "Pakistan Standard Time", "Pakistan Daylight Time", + "Asia/Karachi" + }, + { + /* (UTC-04:00) Asuncion */ + "Paraguay Standard Time", "Paraguay Daylight Time", + "America/Asuncion" + }, + { + /* (UTC+05:00) Qyzylorda */ + "Qyzylorda Standard Time", "Qyzylorda Daylight Time", + "Asia/Qyzylorda" + }, + { + /* (UTC+01:00) Brussels, Copenhagen, Madrid, Paris */ + "Romance Standard Time", "Romance Daylight Time", + "Europe/Paris" + }, + { + /* (UTC+04:00) Izhevsk, Samara */ + "Russia Time Zone 3", "Russia Time Zone 3", + "Europe/Samara" + }, + { + /* (UTC+11:00) Chokurdakh */ + "Russia Time Zone 10", "Russia Time Zone 10", + "Asia/Srednekolymsk" + }, + { + /* (UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky */ + "Russia Time Zone 11", "Russia Time Zone 11", + "Asia/Kamchatka" + }, + { + /* (UTC+02:00) Kaliningrad */ + "Russia TZ 1 Standard Time", "Russia TZ 1 Daylight Time", + "Europe/Kaliningrad" + }, + { + /* (UTC+03:00) Moscow, St. Petersburg */ + "Russia TZ 2 Standard Time", "Russia TZ 2 Daylight Time", + "Europe/Moscow" + }, + { + /* (UTC+04:00) Izhevsk, Samara */ + "Russia TZ 3 Standard Time", "Russia TZ 3 Daylight Time", + "Europe/Samara" + }, + { + /* (UTC+05:00) Ekaterinburg */ + "Russia TZ 4 Standard Time", "Russia TZ 4 Daylight Time", + "Asia/Yekaterinburg" + }, + { + /* (UTC+06:00) Novosibirsk (RTZ 5) */ + "Russia TZ 5 Standard Time", "Russia TZ 5 Daylight Time", + "Asia/Novosibirsk" + }, + { + /* (UTC+07:00) Krasnoyarsk */ + "Russia TZ 6 Standard Time", "Russia TZ 6 Daylight Time", + "Asia/Krasnoyarsk" + }, + { + /* (UTC+08:00) Irkutsk */ + "Russia TZ 7 Standard Time", "Russia TZ 7 Daylight Time", + "Asia/Irkutsk" + }, + { + /* (UTC+09:00) Yakutsk */ + "Russia TZ 8 Standard Time", "Russia TZ 8 Daylight Time", + "Asia/Yakutsk" + }, + { + /* (UTC+10:00) Vladivostok */ + "Russia TZ 9 Standard Time", "Russia TZ 9 Daylight Time", + "Asia/Vladivostok" + }, + { + /* (UTC+11:00) Chokurdakh */ + "Russia TZ 10 Standard Time", "Russia TZ 10 Daylight Time", + "Asia/Magadan" + }, + { + /* (UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky */ + "Russia TZ 11 Standard Time", "Russia TZ 11 Daylight Time", + "Asia/Anadyr" + }, + { + /* (UTC+03:00) Moscow, St. Petersburg */ + "Russian Standard Time", "Russian Daylight Time", + "Europe/Moscow" + }, + { + /* (UTC-03:00) Cayenne, Fortaleza */ + "SA Eastern Standard Time", "SA Eastern Daylight Time", + "America/Cayenne" + }, + { + /* (UTC-05:00) Bogota, Lima, Quito, Rio Branco */ + "SA Pacific Standard Time", "SA Pacific Daylight Time", + "America/Bogota" + }, + { + /* (UTC-04:00) Georgetown, La Paz, Manaus, San Juan */ + "SA Western Standard Time", "SA Western Daylight Time", + "America/La_Paz" + }, + { + /* (UTC-03:00) Saint Pierre and Miquelon */ + "Saint Pierre Standard Time", "Saint Pierre Daylight Time", + "America/Miquelon" + }, + { + /* (UTC+11:00) Sakhalin */ + "Sakhalin Standard Time", "Sakhalin Daylight Time", + "Asia/Sakhalin" + }, + { + /* (UTC+13:00) Samoa */ + "Samoa Standard Time", "Samoa Daylight Time", + "Pacific/Apia" + }, + { + /* (UTC+00:00) Sao Tome */ + "Sao Tome Standard Time", "Sao Tome Daylight Time", + "Africa/Sao_Tome" + }, + { + /* (UTC+04:00) Saratov */ + "Saratov Standard Time", "Saratov Daylight Time", + "Europe/Saratov" + }, + { + /* (UTC+07:00) Bangkok, Hanoi, Jakarta */ + "SE Asia Standard Time", "SE Asia Daylight Time", + "Asia/Bangkok" + }, + { + /* (UTC+08:00) Kuala Lumpur, Singapore */ + "Singapore Standard Time", "Singapore Daylight Time", + "Asia/Singapore" + }, + { + /* (UTC+02:00) Harare, Pretoria */ + "South Africa Standard Time", "South Africa Daylight Time", + "Africa/Johannesburg" + }, + { + /* (UTC+02:00) Juba */ + "South Sudan Standard Time", "South Sudan Daylight Time", + "Africa/Juba" + }, + { + /* (UTC+05:30) Sri Jayawardenepura */ + "Sri Lanka Standard Time", "Sri Lanka Daylight Time", + "Asia/Colombo" + }, + { + /* (UTC+02:00) Khartoum */ + "Sudan Standard Time", "Sudan Daylight Time", + "Africa/Khartoum" + }, + { + /* (UTC+02:00) Damascus */ + "Syria Standard Time", "Syria Daylight Time", + "Asia/Damascus" + }, + { + /* (UTC+08:00) Taipei */ + "Taipei Standard Time", "Taipei Daylight Time", + "Asia/Taipei" + }, + { + /* (UTC+10:00) Hobart */ + "Tasmania Standard Time", "Tasmania Daylight Time", + "Australia/Hobart" + }, + { + /* (UTC-03:00) Araguaina */ + "Tocantins Standard Time", "Tocantins Daylight Time", + "America/Araguaina" + }, + { + /* (UTC+09:00) Osaka, Sapporo, Tokyo */ + "Tokyo Standard Time", "Tokyo Daylight Time", + "Asia/Tokyo" + }, + { + /* (UTC+07:00) Tomsk */ + "Tomsk Standard Time", "Tomsk Daylight Time", + "Asia/Tomsk" + }, + { + /* (UTC+13:00) Nuku'alofa */ + "Tonga Standard Time", "Tonga Daylight Time", + "Pacific/Tongatapu" + }, + { + /* (UTC+09:00) Chita */ + "Transbaikal Standard Time", "Transbaikal Daylight Time", + "Asia/Chita" + }, + { + /* (UTC+03:00) Istanbul */ + "Turkey Standard Time", "Turkey Daylight Time", + "Europe/Istanbul" + }, + { + /* (UTC-05:00) Turks and Caicos */ + "Turks And Caicos Standard Time", "Turks And Caicos Daylight Time", + "America/Grand_Turk" + }, + { + /* (UTC+08:00) Ulaanbaatar */ + "Ulaanbaatar Standard Time", "Ulaanbaatar Daylight Time", + "Asia/Ulaanbaatar" + }, + { + /* (UTC-05:00) Indiana (East) */ + "US Eastern Standard Time", "US Eastern Daylight Time", + "America/Indianapolis" + }, + { + /* (UTC-07:00) Arizona */ + "US Mountain Standard Time", "US Mountain Daylight Time", + "America/Phoenix" + }, + { + /* (UTC) Coordinated Universal Time */ + "UTC", "UTC", + "UTC" + }, + { + /* (UTC+12:00) Coordinated Universal Time+12 */ + "UTC+12", "UTC+12", + "Etc/GMT-12" + }, + { + /* (UTC+13:00) Coordinated Universal Time+13 */ + "UTC+13", "UTC+13", + "Etc/GMT-13" + }, + { + /* (UTC-02:00) Coordinated Universal Time-02 */ + "UTC-02", "UTC-02", + "Etc/GMT+2" + }, + { + /* (UTC-08:00) Coordinated Universal Time-08 */ + "UTC-08", "UTC-08", + "Etc/GMT+8" + }, + { + /* (UTC-09:00) Coordinated Universal Time-09 */ + "UTC-09", "UTC-09", + "Etc/GMT+9" + }, + { + /* (UTC-11:00) Coordinated Universal Time-11 */ + "UTC-11", "UTC-11", + "Etc/GMT+11" + }, + { + /* (UTC-04:00) Caracas */ + "Venezuela Standard Time", "Venezuela Daylight Time", + "America/Caracas" + }, + { + /* (UTC+10:00) Vladivostok */ + "Vladivostok Standard Time", "Vladivostok Daylight Time", + "Asia/Vladivostok" + }, + { + /* (UTC+04:00) Volgograd */ + "Volgograd Standard Time", "Volgograd Daylight Time", + "Europe/Volgograd" + }, + { + /* (UTC+08:00) Perth */ + "W. Australia Standard Time", "W. Australia Daylight Time", + "Australia/Perth" + }, + { + /* (UTC+01:00) West Central Africa */ + "W. Central Africa Standard Time", "W. Central Africa Daylight Time", + "Africa/Lagos" + }, + { + /* (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna */ + "W. Europe Standard Time", "W. Europe Daylight Time", + "Europe/Berlin" + }, + { + /* (UTC+07:00) Hovd */ + "W. Mongolia Standard Time", "W. Mongolia Daylight Time", + "Asia/Hovd" + }, + { + /* (UTC+05:00) Ashgabat, Tashkent */ + "West Asia Standard Time", "West Asia Daylight Time", + "Asia/Tashkent" + }, + { + /* (UTC+02:00) Gaza, Hebron */ + "West Bank Gaza Standard Time", "West Bank Gaza Daylight Time", + "Asia/Gaza" + }, + { + /* (UTC+02:00) Gaza, Hebron */ + "West Bank Standard Time", "West Bank Daylight Time", + "Asia/Hebron" + }, + { + /* (UTC+10:00) Guam, Port Moresby */ + "West Pacific Standard Time", "West Pacific Daylight Time", + "Pacific/Port_Moresby" + }, + { + /* (UTC+09:00) Yakutsk */ + "Yakutsk Standard Time", "Yakutsk Daylight Time", + "Asia/Yakutsk" + }, + { + /* (UTC-07:00) Yukon */ + "Yukon Standard Time", "Yukon Daylight Time", + "America/Whitehorse" + }, + { + NULL, NULL, NULL + } +}; + +static const char * +identify_system_timezone(void) +{ + int i; + char tzname[128]; + char localtzname[256]; + time_t t = time(NULL); + struct tm *tm = localtime(&t); + HKEY rootKey; + int idx; + + if (!tm) + { +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "could not identify system time zone: localtime() failed\n"); +#endif + return NULL; /* go to GMT */ + } + + memset(tzname, 0, sizeof(tzname)); + strftime(tzname, sizeof(tzname) - 1, "%Z", tm); + + for (i = 0; win32_tzmap[i].stdname != NULL; i++) + { + if (strcmp(tzname, win32_tzmap[i].stdname) == 0 || + strcmp(tzname, win32_tzmap[i].dstname) == 0) + { +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "TZ \"%s\" matches system time zone \"%s\"\n", + win32_tzmap[i].pgtzname, tzname); +#endif + return win32_tzmap[i].pgtzname; + } + } + + /* + * Localized Windows versions return localized names for the timezone. + * Scan the registry to find the English name, and then try matching + * against our table again. + */ + memset(localtzname, 0, sizeof(localtzname)); + if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, + "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones", + 0, + KEY_READ, + &rootKey) != ERROR_SUCCESS) + { +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "could not open registry key to identify system time zone: error code %lu\n", + GetLastError()); +#endif + return NULL; /* go to GMT */ + } + + for (idx = 0;; idx++) + { + char keyname[256]; + char zonename[256]; + DWORD namesize; + FILETIME lastwrite; + HKEY key; + LONG r; + + memset(keyname, 0, sizeof(keyname)); + namesize = sizeof(keyname); + if ((r = RegEnumKeyEx(rootKey, + idx, + keyname, + &namesize, + NULL, + NULL, + NULL, + &lastwrite)) != ERROR_SUCCESS) + { + if (r == ERROR_NO_MORE_ITEMS) + break; +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "could not enumerate registry subkeys to identify system time zone: %d\n", + (int) r); +#endif + break; + } + + if ((r = RegOpenKeyEx(rootKey, keyname, 0, KEY_READ, &key)) != ERROR_SUCCESS) + { +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "could not open registry subkey to identify system time zone: %d\n", + (int) r); +#endif + break; + } + + memset(zonename, 0, sizeof(zonename)); + namesize = sizeof(zonename); + if ((r = RegQueryValueEx(key, "Std", NULL, NULL, (unsigned char *) zonename, &namesize)) != ERROR_SUCCESS) + { +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "could not query value for key \"std\" to identify system time zone \"%s\": %d\n", + keyname, (int) r); +#endif + RegCloseKey(key); + continue; /* Proceed to look at the next timezone */ + } + if (strcmp(tzname, zonename) == 0) + { + /* Matched zone */ + strcpy(localtzname, keyname); + RegCloseKey(key); + break; + } + memset(zonename, 0, sizeof(zonename)); + namesize = sizeof(zonename); + if ((r = RegQueryValueEx(key, "Dlt", NULL, NULL, (unsigned char *) zonename, &namesize)) != ERROR_SUCCESS) + { +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "could not query value for key \"dlt\" to identify system time zone \"%s\": %d\n", + keyname, (int) r); +#endif + RegCloseKey(key); + continue; /* Proceed to look at the next timezone */ + } + if (strcmp(tzname, zonename) == 0) + { + /* Matched DST zone */ + strcpy(localtzname, keyname); + RegCloseKey(key); + break; + } + + RegCloseKey(key); + } + + RegCloseKey(rootKey); + + if (localtzname[0]) + { + /* Found a localized name, so scan for that one too */ + for (i = 0; win32_tzmap[i].stdname != NULL; i++) + { + if (strcmp(localtzname, win32_tzmap[i].stdname) == 0 || + strcmp(localtzname, win32_tzmap[i].dstname) == 0) + { +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "TZ \"%s\" matches localized system time zone \"%s\" (\"%s\")\n", + win32_tzmap[i].pgtzname, tzname, localtzname); +#endif + return win32_tzmap[i].pgtzname; + } + } + } + +#ifdef DEBUG_IDENTIFY_TIMEZONE + fprintf(stderr, "could not find a match for system time zone \"%s\"\n", + tzname); +#endif + return NULL; /* go to GMT */ +} +#endif /* WIN32 */ + + +/* + * Return true if the given zone name is valid and is an "acceptable" zone. + */ +static bool +validate_zone(const char *tzname) +{ + pg_tz *tz; + + if (!tzname || !tzname[0]) + return false; + + tz = pg_load_tz(tzname); + if (!tz) + return false; + + if (!pg_tz_acceptable(tz)) + return false; + + return true; +} + +/* + * Identify a suitable default timezone setting based on the environment. + * + * The installation share_path must be passed in, as that is the default + * location for the timezone database directory. + * + * We first look to the TZ environment variable. If not found or not + * recognized by our own code, we see if we can identify the timezone + * from the behavior of the system timezone library. When all else fails, + * return NULL, indicating that we should default to GMT. + */ +const char * +select_default_timezone(const char *share_path) +{ + const char *tzname; + + /* Initialize timezone directory path, if needed */ +#ifndef SYSTEMTZDIR + snprintf(tzdirpath, sizeof(tzdirpath), "%s/timezone", share_path); +#endif + + /* Check TZ environment variable */ + tzname = getenv("TZ"); + if (validate_zone(tzname)) + return tzname; + + /* Nope, so try to identify the system timezone */ + tzname = identify_system_timezone(); + if (validate_zone(tzname)) + return tzname; + + return NULL; +} diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c new file mode 100644 index 0000000..3afe14c --- /dev/null +++ b/src/bin/initdb/initdb.c @@ -0,0 +1,3450 @@ +/*------------------------------------------------------------------------- + * + * initdb --- initialize a PostgreSQL installation + * + * initdb creates (initializes) a PostgreSQL database cluster (site, + * instance, installation, whatever). A database cluster is a + * collection of PostgreSQL databases all managed by the same server. + * + * To create the database cluster, we create the directory that contains + * all its data, create the files that hold the global tables, create + * a few other control files for it, and create three databases: the + * template databases "template0" and "template1", and a default user + * database "postgres". + * + * The template databases are ordinary PostgreSQL databases. template0 + * is never supposed to change after initdb, whereas template1 can be + * changed to add site-local standard data. Either one can be copied + * to produce a new database. + * + * For largely-historical reasons, the template1 database is the one built + * by the basic bootstrap process. After it is complete, template0 and + * the default database, postgres, are made just by copying template1. + * + * To create template1, we run the postgres (backend) program in bootstrap + * mode and feed it data from the postgres.bki library file. After this + * initial bootstrap phase, some additional stuff is created by normal + * SQL commands fed to a standalone backend. Some of those commands are + * just embedded into this program (yeah, it's ugly), but larger chunks + * are taken from script files. + * + * + * Note: + * The program has some memory leakage - it isn't worth cleaning it up. + * + * This is a C implementation of the previous shell script for setting up a + * PostgreSQL cluster location, and should be highly compatible with it. + * author of C translation: Andrew Dunstan mailto:andrew@dunslane.net + * + * This code is released under the terms of the PostgreSQL License. + * + * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group + * Portions Copyright (c) 1994, Regents of the University of California + * + * src/bin/initdb/initdb.c + * + *------------------------------------------------------------------------- + */ + +#include "postgres_fe.h" + +#include <dirent.h> +#include <fcntl.h> +#include <netdb.h> +#include <sys/socket.h> +#include <sys/stat.h> +#ifdef USE_ICU +#include <unicode/ucol.h> +#endif +#include <unistd.h> +#include <signal.h> +#include <time.h> + +#ifdef HAVE_SHM_OPEN +#include "sys/mman.h" +#endif + +#include "access/xlog_internal.h" +#include "catalog/pg_authid_d.h" +#include "catalog/pg_class_d.h" /* pgrminclude ignore */ +#include "catalog/pg_collation_d.h" +#include "catalog/pg_database_d.h" /* pgrminclude ignore */ +#include "common/file_perm.h" +#include "common/file_utils.h" +#include "common/logging.h" +#include "common/pg_prng.h" +#include "common/restricted_token.h" +#include "common/string.h" +#include "common/username.h" +#include "fe_utils/string_utils.h" +#include "getopt_long.h" +#include "mb/pg_wchar.h" +#include "miscadmin.h" + + +/* Ideally this would be in a .h file, but it hardly seems worth the trouble */ +extern const char *select_default_timezone(const char *share_path); + +/* simple list of strings */ +typedef struct _stringlist +{ + char *str; + struct _stringlist *next; +} _stringlist; + +static const char *const auth_methods_host[] = { + "trust", "reject", "scram-sha-256", "md5", "password", "ident", "radius", +#ifdef ENABLE_GSS + "gss", +#endif +#ifdef ENABLE_SSPI + "sspi", +#endif +#ifdef USE_PAM + "pam", "pam ", +#endif +#ifdef USE_BSD_AUTH + "bsd", +#endif +#ifdef USE_LDAP + "ldap", +#endif +#ifdef USE_SSL + "cert", +#endif + NULL +}; +static const char *const auth_methods_local[] = { + "trust", "reject", "scram-sha-256", "md5", "password", "peer", "radius", +#ifdef USE_PAM + "pam", "pam ", +#endif +#ifdef USE_BSD_AUTH + "bsd", +#endif +#ifdef USE_LDAP + "ldap", +#endif + NULL +}; + +/* + * these values are passed in by makefile defines + */ +static char *share_path = NULL; + +/* values to be obtained from arguments */ +static char *pg_data = NULL; +static char *encoding = NULL; +static char *locale = NULL; +static char *lc_collate = NULL; +static char *lc_ctype = NULL; +static char *lc_monetary = NULL; +static char *lc_numeric = NULL; +static char *lc_time = NULL; +static char *lc_messages = NULL; +static char locale_provider = COLLPROVIDER_LIBC; +static char *icu_locale = NULL; +static char *icu_rules = NULL; +static const char *default_text_search_config = NULL; +static char *username = NULL; +static bool pwprompt = false; +static char *pwfilename = NULL; +static char *superuser_password = NULL; +static const char *authmethodhost = NULL; +static const char *authmethodlocal = NULL; +static _stringlist *extra_guc_names = NULL; +static _stringlist *extra_guc_values = NULL; +static bool debug = false; +static bool noclean = false; +static bool noinstructions = false; +static bool do_sync = true; +static bool sync_only = false; +static bool show_setting = false; +static bool data_checksums = false; +static char *xlog_dir = NULL; +static char *str_wal_segment_size_mb = NULL; +static int wal_segment_size_mb; + + +/* internal vars */ +static const char *progname; +static int encodingid; +static char *bki_file; +static char *hba_file; +static char *ident_file; +static char *conf_file; +static char *dictionary_file; +static char *info_schema_file; +static char *features_file; +static char *system_constraints_file; +static char *system_functions_file; +static char *system_views_file; +static bool success = false; +static bool made_new_pgdata = false; +static bool found_existing_pgdata = false; +static bool made_new_xlogdir = false; +static bool found_existing_xlogdir = false; +static char infoversion[100]; +static bool caught_signal = false; +static bool output_failed = false; +static int output_errno = 0; +static char *pgdata_native; + +/* defaults */ +static int n_connections = 10; +static int n_buffers = 50; +static const char *dynamic_shared_memory_type = NULL; +static const char *default_timezone = NULL; + +/* + * Warning messages for authentication methods + */ +#define AUTHTRUST_WARNING \ +"# CAUTION: Configuring the system for local \"trust\" authentication\n" \ +"# allows any local user to connect as any PostgreSQL user, including\n" \ +"# the database superuser. If you do not trust all your local users,\n" \ +"# use another authentication method.\n" +static bool authwarning = false; + +/* + * Centralized knowledge of switches to pass to backend + * + * Note: we run the backend with -F (fsync disabled) and then do a single + * pass of fsync'ing at the end. This is faster than fsync'ing each step. + * + * Note: in the shell-script version, we also passed PGDATA as a -D switch, + * but here it is more convenient to pass it as an environment variable + * (no quoting to worry about). + */ +static const char *boot_options = "-F -c log_checkpoints=false"; +static const char *backend_options = "--single -F -O -j -c search_path=pg_catalog -c exit_on_error=true -c log_checkpoints=false"; + +/* Additional switches to pass to backend (either boot or standalone) */ +static char *extra_options = ""; + +static const char *const subdirs[] = { + "global", + "pg_wal/archive_status", + "pg_commit_ts", + "pg_dynshmem", + "pg_notify", + "pg_serial", + "pg_snapshots", + "pg_subtrans", + "pg_twophase", + "pg_multixact", + "pg_multixact/members", + "pg_multixact/offsets", + "base", + "base/1", + "pg_replslot", + "pg_tblspc", + "pg_stat", + "pg_stat_tmp", + "pg_xact", + "pg_logical", + "pg_logical/snapshots", + "pg_logical/mappings" +}; + + +/* path to 'initdb' binary directory */ +static char bin_path[MAXPGPATH]; +static char backend_exec[MAXPGPATH]; + +static char **replace_token(char **lines, + const char *token, const char *replacement); +static char **replace_guc_value(char **lines, + const char *guc_name, const char *guc_value, + bool mark_as_comment); +static bool guc_value_requires_quotes(const char *guc_value); +static char **readfile(const char *path); +static void writefile(char *path, char **lines); +static FILE *popen_check(const char *command, const char *mode); +static char *get_id(void); +static int get_encoding_id(const char *encoding_name); +static void set_input(char **dest, const char *filename); +static void check_input(char *path); +static void write_version_file(const char *extrapath); +static void set_null_conf(void); +static void test_config_settings(void); +static bool test_specific_config_settings(int test_conns, int test_buffs); +static void setup_config(void); +static void bootstrap_template1(void); +static void setup_auth(FILE *cmdfd); +static void get_su_pwd(void); +static void setup_depend(FILE *cmdfd); +static void setup_run_file(FILE *cmdfd, const char *filename); +static void setup_description(FILE *cmdfd); +static void setup_collation(FILE *cmdfd); +static void setup_privileges(FILE *cmdfd); +static void set_info_version(void); +static void setup_schema(FILE *cmdfd); +static void load_plpgsql(FILE *cmdfd); +static void vacuum_db(FILE *cmdfd); +static void make_template0(FILE *cmdfd); +static void make_postgres(FILE *cmdfd); +static void trapsig(SIGNAL_ARGS); +static void check_ok(void); +static char *escape_quotes(const char *src); +static char *escape_quotes_bki(const char *src); +static int locale_date_order(const char *locale); +static void check_locale_name(int category, const char *locale, + char **canonname); +static bool check_locale_encoding(const char *locale, int user_enc); +static void setlocales(void); +static void usage(const char *progname); +void setup_pgdata(void); +void setup_bin_paths(const char *argv0); +void setup_data_file_paths(void); +void setup_locale_encoding(void); +void setup_signals(void); +void setup_text_search(void); +void create_data_directory(void); +void create_xlog_or_symlink(void); +void warn_on_mount_point(int error); +void initialize_data_directory(void); + +/* + * macros for running pipes to postgres + */ +#define PG_CMD_DECL char cmd[MAXPGPATH]; FILE *cmdfd + +#define PG_CMD_OPEN \ +do { \ + cmdfd = popen_check(cmd, "w"); \ + if (cmdfd == NULL) \ + exit(1); /* message already printed by popen_check */ \ +} while (0) + +#define PG_CMD_CLOSE \ +do { \ + if (pclose_check(cmdfd)) \ + exit(1); /* message already printed by pclose_check */ \ +} while (0) + +#define PG_CMD_PUTS(line) \ +do { \ + if (fputs(line, cmdfd) < 0 || fflush(cmdfd) < 0) \ + output_failed = true, output_errno = errno; \ +} while (0) + +#define PG_CMD_PRINTF(fmt, ...) \ +do { \ + if (fprintf(cmdfd, fmt, __VA_ARGS__) < 0 || fflush(cmdfd) < 0) \ + output_failed = true, output_errno = errno; \ +} while (0) + +/* + * Escape single quotes and backslashes, suitably for insertions into + * configuration files or SQL E'' strings. + */ +static char * +escape_quotes(const char *src) +{ + char *result = escape_single_quotes_ascii(src); + + if (!result) + pg_fatal("out of memory"); + return result; +} + +/* + * Escape a field value to be inserted into the BKI data. + * Run the value through escape_quotes (which will be inverted + * by the backend's DeescapeQuotedString() function), then wrap + * the value in single quotes, even if that isn't strictly necessary. + */ +static char * +escape_quotes_bki(const char *src) +{ + char *result; + char *data = escape_quotes(src); + char *resultp; + char *datap; + + result = (char *) pg_malloc(strlen(data) + 3); + resultp = result; + *resultp++ = '\''; + for (datap = data; *datap; datap++) + *resultp++ = *datap; + *resultp++ = '\''; + *resultp = '\0'; + + free(data); + return result; +} + +/* + * Add an item at the end of a stringlist. + */ +static void +add_stringlist_item(_stringlist **listhead, const char *str) +{ + _stringlist *newentry = pg_malloc(sizeof(_stringlist)); + _stringlist *oldentry; + + newentry->str = pg_strdup(str); + newentry->next = NULL; + if (*listhead == NULL) + *listhead = newentry; + else + { + for (oldentry = *listhead; oldentry->next; oldentry = oldentry->next) + /* skip */ ; + oldentry->next = newentry; + } +} + +/* + * Modify the array of lines, replacing "token" by "replacement" + * the first time it occurs on each line. + * + * The array must be a malloc'd array of individually malloc'd strings. + * We free any discarded strings. + * + * This does most of what sed was used for in the shell script, but + * doesn't need any regexp stuff. + */ +static char ** +replace_token(char **lines, const char *token, const char *replacement) +{ + int toklen, + replen, + diff; + + toklen = strlen(token); + replen = strlen(replacement); + diff = replen - toklen; + + for (int i = 0; lines[i]; i++) + { + char *where; + char *newline; + int pre; + + /* nothing to do if no change needed */ + if ((where = strstr(lines[i], token)) == NULL) + continue; + + /* if we get here a change is needed - set up new line */ + + newline = (char *) pg_malloc(strlen(lines[i]) + diff + 1); + + pre = where - lines[i]; + + memcpy(newline, lines[i], pre); + + memcpy(newline + pre, replacement, replen); + + strcpy(newline + pre + replen, lines[i] + pre + toklen); + + free(lines[i]); + lines[i] = newline; + } + + return lines; +} + +/* + * Modify the array of lines, replacing the possibly-commented-out + * assignment of parameter guc_name with a live assignment of guc_value. + * The value will be suitably quoted. + * + * If mark_as_comment is true, the replacement line is prefixed with '#'. + * This is used for fixing up cases where the effective default might not + * match what is in postgresql.conf.sample. + * + * We assume there's at most one matching assignment. If we find no match, + * append a new line with the desired assignment. + * + * The array must be a malloc'd array of individually malloc'd strings. + * We free any discarded strings. + */ +static char ** +replace_guc_value(char **lines, const char *guc_name, const char *guc_value, + bool mark_as_comment) +{ + int namelen = strlen(guc_name); + PQExpBuffer newline = createPQExpBuffer(); + int i; + + /* prepare the replacement line, except for possible comment and newline */ + if (mark_as_comment) + appendPQExpBufferChar(newline, '#'); + appendPQExpBuffer(newline, "%s = ", guc_name); + if (guc_value_requires_quotes(guc_value)) + appendPQExpBuffer(newline, "'%s'", escape_quotes(guc_value)); + else + appendPQExpBufferStr(newline, guc_value); + + for (i = 0; lines[i]; i++) + { + const char *where; + + /* + * Look for a line assigning to guc_name. Typically it will be + * preceded by '#', but that might not be the case if a -c switch + * overrides a previous assignment. We allow leading whitespace too, + * although normally there wouldn't be any. + */ + where = lines[i]; + while (*where == '#' || isspace((unsigned char) *where)) + where++; + if (strncmp(where, guc_name, namelen) != 0) + continue; + where += namelen; + while (isspace((unsigned char) *where)) + where++; + if (*where != '=') + continue; + + /* found it -- append the original comment if any */ + where = strrchr(where, '#'); + if (where) + { + /* + * We try to preserve original indentation, which is tedious. + * oldindent and newindent are measured in de-tab-ified columns. + */ + const char *ptr; + int oldindent = 0; + int newindent; + + for (ptr = lines[i]; ptr < where; ptr++) + { + if (*ptr == '\t') + oldindent += 8 - (oldindent % 8); + else + oldindent++; + } + /* ignore the possibility of tabs in guc_value */ + newindent = newline->len; + /* append appropriate tabs and spaces, forcing at least one */ + oldindent = Max(oldindent, newindent + 1); + while (newindent < oldindent) + { + int newindent_if_tab = newindent + 8 - (newindent % 8); + + if (newindent_if_tab <= oldindent) + { + appendPQExpBufferChar(newline, '\t'); + newindent = newindent_if_tab; + } + else + { + appendPQExpBufferChar(newline, ' '); + newindent++; + } + } + /* and finally append the old comment */ + appendPQExpBufferStr(newline, where); + /* we'll have appended the original newline; don't add another */ + } + else + appendPQExpBufferChar(newline, '\n'); + + free(lines[i]); + lines[i] = newline->data; + + break; /* assume there's only one match */ + } + + if (lines[i] == NULL) + { + /* + * No match, so append a new entry. (We rely on the bootstrap server + * to complain if it's not a valid GUC name.) + */ + appendPQExpBufferChar(newline, '\n'); + lines = pg_realloc_array(lines, char *, i + 2); + lines[i++] = newline->data; + lines[i] = NULL; /* keep the array null-terminated */ + } + + free(newline); /* but don't free newline->data */ + + return lines; +} + +/* + * Decide if we should quote a replacement GUC value. We aren't too tense + * here, but we'd like to avoid quoting simple identifiers and numbers + * with units, which are common cases. + */ +static bool +guc_value_requires_quotes(const char *guc_value) +{ + /* Don't use <ctype.h> macros here, they might accept too much */ +#define LETTERS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" +#define DIGITS "0123456789" + + if (*guc_value == '\0') + return true; /* empty string must be quoted */ + if (strchr(LETTERS, *guc_value)) + { + if (strspn(guc_value, LETTERS DIGITS) == strlen(guc_value)) + return false; /* it's an identifier */ + return true; /* nope */ + } + if (strchr(DIGITS, *guc_value)) + { + /* skip over digits */ + guc_value += strspn(guc_value, DIGITS); + /* there can be zero or more unit letters after the digits */ + if (strspn(guc_value, LETTERS) == strlen(guc_value)) + return false; /* it's a number, possibly with units */ + return true; /* nope */ + } + return true; /* all else must be quoted */ +} + +/* + * get the lines from a text file + * + * The result is a malloc'd array of individually malloc'd strings. + */ +static char ** +readfile(const char *path) +{ + char **result; + FILE *infile; + StringInfoData line; + int maxlines; + int n; + + if ((infile = fopen(path, "r")) == NULL) + pg_fatal("could not open file \"%s\" for reading: %m", path); + + initStringInfo(&line); + + maxlines = 1024; + result = (char **) pg_malloc(maxlines * sizeof(char *)); + + n = 0; + while (pg_get_line_buf(infile, &line)) + { + /* make sure there will be room for a trailing NULL pointer */ + if (n >= maxlines - 1) + { + maxlines *= 2; + result = (char **) pg_realloc(result, maxlines * sizeof(char *)); + } + + result[n++] = pg_strdup(line.data); + } + result[n] = NULL; + + pfree(line.data); + + fclose(infile); + + return result; +} + +/* + * write an array of lines to a file + * + * "lines" must be a malloc'd array of individually malloc'd strings. + * All that data is freed here. + * + * This is only used to write text files. Use fopen "w" not PG_BINARY_W + * so that the resulting configuration files are nicely editable on Windows. + */ +static void +writefile(char *path, char **lines) +{ + FILE *out_file; + char **line; + + if ((out_file = fopen(path, "w")) == NULL) + pg_fatal("could not open file \"%s\" for writing: %m", path); + for (line = lines; *line != NULL; line++) + { + if (fputs(*line, out_file) < 0) + pg_fatal("could not write file \"%s\": %m", path); + free(*line); + } + if (fclose(out_file)) + pg_fatal("could not close file \"%s\": %m", path); + free(lines); +} + +/* + * Open a subcommand with suitable error messaging + */ +static FILE * +popen_check(const char *command, const char *mode) +{ + FILE *cmdfd; + + fflush(NULL); + errno = 0; + cmdfd = popen(command, mode); + if (cmdfd == NULL) + pg_log_error("could not execute command \"%s\": %m", command); + return cmdfd; +} + +/* + * clean up any files we created on failure + * if we created the data directory remove it too + */ +static void +cleanup_directories_atexit(void) +{ + if (success) + return; + + if (!noclean) + { + if (made_new_pgdata) + { + pg_log_info("removing data directory \"%s\"", pg_data); + if (!rmtree(pg_data, true)) + pg_log_error("failed to remove data directory"); + } + else if (found_existing_pgdata) + { + pg_log_info("removing contents of data directory \"%s\"", + pg_data); + if (!rmtree(pg_data, false)) + pg_log_error("failed to remove contents of data directory"); + } + + if (made_new_xlogdir) + { + pg_log_info("removing WAL directory \"%s\"", xlog_dir); + if (!rmtree(xlog_dir, true)) + pg_log_error("failed to remove WAL directory"); + } + else if (found_existing_xlogdir) + { + pg_log_info("removing contents of WAL directory \"%s\"", xlog_dir); + if (!rmtree(xlog_dir, false)) + pg_log_error("failed to remove contents of WAL directory"); + } + /* otherwise died during startup, do nothing! */ + } + else + { + if (made_new_pgdata || found_existing_pgdata) + pg_log_info("data directory \"%s\" not removed at user's request", + pg_data); + + if (made_new_xlogdir || found_existing_xlogdir) + pg_log_info("WAL directory \"%s\" not removed at user's request", + xlog_dir); + } +} + +/* + * find the current user + * + * on unix make sure it isn't root + */ +static char * +get_id(void) +{ + const char *username; + +#ifndef WIN32 + if (geteuid() == 0) /* 0 is root's uid */ + { + pg_log_error("cannot be run as root"); + pg_log_error_hint("Please log in (using, e.g., \"su\") as the (unprivileged) user that will own the server process."); + exit(1); + } +#endif + + username = get_user_name_or_exit(progname); + + return pg_strdup(username); +} + +static char * +encodingid_to_string(int enc) +{ + char result[20]; + + sprintf(result, "%d", enc); + return pg_strdup(result); +} + +/* + * get the encoding id for a given encoding name + */ +static int +get_encoding_id(const char *encoding_name) +{ + int enc; + + if (encoding_name && *encoding_name) + { + if ((enc = pg_valid_server_encoding(encoding_name)) >= 0) + return enc; + } + pg_fatal("\"%s\" is not a valid server encoding name", + encoding_name ? encoding_name : "(null)"); +} + +/* + * Support for determining the best default text search configuration. + * We key this off the first part of LC_CTYPE (ie, the language name). + */ +struct tsearch_config_match +{ + const char *tsconfname; + const char *langname; +}; + +static const struct tsearch_config_match tsearch_config_languages[] = +{ + {"arabic", "ar"}, + {"arabic", "Arabic"}, + {"armenian", "hy"}, + {"armenian", "Armenian"}, + {"basque", "eu"}, + {"basque", "Basque"}, + {"catalan", "ca"}, + {"catalan", "Catalan"}, + {"danish", "da"}, + {"danish", "Danish"}, + {"dutch", "nl"}, + {"dutch", "Dutch"}, + {"english", "C"}, + {"english", "POSIX"}, + {"english", "en"}, + {"english", "English"}, + {"finnish", "fi"}, + {"finnish", "Finnish"}, + {"french", "fr"}, + {"french", "French"}, + {"german", "de"}, + {"german", "German"}, + {"greek", "el"}, + {"greek", "Greek"}, + {"hindi", "hi"}, + {"hindi", "Hindi"}, + {"hungarian", "hu"}, + {"hungarian", "Hungarian"}, + {"indonesian", "id"}, + {"indonesian", "Indonesian"}, + {"irish", "ga"}, + {"irish", "Irish"}, + {"italian", "it"}, + {"italian", "Italian"}, + {"lithuanian", "lt"}, + {"lithuanian", "Lithuanian"}, + {"nepali", "ne"}, + {"nepali", "Nepali"}, + {"norwegian", "no"}, + {"norwegian", "Norwegian"}, + {"portuguese", "pt"}, + {"portuguese", "Portuguese"}, + {"romanian", "ro"}, + {"russian", "ru"}, + {"russian", "Russian"}, + {"serbian", "sr"}, + {"serbian", "Serbian"}, + {"spanish", "es"}, + {"spanish", "Spanish"}, + {"swedish", "sv"}, + {"swedish", "Swedish"}, + {"tamil", "ta"}, + {"tamil", "Tamil"}, + {"turkish", "tr"}, + {"turkish", "Turkish"}, + {"yiddish", "yi"}, + {"yiddish", "Yiddish"}, + {NULL, NULL} /* end marker */ +}; + +/* + * Look for a text search configuration matching lc_ctype, and return its + * name; return NULL if no match. + */ +static const char * +find_matching_ts_config(const char *lc_type) +{ + int i; + char *langname, + *ptr; + + /* + * Convert lc_ctype to a language name by stripping everything after an + * underscore (usual case) or a hyphen (Windows "locale name"; see + * comments at IsoLocaleName()). + * + * XXX Should ' ' be a stop character? This would select "norwegian" for + * the Windows locale "Norwegian (Nynorsk)_Norway.1252". If we do so, we + * should also accept the "nn" and "nb" Unix locales. + * + * Just for paranoia, we also stop at '.' or '@'. + */ + if (lc_type == NULL) + langname = pg_strdup(""); + else + { + ptr = langname = pg_strdup(lc_type); + while (*ptr && + *ptr != '_' && *ptr != '-' && *ptr != '.' && *ptr != '@') + ptr++; + *ptr = '\0'; + } + + for (i = 0; tsearch_config_languages[i].tsconfname; i++) + { + if (pg_strcasecmp(tsearch_config_languages[i].langname, langname) == 0) + { + free(langname); + return tsearch_config_languages[i].tsconfname; + } + } + + free(langname); + return NULL; +} + + +/* + * set name of given input file variable under data directory + */ +static void +set_input(char **dest, const char *filename) +{ + *dest = psprintf("%s/%s", share_path, filename); +} + +/* + * check that given input file exists + */ +static void +check_input(char *path) +{ + struct stat statbuf; + + if (stat(path, &statbuf) != 0) + { + if (errno == ENOENT) + { + pg_log_error("file \"%s\" does not exist", path); + pg_log_error_hint("This might mean you have a corrupted installation or identified the wrong directory with the invocation option -L."); + } + else + { + pg_log_error("could not access file \"%s\": %m", path); + pg_log_error_hint("This might mean you have a corrupted installation or identified the wrong directory with the invocation option -L."); + } + exit(1); + } + if (!S_ISREG(statbuf.st_mode)) + { + pg_log_error("file \"%s\" is not a regular file", path); + pg_log_error_hint("This might mean you have a corrupted installation or identified the wrong directory with the invocation option -L."); + exit(1); + } +} + +/* + * write out the PG_VERSION file in the data dir, or its subdirectory + * if extrapath is not NULL + */ +static void +write_version_file(const char *extrapath) +{ + FILE *version_file; + char *path; + + if (extrapath == NULL) + path = psprintf("%s/PG_VERSION", pg_data); + else + path = psprintf("%s/%s/PG_VERSION", pg_data, extrapath); + + if ((version_file = fopen(path, PG_BINARY_W)) == NULL) + pg_fatal("could not open file \"%s\" for writing: %m", path); + if (fprintf(version_file, "%s\n", PG_MAJORVERSION) < 0 || + fclose(version_file)) + pg_fatal("could not write file \"%s\": %m", path); + free(path); +} + +/* + * set up an empty config file so we can check config settings by launching + * a test backend + */ +static void +set_null_conf(void) +{ + FILE *conf_file; + char *path; + + path = psprintf("%s/postgresql.conf", pg_data); + conf_file = fopen(path, PG_BINARY_W); + if (conf_file == NULL) + pg_fatal("could not open file \"%s\" for writing: %m", path); + if (fclose(conf_file)) + pg_fatal("could not write file \"%s\": %m", path); + free(path); +} + +/* + * Determine which dynamic shared memory implementation should be used on + * this platform. POSIX shared memory is preferable because the default + * allocation limits are much higher than the limits for System V on most + * systems that support both, but the fact that a platform has shm_open + * doesn't guarantee that that call will succeed when attempted. So, we + * attempt to reproduce what the postmaster will do when allocating a POSIX + * segment in dsm_impl.c; if it doesn't work, we assume it won't work for + * the postmaster either, and configure the cluster for System V shared + * memory instead. + * + * We avoid choosing Solaris's implementation of shm_open() by default. It + * can sleep and fail spuriously under contention. + */ +static const char * +choose_dsm_implementation(void) +{ +#if defined(HAVE_SHM_OPEN) && !defined(__sun__) + int ntries = 10; + pg_prng_state prng_state; + + /* Initialize prng; this function is its only user in this program. */ + pg_prng_seed(&prng_state, (uint64) (getpid() ^ time(NULL))); + + while (ntries > 0) + { + uint32 handle; + char name[64]; + int fd; + + handle = pg_prng_uint32(&prng_state); + snprintf(name, 64, "/PostgreSQL.%u", handle); + if ((fd = shm_open(name, O_CREAT | O_RDWR | O_EXCL, 0600)) != -1) + { + close(fd); + shm_unlink(name); + return "posix"; + } + if (errno != EEXIST) + break; + --ntries; + } +#endif + +#ifdef WIN32 + return "windows"; +#else + return "sysv"; +#endif +} + +/* + * Determine platform-specific config settings + * + * Use reasonable values if kernel will let us, else scale back. + */ +static void +test_config_settings(void) +{ + /* + * This macro defines the minimum shared_buffers we want for a given + * max_connections value. The arrays show the settings to try. + */ +#define MIN_BUFS_FOR_CONNS(nconns) ((nconns) * 10) + + static const int trial_conns[] = { + 100, 50, 40, 30, 20 + }; + static const int trial_bufs[] = { + 16384, 8192, 4096, 3584, 3072, 2560, 2048, 1536, + 1000, 900, 800, 700, 600, 500, + 400, 300, 200, 100, 50 + }; + + const int connslen = sizeof(trial_conns) / sizeof(int); + const int bufslen = sizeof(trial_bufs) / sizeof(int); + int i, + test_conns, + test_buffs, + ok_buffers = 0; + + /* + * Need to determine working DSM implementation first so that subsequent + * tests don't fail because DSM setting doesn't work. + */ + printf(_("selecting dynamic shared memory implementation ... ")); + fflush(stdout); + dynamic_shared_memory_type = choose_dsm_implementation(); + printf("%s\n", dynamic_shared_memory_type); + + /* + * Probe for max_connections before shared_buffers, since it is subject to + * more constraints than shared_buffers. + */ + printf(_("selecting default max_connections ... ")); + fflush(stdout); + + for (i = 0; i < connslen; i++) + { + test_conns = trial_conns[i]; + test_buffs = MIN_BUFS_FOR_CONNS(test_conns); + + if (test_specific_config_settings(test_conns, test_buffs)) + { + ok_buffers = test_buffs; + break; + } + } + if (i >= connslen) + i = connslen - 1; + n_connections = trial_conns[i]; + + printf("%d\n", n_connections); + + printf(_("selecting default shared_buffers ... ")); + fflush(stdout); + + for (i = 0; i < bufslen; i++) + { + /* Use same amount of memory, independent of BLCKSZ */ + test_buffs = (trial_bufs[i] * 8192) / BLCKSZ; + if (test_buffs <= ok_buffers) + { + test_buffs = ok_buffers; + break; + } + + if (test_specific_config_settings(n_connections, test_buffs)) + break; + } + n_buffers = test_buffs; + + if ((n_buffers * (BLCKSZ / 1024)) % 1024 == 0) + printf("%dMB\n", (n_buffers * (BLCKSZ / 1024)) / 1024); + else + printf("%dkB\n", n_buffers * (BLCKSZ / 1024)); + + printf(_("selecting default time zone ... ")); + fflush(stdout); + default_timezone = select_default_timezone(share_path); + printf("%s\n", default_timezone ? default_timezone : "GMT"); +} + +/* + * Test a specific combination of configuration settings. + */ +static bool +test_specific_config_settings(int test_conns, int test_buffs) +{ + PQExpBuffer cmd = createPQExpBuffer(); + _stringlist *gnames, + *gvalues; + int status; + + /* Set up the test postmaster invocation */ + printfPQExpBuffer(cmd, + "\"%s\" --check %s %s " + "-c max_connections=%d " + "-c shared_buffers=%d " + "-c dynamic_shared_memory_type=%s", + backend_exec, boot_options, extra_options, + test_conns, test_buffs, + dynamic_shared_memory_type); + + /* Add any user-given setting overrides */ + for (gnames = extra_guc_names, gvalues = extra_guc_values; + gnames != NULL; /* assume lists have the same length */ + gnames = gnames->next, gvalues = gvalues->next) + { + appendPQExpBuffer(cmd, " -c %s=", gnames->str); + appendShellString(cmd, gvalues->str); + } + + appendPQExpBuffer(cmd, + " < \"%s\" > \"%s\" 2>&1", + DEVNULL, DEVNULL); + + fflush(NULL); + status = system(cmd->data); + + destroyPQExpBuffer(cmd); + + return (status == 0); +} + +/* + * Calculate the default wal_size with a "pretty" unit. + */ +static char * +pretty_wal_size(int segment_count) +{ + int sz = wal_segment_size_mb * segment_count; + char *result = pg_malloc(14); + + if ((sz % 1024) == 0) + snprintf(result, 14, "%dGB", sz / 1024); + else + snprintf(result, 14, "%dMB", sz); + + return result; +} + +/* + * set up all the config files + */ +static void +setup_config(void) +{ + char **conflines; + char repltok[MAXPGPATH]; + char path[MAXPGPATH]; + _stringlist *gnames, + *gvalues; + + fputs(_("creating configuration files ... "), stdout); + fflush(stdout); + + /* postgresql.conf */ + + conflines = readfile(conf_file); + + snprintf(repltok, sizeof(repltok), "%d", n_connections); + conflines = replace_guc_value(conflines, "max_connections", + repltok, false); + + if ((n_buffers * (BLCKSZ / 1024)) % 1024 == 0) + snprintf(repltok, sizeof(repltok), "%dMB", + (n_buffers * (BLCKSZ / 1024)) / 1024); + else + snprintf(repltok, sizeof(repltok), "%dkB", + n_buffers * (BLCKSZ / 1024)); + conflines = replace_guc_value(conflines, "shared_buffers", + repltok, false); + + conflines = replace_guc_value(conflines, "lc_messages", + lc_messages, false); + + conflines = replace_guc_value(conflines, "lc_monetary", + lc_monetary, false); + + conflines = replace_guc_value(conflines, "lc_numeric", + lc_numeric, false); + + conflines = replace_guc_value(conflines, "lc_time", + lc_time, false); + + switch (locale_date_order(lc_time)) + { + case DATEORDER_YMD: + strcpy(repltok, "iso, ymd"); + break; + case DATEORDER_DMY: + strcpy(repltok, "iso, dmy"); + break; + case DATEORDER_MDY: + default: + strcpy(repltok, "iso, mdy"); + break; + } + conflines = replace_guc_value(conflines, "datestyle", + repltok, false); + + snprintf(repltok, sizeof(repltok), "pg_catalog.%s", + default_text_search_config); + conflines = replace_guc_value(conflines, "default_text_search_config", + repltok, false); + + if (default_timezone) + { + conflines = replace_guc_value(conflines, "timezone", + default_timezone, false); + conflines = replace_guc_value(conflines, "log_timezone", + default_timezone, false); + } + + conflines = replace_guc_value(conflines, "dynamic_shared_memory_type", + dynamic_shared_memory_type, false); + + /* Caution: these depend on wal_segment_size_mb, they're not constants */ + conflines = replace_guc_value(conflines, "min_wal_size", + pretty_wal_size(DEFAULT_MIN_WAL_SEGS), false); + + conflines = replace_guc_value(conflines, "max_wal_size", + pretty_wal_size(DEFAULT_MAX_WAL_SEGS), false); + + /* + * Fix up various entries to match the true compile-time defaults. Since + * these are indeed defaults, keep the postgresql.conf lines commented. + */ + conflines = replace_guc_value(conflines, "unix_socket_directories", + DEFAULT_PGSOCKET_DIR, true); + + conflines = replace_guc_value(conflines, "port", + DEF_PGPORT_STR, true); + +#if DEFAULT_BACKEND_FLUSH_AFTER > 0 + snprintf(repltok, sizeof(repltok), "%dkB", + DEFAULT_BACKEND_FLUSH_AFTER * (BLCKSZ / 1024)); + conflines = replace_guc_value(conflines, "backend_flush_after", + repltok, true); +#endif + +#if DEFAULT_BGWRITER_FLUSH_AFTER > 0 + snprintf(repltok, sizeof(repltok), "%dkB", + DEFAULT_BGWRITER_FLUSH_AFTER * (BLCKSZ / 1024)); + conflines = replace_guc_value(conflines, "bgwriter_flush_after", + repltok, true); +#endif + +#if DEFAULT_CHECKPOINT_FLUSH_AFTER > 0 + snprintf(repltok, sizeof(repltok), "%dkB", + DEFAULT_CHECKPOINT_FLUSH_AFTER * (BLCKSZ / 1024)); + conflines = replace_guc_value(conflines, "checkpoint_flush_after", + repltok, true); +#endif + +#ifndef USE_PREFETCH + conflines = replace_guc_value(conflines, "effective_io_concurrency", + "0", true); +#endif + +#ifdef WIN32 + conflines = replace_guc_value(conflines, "update_process_title", + "off", true); +#endif + + /* + * Change password_encryption setting to md5 if md5 was chosen as an + * authentication method, unless scram-sha-256 was also chosen. + */ + if ((strcmp(authmethodlocal, "md5") == 0 && + strcmp(authmethodhost, "scram-sha-256") != 0) || + (strcmp(authmethodhost, "md5") == 0 && + strcmp(authmethodlocal, "scram-sha-256") != 0)) + { + conflines = replace_guc_value(conflines, "password_encryption", + "md5", false); + } + + /* + * If group access has been enabled for the cluster then it makes sense to + * ensure that the log files also allow group access. Otherwise a backup + * from a user in the group would fail if the log files were not + * relocated. + */ + if (pg_dir_create_mode == PG_DIR_MODE_GROUP) + { + conflines = replace_guc_value(conflines, "log_file_mode", + "0640", false); + } + + /* + * Now replace anything that's overridden via -c switches. + */ + for (gnames = extra_guc_names, gvalues = extra_guc_values; + gnames != NULL; /* assume lists have the same length */ + gnames = gnames->next, gvalues = gvalues->next) + { + conflines = replace_guc_value(conflines, gnames->str, + gvalues->str, false); + } + + /* ... and write out the finished postgresql.conf file */ + snprintf(path, sizeof(path), "%s/postgresql.conf", pg_data); + + writefile(path, conflines); + if (chmod(path, pg_file_create_mode) != 0) + pg_fatal("could not change permissions of \"%s\": %m", path); + + + /* postgresql.auto.conf */ + + conflines = pg_malloc_array(char *, 3); + conflines[0] = pg_strdup("# Do not edit this file manually!\n"); + conflines[1] = pg_strdup("# It will be overwritten by the ALTER SYSTEM command.\n"); + conflines[2] = NULL; + + sprintf(path, "%s/postgresql.auto.conf", pg_data); + + writefile(path, conflines); + if (chmod(path, pg_file_create_mode) != 0) + pg_fatal("could not change permissions of \"%s\": %m", path); + + + /* pg_hba.conf */ + + conflines = readfile(hba_file); + + conflines = replace_token(conflines, "@remove-line-for-nolocal@", ""); + + + /* + * Probe to see if there is really any platform support for IPv6, and + * comment out the relevant pg_hba line if not. This avoids runtime + * warnings if getaddrinfo doesn't actually cope with IPv6. Particularly + * useful on Windows, where executables built on a machine with IPv6 may + * have to run on a machine without. + */ + { + struct addrinfo *gai_result; + struct addrinfo hints; + int err = 0; + +#ifdef WIN32 + /* need to call WSAStartup before calling getaddrinfo */ + WSADATA wsaData; + + err = WSAStartup(MAKEWORD(2, 2), &wsaData); +#endif + + /* for best results, this code should match parse_hba_line() */ + hints.ai_flags = AI_NUMERICHOST; + hints.ai_family = AF_UNSPEC; + hints.ai_socktype = 0; + hints.ai_protocol = 0; + hints.ai_addrlen = 0; + hints.ai_canonname = NULL; + hints.ai_addr = NULL; + hints.ai_next = NULL; + + if (err != 0 || + getaddrinfo("::1", NULL, &hints, &gai_result) != 0) + { + conflines = replace_token(conflines, + "host all all ::1", + "#host all all ::1"); + conflines = replace_token(conflines, + "host replication all ::1", + "#host replication all ::1"); + } + } + + /* Replace default authentication methods */ + conflines = replace_token(conflines, + "@authmethodhost@", + authmethodhost); + conflines = replace_token(conflines, + "@authmethodlocal@", + authmethodlocal); + + conflines = replace_token(conflines, + "@authcomment@", + (strcmp(authmethodlocal, "trust") == 0 || strcmp(authmethodhost, "trust") == 0) ? AUTHTRUST_WARNING : ""); + + snprintf(path, sizeof(path), "%s/pg_hba.conf", pg_data); + + writefile(path, conflines); + if (chmod(path, pg_file_create_mode) != 0) + pg_fatal("could not change permissions of \"%s\": %m", path); + + + /* pg_ident.conf */ + + conflines = readfile(ident_file); + + snprintf(path, sizeof(path), "%s/pg_ident.conf", pg_data); + + writefile(path, conflines); + if (chmod(path, pg_file_create_mode) != 0) + pg_fatal("could not change permissions of \"%s\": %m", path); + + check_ok(); +} + + +/* + * run the BKI script in bootstrap mode to create template1 + */ +static void +bootstrap_template1(void) +{ + PG_CMD_DECL; + char **line; + char **bki_lines; + char headerline[MAXPGPATH]; + char buf[64]; + + printf(_("running bootstrap script ... ")); + fflush(stdout); + + bki_lines = readfile(bki_file); + + /* Check that bki file appears to be of the right version */ + + snprintf(headerline, sizeof(headerline), "# PostgreSQL %s\n", + PG_MAJORVERSION); + + if (strcmp(headerline, *bki_lines) != 0) + { + pg_log_error("input file \"%s\" does not belong to PostgreSQL %s", + bki_file, PG_VERSION); + pg_log_error_hint("Specify the correct path using the option -L."); + exit(1); + } + + /* Substitute for various symbols used in the BKI file */ + + sprintf(buf, "%d", NAMEDATALEN); + bki_lines = replace_token(bki_lines, "NAMEDATALEN", buf); + + sprintf(buf, "%d", (int) sizeof(Pointer)); + bki_lines = replace_token(bki_lines, "SIZEOF_POINTER", buf); + + bki_lines = replace_token(bki_lines, "ALIGNOF_POINTER", + (sizeof(Pointer) == 4) ? "i" : "d"); + + bki_lines = replace_token(bki_lines, "FLOAT8PASSBYVAL", + FLOAT8PASSBYVAL ? "true" : "false"); + + bki_lines = replace_token(bki_lines, "POSTGRES", + escape_quotes_bki(username)); + + bki_lines = replace_token(bki_lines, "ENCODING", + encodingid_to_string(encodingid)); + + bki_lines = replace_token(bki_lines, "LC_COLLATE", + escape_quotes_bki(lc_collate)); + + bki_lines = replace_token(bki_lines, "LC_CTYPE", + escape_quotes_bki(lc_ctype)); + + bki_lines = replace_token(bki_lines, "ICU_LOCALE", + icu_locale ? escape_quotes_bki(icu_locale) : "_null_"); + + bki_lines = replace_token(bki_lines, "ICU_RULES", + icu_rules ? escape_quotes_bki(icu_rules) : "_null_"); + + sprintf(buf, "%c", locale_provider); + bki_lines = replace_token(bki_lines, "LOCALE_PROVIDER", buf); + + /* Also ensure backend isn't confused by this environment var: */ + unsetenv("PGCLIENTENCODING"); + + snprintf(cmd, sizeof(cmd), + "\"%s\" --boot -X %d %s %s %s %s", + backend_exec, + wal_segment_size_mb * (1024 * 1024), + data_checksums ? "-k" : "", + boot_options, extra_options, + debug ? "-d 5" : ""); + + + PG_CMD_OPEN; + + for (line = bki_lines; *line != NULL; line++) + { + PG_CMD_PUTS(*line); + free(*line); + } + + PG_CMD_CLOSE; + + free(bki_lines); + + check_ok(); +} + +/* + * set up the shadow password table + */ +static void +setup_auth(FILE *cmdfd) +{ + /* + * The authid table shouldn't be readable except through views, to ensure + * passwords are not publicly visible. + */ + PG_CMD_PUTS("REVOKE ALL ON pg_authid FROM public;\n\n"); + + if (superuser_password) + PG_CMD_PRINTF("ALTER USER \"%s\" WITH PASSWORD E'%s';\n\n", + username, escape_quotes(superuser_password)); +} + +/* + * get the superuser password if required + */ +static void +get_su_pwd(void) +{ + char *pwd1; + + if (pwprompt) + { + /* + * Read password from terminal + */ + char *pwd2; + + printf("\n"); + fflush(stdout); + pwd1 = simple_prompt("Enter new superuser password: ", false); + pwd2 = simple_prompt("Enter it again: ", false); + if (strcmp(pwd1, pwd2) != 0) + { + fprintf(stderr, _("Passwords didn't match.\n")); + exit(1); + } + free(pwd2); + } + else + { + /* + * Read password from file + * + * Ideally this should insist that the file not be world-readable. + * However, this option is mainly intended for use on Windows where + * file permissions may not exist at all, so we'll skip the paranoia + * for now. + */ + FILE *pwf = fopen(pwfilename, "r"); + + if (!pwf) + pg_fatal("could not open file \"%s\" for reading: %m", + pwfilename); + pwd1 = pg_get_line(pwf, NULL); + if (!pwd1) + { + if (ferror(pwf)) + pg_fatal("could not read password from file \"%s\": %m", + pwfilename); + else + pg_fatal("password file \"%s\" is empty", + pwfilename); + } + fclose(pwf); + + (void) pg_strip_crlf(pwd1); + } + + superuser_password = pwd1; +} + +/* + * set up pg_depend + */ +static void +setup_depend(FILE *cmdfd) +{ + /* + * Advance the OID counter so that subsequently-created objects aren't + * pinned. + */ + PG_CMD_PUTS("SELECT pg_stop_making_pinned_objects();\n\n"); +} + +/* + * Run external file + */ +static void +setup_run_file(FILE *cmdfd, const char *filename) +{ + char **lines; + + lines = readfile(filename); + + for (char **line = lines; *line != NULL; line++) + { + PG_CMD_PUTS(*line); + free(*line); + } + + PG_CMD_PUTS("\n\n"); + + free(lines); +} + +/* + * fill in extra description data + */ +static void +setup_description(FILE *cmdfd) +{ + /* Create default descriptions for operator implementation functions */ + PG_CMD_PUTS("WITH funcdescs AS ( " + "SELECT p.oid as p_oid, o.oid as o_oid, oprname " + "FROM pg_proc p JOIN pg_operator o ON oprcode = p.oid ) " + "INSERT INTO pg_description " + " SELECT p_oid, 'pg_proc'::regclass, 0, " + " 'implementation of ' || oprname || ' operator' " + " FROM funcdescs " + " WHERE NOT EXISTS (SELECT 1 FROM pg_description " + " WHERE objoid = p_oid AND classoid = 'pg_proc'::regclass) " + " AND NOT EXISTS (SELECT 1 FROM pg_description " + " WHERE objoid = o_oid AND classoid = 'pg_operator'::regclass" + " AND description LIKE 'deprecated%');\n\n"); +} + +/* + * populate pg_collation + */ +static void +setup_collation(FILE *cmdfd) +{ + /* + * Set the collation version for collations defined in pg_collation.dat, + * but not the ones where we know that the collation behavior will never + * change. + */ + PG_CMD_PUTS("UPDATE pg_collation SET collversion = pg_collation_actual_version(oid) WHERE collname = 'unicode';\n\n"); + + /* Import all collations we can find in the operating system */ + PG_CMD_PUTS("SELECT pg_import_system_collations('pg_catalog');\n\n"); +} + +/* + * Set up privileges + * + * We mark most system catalogs as world-readable. We don't currently have + * to touch functions, languages, or databases, because their default + * permissions are OK. + * + * Some objects may require different permissions by default, so we + * make sure we don't overwrite privilege sets that have already been + * set (NOT NULL). + * + * Also populate pg_init_privs to save what the privileges are at init + * time. This is used by pg_dump to allow users to change privileges + * on catalog objects and to have those privilege changes preserved + * across dump/reload and pg_upgrade. + * + * Note that pg_init_privs is only for per-database objects and therefore + * we don't include databases or tablespaces. + */ +static void +setup_privileges(FILE *cmdfd) +{ + PG_CMD_PRINTF("UPDATE pg_class " + " SET relacl = (SELECT array_agg(a.acl) FROM " + " (SELECT E'=r/\"%s\"' as acl " + " UNION SELECT unnest(pg_catalog.acldefault(" + " CASE WHEN relkind = " CppAsString2(RELKIND_SEQUENCE) " THEN 's' " + " ELSE 'r' END::\"char\"," CppAsString2(BOOTSTRAP_SUPERUSERID) "::oid))" + " ) as a) " + " WHERE relkind IN (" CppAsString2(RELKIND_RELATION) ", " + CppAsString2(RELKIND_VIEW) ", " CppAsString2(RELKIND_MATVIEW) ", " + CppAsString2(RELKIND_SEQUENCE) ")" + " AND relacl IS NULL;\n\n", + escape_quotes(username)); + PG_CMD_PUTS("GRANT USAGE ON SCHEMA pg_catalog, public TO PUBLIC;\n\n"); + PG_CMD_PUTS("REVOKE ALL ON pg_largeobject FROM PUBLIC;\n\n"); + PG_CMD_PUTS("INSERT INTO pg_init_privs " + " (objoid, classoid, objsubid, initprivs, privtype)" + " SELECT" + " oid," + " (SELECT oid FROM pg_class WHERE relname = 'pg_class')," + " 0," + " relacl," + " 'i'" + " FROM" + " pg_class" + " WHERE" + " relacl IS NOT NULL" + " AND relkind IN (" CppAsString2(RELKIND_RELATION) ", " + CppAsString2(RELKIND_VIEW) ", " CppAsString2(RELKIND_MATVIEW) ", " + CppAsString2(RELKIND_SEQUENCE) ");\n\n"); + PG_CMD_PUTS("INSERT INTO pg_init_privs " + " (objoid, classoid, objsubid, initprivs, privtype)" + " SELECT" + " pg_class.oid," + " (SELECT oid FROM pg_class WHERE relname = 'pg_class')," + " pg_attribute.attnum," + " pg_attribute.attacl," + " 'i'" + " FROM" + " pg_class" + " JOIN pg_attribute ON (pg_class.oid = pg_attribute.attrelid)" + " WHERE" + " pg_attribute.attacl IS NOT NULL" + " AND pg_class.relkind IN (" CppAsString2(RELKIND_RELATION) ", " + CppAsString2(RELKIND_VIEW) ", " CppAsString2(RELKIND_MATVIEW) ", " + CppAsString2(RELKIND_SEQUENCE) ");\n\n"); + PG_CMD_PUTS("INSERT INTO pg_init_privs " + " (objoid, classoid, objsubid, initprivs, privtype)" + " SELECT" + " oid," + " (SELECT oid FROM pg_class WHERE relname = 'pg_proc')," + " 0," + " proacl," + " 'i'" + " FROM" + " pg_proc" + " WHERE" + " proacl IS NOT NULL;\n\n"); + PG_CMD_PUTS("INSERT INTO pg_init_privs " + " (objoid, classoid, objsubid, initprivs, privtype)" + " SELECT" + " oid," + " (SELECT oid FROM pg_class WHERE relname = 'pg_type')," + " 0," + " typacl," + " 'i'" + " FROM" + " pg_type" + " WHERE" + " typacl IS NOT NULL;\n\n"); + PG_CMD_PUTS("INSERT INTO pg_init_privs " + " (objoid, classoid, objsubid, initprivs, privtype)" + " SELECT" + " oid," + " (SELECT oid FROM pg_class WHERE relname = 'pg_language')," + " 0," + " lanacl," + " 'i'" + " FROM" + " pg_language" + " WHERE" + " lanacl IS NOT NULL;\n\n"); + PG_CMD_PUTS("INSERT INTO pg_init_privs " + " (objoid, classoid, objsubid, initprivs, privtype)" + " SELECT" + " oid," + " (SELECT oid FROM pg_class WHERE " + " relname = 'pg_largeobject_metadata')," + " 0," + " lomacl," + " 'i'" + " FROM" + " pg_largeobject_metadata" + " WHERE" + " lomacl IS NOT NULL;\n\n"); + PG_CMD_PUTS("INSERT INTO pg_init_privs " + " (objoid, classoid, objsubid, initprivs, privtype)" + " SELECT" + " oid," + " (SELECT oid FROM pg_class WHERE relname = 'pg_namespace')," + " 0," + " nspacl," + " 'i'" + " FROM" + " pg_namespace" + " WHERE" + " nspacl IS NOT NULL;\n\n"); + PG_CMD_PUTS("INSERT INTO pg_init_privs " + " (objoid, classoid, objsubid, initprivs, privtype)" + " SELECT" + " oid," + " (SELECT oid FROM pg_class WHERE " + " relname = 'pg_foreign_data_wrapper')," + " 0," + " fdwacl," + " 'i'" + " FROM" + " pg_foreign_data_wrapper" + " WHERE" + " fdwacl IS NOT NULL;\n\n"); + PG_CMD_PUTS("INSERT INTO pg_init_privs " + " (objoid, classoid, objsubid, initprivs, privtype)" + " SELECT" + " oid," + " (SELECT oid FROM pg_class " + " WHERE relname = 'pg_foreign_server')," + " 0," + " srvacl," + " 'i'" + " FROM" + " pg_foreign_server" + " WHERE" + " srvacl IS NOT NULL;\n\n"); +} + +/* + * extract the strange version of version required for information schema + * (09.08.0007abc) + */ +static void +set_info_version(void) +{ + char *letterversion; + long major = 0, + minor = 0, + micro = 0; + char *endptr; + char *vstr = pg_strdup(PG_VERSION); + char *ptr; + + ptr = vstr + (strlen(vstr) - 1); + while (ptr != vstr && (*ptr < '0' || *ptr > '9')) + ptr--; + letterversion = ptr + 1; + major = strtol(vstr, &endptr, 10); + if (*endptr) + minor = strtol(endptr + 1, &endptr, 10); + if (*endptr) + micro = strtol(endptr + 1, &endptr, 10); + snprintf(infoversion, sizeof(infoversion), "%02ld.%02ld.%04ld%s", + major, minor, micro, letterversion); +} + +/* + * load info schema and populate from features file + */ +static void +setup_schema(FILE *cmdfd) +{ + setup_run_file(cmdfd, info_schema_file); + + PG_CMD_PRINTF("UPDATE information_schema.sql_implementation_info " + " SET character_value = '%s' " + " WHERE implementation_info_name = 'DBMS VERSION';\n\n", + infoversion); + + PG_CMD_PRINTF("COPY information_schema.sql_features " + " (feature_id, feature_name, sub_feature_id, " + " sub_feature_name, is_supported, comments) " + " FROM E'%s';\n\n", + escape_quotes(features_file)); +} + +/* + * load PL/pgSQL server-side language + */ +static void +load_plpgsql(FILE *cmdfd) +{ + PG_CMD_PUTS("CREATE EXTENSION plpgsql;\n\n"); +} + +/* + * clean everything up in template1 + */ +static void +vacuum_db(FILE *cmdfd) +{ + /* Run analyze before VACUUM so the statistics are frozen. */ + PG_CMD_PUTS("ANALYZE;\n\nVACUUM FREEZE;\n\n"); +} + +/* + * copy template1 to template0 + */ +static void +make_template0(FILE *cmdfd) +{ + /* + * pg_upgrade tries to preserve database OIDs across upgrades. It's smart + * enough to drop and recreate a conflicting database with the same name, + * but if the same OID were used for one system-created database in the + * old cluster and a different system-created database in the new cluster, + * it would fail. To avoid that, assign a fixed OID to template0 rather + * than letting the server choose one. + * + * (Note that, while the user could have dropped and recreated these + * objects in the old cluster, the problem scenario only exists if the OID + * that is in use in the old cluster is also used in the new cluster - and + * the new cluster should be the result of a fresh initdb.) + * + * We use "STRATEGY = file_copy" here because checkpoints during initdb + * are cheap. "STRATEGY = wal_log" would generate more WAL, which would be + * a little bit slower and make the new cluster a little bit bigger. + */ + PG_CMD_PUTS("CREATE DATABASE template0 IS_TEMPLATE = true ALLOW_CONNECTIONS = false" + " OID = " CppAsString2(Template0DbOid) + " STRATEGY = file_copy;\n\n"); + + /* + * template0 shouldn't have any collation-dependent objects, so unset the + * collation version. This disables collation version checks when making + * a new database from it. + */ + PG_CMD_PUTS("UPDATE pg_database SET datcollversion = NULL WHERE datname = 'template0';\n\n"); + + /* + * While we are here, do set the collation version on template1. + */ + PG_CMD_PUTS("UPDATE pg_database SET datcollversion = pg_database_collation_actual_version(oid) WHERE datname = 'template1';\n\n"); + + /* + * Explicitly revoke public create-schema and create-temp-table privileges + * in template1 and template0; else the latter would be on by default + */ + PG_CMD_PUTS("REVOKE CREATE,TEMPORARY ON DATABASE template1 FROM public;\n\n"); + PG_CMD_PUTS("REVOKE CREATE,TEMPORARY ON DATABASE template0 FROM public;\n\n"); + + PG_CMD_PUTS("COMMENT ON DATABASE template0 IS 'unmodifiable empty database';\n\n"); + + /* + * Finally vacuum to clean up dead rows in pg_database + */ + PG_CMD_PUTS("VACUUM pg_database;\n\n"); +} + +/* + * copy template1 to postgres + */ +static void +make_postgres(FILE *cmdfd) +{ + /* + * Just as we did for template0, and for the same reasons, assign a fixed + * OID to postgres and select the file_copy strategy. + */ + PG_CMD_PUTS("CREATE DATABASE postgres OID = " CppAsString2(PostgresDbOid) + " STRATEGY = file_copy;\n\n"); + PG_CMD_PUTS("COMMENT ON DATABASE postgres IS 'default administrative connection database';\n\n"); +} + +/* + * signal handler in case we are interrupted. + * + * The Windows runtime docs at + * https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/signal + * specifically forbid a number of things being done from a signal handler, + * including IO, memory allocation and system calls, and only allow jmpbuf + * if you are handling SIGFPE. + * + * I avoided doing the forbidden things by setting a flag instead of calling + * exit() directly. + * + * Also note the behaviour of Windows with SIGINT, which says this: + * SIGINT is not supported for any Win32 application. When a CTRL+C interrupt + * occurs, Win32 operating systems generate a new thread to specifically + * handle that interrupt. This can cause a single-thread application, such as + * one in UNIX, to become multithreaded and cause unexpected behavior. + * + * I have no idea how to handle this. (Strange they call UNIX an application!) + * So this will need some testing on Windows. + */ +static void +trapsig(SIGNAL_ARGS) +{ + /* handle systems that reset the handler, like Windows (grr) */ + pqsignal(postgres_signal_arg, trapsig); + caught_signal = true; +} + +/* + * call exit() if we got a signal, or else output "ok". + */ +static void +check_ok(void) +{ + if (caught_signal) + { + printf(_("caught signal\n")); + fflush(stdout); + exit(1); + } + else if (output_failed) + { + printf(_("could not write to child process: %s\n"), + strerror(output_errno)); + fflush(stdout); + exit(1); + } + else + { + /* all seems well */ + printf(_("ok\n")); + fflush(stdout); + } +} + +/* Hack to suppress a warning about %x from some versions of gcc */ +static inline size_t +my_strftime(char *s, size_t max, const char *fmt, const struct tm *tm) +{ + return strftime(s, max, fmt, tm); +} + +/* + * Determine likely date order from locale + */ +static int +locale_date_order(const char *locale) +{ + struct tm testtime; + char buf[128]; + char *posD; + char *posM; + char *posY; + char *save; + size_t res; + int result; + + result = DATEORDER_MDY; /* default */ + + save = setlocale(LC_TIME, NULL); + if (!save) + return result; + save = pg_strdup(save); + + setlocale(LC_TIME, locale); + + memset(&testtime, 0, sizeof(testtime)); + testtime.tm_mday = 22; + testtime.tm_mon = 10; /* November, should come out as "11" */ + testtime.tm_year = 133; /* 2033 */ + + res = my_strftime(buf, sizeof(buf), "%x", &testtime); + + setlocale(LC_TIME, save); + free(save); + + if (res == 0) + return result; + + posM = strstr(buf, "11"); + posD = strstr(buf, "22"); + posY = strstr(buf, "33"); + + if (!posM || !posD || !posY) + return result; + + if (posY < posM && posM < posD) + result = DATEORDER_YMD; + else if (posD < posM) + result = DATEORDER_DMY; + else + result = DATEORDER_MDY; + + return result; +} + +/* + * Verify that locale name is valid for the locale category. + * + * If successful, and canonname isn't NULL, a malloc'd copy of the locale's + * canonical name is stored there. This is especially useful for figuring out + * what locale name "" means (ie, the environment value). (Actually, + * it seems that on most implementations that's the only thing it's good for; + * we could wish that setlocale gave back a canonically spelled version of + * the locale name, but typically it doesn't.) + * + * this should match the backend's check_locale() function + */ +static void +check_locale_name(int category, const char *locale, char **canonname) +{ + char *save; + char *res; + + if (canonname) + *canonname = NULL; /* in case of failure */ + + save = setlocale(category, NULL); + if (!save) + pg_fatal("setlocale() failed"); + + /* save may be pointing at a modifiable scratch variable, so copy it. */ + save = pg_strdup(save); + + /* for setlocale() call */ + if (!locale) + locale = ""; + + /* set the locale with setlocale, to see if it accepts it. */ + res = setlocale(category, locale); + + /* save canonical name if requested. */ + if (res && canonname) + *canonname = pg_strdup(res); + + /* restore old value. */ + if (!setlocale(category, save)) + pg_fatal("failed to restore old locale \"%s\"", save); + free(save); + + /* complain if locale wasn't valid */ + if (res == NULL) + { + if (*locale) + { + pg_log_error("invalid locale name \"%s\"", locale); + pg_log_error_hint("If the locale name is specific to ICU, use --icu-locale."); + exit(1); + } + else + { + /* + * If no relevant switch was given on command line, locale is an + * empty string, which is not too helpful to report. Presumably + * setlocale() found something it did not like in the environment. + * Ideally we'd report the bad environment variable, but since + * setlocale's behavior is implementation-specific, it's hard to + * be sure what it didn't like. Print a safe generic message. + */ + pg_fatal("invalid locale settings; check LANG and LC_* environment variables"); + } + } +} + +/* + * check if the chosen encoding matches the encoding required by the locale + * + * this should match the similar check in the backend createdb() function + */ +static bool +check_locale_encoding(const char *locale, int user_enc) +{ + int locale_enc; + + locale_enc = pg_get_encoding_from_locale(locale, true); + + /* See notes in createdb() to understand these tests */ + if (!(locale_enc == user_enc || + locale_enc == PG_SQL_ASCII || + locale_enc == -1 || +#ifdef WIN32 + user_enc == PG_UTF8 || +#endif + user_enc == PG_SQL_ASCII)) + { + pg_log_error("encoding mismatch"); + pg_log_error_detail("The encoding you selected (%s) and the encoding that the " + "selected locale uses (%s) do not match. This would lead to " + "misbehavior in various character string processing functions.", + pg_encoding_to_char(user_enc), + pg_encoding_to_char(locale_enc)); + pg_log_error_hint("Rerun %s and either do not specify an encoding explicitly, " + "or choose a matching combination.", + progname); + return false; + } + return true; +} + +/* + * check if the chosen encoding matches is supported by ICU + * + * this should match the similar check in the backend createdb() function + */ +static bool +check_icu_locale_encoding(int user_enc) +{ + if (!(is_encoding_supported_by_icu(user_enc))) + { + pg_log_error("encoding mismatch"); + pg_log_error_detail("The encoding you selected (%s) is not supported with the ICU provider.", + pg_encoding_to_char(user_enc)); + pg_log_error_hint("Rerun %s and either do not specify an encoding explicitly, " + "or choose a matching combination.", + progname); + return false; + } + return true; +} + +/* + * Convert to canonical BCP47 language tag. Must be consistent with + * icu_language_tag(). + */ +static char * +icu_language_tag(const char *loc_str) +{ +#ifdef USE_ICU + UErrorCode status; + char *langtag; + size_t buflen = 32; /* arbitrary starting buffer size */ + const bool strict = true; + + /* + * A BCP47 language tag doesn't have a clearly-defined upper limit (cf. + * RFC5646 section 4.4). Additionally, in older ICU versions, + * uloc_toLanguageTag() doesn't always return the ultimate length on the + * first call, necessitating a loop. + */ + langtag = pg_malloc(buflen); + while (true) + { + status = U_ZERO_ERROR; + uloc_toLanguageTag(loc_str, langtag, buflen, strict, &status); + + /* try again if the buffer is not large enough */ + if (status == U_BUFFER_OVERFLOW_ERROR || + status == U_STRING_NOT_TERMINATED_WARNING) + { + buflen = buflen * 2; + langtag = pg_realloc(langtag, buflen); + continue; + } + + break; + } + + if (U_FAILURE(status)) + { + pg_free(langtag); + + pg_fatal("could not convert locale name \"%s\" to language tag: %s", + loc_str, u_errorName(status)); + } + + return langtag; +#else + pg_fatal("ICU is not supported in this build"); + return NULL; /* keep compiler quiet */ +#endif +} + +/* + * Perform best-effort check that the locale is a valid one. Should be + * consistent with pg_locale.c, except that it doesn't need to open the + * collator (that will happen during post-bootstrap initialization). + */ +static void +icu_validate_locale(const char *loc_str) +{ +#ifdef USE_ICU + UErrorCode status; + char lang[ULOC_LANG_CAPACITY]; + bool found = false; + + /* validate that we can extract the language */ + status = U_ZERO_ERROR; + uloc_getLanguage(loc_str, lang, ULOC_LANG_CAPACITY, &status); + if (U_FAILURE(status)) + { + pg_fatal("could not get language from locale \"%s\": %s", + loc_str, u_errorName(status)); + return; + } + + /* check for special language name */ + if (strcmp(lang, "") == 0 || + strcmp(lang, "root") == 0 || strcmp(lang, "und") == 0) + found = true; + + /* search for matching language within ICU */ + for (int32_t i = 0; !found && i < uloc_countAvailable(); i++) + { + const char *otherloc = uloc_getAvailable(i); + char otherlang[ULOC_LANG_CAPACITY]; + + status = U_ZERO_ERROR; + uloc_getLanguage(otherloc, otherlang, ULOC_LANG_CAPACITY, &status); + if (U_FAILURE(status)) + continue; + + if (strcmp(lang, otherlang) == 0) + found = true; + } + + if (!found) + pg_fatal("locale \"%s\" has unknown language \"%s\"", + loc_str, lang); +#else + pg_fatal("ICU is not supported in this build"); +#endif +} + +/* + * set up the locale variables + * + * assumes we have called setlocale(LC_ALL, "") -- see set_pglocale_pgservice + */ +static void +setlocales(void) +{ + char *canonname; + + /* set empty lc_* and iculocale values to locale config if set */ + + if (locale) + { + if (!lc_ctype) + lc_ctype = locale; + if (!lc_collate) + lc_collate = locale; + if (!lc_numeric) + lc_numeric = locale; + if (!lc_time) + lc_time = locale; + if (!lc_monetary) + lc_monetary = locale; + if (!lc_messages) + lc_messages = locale; + if (!icu_locale && locale_provider == COLLPROVIDER_ICU) + icu_locale = locale; + } + + /* + * canonicalize locale names, and obtain any missing values from our + * current environment + */ + check_locale_name(LC_CTYPE, lc_ctype, &canonname); + lc_ctype = canonname; + check_locale_name(LC_COLLATE, lc_collate, &canonname); + lc_collate = canonname; + check_locale_name(LC_NUMERIC, lc_numeric, &canonname); + lc_numeric = canonname; + check_locale_name(LC_TIME, lc_time, &canonname); + lc_time = canonname; + check_locale_name(LC_MONETARY, lc_monetary, &canonname); + lc_monetary = canonname; +#if defined(LC_MESSAGES) && !defined(WIN32) + check_locale_name(LC_MESSAGES, lc_messages, &canonname); + lc_messages = canonname; +#else + /* when LC_MESSAGES is not available, use the LC_CTYPE setting */ + check_locale_name(LC_CTYPE, lc_messages, &canonname); + lc_messages = canonname; +#endif + + if (locale_provider == COLLPROVIDER_ICU) + { + char *langtag; + + /* acquire default locale from the environment, if not specified */ + if (icu_locale == NULL) + pg_fatal("ICU locale must be specified"); + + /* canonicalize to a language tag */ + langtag = icu_language_tag(icu_locale); + printf(_("Using language tag \"%s\" for ICU locale \"%s\".\n"), + langtag, icu_locale); + pg_free(icu_locale); + icu_locale = langtag; + + icu_validate_locale(icu_locale); + + /* + * In supported builds, the ICU locale ID will be opened during + * post-bootstrap initialization, which will perform extra checks. + */ +#ifndef USE_ICU + pg_fatal("ICU is not supported in this build"); +#endif + } +} + +/* + * print help text + */ +static void +usage(const char *progname) +{ + printf(_("%s initializes a PostgreSQL database cluster.\n\n"), progname); + printf(_("Usage:\n")); + printf(_(" %s [OPTION]... [DATADIR]\n"), progname); + printf(_("\nOptions:\n")); + printf(_(" -A, --auth=METHOD default authentication method for local connections\n")); + printf(_(" --auth-host=METHOD default authentication method for local TCP/IP connections\n")); + printf(_(" --auth-local=METHOD default authentication method for local-socket connections\n")); + printf(_(" [-D, --pgdata=]DATADIR location for this database cluster\n")); + printf(_(" -E, --encoding=ENCODING set default encoding for new databases\n")); + printf(_(" -g, --allow-group-access allow group read/execute on data directory\n")); + printf(_(" --icu-locale=LOCALE set ICU locale ID for new databases\n")); + printf(_(" --icu-rules=RULES set additional ICU collation rules for new databases\n")); + printf(_(" -k, --data-checksums use data page checksums\n")); + printf(_(" --locale=LOCALE set default locale for new databases\n")); + printf(_(" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" + " --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" + " set default locale in the respective category for\n" + " new databases (default taken from environment)\n")); + printf(_(" --no-locale equivalent to --locale=C\n")); + printf(_(" --locale-provider={libc|icu}\n" + " set default locale provider for new databases\n")); + printf(_(" --pwfile=FILE read password for the new superuser from file\n")); + printf(_(" -T, --text-search-config=CFG\n" + " default text search configuration\n")); + printf(_(" -U, --username=NAME database superuser name\n")); + printf(_(" -W, --pwprompt prompt for a password for the new superuser\n")); + printf(_(" -X, --waldir=WALDIR location for the write-ahead log directory\n")); + printf(_(" --wal-segsize=SIZE size of WAL segments, in megabytes\n")); + printf(_("\nLess commonly used options:\n")); + printf(_(" -c, --set NAME=VALUE override default setting for server parameter\n")); + printf(_(" -d, --debug generate lots of debugging output\n")); + printf(_(" --discard-caches set debug_discard_caches=1\n")); + printf(_(" -L DIRECTORY where to find the input files\n")); + printf(_(" -n, --no-clean do not clean up after errors\n")); + printf(_(" -N, --no-sync do not wait for changes to be written safely to disk\n")); + printf(_(" --no-instructions do not print instructions for next steps\n")); + printf(_(" -s, --show show internal settings\n")); + printf(_(" -S, --sync-only only sync database files to disk, then exit\n")); + printf(_("\nOther options:\n")); + printf(_(" -V, --version output version information, then exit\n")); + printf(_(" -?, --help show this help, then exit\n")); + printf(_("\nIf the data directory is not specified, the environment variable PGDATA\n" + "is used.\n")); + printf(_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); + printf(_("%s home page: <%s>\n"), PACKAGE_NAME, PACKAGE_URL); +} + +static void +check_authmethod_unspecified(const char **authmethod) +{ + if (*authmethod == NULL) + { + authwarning = true; + *authmethod = "trust"; + } +} + +static void +check_authmethod_valid(const char *authmethod, const char *const *valid_methods, const char *conntype) +{ + const char *const *p; + + for (p = valid_methods; *p; p++) + { + if (strcmp(authmethod, *p) == 0) + return; + /* with space = param */ + if (strchr(authmethod, ' ')) + if (strncmp(authmethod, *p, (authmethod - strchr(authmethod, ' '))) == 0) + return; + } + + pg_fatal("invalid authentication method \"%s\" for \"%s\" connections", + authmethod, conntype); +} + +static void +check_need_password(const char *authmethodlocal, const char *authmethodhost) +{ + if ((strcmp(authmethodlocal, "md5") == 0 || + strcmp(authmethodlocal, "password") == 0 || + strcmp(authmethodlocal, "scram-sha-256") == 0) && + (strcmp(authmethodhost, "md5") == 0 || + strcmp(authmethodhost, "password") == 0 || + strcmp(authmethodhost, "scram-sha-256") == 0) && + !(pwprompt || pwfilename)) + pg_fatal("must specify a password for the superuser to enable password authentication"); +} + + +void +setup_pgdata(void) +{ + char *pgdata_get_env; + + if (!pg_data) + { + pgdata_get_env = getenv("PGDATA"); + if (pgdata_get_env && strlen(pgdata_get_env)) + { + /* PGDATA found */ + pg_data = pg_strdup(pgdata_get_env); + } + else + { + pg_log_error("no data directory specified"); + pg_log_error_hint("You must identify the directory where the data for this database system " + "will reside. Do this with either the invocation option -D or the " + "environment variable PGDATA."); + exit(1); + } + } + + pgdata_native = pg_strdup(pg_data); + canonicalize_path(pg_data); + + /* + * we have to set PGDATA for postgres rather than pass it on the command + * line to avoid dumb quoting problems on Windows, and we would especially + * need quotes otherwise on Windows because paths there are most likely to + * have embedded spaces. + */ + if (setenv("PGDATA", pg_data, 1) != 0) + pg_fatal("could not set environment"); +} + + +void +setup_bin_paths(const char *argv0) +{ + int ret; + + if ((ret = find_other_exec(argv0, "postgres", PG_BACKEND_VERSIONSTR, + backend_exec)) < 0) + { + char full_path[MAXPGPATH]; + + if (find_my_exec(argv0, full_path) < 0) + strlcpy(full_path, progname, sizeof(full_path)); + + if (ret == -1) + pg_fatal("program \"%s\" is needed by %s but was not found in the same directory as \"%s\"", + "postgres", progname, full_path); + else + pg_fatal("program \"%s\" was found by \"%s\" but was not the same version as %s", + "postgres", full_path, progname); + } + + /* store binary directory */ + strcpy(bin_path, backend_exec); + *last_dir_separator(bin_path) = '\0'; + canonicalize_path(bin_path); + + if (!share_path) + { + share_path = pg_malloc(MAXPGPATH); + get_share_path(backend_exec, share_path); + } + else if (!is_absolute_path(share_path)) + pg_fatal("input file location must be an absolute path"); + + canonicalize_path(share_path); +} + +void +setup_locale_encoding(void) +{ + setlocales(); + + if (locale_provider == COLLPROVIDER_LIBC && + strcmp(lc_ctype, lc_collate) == 0 && + strcmp(lc_ctype, lc_time) == 0 && + strcmp(lc_ctype, lc_numeric) == 0 && + strcmp(lc_ctype, lc_monetary) == 0 && + strcmp(lc_ctype, lc_messages) == 0 && + (!icu_locale || strcmp(lc_ctype, icu_locale) == 0)) + printf(_("The database cluster will be initialized with locale \"%s\".\n"), lc_ctype); + else + { + printf(_("The database cluster will be initialized with this locale configuration:\n")); + printf(_(" provider: %s\n"), collprovider_name(locale_provider)); + if (icu_locale) + printf(_(" ICU locale: %s\n"), icu_locale); + printf(_(" LC_COLLATE: %s\n" + " LC_CTYPE: %s\n" + " LC_MESSAGES: %s\n" + " LC_MONETARY: %s\n" + " LC_NUMERIC: %s\n" + " LC_TIME: %s\n"), + lc_collate, + lc_ctype, + lc_messages, + lc_monetary, + lc_numeric, + lc_time); + } + + if (!encoding) + { + int ctype_enc; + + ctype_enc = pg_get_encoding_from_locale(lc_ctype, true); + + /* + * If ctype_enc=SQL_ASCII, it's compatible with any encoding. ICU does + * not support SQL_ASCII, so select UTF-8 instead. + */ + if (locale_provider == COLLPROVIDER_ICU && ctype_enc == PG_SQL_ASCII) + ctype_enc = PG_UTF8; + + if (ctype_enc == -1) + { + /* Couldn't recognize the locale's codeset */ + pg_log_error("could not find suitable encoding for locale \"%s\"", + lc_ctype); + pg_log_error_hint("Rerun %s with the -E option.", progname); + pg_log_error_hint("Try \"%s --help\" for more information.", progname); + exit(1); + } + else if (!pg_valid_server_encoding_id(ctype_enc)) + { + /* + * We recognized it, but it's not a legal server encoding. On + * Windows, UTF-8 works with any locale, so we can fall back to + * UTF-8. + */ +#ifdef WIN32 + encodingid = PG_UTF8; + printf(_("Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" + "The default database encoding will be set to \"%s\" instead.\n"), + pg_encoding_to_char(ctype_enc), + pg_encoding_to_char(encodingid)); +#else + pg_log_error("locale \"%s\" requires unsupported encoding \"%s\"", + lc_ctype, pg_encoding_to_char(ctype_enc)); + pg_log_error_detail("Encoding \"%s\" is not allowed as a server-side encoding.", + pg_encoding_to_char(ctype_enc)); + pg_log_error_hint("Rerun %s with a different locale selection.", + progname); + exit(1); +#endif + } + else + { + encodingid = ctype_enc; + printf(_("The default database encoding has accordingly been set to \"%s\".\n"), + pg_encoding_to_char(encodingid)); + } + } + else + encodingid = get_encoding_id(encoding); + + if (!check_locale_encoding(lc_ctype, encodingid) || + !check_locale_encoding(lc_collate, encodingid)) + exit(1); /* check_locale_encoding printed the error */ + + if (locale_provider == COLLPROVIDER_ICU && + !check_icu_locale_encoding(encodingid)) + exit(1); +} + + +void +setup_data_file_paths(void) +{ + set_input(&bki_file, "postgres.bki"); + set_input(&hba_file, "pg_hba.conf.sample"); + set_input(&ident_file, "pg_ident.conf.sample"); + set_input(&conf_file, "postgresql.conf.sample"); + set_input(&dictionary_file, "snowball_create.sql"); + set_input(&info_schema_file, "information_schema.sql"); + set_input(&features_file, "sql_features.txt"); + set_input(&system_constraints_file, "system_constraints.sql"); + set_input(&system_functions_file, "system_functions.sql"); + set_input(&system_views_file, "system_views.sql"); + + if (show_setting || debug) + { + fprintf(stderr, + "VERSION=%s\n" + "PGDATA=%s\nshare_path=%s\nPGPATH=%s\n" + "POSTGRES_SUPERUSERNAME=%s\nPOSTGRES_BKI=%s\n" + "POSTGRESQL_CONF_SAMPLE=%s\n" + "PG_HBA_SAMPLE=%s\nPG_IDENT_SAMPLE=%s\n", + PG_VERSION, + pg_data, share_path, bin_path, + username, bki_file, + conf_file, + hba_file, ident_file); + if (show_setting) + exit(0); + } + + check_input(bki_file); + check_input(hba_file); + check_input(ident_file); + check_input(conf_file); + check_input(dictionary_file); + check_input(info_schema_file); + check_input(features_file); + check_input(system_constraints_file); + check_input(system_functions_file); + check_input(system_views_file); +} + + +void +setup_text_search(void) +{ + if (!default_text_search_config) + { + default_text_search_config = find_matching_ts_config(lc_ctype); + if (!default_text_search_config) + { + pg_log_info("could not find suitable text search configuration for locale \"%s\"", + lc_ctype); + default_text_search_config = "simple"; + } + } + else + { + const char *checkmatch = find_matching_ts_config(lc_ctype); + + if (checkmatch == NULL) + { + pg_log_warning("suitable text search configuration for locale \"%s\" is unknown", + lc_ctype); + } + else if (strcmp(checkmatch, default_text_search_config) != 0) + { + pg_log_warning("specified text search configuration \"%s\" might not match locale \"%s\"", + default_text_search_config, lc_ctype); + } + } + + printf(_("The default text search configuration will be set to \"%s\".\n"), + default_text_search_config); +} + + +void +setup_signals(void) +{ + /* some of these are not valid on Windows */ +#ifdef SIGHUP + pqsignal(SIGHUP, trapsig); +#endif +#ifdef SIGINT + pqsignal(SIGINT, trapsig); +#endif +#ifdef SIGQUIT + pqsignal(SIGQUIT, trapsig); +#endif +#ifdef SIGTERM + pqsignal(SIGTERM, trapsig); +#endif + + /* Ignore SIGPIPE when writing to backend, so we can clean up */ +#ifdef SIGPIPE + pqsignal(SIGPIPE, SIG_IGN); +#endif + + /* Prevent SIGSYS so we can probe for kernel calls that might not work */ +#ifdef SIGSYS + pqsignal(SIGSYS, SIG_IGN); +#endif +} + + +void +create_data_directory(void) +{ + int ret; + + switch ((ret = pg_check_dir(pg_data))) + { + case 0: + /* PGDATA not there, must create it */ + printf(_("creating directory %s ... "), + pg_data); + fflush(stdout); + + if (pg_mkdir_p(pg_data, pg_dir_create_mode) != 0) + pg_fatal("could not create directory \"%s\": %m", pg_data); + else + check_ok(); + + made_new_pgdata = true; + break; + + case 1: + /* Present but empty, fix permissions and use it */ + printf(_("fixing permissions on existing directory %s ... "), + pg_data); + fflush(stdout); + + if (chmod(pg_data, pg_dir_create_mode) != 0) + pg_fatal("could not change permissions of directory \"%s\": %m", + pg_data); + else + check_ok(); + + found_existing_pgdata = true; + break; + + case 2: + case 3: + case 4: + /* Present and not empty */ + pg_log_error("directory \"%s\" exists but is not empty", pg_data); + if (ret != 4) + warn_on_mount_point(ret); + else + pg_log_error_hint("If you want to create a new database system, either remove or empty " + "the directory \"%s\" or run %s " + "with an argument other than \"%s\".", + pg_data, progname, pg_data); + exit(1); /* no further message needed */ + + default: + /* Trouble accessing directory */ + pg_fatal("could not access directory \"%s\": %m", pg_data); + } +} + + +/* Create WAL directory, and symlink if required */ +void +create_xlog_or_symlink(void) +{ + char *subdirloc; + + /* form name of the place for the subdirectory or symlink */ + subdirloc = psprintf("%s/pg_wal", pg_data); + + if (xlog_dir) + { + int ret; + + /* clean up xlog directory name, check it's absolute */ + canonicalize_path(xlog_dir); + if (!is_absolute_path(xlog_dir)) + pg_fatal("WAL directory location must be an absolute path"); + + /* check if the specified xlog directory exists/is empty */ + switch ((ret = pg_check_dir(xlog_dir))) + { + case 0: + /* xlog directory not there, must create it */ + printf(_("creating directory %s ... "), + xlog_dir); + fflush(stdout); + + if (pg_mkdir_p(xlog_dir, pg_dir_create_mode) != 0) + pg_fatal("could not create directory \"%s\": %m", + xlog_dir); + else + check_ok(); + + made_new_xlogdir = true; + break; + + case 1: + /* Present but empty, fix permissions and use it */ + printf(_("fixing permissions on existing directory %s ... "), + xlog_dir); + fflush(stdout); + + if (chmod(xlog_dir, pg_dir_create_mode) != 0) + pg_fatal("could not change permissions of directory \"%s\": %m", + xlog_dir); + else + check_ok(); + + found_existing_xlogdir = true; + break; + + case 2: + case 3: + case 4: + /* Present and not empty */ + pg_log_error("directory \"%s\" exists but is not empty", xlog_dir); + if (ret != 4) + warn_on_mount_point(ret); + else + pg_log_error_hint("If you want to store the WAL there, either remove or empty the directory \"%s\".", + xlog_dir); + exit(1); + + default: + /* Trouble accessing directory */ + pg_fatal("could not access directory \"%s\": %m", xlog_dir); + } + + if (symlink(xlog_dir, subdirloc) != 0) + pg_fatal("could not create symbolic link \"%s\": %m", + subdirloc); + } + else + { + /* Without -X option, just make the subdirectory normally */ + if (mkdir(subdirloc, pg_dir_create_mode) < 0) + pg_fatal("could not create directory \"%s\": %m", + subdirloc); + } + + free(subdirloc); +} + + +void +warn_on_mount_point(int error) +{ + if (error == 2) + pg_log_error_detail("It contains a dot-prefixed/invisible file, perhaps due to it being a mount point."); + else if (error == 3) + pg_log_error_detail("It contains a lost+found directory, perhaps due to it being a mount point."); + + pg_log_error_hint("Using a mount point directly as the data directory is not recommended.\n" + "Create a subdirectory under the mount point."); +} + + +void +initialize_data_directory(void) +{ + PG_CMD_DECL; + int i; + + setup_signals(); + + /* + * Set mask based on requested PGDATA permissions. pg_mode_mask, and + * friends like pg_dir_create_mode, are set to owner-only by default and + * then updated if -g is passed in by calling SetDataDirectoryCreatePerm() + * when parsing our options (see above). + */ + umask(pg_mode_mask); + + create_data_directory(); + + create_xlog_or_symlink(); + + /* Create required subdirectories (other than pg_wal) */ + printf(_("creating subdirectories ... ")); + fflush(stdout); + + for (i = 0; i < lengthof(subdirs); i++) + { + char *path; + + path = psprintf("%s/%s", pg_data, subdirs[i]); + + /* + * The parent directory already exists, so we only need mkdir() not + * pg_mkdir_p() here, which avoids some failure modes; cf bug #13853. + */ + if (mkdir(path, pg_dir_create_mode) < 0) + pg_fatal("could not create directory \"%s\": %m", path); + + free(path); + } + + check_ok(); + + /* Top level PG_VERSION is checked by bootstrapper, so make it first */ + write_version_file(NULL); + + /* Select suitable configuration settings */ + set_null_conf(); + test_config_settings(); + + /* Now create all the text config files */ + setup_config(); + + /* Bootstrap template1 */ + bootstrap_template1(); + + /* + * Make the per-database PG_VERSION for template1 only after init'ing it + */ + write_version_file("base/1"); + + /* + * Create the stuff we don't need to use bootstrap mode for, using a + * backend running in simple standalone mode. + */ + fputs(_("performing post-bootstrap initialization ... "), stdout); + fflush(stdout); + + snprintf(cmd, sizeof(cmd), + "\"%s\" %s %s template1 >%s", + backend_exec, backend_options, extra_options, + DEVNULL); + + PG_CMD_OPEN; + + setup_auth(cmdfd); + + setup_run_file(cmdfd, system_constraints_file); + + setup_run_file(cmdfd, system_functions_file); + + setup_depend(cmdfd); + + /* + * Note that no objects created after setup_depend() will be "pinned". + * They are all droppable at the whim of the DBA. + */ + + setup_run_file(cmdfd, system_views_file); + + setup_description(cmdfd); + + setup_collation(cmdfd); + + setup_run_file(cmdfd, dictionary_file); + + setup_privileges(cmdfd); + + setup_schema(cmdfd); + + load_plpgsql(cmdfd); + + vacuum_db(cmdfd); + + make_template0(cmdfd); + + make_postgres(cmdfd); + + PG_CMD_CLOSE; + + check_ok(); +} + + +int +main(int argc, char *argv[]) +{ + static struct option long_options[] = { + {"pgdata", required_argument, NULL, 'D'}, + {"encoding", required_argument, NULL, 'E'}, + {"locale", required_argument, NULL, 1}, + {"lc-collate", required_argument, NULL, 2}, + {"lc-ctype", required_argument, NULL, 3}, + {"lc-monetary", required_argument, NULL, 4}, + {"lc-numeric", required_argument, NULL, 5}, + {"lc-time", required_argument, NULL, 6}, + {"lc-messages", required_argument, NULL, 7}, + {"no-locale", no_argument, NULL, 8}, + {"text-search-config", required_argument, NULL, 'T'}, + {"auth", required_argument, NULL, 'A'}, + {"auth-local", required_argument, NULL, 10}, + {"auth-host", required_argument, NULL, 11}, + {"pwprompt", no_argument, NULL, 'W'}, + {"pwfile", required_argument, NULL, 9}, + {"username", required_argument, NULL, 'U'}, + {"help", no_argument, NULL, '?'}, + {"version", no_argument, NULL, 'V'}, + {"debug", no_argument, NULL, 'd'}, + {"show", no_argument, NULL, 's'}, + {"noclean", no_argument, NULL, 'n'}, /* for backwards compatibility */ + {"no-clean", no_argument, NULL, 'n'}, + {"nosync", no_argument, NULL, 'N'}, /* for backwards compatibility */ + {"no-sync", no_argument, NULL, 'N'}, + {"no-instructions", no_argument, NULL, 13}, + {"set", required_argument, NULL, 'c'}, + {"sync-only", no_argument, NULL, 'S'}, + {"waldir", required_argument, NULL, 'X'}, + {"wal-segsize", required_argument, NULL, 12}, + {"data-checksums", no_argument, NULL, 'k'}, + {"allow-group-access", no_argument, NULL, 'g'}, + {"discard-caches", no_argument, NULL, 14}, + {"locale-provider", required_argument, NULL, 15}, + {"icu-locale", required_argument, NULL, 16}, + {"icu-rules", required_argument, NULL, 17}, + {NULL, 0, NULL, 0} + }; + + /* + * options with no short version return a low integer, the rest return + * their short version value + */ + int c; + int option_index; + char *effective_user; + PQExpBuffer start_db_cmd; + char pg_ctl_path[MAXPGPATH]; + + /* + * Ensure that buffering behavior of stdout matches what it is in + * interactive usage (at least on most platforms). This prevents + * unexpected output ordering when, eg, output is redirected to a file. + * POSIX says we must do this before any other usage of these files. + */ + setvbuf(stdout, NULL, PG_IOLBF, 0); + + pg_logging_init(argv[0]); + progname = get_progname(argv[0]); + set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("initdb")); + + if (argc > 1) + { + if (strcmp(argv[1], "--help") == 0 || strcmp(argv[1], "-?") == 0) + { + usage(progname); + exit(0); + } + if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0) + { + puts("initdb (PostgreSQL) " PG_VERSION); + exit(0); + } + } + + /* process command-line options */ + + while ((c = getopt_long(argc, argv, "A:c:dD:E:gkL:nNsST:U:WX:", + long_options, &option_index)) != -1) + { + switch (c) + { + case 'A': + authmethodlocal = authmethodhost = pg_strdup(optarg); + + /* + * When ident is specified, use peer for local connections. + * Mirrored, when peer is specified, use ident for TCP/IP + * connections. + */ + if (strcmp(authmethodhost, "ident") == 0) + authmethodlocal = "peer"; + else if (strcmp(authmethodlocal, "peer") == 0) + authmethodhost = "ident"; + break; + case 10: + authmethodlocal = pg_strdup(optarg); + break; + case 11: + authmethodhost = pg_strdup(optarg); + break; + case 'c': + { + char *buf = pg_strdup(optarg); + char *equals = strchr(buf, '='); + + if (!equals) + { + pg_log_error("-c %s requires a value", buf); + pg_log_error_hint("Try \"%s --help\" for more information.", + progname); + exit(1); + } + *equals++ = '\0'; /* terminate variable name */ + add_stringlist_item(&extra_guc_names, buf); + add_stringlist_item(&extra_guc_values, equals); + pfree(buf); + } + break; + case 'D': + pg_data = pg_strdup(optarg); + break; + case 'E': + encoding = pg_strdup(optarg); + break; + case 'W': + pwprompt = true; + break; + case 'U': + username = pg_strdup(optarg); + break; + case 'd': + debug = true; + printf(_("Running in debug mode.\n")); + break; + case 'n': + noclean = true; + printf(_("Running in no-clean mode. Mistakes will not be cleaned up.\n")); + break; + case 'N': + do_sync = false; + break; + case 'S': + sync_only = true; + break; + case 'k': + data_checksums = true; + break; + case 'L': + share_path = pg_strdup(optarg); + break; + case 1: + locale = pg_strdup(optarg); + break; + case 2: + lc_collate = pg_strdup(optarg); + break; + case 3: + lc_ctype = pg_strdup(optarg); + break; + case 4: + lc_monetary = pg_strdup(optarg); + break; + case 5: + lc_numeric = pg_strdup(optarg); + break; + case 6: + lc_time = pg_strdup(optarg); + break; + case 7: + lc_messages = pg_strdup(optarg); + break; + case 8: + locale = "C"; + break; + case 9: + pwfilename = pg_strdup(optarg); + break; + case 's': + show_setting = true; + break; + case 'T': + default_text_search_config = pg_strdup(optarg); + break; + case 'X': + xlog_dir = pg_strdup(optarg); + break; + case 12: + str_wal_segment_size_mb = pg_strdup(optarg); + break; + case 13: + noinstructions = true; + break; + case 'g': + SetDataDirectoryCreatePerm(PG_DIR_MODE_GROUP); + break; + case 14: + extra_options = psprintf("%s %s", + extra_options, + "-c debug_discard_caches=1"); + break; + case 15: + if (strcmp(optarg, "icu") == 0) + locale_provider = COLLPROVIDER_ICU; + else if (strcmp(optarg, "libc") == 0) + locale_provider = COLLPROVIDER_LIBC; + else + pg_fatal("unrecognized locale provider: %s", optarg); + break; + case 16: + icu_locale = pg_strdup(optarg); + break; + case 17: + icu_rules = pg_strdup(optarg); + break; + default: + /* getopt_long already emitted a complaint */ + pg_log_error_hint("Try \"%s --help\" for more information.", progname); + exit(1); + } + } + + + /* + * Non-option argument specifies data directory as long as it wasn't + * already specified with -D / --pgdata + */ + if (optind < argc && !pg_data) + { + pg_data = pg_strdup(argv[optind]); + optind++; + } + + if (optind < argc) + { + pg_log_error("too many command-line arguments (first is \"%s\")", + argv[optind]); + pg_log_error_hint("Try \"%s --help\" for more information.", progname); + exit(1); + } + + if (icu_locale && locale_provider != COLLPROVIDER_ICU) + pg_fatal("%s cannot be specified unless locale provider \"%s\" is chosen", + "--icu-locale", "icu"); + + if (icu_rules && locale_provider != COLLPROVIDER_ICU) + pg_fatal("%s cannot be specified unless locale provider \"%s\" is chosen", + "--icu-rules", "icu"); + + atexit(cleanup_directories_atexit); + + /* If we only need to fsync, just do it and exit */ + if (sync_only) + { + setup_pgdata(); + + /* must check that directory is readable */ + if (pg_check_dir(pg_data) <= 0) + pg_fatal("could not access directory \"%s\": %m", pg_data); + + fputs(_("syncing data to disk ... "), stdout); + fflush(stdout); + fsync_pgdata(pg_data, PG_VERSION_NUM); + check_ok(); + return 0; + } + + if (pwprompt && pwfilename) + pg_fatal("password prompt and password file cannot be specified together"); + + check_authmethod_unspecified(&authmethodlocal); + check_authmethod_unspecified(&authmethodhost); + + check_authmethod_valid(authmethodlocal, auth_methods_local, "local"); + check_authmethod_valid(authmethodhost, auth_methods_host, "host"); + + check_need_password(authmethodlocal, authmethodhost); + + /* set wal segment size */ + if (str_wal_segment_size_mb == NULL) + wal_segment_size_mb = (DEFAULT_XLOG_SEG_SIZE) / (1024 * 1024); + else + { + char *endptr; + + /* check that the argument is a number */ + wal_segment_size_mb = strtol(str_wal_segment_size_mb, &endptr, 10); + + /* verify that wal segment size is valid */ + if (endptr == str_wal_segment_size_mb || *endptr != '\0') + pg_fatal("argument of --wal-segsize must be a number"); + if (!IsValidWalSegSize(wal_segment_size_mb * 1024 * 1024)) + pg_fatal("argument of --wal-segsize must be a power of two between 1 and 1024"); + } + + get_restricted_token(); + + setup_pgdata(); + + setup_bin_paths(argv[0]); + + effective_user = get_id(); + if (!username) + username = effective_user; + + if (strncmp(username, "pg_", 3) == 0) + pg_fatal("superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"", username); + + printf(_("The files belonging to this database system will be owned " + "by user \"%s\".\n" + "This user must also own the server process.\n\n"), + effective_user); + + set_info_version(); + + setup_data_file_paths(); + + setup_locale_encoding(); + + setup_text_search(); + + printf("\n"); + + if (data_checksums) + printf(_("Data page checksums are enabled.\n")); + else + printf(_("Data page checksums are disabled.\n")); + + if (pwprompt || pwfilename) + get_su_pwd(); + + printf("\n"); + + initialize_data_directory(); + + if (do_sync) + { + fputs(_("syncing data to disk ... "), stdout); + fflush(stdout); + fsync_pgdata(pg_data, PG_VERSION_NUM); + check_ok(); + } + else + printf(_("\nSync to disk skipped.\nThe data directory might become corrupt if the operating system crashes.\n")); + + if (authwarning) + { + printf("\n"); + pg_log_warning("enabling \"trust\" authentication for local connections"); + pg_log_warning_hint("You can change this by editing pg_hba.conf or using the option -A, or " + "--auth-local and --auth-host, the next time you run initdb."); + } + + if (!noinstructions) + { + /* + * Build up a shell command to tell the user how to start the server + */ + start_db_cmd = createPQExpBuffer(); + + /* Get directory specification used to start initdb ... */ + strlcpy(pg_ctl_path, argv[0], sizeof(pg_ctl_path)); + canonicalize_path(pg_ctl_path); + get_parent_directory(pg_ctl_path); + /* ... and tag on pg_ctl instead */ + join_path_components(pg_ctl_path, pg_ctl_path, "pg_ctl"); + + /* Convert the path to use native separators */ + make_native_path(pg_ctl_path); + + /* path to pg_ctl, properly quoted */ + appendShellString(start_db_cmd, pg_ctl_path); + + /* add -D switch, with properly quoted data directory */ + appendPQExpBufferStr(start_db_cmd, " -D "); + appendShellString(start_db_cmd, pgdata_native); + + /* add suggested -l switch and "start" command */ + /* translator: This is a placeholder in a shell command. */ + appendPQExpBuffer(start_db_cmd, " -l %s start", _("logfile")); + + printf(_("\nSuccess. You can now start the database server using:\n\n" + " %s\n\n"), + start_db_cmd->data); + + destroyPQExpBuffer(start_db_cmd); + } + + + success = true; + return 0; +} diff --git a/src/bin/initdb/meson.build b/src/bin/initdb/meson.build new file mode 100644 index 0000000..4974363 --- /dev/null +++ b/src/bin/initdb/meson.build @@ -0,0 +1,38 @@ +# Copyright (c) 2022-2023, PostgreSQL Global Development Group + +initdb_sources = files( + 'findtimezone.c', + 'initdb.c' +) + +initdb_sources += timezone_localtime_source + +#fixme: reimplement libpq_pgport logic + +if host_system == 'windows' + initdb_sources += rc_bin_gen.process(win32ver_rc, extra_args: [ + '--NAME', 'initdb', + '--FILEDESC', 'initdb - initialize a new database cluster',]) +endif + +initdb = executable('initdb', + initdb_sources, + include_directories: [timezone_inc], + dependencies: [frontend_code, libpq, icu, icu_i18n], + kwargs: default_bin_args, +) +bin_targets += initdb + +tests += { + 'name': 'initdb', + 'sd': meson.current_source_dir(), + 'bd': meson.current_build_dir(), + 'tap': { + 'env': {'with_icu': icu.found() ? 'yes' : 'no'}, + 'tests': [ + 't/001_initdb.pl', + ], + }, +} + +subdir('po', if_found: libintl) diff --git a/src/bin/initdb/nls.mk b/src/bin/initdb/nls.mk new file mode 100644 index 0000000..80af642 --- /dev/null +++ b/src/bin/initdb/nls.mk @@ -0,0 +1,16 @@ +# src/bin/initdb/nls.mk +CATALOG_NAME = initdb +GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) \ + findtimezone.c \ + initdb.c \ + ../../common/exec.c \ + ../../common/fe_memutils.c \ + ../../common/file_utils.c \ + ../../common/pgfnames.c \ + ../../common/restricted_token.c \ + ../../common/rmtree.c \ + ../../common/username.c \ + ../../common/wait_error.c \ + ../../port/dirmod.c +GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS) simple_prompt +GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS) diff --git a/src/bin/initdb/po/LINGUAS b/src/bin/initdb/po/LINGUAS new file mode 100644 index 0000000..fb4e1ca --- /dev/null +++ b/src/bin/initdb/po/LINGUAS @@ -0,0 +1 @@ +cs de el es fr he it ja ka ko pl pt_BR ru sv tr uk vi zh_CN zh_TW diff --git a/src/bin/initdb/po/cs.po b/src/bin/initdb/po/cs.po new file mode 100644 index 0000000..b31d414 --- /dev/null +++ b/src/bin/initdb/po/cs.po @@ -0,0 +1,1162 @@ +# Czech translation of initdb +# +# Karel Žák, 2004. +# Zdeněk Kotala, 2009, 2011, 2012, 2013. +# Tomáš Vondra <tv@fuzzy.cz>, 2012, 2013. +msgid "" +msgstr "" +"Project-Id-Version: initdb-cs (PostgreSQL 9.3)\n" +"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" +"POT-Creation-Date: 2020-10-31 16:15+0000\n" +"PO-Revision-Date: 2020-10-31 21:46+0100\n" +"Last-Translator: Tomas Vondra <tv@fuzzy.cz>\n" +"Language-Team: Czech <info@cspug.cx>\n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +"X-Generator: Poedit 2.4.1\n" + +#: ../../../src/common/logging.c:236 +#, c-format +msgid "fatal: " +msgstr "fatal: " + +#: ../../../src/common/logging.c:243 +#, c-format +msgid "error: " +msgstr "chyba: " + +#: ../../../src/common/logging.c:250 +#, c-format +msgid "warning: " +msgstr "varování: " + +#: ../../common/exec.c:137 ../../common/exec.c:254 ../../common/exec.c:300 +#, c-format +msgid "could not identify current directory: %m" +msgstr "nelze získat aktuální adresář: %m" + +#: ../../common/exec.c:156 +#, c-format +msgid "invalid binary \"%s\"" +msgstr "neplatný binární soubor\"%s\"" + +#: ../../common/exec.c:206 +#, c-format +msgid "could not read binary \"%s\"" +msgstr "nelze číst binární soubor \"%s\"" + +#: ../../common/exec.c:214 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "nelze najít \"%s\" ke spuštění" + +#: ../../common/exec.c:270 ../../common/exec.c:309 +#, c-format +msgid "could not change directory to \"%s\": %m" +msgstr "nelze změnit adresář na \"%s\" : %m" + +#: ../../common/exec.c:287 +#, c-format +msgid "could not read symbolic link \"%s\": %m" +msgstr "nelze přečíst symbolický odkaz \"%s\": %m" + +#: ../../common/exec.c:410 +#, c-format +msgid "pclose failed: %m" +msgstr "volání pclose selhalo: %m" + +#: ../../common/exec.c:539 ../../common/exec.c:584 ../../common/exec.c:676 +#: initdb.c:325 +#, c-format +msgid "out of memory" +msgstr "nedostatek paměti" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:162 +#, c-format +msgid "out of memory\n" +msgstr "nedostatek paměti\n" + +#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:154 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "nelze duplikovat null pointer (interní chyba)\n" + +#: ../../common/file_utils.c:79 ../../common/file_utils.c:181 +#, c-format +msgid "could not stat file \"%s\": %m" +msgstr "nelze získat informace o souboru \"%s\": %m" + +#: ../../common/file_utils.c:158 ../../common/pgfnames.c:48 +#, c-format +msgid "could not open directory \"%s\": %m" +msgstr "nelze otevřít adresář \"%s\": %m" + +#: ../../common/file_utils.c:192 ../../common/pgfnames.c:69 +#, c-format +msgid "could not read directory \"%s\": %m" +msgstr "nelze číst z adresáře \"%s\": %m" + +#: ../../common/file_utils.c:224 ../../common/file_utils.c:283 +#: ../../common/file_utils.c:357 +#, c-format +msgid "could not open file \"%s\": %m" +msgstr "nelze otevřít soubor \"%s\": %m" + +#: ../../common/file_utils.c:295 ../../common/file_utils.c:365 +#, c-format +msgid "could not fsync file \"%s\": %m" +msgstr "nelze provést fsync souboru \"%s\": %m" + +#: ../../common/file_utils.c:375 +#, c-format +msgid "could not rename file \"%s\" to \"%s\": %m" +msgstr "soubor \"%s\" nelze přejmenovat na \"%s\": %m" + +#: ../../common/pgfnames.c:74 +#, c-format +msgid "could not close directory \"%s\": %m" +msgstr "nelze zavřít adresář \"%s\": %m" + +#: ../../common/restricted_token.c:64 +#, c-format +#| msgid "could not load library \"%s\": %s" +msgid "could not load library \"%s\": error code %lu" +msgstr "nelze načíst knihovnu \"%s\": kód chyby %lu" + +#: ../../common/restricted_token.c:73 +#, c-format +#| msgid "cannot create restricted tokens on this platform" +msgid "cannot create restricted tokens on this platform: error code %lu" +msgstr "na této platformě nelze vytvářet vyhrazené tokeny: kód chyby %lu" + +#: ../../common/restricted_token.c:82 +#, c-format +msgid "could not open process token: error code %lu" +msgstr "nelze otevřít token procesu: chybový kód %lu" + +#: ../../common/restricted_token.c:97 +#, c-format +msgid "could not allocate SIDs: error code %lu" +msgstr "nelze alokovat SIDs: chybový kód %lu" + +#: ../../common/restricted_token.c:119 +#, c-format +msgid "could not create restricted token: error code %lu" +msgstr "nelze vytvořit vyhrazený token: chybový kód %lu" + +#: ../../common/restricted_token.c:140 +#, c-format +msgid "could not start process for command \"%s\": error code %lu" +msgstr "nelze nastartovat proces pro příkaz \"%s\": chybový kód %lu" + +#: ../../common/restricted_token.c:178 +#, c-format +msgid "could not re-execute with restricted token: error code %lu" +msgstr "nelze znovu spustit s vyhrazeným tokenem: chybový kód %lu" + +#: ../../common/restricted_token.c:194 +#, c-format +msgid "could not get exit code from subprocess: error code %lu" +msgstr "nelze získat návratový kód z podprovesu: chybový kód %lu" + +#: ../../common/rmtree.c:79 +#, c-format +msgid "could not stat file or directory \"%s\": %m" +msgstr "nelze získat informace o souboru nebo adresáři \"%s\": %m" + +#: ../../common/rmtree.c:101 ../../common/rmtree.c:113 +#, c-format +msgid "could not remove file or directory \"%s\": %m" +msgstr "nelze smazat soubor nebo adresář \"%s\": %m" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "nelze určit efektivní user ID: %ld: %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "uživatel neexistuje" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "vyhledání uživatelského jména selhalo: chybový kód %lu" + +#: ../../common/wait_error.c:45 +#, c-format +msgid "command not executable" +msgstr "příkaz není spustitelný" + +#: ../../common/wait_error.c:49 +#, c-format +msgid "command not found" +msgstr "příkaz nenalezen" + +#: ../../common/wait_error.c:54 +#, c-format +msgid "child process exited with exit code %d" +msgstr "potomek skončil s návratovým kódem %d" + +#: ../../common/wait_error.c:62 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "potomek byl ukončen vyjímkou 0x%X" + +#: ../../common/wait_error.c:66 +#, c-format +msgid "child process was terminated by signal %d: %s" +msgstr "potomek byl ukončen signálem %d: %s" + +#: ../../common/wait_error.c:72 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "potomek skončil s nerozponaným stavem %d" + +#: ../../port/dirmod.c:221 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "nelze nastavit propojení \"%s\": %s\n" + +#: ../../port/dirmod.c:298 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "nelze najít funkci pro \"%s\": %s\n" + +#: initdb.c:481 initdb.c:1505 +#, c-format +msgid "could not open file \"%s\" for reading: %m" +msgstr "nelze otevřít soubor \"%s\" pro čtení: %m" + +#: initdb.c:536 initdb.c:846 initdb.c:872 +#, c-format +msgid "could not open file \"%s\" for writing: %m" +msgstr "nelze otevřít soubor \"%s\" pro zápis: %m" + +#: initdb.c:543 initdb.c:550 initdb.c:852 initdb.c:877 +#, c-format +msgid "could not write file \"%s\": %m" +msgstr "nelze zapsat soubor \"%s\": %m" + +#: initdb.c:568 +#, c-format +msgid "could not execute command \"%s\": %m" +msgstr "nelze spustit příkaz \"%s\": %m" + +#: initdb.c:586 +#, c-format +msgid "removing data directory \"%s\"" +msgstr "odstraňuji datový adresář \"%s\"" + +#: initdb.c:588 +#, c-format +msgid "failed to remove data directory" +msgstr "selhalo odstranění datového adresáře" + +#: initdb.c:592 +#, c-format +msgid "removing contents of data directory \"%s\"" +msgstr "odstraňuji obsah datového adresáře \"%s\"" + +#: initdb.c:595 +#, c-format +msgid "failed to remove contents of data directory" +msgstr "selhalo odstranění obsahu datového adresáře" + +#: initdb.c:600 +#, c-format +msgid "removing WAL directory \"%s\"" +msgstr "odstraňuji WAL adresář \"%s\"" + +#: initdb.c:602 +#, c-format +msgid "failed to remove WAL directory" +msgstr "selhalo odstranění WAL adresáře" + +#: initdb.c:606 +#, c-format +msgid "removing contents of WAL directory \"%s\"" +msgstr "odstraňuji obsah WAL adresáře \"%s\"" + +#: initdb.c:608 +#, c-format +msgid "failed to remove contents of WAL directory" +msgstr "selhalo odstranění obsahu WAL adresáře" + +#: initdb.c:615 +#, c-format +msgid "data directory \"%s\" not removed at user's request" +msgstr "datový adresář \"%s\" nebyl na žádost uživatele odstraněn" + +#: initdb.c:619 +#, c-format +msgid "WAL directory \"%s\" not removed at user's request" +msgstr "WAL adresář \"%s\" nebyl na žádost uživatele odstraněn" + +#: initdb.c:637 +#, c-format +msgid "cannot be run as root" +msgstr "nelze spouštět jako root" + +#: initdb.c:639 +#, c-format +msgid "" +"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n" +"own the server process.\n" +msgstr "" +"Prosím přihlaste se jako (neprivilegovaný) uživatel, který bude vlastníkem\n" +"serverového procesu (například pomocí příkazu \"su\").\n" + +#: initdb.c:672 +#, c-format +msgid "\"%s\" is not a valid server encoding name" +msgstr "\"%s\" není platný název kódování znaků" + +#: initdb.c:805 +#, c-format +msgid "file \"%s\" does not exist" +msgstr "soubor \"%s\" neexistuje" + +#: initdb.c:807 initdb.c:814 initdb.c:823 +#, c-format +msgid "" +"This might mean you have a corrupted installation or identified\n" +"the wrong directory with the invocation option -L.\n" +msgstr "" +"To znamená, že vaše instalace je poškozena, nebo jste\n" +"zadal chybný adresář v parametru -L při spuštění.\n" + +#: initdb.c:812 +#, c-format +msgid "could not access file \"%s\": %m" +msgstr "nelze přistupit k souboru \"%s\": %m" + +#: initdb.c:821 +#, c-format +msgid "file \"%s\" is not a regular file" +msgstr "soubor \"%s\" není běžný soubor" + +#: initdb.c:966 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "vybírám implementaci dynamické sdílené paměti ... " + +#: initdb.c:975 +#, c-format +msgid "selecting default max_connections ... " +msgstr "vybírám implicitní nastavení max_connections ... " + +#: initdb.c:1006 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "vybírám implicitní nastavení shared_buffers ... " + +#: initdb.c:1040 +#, c-format +msgid "selecting default time zone ... " +msgstr "vybírám implicitní časovou zónu ... " + +#: initdb.c:1074 +msgid "creating configuration files ... " +msgstr "vytvářím konfigurační soubory ... " + +#: initdb.c:1227 initdb.c:1246 initdb.c:1332 initdb.c:1347 +#, c-format +msgid "could not change permissions of \"%s\": %m" +msgstr "nelze změnit práva pro \"%s\": %m" + +#: initdb.c:1369 +#, c-format +msgid "running bootstrap script ... " +msgstr "spouštím bootstrap script ... " + +#: initdb.c:1381 +#, c-format +msgid "input file \"%s\" does not belong to PostgreSQL %s" +msgstr "vstupní soubor \"%s\" nenáleží PostgreSQL %s" + +#: initdb.c:1384 +#, c-format +msgid "Check your installation or specify the correct path using the option -L.\n" +msgstr "Zkontrolujte vaši instalaci nebo zadejte platnou cestu pomocí parametru -L.\n" + +#: initdb.c:1482 +msgid "Enter new superuser password: " +msgstr "Zadejte nové heslo pro superuživatele: " + +#: initdb.c:1483 +msgid "Enter it again: " +msgstr "Zadejte ho znovu: " + +#: initdb.c:1486 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "Hesla nesouhlasí.\n" + +#: initdb.c:1512 +#, c-format +msgid "could not read password from file \"%s\": %m" +msgstr "nemohu přečíst heslo ze souboru \"%s\": %m" + +#: initdb.c:1515 +#, c-format +msgid "password file \"%s\" is empty" +msgstr "soubor s hesly \"%s\" je prázdný" + +#: initdb.c:2043 +#, c-format +msgid "caught signal\n" +msgstr "signál obdržen\n" + +#: initdb.c:2049 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "nemohu zapsat do potomka: %s\n" + +#: initdb.c:2057 +#, c-format +msgid "ok\n" +msgstr "ok\n" + +#: initdb.c:2147 +#, c-format +msgid "setlocale() failed" +msgstr "setlocale() selhalo" + +#: initdb.c:2168 +#, c-format +msgid "failed to restore old locale \"%s\"" +msgstr "selhala obnova staré locale \"%s\"" + +#: initdb.c:2177 +#, c-format +msgid "invalid locale name \"%s\"" +msgstr "neplatný název národního nastavení (locale) \"%s\"" + +#: initdb.c:2188 +#, c-format +msgid "invalid locale settings; check LANG and LC_* environment variables" +msgstr "neplatné nastavení locale; zkontrolujte LANG a LC_* proměnné prostředí" + +#: initdb.c:2215 +#, c-format +msgid "encoding mismatch" +msgstr "nesouhlasí kódování znaků" + +#: initdb.c:2217 +#, c-format +msgid "" +"The encoding you selected (%s) and the encoding that the\n" +"selected locale uses (%s) do not match. This would lead to\n" +"misbehavior in various character string processing functions.\n" +"Rerun %s and either do not specify an encoding explicitly,\n" +"or choose a matching combination.\n" +msgstr "" +"Vybrané kódování znaků (%s) a kódování použité vybraným\n" +"národním nastavením (%s) si neodpovídají. To může vést k neočekávanému\n" +"chování různých funkcí pro manipulaci s řetězci. Pro opravu této situace\n" +"spusťte znovu %s a buď nespecifikujte kódování znaků explicitně, nebo\n" +"vyberte takovou kombinaci, která si odpovídá.\n" + +#: initdb.c:2289 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"%s inicializuji PostgreSQL klastr\n" +"\n" + +#: initdb.c:2290 +#, c-format +msgid "Usage:\n" +msgstr "Použití:\n" + +#: initdb.c:2291 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [PŘEPÍNAČ]... [DATAADR]\n" + +#: initdb.c:2292 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"Přepínače:\n" + +#: initdb.c:2293 +#, c-format +msgid " -A, --auth=METHOD default authentication method for local connections\n" +msgstr " -A, --auth=METODA výchozí autentizační metoda pro lokální spojení\n" + +#: initdb.c:2294 +#, c-format +msgid " --auth-host=METHOD default authentication method for local TCP/IP connections\n" +msgstr " --auth-host=METHOD výchozí autentikační metoda pro lokální TCP/IP spojení\n" + +#: initdb.c:2295 +#, c-format +msgid " --auth-local=METHOD default authentication method for local-socket connections\n" +msgstr " --auth-local=METHOD výchozí autentikační metoda pro spojení pro lokální socket\n" + +#: initdb.c:2296 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr " [-D, --pgdata=]DATAADR umístění tohoto databázového klastru\n" + +#: initdb.c:2297 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr " -E, --encoding=KÓDOVÁNÍ nastavení výchozího kódování pro nové databáze\n" + +#: initdb.c:2298 +#, c-format +msgid " -g, --allow-group-access allow group read/execute on data directory\n" +msgstr " -g, --allow-group-access povolit čtení/spouštění pro skupinu na datovém adresáři\n" + +#: initdb.c:2299 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr " --locale=LOCALE nastavení implicitního národního nastavení pro novou databázi\n" + +#: initdb.c:2300 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate, --lc-ctype, --lc-messages=LOCALE\n" +" --lc-monetary, --lc-numeric, --lc-time=LOCALE\n" +" nastaví implicitní národním nastavení\n" +" v příslušných kategoriích (výchozí hodnoty se \n" +" vezmou z nastavení prostředí)\n" + +#: initdb.c:2304 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale ekvivalent --locale=C\n" + +#: initdb.c:2305 +#, c-format +msgid " --pwfile=FILE read password for the new superuser from file\n" +msgstr " --pwfile=SOUBOR načti heslo pro nového superuživatele ze souboru\n" + +#: initdb.c:2306 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T, --text-search-config=CFG\n" +" implicitní configurace fulltextového vyhledávání\n" + +#: initdb.c:2308 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=JMÉNO jméno databázového superuživatele\n" + +#: initdb.c:2309 +#, c-format +msgid " -W, --pwprompt prompt for a password for the new superuser\n" +msgstr " -W, --pwprompt zeptej se na heslo pro nového superuživatele\n" + +#: initdb.c:2310 +#, c-format +msgid " -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr " -X, --waldir=WALDIR umístění adresáře s transakčním logem\n" + +#: initdb.c:2311 +#, c-format +msgid " --wal-segsize=SIZE size of WAL segments, in megabytes\n" +msgstr " --wal-segsize=SIZE velikost WAL segmentů, v megabytech\n" + +#: initdb.c:2312 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"Méně často používané přepínače:\n" + +#: initdb.c:2313 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr " -d, --debug generuj spoustu ladicích informací\n" + +#: initdb.c:2314 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr " -k, --data-checksums použij kontrolní součty datových stránek\n" + +#: initdb.c:2315 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr " -L DIRECTORY kde se nalézají vstupní soubory\n" + +#: initdb.c:2316 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr " -n, --no-clean neuklízet po chybách\n" + +#: initdb.c:2317 +#, c-format +msgid " -N, --no-sync do not wait for changes to be written safely to disk\n" +msgstr " -N, --no-sync nečekat na bezpečné zapsání změn na disk\n" + +#: initdb.c:2318 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show ukaž interní nastavení\n" + +#: initdb.c:2319 +#, c-format +msgid " -S, --sync-only only sync data directory\n" +msgstr " -S, --sync-only pouze provést sync datového adresáře\n" + +#: initdb.c:2320 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"Ostatní přepínače:\n" + +#: initdb.c:2321 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr " -V, --version vypiš informace o verzi, potom skonči\n" + +#: initdb.c:2322 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr " -?, --help ukaž tuto nápovědu, potom skonči\n" + +#: initdb.c:2323 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"Pokud není specifikován datový adresář, použije se proměnná\n" +"prostředí PGDATA.\n" + +#: initdb.c:2325 +#, c-format +msgid "" +"\n" +"Report bugs to <%s>.\n" +msgstr "" +"\n" +"Chyby hlašte na <%s>.\n" + +#: initdb.c:2326 +#, c-format +msgid "%s home page: <%s>\n" +msgstr "%s domácí stránka: <%s>\n" + +#: initdb.c:2354 +#, c-format +msgid "invalid authentication method \"%s\" for \"%s\" connections" +msgstr "neplatná autentikační metoda \"%s\" pro \"%s\" spojení" + +#: initdb.c:2370 +#, c-format +msgid "must specify a password for the superuser to enable %s authentication" +msgstr "musíte zadat heslo superuživatele pro použití autentizace typu %s" + +#: initdb.c:2397 +#, c-format +msgid "no data directory specified" +msgstr "není specifikován datový adresář" + +#: initdb.c:2399 +#, c-format +msgid "" +"You must identify the directory where the data for this database system\n" +"will reside. Do this with either the invocation option -D or the\n" +"environment variable PGDATA.\n" +msgstr "" +"Musíte zadat adresář, ve kterém se bude nacházet tato databáze.\n" +"Učiňte tak buď použitím přepínače -D nebo nastavením proměnné\n" +"prostředí PGDATA.\n" + +#: initdb.c:2434 +#, c-format +msgid "" +"The program \"%s\" is needed by %s but was not found in the\n" +"same directory as \"%s\".\n" +"Check your installation." +msgstr "" +"Program \"%s\" je vyžadován aplikací %s, ale nebyl nalezen ve stejném\n" +"adresáři jako \"%s\".\n" +"Zkontrolujte vaši instalaci." + +#: initdb.c:2439 +#, c-format +msgid "" +"The program \"%s\" was found by \"%s\"\n" +"but was not the same version as %s.\n" +"Check your installation." +msgstr "" +"Program \"%s\" byl nalezen pomocí \"%s\",\n" +"ale nebyl ve stejné verzi jako %s.\n" +"Zkontrolujte vaši instalaci." + +#: initdb.c:2458 +#, c-format +msgid "input file location must be an absolute path" +msgstr "cesta k umístění vstupního souboru musí být absolutní" + +#: initdb.c:2475 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "Databázový klastr bude inicializován s locale %s.\n" + +#: initdb.c:2478 +#, c-format +msgid "" +"The database cluster will be initialized with locales\n" +" COLLATE: %s\n" +" CTYPE: %s\n" +" MESSAGES: %s\n" +" MONETARY: %s\n" +" NUMERIC: %s\n" +" TIME: %s\n" +msgstr "" +"Databázový klastr bude inicializován s národním nastavením\n" +" COLLATE: %s\n" +" CTYPE: %s\n" +" MESSAGES: %s\n" +" MONETARY: %s\n" +" NUMERIC: %s\n" +" TIME: %s\n" + +#: initdb.c:2502 +#, c-format +msgid "could not find suitable encoding for locale \"%s\"" +msgstr "nemohu najít vhodné kódování pro locale \"%s\"" + +#: initdb.c:2504 +#, c-format +msgid "Rerun %s with the -E option.\n" +msgstr "Spusťte znovu %s s přepínačem -E.\n" + +#: initdb.c:2505 initdb.c:3127 initdb.c:3148 +#, c-format +msgid "Try \"%s --help\" for more information.\n" +msgstr "Zkuste \"%s --help\" pro více informací.\n" + +#: initdb.c:2518 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"Kódování %s vyplývající z locale není povoleno jako kódování na serveru.\n" +"Implicitní kódování databáze bude nastaveno na %s.\n" + +#: initdb.c:2523 +#, c-format +msgid "locale \"%s\" requires unsupported encoding \"%s\"" +msgstr "locale \"%s\" vyžaduje nepodporované kódování \"%s\"" + +#: initdb.c:2526 +#, c-format +msgid "" +"Encoding \"%s\" is not allowed as a server-side encoding.\n" +"Rerun %s with a different locale selection.\n" +msgstr "" +"Kódování %s není povoleno jako kódování na serveru.\n" +"Pusťte znovu %s s jiným nastavením locale.\n" + +#: initdb.c:2535 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "Výchozí kódování pro databáze bylo odpovídajícím způsobem nastaveno na %s.\n" + +#: initdb.c:2597 +#, c-format +msgid "could not find suitable text search configuration for locale \"%s\"" +msgstr "nemohu najít vhodnou konfiguraci fulltextového vyhledávání \"%s\"" + +#: initdb.c:2608 +#, c-format +msgid "suitable text search configuration for locale \"%s\" is unknown" +msgstr "vhodná konfigurace fulltextového vyhledávání pro locale \"%s\" není známa" + +#: initdb.c:2613 +#, c-format +msgid "specified text search configuration \"%s\" might not match locale \"%s\"" +msgstr "zvolená konfigurace fulltextového vyhledávání \"%s\" nemusí souhlasit s locale \"%s\"" + +#: initdb.c:2618 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "Implicitní konfigurace fulltextového vyhledávání bude nastavena na \"%s\".\n" + +#: initdb.c:2662 initdb.c:2744 +#, c-format +msgid "creating directory %s ... " +msgstr "vytvářím adresář %s ... " + +#: initdb.c:2668 initdb.c:2750 initdb.c:2815 initdb.c:2877 +#, c-format +msgid "could not create directory \"%s\": %m" +msgstr "nelze vytvořit adresář \"%s\": %m" + +#: initdb.c:2679 initdb.c:2762 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "opravuji oprávnění pro existující adresář %s ... " + +#: initdb.c:2685 initdb.c:2768 +#, c-format +msgid "could not change permissions of directory \"%s\": %m" +msgstr "nelze změnit práva adresáře \"%s\": %m" + +#: initdb.c:2699 initdb.c:2782 +#, c-format +msgid "directory \"%s\" exists but is not empty" +msgstr "adresář \"%s\" existuje, ale není prázdný" + +#: initdb.c:2704 +#, c-format +msgid "" +"If you want to create a new database system, either remove or empty\n" +"the directory \"%s\" or run %s\n" +"with an argument other than \"%s\".\n" +msgstr "" +"Pokud chcete v tomto adresáři inicializovat databázi, odstraňte nebo\n" +"vyprázdněte adresář \"%s\" nebo spusťte %s\n" +"s argumentem jiným než \"%s\".\n" + +#: initdb.c:2712 initdb.c:2794 initdb.c:3163 +#, c-format +msgid "could not access directory \"%s\": %m" +msgstr "nelze přístoupit k adresáři \"%s\": %m" + +#: initdb.c:2735 +#, c-format +msgid "WAL directory location must be an absolute path" +msgstr "cesta k umístění WAL adresáře musí být absolutní" + +#: initdb.c:2787 +#, c-format +msgid "" +"If you want to store the WAL there, either remove or empty the directory\n" +"\"%s\".\n" +msgstr "" +"Pokud v tomto adresáři chcete ukládat transakční log, odstraňte nebo\n" +"vyprázdněte adresář \"%s\".\n" + +#: initdb.c:2801 +#, c-format +msgid "could not create symbolic link \"%s\": %m" +msgstr "nelze vytvořit symbolický odkaz na \"%s\": %m" + +#: initdb.c:2806 +#, c-format +msgid "symlinks are not supported on this platform" +msgstr "na této platformě nejsou podporovány symbolické linky" + +#: initdb.c:2830 +#, c-format +msgid "It contains a dot-prefixed/invisible file, perhaps due to it being a mount point.\n" +msgstr "Obsahuje neviditelný soubor / soubor s tečkou na začátku názvu, možná proto že se jedná o mount point.\n" + +#: initdb.c:2833 +#, c-format +msgid "It contains a lost+found directory, perhaps due to it being a mount point.\n" +msgstr "Obsahuje lost+found adresář, možná proto že se jedná o mount point.\n" + +#: initdb.c:2836 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point.\n" +msgstr "" +"Použití mount pointu přímo jako datového adresáře se nedoporučuje.\n" +"Vytvořte v mount pointu podadresář.\n" + +#: initdb.c:2862 +#, c-format +msgid "creating subdirectories ... " +msgstr "vytvářím adresáře ... " + +#: initdb.c:2908 +msgid "performing post-bootstrap initialization ... " +msgstr "provádím post-bootstrap inicializaci ... " + +#: initdb.c:3065 +#, c-format +msgid "Running in debug mode.\n" +msgstr "Běžím v ladicím režimu.\n" + +#: initdb.c:3069 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "Běžím v režimu \"no-clean\". Chybné kroky nebudou uklizeny.\n" + +#: initdb.c:3146 +#, c-format +msgid "too many command-line arguments (first is \"%s\")" +msgstr "příliš mnoho argumentů v příkazové řádce (první je \"%s\")" + +#: initdb.c:3167 initdb.c:3256 +msgid "syncing data to disk ... " +msgstr "zapisuji data na disk ... " + +#: initdb.c:3176 +#, c-format +msgid "password prompt and password file cannot be specified together" +msgstr "dotaz na heslo a soubor s heslem nemohou být vyžadovány najednou" + +#: initdb.c:3201 +#, c-format +msgid "argument of --wal-segsize must be a number" +msgstr "argument pro --wal-segsize musí být číslo" + +#: initdb.c:3206 +#, c-format +msgid "argument of --wal-segsize must be a power of 2 between 1 and 1024" +msgstr "argument pro --wal-segsize musí být mocnina 2 mezi 1 a 1024" + +#: initdb.c:3223 +#, c-format +msgid "superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"" +msgstr "superuživatelské jméno \"%s\" není povoleno; názvy rolí nemohou začínat \"pg_\"" + +#: initdb.c:3227 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"Soubory patřící k této databázi budou vlastněny uživatelem \"%s\".\n" +"Tento uživatel musí být také vlastníkem serverového procesu.\n" +"\n" + +#: initdb.c:3243 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "Kontrolní součty datových stránek jsou zapnuty.\n" + +#: initdb.c:3245 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "Kontrolní součty datových stránek jsou vypnuty.\n" + +#: initdb.c:3262 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"Zápis na disk přeskočen.\n" +"Datový adresář může být v případě pádu operačního systému poškozený.\n" + +#: initdb.c:3267 +#, c-format +msgid "enabling \"trust\" authentication for local connections" +msgstr "povoluji \"trust\" autentizační metodu pro lokální spojení" + +#: initdb.c:3268 +#, c-format +msgid "" +"You can change this by editing pg_hba.conf or using the option -A, or\n" +"--auth-local and --auth-host, the next time you run initdb.\n" +msgstr "" +"Toto můžete změnit upravením pg_hba.conf nebo použitím volby -A,\n" +"nebo --auth-local a --auth-host, při dalším spuštění initdb.\n" + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3293 +msgid "logfile" +msgstr "logfile" + +#: initdb.c:3295 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"Povedlo se. Můžete začít používat databázový server spuštěním:\n" +"\n" +" %s\n" +"\n" + +#~ msgid "could not read symbolic link \"%s\"" +#~ msgstr "nelze číst symbolický link \"%s\"" + +#~ msgid "%s: could not stat file \"%s\": %s\n" +#~ msgstr "%s: nelze provést stat souboru \"%s\": %s\n" + +#~ msgid "%s: could not open directory \"%s\": %s\n" +#~ msgstr "%s : nelze otevřít adresář \"%s\": %s\n" + +#~ msgid "%s: could not read directory \"%s\": %s\n" +#~ msgstr "%s: nelze načíst adresář \"%s\": %s\n" + +#~ msgid "%s: could not open file \"%s\": %s\n" +#~ msgstr "%s: nelze otevřít soubor \"%s\": %s\n" + +#~ msgid "could not open directory \"%s\": %s\n" +#~ msgstr "nelze otevřít adresář \"%s\": %s\n" + +#~ msgid "child process was terminated by signal %s" +#~ msgstr "potomek byl ukončen signálem %s" + +#~ msgid "%s: out of memory\n" +#~ msgstr "%s: nedostatek paměti\n" + +#~ msgid "%s: could not open file \"%s\" for reading: %s\n" +#~ msgstr "%s: nelze otevřít soubor \"%s\" pro čtení: %s\n" + +#~ msgid "%s: could not write file \"%s\": %s\n" +#~ msgstr "%s: nelze zapsat do souboru \"%s\": %s\n" + +#~ msgid "%s: could not execute command \"%s\": %s\n" +#~ msgstr "%s: nelze vykonat příkaz \"%s\": %s\n" + +#~ msgid "%s: failed to restore old locale \"%s\"\n" +#~ msgstr "%s: selhala obnova původní locale \"%s\"\n" + +#~ msgid "%s: could not create directory \"%s\": %s\n" +#~ msgstr "%s: nelze vytvořít adresář \"%s\": %s\n" + +#~ msgid "%s: could not create symbolic link \"%s\": %s\n" +#~ msgstr "%s: nelze vytvořit symbolický link \"%s\": %s\n" + +#~ msgid "%s: removing transaction log directory \"%s\"\n" +#~ msgstr "%s: odstraňuji adresář s transakčním logem \"%s\"\n" + +#~ msgid "%s: failed to remove transaction log directory\n" +#~ msgstr "%s: selhalo odstraňení adresáře s transakčním logem\n" + +#~ msgid "%s: removing contents of transaction log directory \"%s\"\n" +#~ msgstr "%s: odstraňuji obsah adresáře s transakčním logem \"%s\"\n" + +#~ msgid "%s: failed to remove contents of transaction log directory\n" +#~ msgstr "%s: selhalo odstranění obsahu adresáře s transakčním logem\n" + +#~ msgid "%s: transaction log directory \"%s\" not removed at user's request\n" +#~ msgstr "%s: adresář s transakčním logem \"%s\" nebyl na žádost uživatele odstraněn\n" + +#~ msgid "%s: could not obtain information about current user: %s\n" +#~ msgstr "%s: nelze získat informace o aktualním uživateli: %s\n" + +#~ msgid "%s: could not get current user name: %s\n" +#~ msgstr "%s: nelze získat jméno aktuálního uživatele: %s\n" + +#~ msgid "creating template1 database in %s/base/1 ... " +#~ msgstr "vytvářím databázi template1 v %s/base/1 ... " + +#~ msgid "initializing pg_authid ... " +#~ msgstr "inicializuji pg_authid ... " + +#~ msgid "setting password ... " +#~ msgstr "nastavuji heslo ... " + +#~ msgid "initializing dependencies ... " +#~ msgstr "inicializuji závislosti ... " + +#~ msgid "creating system views ... " +#~ msgstr "vytvářím systémové pohledy ... " + +#~ msgid "loading system objects' descriptions ... " +#~ msgstr "nahrávám popisy systémových objektů ... " + +#~ msgid "creating collations ... " +#~ msgstr "vytvářím collations ... " + +#~ msgid "%s: locale name too long, skipped: \"%s\"\n" +#~ msgstr "%s: jméno locale je příliš dlouhé, přeskakuji: %s\n" + +#~ msgid "%s: locale name has non-ASCII characters, skipped: \"%s\"\n" +#~ msgstr "%s: jméno locale obsahuje ne-ASCII znaky, přeskakuji: %s\n" + +#~ msgid "No usable system locales were found.\n" +#~ msgstr "Nebylo nalezené žádné použitelné systémové nárovní nastavení (locales).\n" + +#~ msgid "Use the option \"--debug\" to see details.\n" +#~ msgstr "Pro více detailů použijte volbu \"--debug\".\n" + +#~ msgid "not supported on this platform\n" +#~ msgstr "na této platformě není podporováno\n" + +#~ msgid "creating conversions ... " +#~ msgstr "vytvářím konverze ... " + +#~ msgid "creating dictionaries ... " +#~ msgstr "vytvářím adresáře ... " + +#~ msgid "setting privileges on built-in objects ... " +#~ msgstr "nastavuji oprávnění pro vestavěné objekty ... " + +#~ msgid "creating information schema ... " +#~ msgstr "vytvářím informační schéma ... " + +#~ msgid "loading PL/pgSQL server-side language ... " +#~ msgstr "načítám PL/pgSQL jazyk ... " + +#~ msgid "vacuuming database template1 ... " +#~ msgstr "pouštím VACUUM na databázi template1 ... " + +#~ msgid "copying template1 to template0 ... " +#~ msgstr "kopíruji template1 do template0 ... " + +#~ msgid "copying template1 to postgres ... " +#~ msgstr "kopíruji template1 do postgres ... " + +#~ msgid "Using the top-level directory of a mount point is not recommended.\n" +#~ msgstr "Použití top-level adresáře mount pointu se nedoporučuje.\n" + +#~ msgid "%s: could not determine valid short version string\n" +#~ msgstr "%s: nemohu zjistit platné krátké označení verze\n" + +#~ msgid "%s: The password file was not generated. Please report this problem.\n" +#~ msgstr "%s: Soubor s hesly nebyl vytvořen. Prosíme oznamte tento problém tvůrcům.\n" + +#~ msgid "" +#~ "The program \"postgres\" was found by \"%s\"\n" +#~ "but was not the same version as %s.\n" +#~ "Check your installation." +#~ msgstr "" +#~ "Program \"postgres\" byl nalezen pomocí \"%s\",\n" +#~ "ale nebyl ve stejné verzi jako %s.\n" +#~ "Zkontrolujte vaši instalaci." + +#~ msgid "" +#~ "The program \"postgres\" is needed by %s but was not found in the\n" +#~ "same directory as \"%s\".\n" +#~ "Check your installation." +#~ msgstr "" +#~ "Program \"postgres\" je vyžadován aplikací %s, ale nebyl nalezen ve\n" +#~ "stejném adresáři jako \"%s\".\n" +#~ "Zkontrolujte vaši instalaci." + +#~ msgid "" +#~ "\n" +#~ "Report bugs to <pgsql-bugs@lists.postgresql.org>.\n" +#~ msgstr "" +#~ "\n" +#~ "Chyby hlaste na adresu <pgsql-bugs@postgresql.org>.\n" diff --git a/src/bin/initdb/po/de.po b/src/bin/initdb/po/de.po new file mode 100644 index 0000000..9e066fe --- /dev/null +++ b/src/bin/initdb/po/de.po @@ -0,0 +1,1065 @@ +# German message translation file for initdb. +# Peter Eisentraut <peter@eisentraut.org>, 2003 - 2023. +# +# Use these quotes: »%s« +# +msgid "" +msgstr "" +"Project-Id-Version: PostgreSQL 16\n" +"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" +"POT-Creation-Date: 2023-08-29 23:20+0000\n" +"PO-Revision-Date: 2023-08-30 08:08+0200\n" +"Last-Translator: Peter Eisentraut <peter@eisentraut.org>\n" +"Language-Team: German <pgsql-translators@postgresql.org>\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../../src/common/logging.c:276 +#, c-format +msgid "error: " +msgstr "Fehler: " + +#: ../../../src/common/logging.c:283 +#, c-format +msgid "warning: " +msgstr "Warnung: " + +#: ../../../src/common/logging.c:294 +#, c-format +msgid "detail: " +msgstr "Detail: " + +#: ../../../src/common/logging.c:301 +#, c-format +msgid "hint: " +msgstr "Tipp: " + +#: ../../common/exec.c:172 +#, c-format +msgid "invalid binary \"%s\": %m" +msgstr "ungültige Programmdatei »%s«: %m" + +#: ../../common/exec.c:215 +#, c-format +msgid "could not read binary \"%s\": %m" +msgstr "konnte Programmdatei »%s« nicht lesen: %m" + +#: ../../common/exec.c:223 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "konnte kein »%s« zum Ausführen finden" + +#: ../../common/exec.c:250 +#, c-format +msgid "could not resolve path \"%s\" to absolute form: %m" +msgstr "konnte Pfad »%s« nicht in absolute Form auflösen: %m" + +#: ../../common/exec.c:412 +#, c-format +msgid "%s() failed: %m" +msgstr "%s() fehlgeschlagen: %m" + +#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687 +#: initdb.c:349 +#, c-format +msgid "out of memory" +msgstr "Speicher aufgebraucht" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161 +#, c-format +msgid "out of memory\n" +msgstr "Speicher aufgebraucht\n" + +#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "kann NULL-Zeiger nicht kopieren (interner Fehler)\n" + +#: ../../common/file_utils.c:87 ../../common/file_utils.c:447 +#, c-format +msgid "could not stat file \"%s\": %m" +msgstr "konnte »stat« für Datei »%s« nicht ausführen: %m" + +#: ../../common/file_utils.c:162 ../../common/pgfnames.c:48 +#: ../../common/rmtree.c:63 +#, c-format +msgid "could not open directory \"%s\": %m" +msgstr "konnte Verzeichnis »%s« nicht öffnen: %m" + +#: ../../common/file_utils.c:196 ../../common/pgfnames.c:69 +#: ../../common/rmtree.c:104 +#, c-format +msgid "could not read directory \"%s\": %m" +msgstr "konnte Verzeichnis »%s« nicht lesen: %m" + +#: ../../common/file_utils.c:228 ../../common/file_utils.c:287 +#: ../../common/file_utils.c:361 +#, c-format +msgid "could not open file \"%s\": %m" +msgstr "konnte Datei »%s« nicht öffnen: %m" + +#: ../../common/file_utils.c:299 ../../common/file_utils.c:369 +#, c-format +msgid "could not fsync file \"%s\": %m" +msgstr "konnte Datei »%s« nicht fsyncen: %m" + +#: ../../common/file_utils.c:379 +#, c-format +msgid "could not rename file \"%s\" to \"%s\": %m" +msgstr "konnte Datei »%s« nicht in »%s« umbenennen: %m" + +#: ../../common/pgfnames.c:74 +#, c-format +msgid "could not close directory \"%s\": %m" +msgstr "konnte Verzeichnis »%s« nicht schließen: %m" + +#: ../../common/restricted_token.c:60 +#, c-format +msgid "could not open process token: error code %lu" +msgstr "konnte Prozess-Token nicht öffnen: Fehlercode %lu" + +#: ../../common/restricted_token.c:74 +#, c-format +msgid "could not allocate SIDs: error code %lu" +msgstr "konnte SIDs nicht erzeugen: Fehlercode %lu" + +#: ../../common/restricted_token.c:94 +#, c-format +msgid "could not create restricted token: error code %lu" +msgstr "konnte beschränktes Token nicht erzeugen: Fehlercode %lu" + +#: ../../common/restricted_token.c:115 +#, c-format +msgid "could not start process for command \"%s\": error code %lu" +msgstr "konnte Prozess für Befehl »%s« nicht starten: Fehlercode %lu" + +#: ../../common/restricted_token.c:153 +#, c-format +msgid "could not re-execute with restricted token: error code %lu" +msgstr "konnte Prozess nicht mit beschränktem Token neu starten: Fehlercode %lu" + +#: ../../common/restricted_token.c:168 +#, c-format +msgid "could not get exit code from subprocess: error code %lu" +msgstr "konnte Statuscode des Subprozesses nicht ermitteln: Fehlercode %lu" + +#: ../../common/rmtree.c:95 +#, c-format +msgid "could not remove file \"%s\": %m" +msgstr "konnte Datei »%s« nicht löschen: %m" + +#: ../../common/rmtree.c:122 +#, c-format +msgid "could not remove directory \"%s\": %m" +msgstr "konnte Verzeichnis »%s« nicht löschen: %m" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "konnte effektive Benutzer-ID %ld nicht nachschlagen: %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "Benutzer existiert nicht" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "Fehler beim Nachschlagen des Benutzernamens: Fehlercode %lu" + +#: ../../common/wait_error.c:55 +#, c-format +msgid "command not executable" +msgstr "Befehl ist nicht ausführbar" + +#: ../../common/wait_error.c:59 +#, c-format +msgid "command not found" +msgstr "Befehl nicht gefunden" + +#: ../../common/wait_error.c:64 +#, c-format +msgid "child process exited with exit code %d" +msgstr "Kindprozess hat mit Code %d beendet" + +#: ../../common/wait_error.c:72 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "Kindprozess wurde durch Ausnahme 0x%X beendet" + +#: ../../common/wait_error.c:76 +#, c-format +msgid "child process was terminated by signal %d: %s" +msgstr "Kindprozess wurde von Signal %d beendet: %s" + +#: ../../common/wait_error.c:82 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "Kindprozess hat mit unbekanntem Status %d beendet" + +#: ../../port/dirmod.c:287 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "konnte Junction für »%s« nicht erzeugen: %s\n" + +#: ../../port/dirmod.c:367 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "konnte Junction für »%s« nicht ermitteln: %s\n" + +#: initdb.c:618 initdb.c:1613 +#, c-format +msgid "could not open file \"%s\" for reading: %m" +msgstr "konnte Datei »%s« nicht zum Lesen öffnen: %m" + +#: initdb.c:662 initdb.c:966 initdb.c:986 +#, c-format +msgid "could not open file \"%s\" for writing: %m" +msgstr "konnte Datei »%s« nicht zum Schreiben öffnen: %m" + +#: initdb.c:666 initdb.c:969 initdb.c:988 +#, c-format +msgid "could not write file \"%s\": %m" +msgstr "konnte Datei »%s« nicht schreiben: %m" + +#: initdb.c:670 +#, c-format +msgid "could not close file \"%s\": %m" +msgstr "konnte Datei »%s« nicht schließen: %m" + +#: initdb.c:686 +#, c-format +msgid "could not execute command \"%s\": %m" +msgstr "konnte Befehl »%s« nicht ausführen: %m" + +#: initdb.c:704 +#, c-format +msgid "removing data directory \"%s\"" +msgstr "entferne Datenverzeichnis »%s«" + +#: initdb.c:706 +#, c-format +msgid "failed to remove data directory" +msgstr "konnte Datenverzeichnis nicht entfernen" + +#: initdb.c:710 +#, c-format +msgid "removing contents of data directory \"%s\"" +msgstr "entferne Inhalt des Datenverzeichnisses »%s«" + +#: initdb.c:713 +#, c-format +msgid "failed to remove contents of data directory" +msgstr "konnte Inhalt des Datenverzeichnisses nicht entfernen" + +#: initdb.c:718 +#, c-format +msgid "removing WAL directory \"%s\"" +msgstr "entferne WAL-Verzeichnis »%s«" + +#: initdb.c:720 +#, c-format +msgid "failed to remove WAL directory" +msgstr "konnte WAL-Verzeichnis nicht entfernen" + +#: initdb.c:724 +#, c-format +msgid "removing contents of WAL directory \"%s\"" +msgstr "entferne Inhalt des WAL-Verzeichnisses »%s«" + +#: initdb.c:726 +#, c-format +msgid "failed to remove contents of WAL directory" +msgstr "konnte Inhalt des WAL-Verzeichnisses nicht entfernen" + +#: initdb.c:733 +#, c-format +msgid "data directory \"%s\" not removed at user's request" +msgstr "Datenverzeichnis »%s« wurde auf Anwenderwunsch nicht entfernt" + +#: initdb.c:737 +#, c-format +msgid "WAL directory \"%s\" not removed at user's request" +msgstr "WAL-Verzeichnis »%s« wurde auf Anwenderwunsch nicht entfernt" + +#: initdb.c:755 +#, c-format +msgid "cannot be run as root" +msgstr "kann nicht als root ausgeführt werden" + +#: initdb.c:756 +#, c-format +msgid "Please log in (using, e.g., \"su\") as the (unprivileged) user that will own the server process." +msgstr "Bitte loggen Sie sich (z.B. mit »su«) als der (unprivilegierte) Benutzer ein, der Eigentümer des Serverprozesses sein soll." + +#: initdb.c:788 +#, c-format +msgid "\"%s\" is not a valid server encoding name" +msgstr "»%s« ist keine gültige Serverkodierung" + +#: initdb.c:932 +#, c-format +msgid "file \"%s\" does not exist" +msgstr "Datei »%s« existiert nicht" + +#: initdb.c:933 initdb.c:938 initdb.c:945 +#, c-format +msgid "This might mean you have a corrupted installation or identified the wrong directory with the invocation option -L." +msgstr "Das könnte bedeuten, dass Ihre Installation fehlerhaft ist oder dass Sie das falsche Verzeichnis mit der Kommandozeilenoption -L angegeben haben." + +#: initdb.c:937 +#, c-format +msgid "could not access file \"%s\": %m" +msgstr "konnte nicht auf Datei »%s« zugreifen: %m" + +#: initdb.c:944 +#, c-format +msgid "file \"%s\" is not a regular file" +msgstr "Datei »%s« ist keine normale Datei" + +#: initdb.c:1077 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "wähle Implementierung von dynamischem Shared Memory ... " + +#: initdb.c:1086 +#, c-format +msgid "selecting default max_connections ... " +msgstr "wähle Vorgabewert für max_connections ... " + +#: initdb.c:1106 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "wähle Vorgabewert für shared_buffers ... " + +#: initdb.c:1129 +#, c-format +msgid "selecting default time zone ... " +msgstr "wähle Vorgabewert für Zeitzone ... " + +#: initdb.c:1206 +msgid "creating configuration files ... " +msgstr "erzeuge Konfigurationsdateien ... " + +#: initdb.c:1367 initdb.c:1381 initdb.c:1448 initdb.c:1459 +#, c-format +msgid "could not change permissions of \"%s\": %m" +msgstr "konnte Zugriffsrechte von »%s« nicht ändern: %m" + +#: initdb.c:1477 +#, c-format +msgid "running bootstrap script ... " +msgstr "führe Bootstrap-Skript aus ... " + +#: initdb.c:1489 +#, c-format +msgid "input file \"%s\" does not belong to PostgreSQL %s" +msgstr "Eingabedatei »%s« gehört nicht zu PostgreSQL %s" + +#: initdb.c:1491 +#, c-format +msgid "Specify the correct path using the option -L." +msgstr "Geben Sie den korrekten Pfad mit der Option -L an." + +#: initdb.c:1591 +msgid "Enter new superuser password: " +msgstr "Geben Sie das neue Superuser-Passwort ein: " + +#: initdb.c:1592 +msgid "Enter it again: " +msgstr "Geben Sie es noch einmal ein: " + +#: initdb.c:1595 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "Passwörter stimmten nicht überein.\n" + +#: initdb.c:1619 +#, c-format +msgid "could not read password from file \"%s\": %m" +msgstr "konnte Passwort nicht aus Datei »%s« lesen: %m" + +#: initdb.c:1622 +#, c-format +msgid "password file \"%s\" is empty" +msgstr "Passwortdatei »%s« ist leer" + +#: initdb.c:2034 +#, c-format +msgid "caught signal\n" +msgstr "Signal abgefangen\n" + +#: initdb.c:2040 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "konnte nicht an Kindprozess schreiben: %s\n" + +#: initdb.c:2048 +#, c-format +msgid "ok\n" +msgstr "ok\n" + +#: initdb.c:2137 +#, c-format +msgid "setlocale() failed" +msgstr "setlocale() fehlgeschlagen" + +#: initdb.c:2155 +#, c-format +msgid "failed to restore old locale \"%s\"" +msgstr "konnte alte Locale »%s« nicht wiederherstellen" + +#: initdb.c:2163 +#, c-format +msgid "invalid locale name \"%s\"" +msgstr "ungültiger Locale-Name: »%s«" + +#: initdb.c:2164 +#, c-format +msgid "If the locale name is specific to ICU, use --icu-locale." +msgstr "Wenn der Locale-Name nur für ICU gültig ist, verwenden Sie --icu-locale." + +#: initdb.c:2177 +#, c-format +msgid "invalid locale settings; check LANG and LC_* environment variables" +msgstr "ungültige Locale-Einstellungen; prüfen Sie die Umgebungsvariablen LANG und LC_*" + +#: initdb.c:2203 initdb.c:2227 +#, c-format +msgid "encoding mismatch" +msgstr "unpassende Kodierungen" + +#: initdb.c:2204 +#, c-format +msgid "The encoding you selected (%s) and the encoding that the selected locale uses (%s) do not match. This would lead to misbehavior in various character string processing functions." +msgstr "Die von Ihnen gewählte Kodierung (%s) und die von der gewählten Locale verwendete Kodierung (%s) passen nicht zu einander. Das würde in verschiedenen Zeichenkettenfunktionen zu Fehlverhalten führen." + +#: initdb.c:2209 initdb.c:2230 +#, c-format +msgid "Rerun %s and either do not specify an encoding explicitly, or choose a matching combination." +msgstr "Starten Sie %s erneut und geben Sie entweder keine Kodierung explizit an oder wählen Sie eine passende Kombination." + +#: initdb.c:2228 +#, c-format +msgid "The encoding you selected (%s) is not supported with the ICU provider." +msgstr "Die von Ihnen gewählte Kodierung (%s) wird vom ICU-Provider nicht unterstützt." + +#: initdb.c:2279 +#, c-format +msgid "could not convert locale name \"%s\" to language tag: %s" +msgstr "konnte Locale-Namen »%s« nicht in Sprach-Tag umwandeln: %s" + +#: initdb.c:2285 initdb.c:2337 initdb.c:2416 +#, c-format +msgid "ICU is not supported in this build" +msgstr "ICU wird in dieser Installation nicht unterstützt" + +#: initdb.c:2308 +#, c-format +msgid "could not get language from locale \"%s\": %s" +msgstr "konnte Sprache nicht aus Locale »%s« ermitteln: %s" + +#: initdb.c:2334 +#, c-format +msgid "locale \"%s\" has unknown language \"%s\"" +msgstr "Locale »%s« hat unbekannte Sprache »%s«" + +#: initdb.c:2400 +#, c-format +msgid "ICU locale must be specified" +msgstr "ICU-Locale muss angegeben werden" + +#: initdb.c:2404 +#, c-format +msgid "Using language tag \"%s\" for ICU locale \"%s\".\n" +msgstr "Verwende Sprach-Tag »%s« für ICU-Locale »%s«.\n" + +#: initdb.c:2427 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"%s initialisiert einen PostgreSQL-Datenbankcluster.\n" +"\n" + +#: initdb.c:2428 +#, c-format +msgid "Usage:\n" +msgstr "Aufruf:\n" + +#: initdb.c:2429 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [OPTION]... [DATENVERZEICHNIS]\n" + +#: initdb.c:2430 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"Optionen:\n" + +#: initdb.c:2431 +#, c-format +msgid " -A, --auth=METHOD default authentication method for local connections\n" +msgstr " -A, --auth=METHODE vorgegebene Authentifizierungsmethode für lokale Verbindungen\n" + +#: initdb.c:2432 +#, c-format +msgid " --auth-host=METHOD default authentication method for local TCP/IP connections\n" +msgstr "" +" --auth-host=METHODE vorgegebene Authentifizierungsmethode für lokale\n" +" TCP/IP-Verbindungen\n" + +#: initdb.c:2433 +#, c-format +msgid " --auth-local=METHOD default authentication method for local-socket connections\n" +msgstr "" +" --auth-local=METHODE vorgegebene Authentifizierungsmethode für Verbindungen\n" +" auf lokalen Sockets\n" + +#: initdb.c:2434 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr " [-D, --pgdata=]DATENVERZ Datenverzeichnis für diesen Datenbankcluster\n" + +#: initdb.c:2435 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr " -E, --encoding=KODIERUNG setze Standardkodierung für neue Datenbanken\n" + +#: initdb.c:2436 +#, c-format +msgid " -g, --allow-group-access allow group read/execute on data directory\n" +msgstr "" +" -g, --allow-group-access Lese- und Ausführungsrechte am Datenverzeichnis\n" +" für Gruppe setzen\n" + +#: initdb.c:2437 +#, c-format +msgid " --icu-locale=LOCALE set ICU locale ID for new databases\n" +msgstr " --icu-locale=LOCALE setze ICU-Locale-ID für neue Datenbanken\n" + +#: initdb.c:2438 +#, c-format +msgid " --icu-rules=RULES set additional ICU collation rules for new databases\n" +msgstr "" +" --icu-rules=REGELN setze zusätzliche ICU-Sortierfolgenregeln für neue\n" +" Datenbanken\n" + +#: initdb.c:2439 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr " -k, --data-checksums Datenseitenprüfsummen verwenden\n" + +#: initdb.c:2440 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr " --locale=LOCALE setze Standardlocale für neue Datenbanken\n" + +#: initdb.c:2441 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" setze Standardlocale in der jeweiligen Kategorie\n" +" für neue Datenbanken (Voreinstellung aus der\n" +" Umgebung entnommen)\n" + +#: initdb.c:2445 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale entspricht --locale=C\n" + +#: initdb.c:2446 +#, c-format +msgid "" +" --locale-provider={libc|icu}\n" +" set default locale provider for new databases\n" +msgstr "" +" --locale-provider={libc|icu}\n" +" setze Standard-Locale-Provider für neue Datenbanken\n" + +#: initdb.c:2448 +#, c-format +msgid " --pwfile=FILE read password for the new superuser from file\n" +msgstr " --pwfile=DATEI lese Passwort des neuen Superusers aus Datei\n" + +#: initdb.c:2449 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T, --text-search-config=KFG\n" +" Standardtextsuchekonfiguration\n" + +#: initdb.c:2451 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=NAME Datenbank-Superusername\n" + +#: initdb.c:2452 +#, c-format +msgid " -W, --pwprompt prompt for a password for the new superuser\n" +msgstr " -W, --pwprompt frage nach Passwort für neuen Superuser\n" + +#: initdb.c:2453 +#, c-format +msgid " -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr " -X, --waldir=WALVERZ Verzeichnis für das Write-Ahead-Log\n" + +#: initdb.c:2454 +#, c-format +msgid " --wal-segsize=SIZE size of WAL segments, in megabytes\n" +msgstr " --wal-segsize=ZAHL Größe eines WAL-Segments, in Megabyte\n" + +#: initdb.c:2455 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"Weniger häufig verwendete Optionen:\n" + +#: initdb.c:2456 +#, c-format +msgid " -c, --set NAME=VALUE override default setting for server parameter\n" +msgstr " -c, --set NAME=WERT Voreinstellung für Serverparameter setzen\n" + +#: initdb.c:2457 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr " -d, --debug erzeuge eine Menge Debug-Ausgaben\n" + +#: initdb.c:2458 +#, c-format +msgid " --discard-caches set debug_discard_caches=1\n" +msgstr " --discard-caches debug_discard_caches=1 setzen\n" + +#: initdb.c:2459 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr " -L VERZEICHNIS wo sind die Eingabedateien zu finden\n" + +#: initdb.c:2460 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr " -n, --no-clean nach Fehlern nicht aufräumen\n" + +#: initdb.c:2461 +#, c-format +msgid " -N, --no-sync do not wait for changes to be written safely to disk\n" +msgstr "" +" -N, --no-sync nicht warten, bis Änderungen sicher auf Festplatte\n" +" geschrieben sind\n" + +#: initdb.c:2462 +#, c-format +msgid " --no-instructions do not print instructions for next steps\n" +msgstr " --no-instructions Anleitung für nächste Schritte nicht ausgeben\n" + +#: initdb.c:2463 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show zeige interne Einstellungen\n" + +#: initdb.c:2464 +#, c-format +msgid " -S, --sync-only only sync database files to disk, then exit\n" +msgstr "" +" -S, --sync-only nur Datenbankdateien auf Festplatte synchronisieren,\n" +" dann beenden\n" + +#: initdb.c:2465 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"Weitere Optionen:\n" + +#: initdb.c:2466 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr " -V, --version Versionsinformationen anzeigen, dann beenden\n" + +#: initdb.c:2467 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr " -?, --help diese Hilfe anzeigen, dann beenden\n" + +#: initdb.c:2468 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"Wenn kein Datenverzeichnis angegeben ist, dann wird die Umgebungsvariable\n" +"PGDATA verwendet.\n" + +#: initdb.c:2470 +#, c-format +msgid "" +"\n" +"Report bugs to <%s>.\n" +msgstr "" +"\n" +"Berichten Sie Fehler an <%s>.\n" + +#: initdb.c:2471 +#, c-format +msgid "%s home page: <%s>\n" +msgstr "%s Homepage: <%s>\n" + +#: initdb.c:2499 +#, c-format +msgid "invalid authentication method \"%s\" for \"%s\" connections" +msgstr "ungültige Authentifizierungsmethode »%s« für »%s«-Verbindungen" + +#: initdb.c:2513 +#, c-format +msgid "must specify a password for the superuser to enable password authentication" +msgstr "Superuser-Passwort muss angegeben werden um Passwortauthentifizierung einzuschalten" + +#: initdb.c:2532 +#, c-format +msgid "no data directory specified" +msgstr "kein Datenverzeichnis angegeben" + +#: initdb.c:2533 +#, c-format +msgid "You must identify the directory where the data for this database system will reside. Do this with either the invocation option -D or the environment variable PGDATA." +msgstr "Sie müssen das Verzeichnis angeben, wo dieses Datenbanksystem abgelegt werden soll. Machen Sie dies entweder mit der Kommandozeilenoption -D oder mit der Umgebungsvariable PGDATA." + +#: initdb.c:2550 +#, c-format +msgid "could not set environment" +msgstr "konnte Umgebung nicht setzen" + +#: initdb.c:2568 +#, c-format +msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"" +msgstr "Programm »%s« wird von %s benötigt, aber wurde nicht im selben Verzeichnis wie »%s« gefunden" + +#: initdb.c:2571 +#, c-format +msgid "program \"%s\" was found by \"%s\" but was not the same version as %s" +msgstr "Programm »%s« wurde von »%s« gefunden, aber es hatte nicht die gleiche Version wie %s" + +#: initdb.c:2586 +#, c-format +msgid "input file location must be an absolute path" +msgstr "Eingabedatei muss absoluten Pfad haben" + +#: initdb.c:2603 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "Der Datenbankcluster wird mit der Locale »%s« initialisiert werden.\n" + +#: initdb.c:2606 +#, c-format +msgid "The database cluster will be initialized with this locale configuration:\n" +msgstr "Der Datenbankcluster wird mit dieser Locale-Konfiguration initialisiert werden:\n" + +#: initdb.c:2607 +#, c-format +msgid " provider: %s\n" +msgstr " Provider: %s\n" + +#: initdb.c:2609 +#, c-format +msgid " ICU locale: %s\n" +msgstr " ICU-Locale: %s\n" + +#: initdb.c:2610 +#, c-format +msgid "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" +msgstr "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" + +#: initdb.c:2640 +#, c-format +msgid "could not find suitable encoding for locale \"%s\"" +msgstr "konnte keine passende Kodierung für Locale »%s« finden" + +#: initdb.c:2642 +#, c-format +msgid "Rerun %s with the -E option." +msgstr "Führen Sie %s erneut mit der Option -E aus." + +#: initdb.c:2643 initdb.c:3176 initdb.c:3284 initdb.c:3304 +#, c-format +msgid "Try \"%s --help\" for more information." +msgstr "Versuchen Sie »%s --help« für weitere Informationen." + +#: initdb.c:2655 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"Die von der Locale gesetzte Kodierung »%s« ist nicht als serverseitige Kodierung erlaubt.\n" +"Die Standarddatenbankkodierung wird stattdessen auf »%s« gesetzt.\n" + +#: initdb.c:2660 +#, c-format +msgid "locale \"%s\" requires unsupported encoding \"%s\"" +msgstr "Locale »%s« benötigt nicht unterstützte Kodierung »%s«" + +#: initdb.c:2662 +#, c-format +msgid "Encoding \"%s\" is not allowed as a server-side encoding." +msgstr "Kodierung »%s« ist nicht als serverseitige Kodierung erlaubt." + +#: initdb.c:2664 +#, c-format +msgid "Rerun %s with a different locale selection." +msgstr "Starten Sie %s erneut mit einer anderen Locale-Wahl." + +#: initdb.c:2672 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "Die Standarddatenbankkodierung wurde entsprechend auf »%s« gesetzt.\n" + +#: initdb.c:2741 +#, c-format +msgid "could not find suitable text search configuration for locale \"%s\"" +msgstr "konnte keine passende Textsuchekonfiguration für Locale »%s« finden" + +#: initdb.c:2752 +#, c-format +msgid "suitable text search configuration for locale \"%s\" is unknown" +msgstr "passende Textsuchekonfiguration für Locale »%s« ist unbekannt" + +#: initdb.c:2757 +#, c-format +msgid "specified text search configuration \"%s\" might not match locale \"%s\"" +msgstr "angegebene Textsuchekonfiguration »%s« passt möglicherweise nicht zur Locale »%s«" + +#: initdb.c:2762 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "Die Standardtextsuchekonfiguration wird auf »%s« gesetzt.\n" + +#: initdb.c:2805 initdb.c:2876 +#, c-format +msgid "creating directory %s ... " +msgstr "erzeuge Verzeichnis %s ... " + +#: initdb.c:2810 initdb.c:2881 initdb.c:2929 initdb.c:2985 +#, c-format +msgid "could not create directory \"%s\": %m" +msgstr "konnte Verzeichnis »%s« nicht erzeugen: %m" + +#: initdb.c:2819 initdb.c:2891 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "berichtige Zugriffsrechte des bestehenden Verzeichnisses %s ... " + +#: initdb.c:2824 initdb.c:2896 +#, c-format +msgid "could not change permissions of directory \"%s\": %m" +msgstr "konnte Rechte des Verzeichnisses »%s« nicht ändern: %m" + +#: initdb.c:2836 initdb.c:2908 +#, c-format +msgid "directory \"%s\" exists but is not empty" +msgstr "Verzeichnis »%s« existiert aber ist nicht leer" + +#: initdb.c:2840 +#, c-format +msgid "If you want to create a new database system, either remove or empty the directory \"%s\" or run %s with an argument other than \"%s\"." +msgstr "Wenn Sie ein neues Datenbanksystem erzeugen wollen, entfernen oder leeren Sie das Verzeichnis »%s« or führen Sie %s mit einem anderen Argument als »%s« aus." + +#: initdb.c:2848 initdb.c:2918 initdb.c:3325 +#, c-format +msgid "could not access directory \"%s\": %m" +msgstr "konnte nicht auf Verzeichnis »%s« zugreifen: %m" + +#: initdb.c:2869 +#, c-format +msgid "WAL directory location must be an absolute path" +msgstr "WAL-Verzeichnis muss absoluten Pfad haben" + +#: initdb.c:2912 +#, c-format +msgid "If you want to store the WAL there, either remove or empty the directory \"%s\"." +msgstr "Wenn Sie dort den WAL ablegen wollen, entfernen oder leeren Sie das Verzeichnis »%s«." + +#: initdb.c:2922 +#, c-format +msgid "could not create symbolic link \"%s\": %m" +msgstr "konnte symbolische Verknüpfung »%s« nicht erstellen: %m" + +#: initdb.c:2941 +#, c-format +msgid "It contains a dot-prefixed/invisible file, perhaps due to it being a mount point." +msgstr "Es enthält eine unsichtbare Datei (beginnt mit Punkt), vielleicht weil es ein Einhängepunkt ist." + +#: initdb.c:2943 +#, c-format +msgid "It contains a lost+found directory, perhaps due to it being a mount point." +msgstr "Es enthält ein Verzeichnis »lost+found«, vielleicht weil es ein Einhängepunkt ist." + +#: initdb.c:2945 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point." +msgstr "" +"Einen Einhängepunkt direkt als Datenverzeichnis zu verwenden wird nicht empfohlen.\n" +"Erzeugen Sie ein Unterverzeichnis unter dem Einhängepunkt." + +#: initdb.c:2971 +#, c-format +msgid "creating subdirectories ... " +msgstr "erzeuge Unterverzeichnisse ... " + +#: initdb.c:3014 +msgid "performing post-bootstrap initialization ... " +msgstr "führe Post-Bootstrap-Initialisierung durch ... " + +#: initdb.c:3175 +#, c-format +msgid "-c %s requires a value" +msgstr "-c %s benötigt einen Wert" + +#: initdb.c:3200 +#, c-format +msgid "Running in debug mode.\n" +msgstr "Debug-Modus ist an.\n" + +#: initdb.c:3204 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "No-Clean-Modus ist an. Bei Fehlern wird nicht aufgeräumt.\n" + +#: initdb.c:3274 +#, c-format +msgid "unrecognized locale provider: %s" +msgstr "unbekannter Locale-Provider: %s" + +#: initdb.c:3302 +#, c-format +msgid "too many command-line arguments (first is \"%s\")" +msgstr "zu viele Kommandozeilenargumente (das erste ist »%s«)" + +#: initdb.c:3309 initdb.c:3313 +#, c-format +msgid "%s cannot be specified unless locale provider \"%s\" is chosen" +msgstr "%s kann nur angegeben werden, wenn Locale-Provider »%s« gewählt ist" + +#: initdb.c:3327 initdb.c:3404 +msgid "syncing data to disk ... " +msgstr "synchronisiere Daten auf Festplatte ... " + +#: initdb.c:3335 +#, c-format +msgid "password prompt and password file cannot be specified together" +msgstr "Passwortprompt und Passwortdatei können nicht zusammen angegeben werden" + +#: initdb.c:3357 +#, c-format +msgid "argument of --wal-segsize must be a number" +msgstr "Argument von --wal-segsize muss eine Zahl sein" + +#: initdb.c:3359 +#, c-format +msgid "argument of --wal-segsize must be a power of two between 1 and 1024" +msgstr "Argument von --wal-segsize muss eine Zweierpotenz zwischen 1 und 1024 sein" + +#: initdb.c:3373 +#, c-format +msgid "superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"" +msgstr "Superuser-Name »%s« nicht erlaubt; Rollennamen können nicht mit »pg_« anfangen" + +#: initdb.c:3375 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"Die Dateien, die zu diesem Datenbanksystem gehören, werden dem Benutzer\n" +"»%s« gehören. Diesem Benutzer muss auch der Serverprozess gehören.\n" +"\n" + +#: initdb.c:3391 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "Datenseitenprüfsummen sind eingeschaltet.\n" + +#: initdb.c:3393 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "Datenseitenprüfsummen sind ausgeschaltet.\n" + +#: initdb.c:3410 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"Synchronisation auf Festplatte übersprungen.\n" +"Das Datenverzeichnis könnte verfälscht werden, falls das Betriebssystem abstürzt.\n" + +#: initdb.c:3415 +#, c-format +msgid "enabling \"trust\" authentication for local connections" +msgstr "Authentifizierung für lokale Verbindungen auf »trust« gesetzt" + +#: initdb.c:3416 +#, c-format +msgid "You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb." +msgstr "Sie können dies ändern, indem Sie pg_hba.conf bearbeiten oder beim nächsten Aufruf von initdb die Option -A, oder --auth-local und --auth-host, verwenden." + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3446 +msgid "logfile" +msgstr "logdatei" + +#: initdb.c:3448 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"Erfolg. Sie können den Datenbankserver jetzt mit\n" +"\n" +" %s\n" +"\n" +"starten.\n" +"\n" diff --git a/src/bin/initdb/po/el.po b/src/bin/initdb/po/el.po new file mode 100644 index 0000000..d162d6b --- /dev/null +++ b/src/bin/initdb/po/el.po @@ -0,0 +1,1096 @@ +# Greek message translation file for initdb +# Copyright (C) 2021 PostgreSQL Global Development Group +# This file is distributed under the same license as the initdb (PostgreSQL) package. +# Georgios Kokolatos <gkokolatos@pm.me>, 2021 +# +# +# +msgid "" +msgstr "" +"Project-Id-Version: initdb (PostgreSQL) 15\n" +"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" +"POT-Creation-Date: 2023-08-14 23:19+0000\n" +"PO-Revision-Date: 2023-08-15 11:59+0200\n" +"Last-Translator: Georgios Kokolatos <gkokolatos@pm.me>\n" +"Language-Team: \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.3.2\n" + +#: ../../../src/common/logging.c:276 +#, c-format +msgid "error: " +msgstr "σφάλμα: " + +#: ../../../src/common/logging.c:283 +#, c-format +msgid "warning: " +msgstr "προειδοποίηση: " + +#: ../../../src/common/logging.c:294 +#, c-format +msgid "detail: " +msgstr "λεπτομέρεια: " + +#: ../../../src/common/logging.c:301 +#, c-format +msgid "hint: " +msgstr "υπόδειξη: " + +#: ../../common/exec.c:172 +#, c-format +msgid "invalid binary \"%s\": %m" +msgstr "μη έγκυρο δυαδικό αρχείο «%s»: %m" + +#: ../../common/exec.c:215 +#, c-format +msgid "could not read binary \"%s\": %m" +msgstr "δεν ήταν δυνατή η ανάγνωση του δυαδικού αρχείου «%s»: %m" + +#: ../../common/exec.c:223 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "δεν βρέθηκε το αρχείο «%s» για να εκτελεστεί" + +#: ../../common/exec.c:250 +#, c-format +msgid "could not resolve path \"%s\" to absolute form: %m" +msgstr "δεν δύναται η επίλυση διαδρομής «%s» σε απόλυτη μορφή: %m" + +#: ../../common/exec.c:412 +#, c-format +msgid "%s() failed: %m" +msgstr "%s() απέτυχε: %m" + +#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687 +#: initdb.c:349 +#, c-format +msgid "out of memory" +msgstr "έλλειψη μνήμης" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161 +#, c-format +msgid "out of memory\n" +msgstr "έλλειψη μνήμης\n" + +#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "δεν ήταν δυνατή η αντιγραφή δείκτη null (εσωτερικό σφάλμα)\n" + +#: ../../common/file_utils.c:87 ../../common/file_utils.c:447 +#, c-format +msgid "could not stat file \"%s\": %m" +msgstr "δεν ήταν δυνατή η εκτέλεση stat στο αρχείο «%s»: %m" + +#: ../../common/file_utils.c:162 ../../common/pgfnames.c:48 +#: ../../common/rmtree.c:63 +#, c-format +msgid "could not open directory \"%s\": %m" +msgstr "δεν ήταν δυνατό το άνοιγμα του καταλόγου «%s»: %m" + +#: ../../common/file_utils.c:196 ../../common/pgfnames.c:69 +#: ../../common/rmtree.c:104 +#, c-format +msgid "could not read directory \"%s\": %m" +msgstr "δεν ήταν δυνατή η ανάγνωση του καταλόγου «%s»: %m" + +#: ../../common/file_utils.c:228 ../../common/file_utils.c:287 +#: ../../common/file_utils.c:361 +#, c-format +msgid "could not open file \"%s\": %m" +msgstr "δεν ήταν δυνατό το άνοιγμα του αρχείου «%s»: %m" + +#: ../../common/file_utils.c:299 ../../common/file_utils.c:369 +#, c-format +msgid "could not fsync file \"%s\": %m" +msgstr "δεν ήταν δυνατή η εκτέλεση της εντολής fsync στο αρχείο «%s»: %m" + +#: ../../common/file_utils.c:379 +#, c-format +msgid "could not rename file \"%s\" to \"%s\": %m" +msgstr "δεν ήταν δυνατή η μετονομασία του αρχείου «%s» σε «%s»: %m" + +#: ../../common/pgfnames.c:74 +#, c-format +msgid "could not close directory \"%s\": %m" +msgstr "δεν ήταν δυνατό το κλείσιμο του καταλόγου «%s»: %m" + +#: ../../common/restricted_token.c:60 +#, c-format +msgid "could not open process token: error code %lu" +msgstr "δεν ήταν δυνατό το άνοιγμα διακριτικού διεργασίας: κωδικός σφάλματος %lu" + +#: ../../common/restricted_token.c:74 +#, c-format +msgid "could not allocate SIDs: error code %lu" +msgstr "δεν ήταν δυνατή η εκχώρηση SID: κωδικός σφάλματος %lu" + +#: ../../common/restricted_token.c:94 +#, c-format +msgid "could not create restricted token: error code %lu" +msgstr "δεν ήταν δυνατή η δημιουργία διακριτικού διεργασίας: κωδικός σφάλματος %lu" + +#: ../../common/restricted_token.c:115 +#, c-format +msgid "could not start process for command \"%s\": error code %lu" +msgstr "δεν ήταν δυνατή η εκκίνηση διεργασίας για την εντολή «%s»: κωδικός σφάλματος %lu" + +#: ../../common/restricted_token.c:153 +#, c-format +msgid "could not re-execute with restricted token: error code %lu" +msgstr "δεν ήταν δυνατή η επανεκκίνηση με διακριτικό περιορισμού: κωδικός σφάλματος %lu" + +#: ../../common/restricted_token.c:168 +#, c-format +msgid "could not get exit code from subprocess: error code %lu" +msgstr "δεν ήταν δυνατή η απόκτηση κωδικού εξόδου από την υποδιεργασία: κωδικός σφάλματος %lu" + +#: ../../common/rmtree.c:95 +#, c-format +msgid "could not remove file \"%s\": %m" +msgstr "δεν ήταν δυνατή η αφαίρεση του αρχείου «%s»: %m" + +#: ../../common/rmtree.c:122 +#, c-format +msgid "could not remove directory \"%s\": %m" +msgstr "δεν ήταν δυνατή η αφαίρεση του καταλόγου «%s»: %m" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "δεν ήταν δυνατή η αναζήτηση ενεργής ταυτότητας χρήστη %ld: %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "ο χρήστης δεν υπάρχει" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "αποτυχία αναζήτησης ονόματος χρήστη: κωδικός σφάλματος %lu" + +#: ../../common/wait_error.c:55 +#, c-format +msgid "command not executable" +msgstr "εντολή μη εκτελέσιμη" + +#: ../../common/wait_error.c:59 +#, c-format +msgid "command not found" +msgstr "εντολή δεν βρέθηκε" + +#: ../../common/wait_error.c:64 +#, c-format +msgid "child process exited with exit code %d" +msgstr "απόγονος διεργασίας τερμάτισε με κωδικό εξόδου %d" + +#: ../../common/wait_error.c:72 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "απόγονος διεργασίας τερματίστηκε με εξαίρεση 0x%X" + +#: ../../common/wait_error.c:76 +#, c-format +msgid "child process was terminated by signal %d: %s" +msgstr "απόγονος διεργασίας τερματίστηκε με σήμα %d: %s" + +#: ../../common/wait_error.c:82 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "απόγονος διεργασίας τερμάτισε με μη αναγνωρίσιμη κατάσταση %d" + +#: ../../port/dirmod.c:287 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "δεν ήταν δυνατός ο ορισμός διασταύρωσης για «%s»: %s\n" + +#: ../../port/dirmod.c:367 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "δεν ήταν δυνατή η απόκτηση διασταύρωσης για «%s»: %s\n" + +#: initdb.c:618 initdb.c:1613 +#, c-format +msgid "could not open file \"%s\" for reading: %m" +msgstr "δεν ήταν δυνατό το άνοιγμα αρχείου «%s» για ανάγνωση: %m" + +#: initdb.c:662 initdb.c:966 initdb.c:986 +#, c-format +msgid "could not open file \"%s\" for writing: %m" +msgstr "δεν ήταν δυνατό το άνοιγμα αρχείου «%s» για εγγραφή: %m" + +#: initdb.c:666 initdb.c:969 initdb.c:988 +#, c-format +msgid "could not write file \"%s\": %m" +msgstr "δεν ήταν δυνατή η εγγραφή αρχείου «%s»: %m" + +#: initdb.c:670 +#, c-format +msgid "could not close file \"%s\": %m" +msgstr "δεν ήταν δυνατό το κλείσιμο του αρχείου «%s»: %m" + +#: initdb.c:686 +#, c-format +msgid "could not execute command \"%s\": %m" +msgstr "δεν ήταν δυνατή η εκτέλεση της εντολής «%s»: %m" + +#: initdb.c:704 +#, c-format +msgid "removing data directory \"%s\"" +msgstr "αφαιρείται ο κατάλογος δεδομένων «%s»" + +#: initdb.c:706 +#, c-format +msgid "failed to remove data directory" +msgstr "απέτυχε η αφαίρεση καταλόγου δεδομένων" + +#: initdb.c:710 +#, c-format +msgid "removing contents of data directory \"%s\"" +msgstr "αφαιρούνται περιεχόμενα του καταλόγου δεδομένων «%s»" + +#: initdb.c:713 +#, c-format +msgid "failed to remove contents of data directory" +msgstr "απέτυχε η αφαίρεση περιεχομένων του καταλόγου δεδομένων" + +#: initdb.c:718 +#, c-format +msgid "removing WAL directory \"%s\"" +msgstr "αφαίρεση καταλόγου WAL «%s»" + +#: initdb.c:720 +#, c-format +msgid "failed to remove WAL directory" +msgstr "απέτυχε η αφαίρεση καταλόγου WAL" + +#: initdb.c:724 +#, c-format +msgid "removing contents of WAL directory \"%s\"" +msgstr "αφαιρούνται τα περιεχόμενα του καταλόγου WAL «%s»" + +#: initdb.c:726 +#, c-format +msgid "failed to remove contents of WAL directory" +msgstr "απέτυχε η αφαίρεση περιεχόμενων του καταλόγου WAL" + +#: initdb.c:733 +#, c-format +msgid "data directory \"%s\" not removed at user's request" +msgstr "ο κατάλογος δεδομένων «%s» δεν αφαιρείται κατα απαίτηση του χρήστη" + +#: initdb.c:737 +#, c-format +msgid "WAL directory \"%s\" not removed at user's request" +msgstr "ο κατάλογος WAL «%s» δεν αφαιρέθηκε κατά απαίτηση του χρήστη" + +#: initdb.c:755 +#, c-format +msgid "cannot be run as root" +msgstr "δεν δύναται η εκτέλεση ως υπερχρήστης" + +#: initdb.c:756 +#, c-format +msgid "Please log in (using, e.g., \"su\") as the (unprivileged) user that will own the server process." +msgstr "Παρακαλώ συνδεθείτε (χρησιμοποιώντας, π.χ. την εντολή «su») ως ο (μη προνομιούχος) χρήστης που θα είναι κάτοχος της διεργασίας του διακομιστή." + +#: initdb.c:788 +#, c-format +msgid "\"%s\" is not a valid server encoding name" +msgstr "«%s» δεν είναι έγκυρο όνομα κωδικοποίησης διακομιστή" + +#: initdb.c:932 +#, c-format +msgid "file \"%s\" does not exist" +msgstr "το αρχείο «%s» δεν υπάρχει" + +#: initdb.c:933 initdb.c:938 initdb.c:945 +#, c-format +msgid "This might mean you have a corrupted installation or identified the wrong directory with the invocation option -L." +msgstr "Αυτό μπορεί να σημαίνει ότι έχετε μια κατεστραμμένη εγκατάσταση ή ορίσατε λάθος κατάλογο με την επιλογή επίκλησης -L." + +#: initdb.c:937 +#, c-format +msgid "could not access file \"%s\": %m" +msgstr "δεν ήταν δυνατή η πρόσβαση του αρχείο «%s»: %m" + +#: initdb.c:944 +#, c-format +msgid "file \"%s\" is not a regular file" +msgstr "το αρχείο «%s» δεν είναι ένα κανονικό αρχείο" + +#: initdb.c:1077 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "επιλογή εφαρμογής δυναμικής κοινόχρηστης μνήμης ... " + +#: initdb.c:1086 +#, c-format +msgid "selecting default max_connections ... " +msgstr "επιλογή προκαθορισμένης τιμής max_connections ... " + +#: initdb.c:1106 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "επιλογή προκαθορισμένης τιμής shared_buffers ... " + +#: initdb.c:1129 +#, c-format +msgid "selecting default time zone ... " +msgstr "επιλογή προκαθορισμένης ζώνης ώρας ... " + +#: initdb.c:1206 +msgid "creating configuration files ... " +msgstr "δημιουργία αρχείων ρύθμισης ... " + +#: initdb.c:1367 initdb.c:1381 initdb.c:1448 initdb.c:1459 +#, c-format +msgid "could not change permissions of \"%s\": %m" +msgstr "δεν ήταν δυνατή η αλλαγή δικαιωμάτων του «%s»: %m" + +#: initdb.c:1477 +#, c-format +msgid "running bootstrap script ... " +msgstr "εκτέλεση σεναρίου bootstrap ... " + +#: initdb.c:1489 +#, c-format +msgid "input file \"%s\" does not belong to PostgreSQL %s" +msgstr "το αρχείο εισόδου «%s» δεν ανήκει στην PostgreSQL %s" + +#: initdb.c:1491 +#, c-format +msgid "Specify the correct path using the option -L." +msgstr "Καθορίστε τη σωστή διαδρομή χρησιμοποιώντας την επιλογή -L." + +#: initdb.c:1591 +msgid "Enter new superuser password: " +msgstr "Εισάγετε νέο κωδικό πρόσβασης υπερχρήστη: " + +#: initdb.c:1592 +msgid "Enter it again: " +msgstr "Εισάγετε ξανά: " + +#: initdb.c:1595 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "Οι κωδικοί πρόσβασης δεν είναι ίδιοι.\n" + +#: initdb.c:1619 +#, c-format +msgid "could not read password from file \"%s\": %m" +msgstr "δεν ήταν δυνατή η ανάγνωση κωδικού πρόσβασης από το αρχείο «%s»: %m" + +#: initdb.c:1622 +#, c-format +msgid "password file \"%s\" is empty" +msgstr "αρχείο κωδικών πρόσβασης «%s» είναι άδειο" + +#: initdb.c:2034 +#, c-format +msgid "caught signal\n" +msgstr "συνελήφθει σήμα\n" + +#: initdb.c:2040 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "δεν ήταν δυνατή η εγγραφή στην απογονική διεργασία: %s\n" + +#: initdb.c:2048 +#, c-format +msgid "ok\n" +msgstr "εντάξει\n" + +#: initdb.c:2137 +#, c-format +msgid "setlocale() failed" +msgstr "setlocale() απέτυχε" + +#: initdb.c:2155 +#, c-format +msgid "failed to restore old locale \"%s\"" +msgstr "απέτυχε να επαναφέρει την παλαιά εντοπιότητα «%s»" + +#: initdb.c:2163 +#, c-format +msgid "invalid locale name \"%s\"" +msgstr "άκυρη ονομασία εντοπιότητας «%s»" + +#: initdb.c:2164 +#, c-format +msgid "If the locale name is specific to ICU, use --icu-locale." +msgstr "Αν το όνομα της εντοπιότητας είναι συγκεκριμένο για το ICU, χρησιμοποιήστε --icu-locale." + +#: initdb.c:2177 +#, c-format +msgid "invalid locale settings; check LANG and LC_* environment variables" +msgstr "μη έγκυρες ρυθμίσεις εντοπιότητας, ελέγξτε τις μεταβλητές περιβάλλοντος LANG και LC_*" + +#: initdb.c:2203 initdb.c:2227 +#, c-format +msgid "encoding mismatch" +msgstr "αναντιστοιχία κωδικοποίησης" + +#: initdb.c:2204 +#, c-format +msgid "The encoding you selected (%s) and the encoding that the selected locale uses (%s) do not match. This would lead to misbehavior in various character string processing functions." +msgstr "Η κωδικοποίηση που επιλέξατε (%s) και η κωδικοποίηση που χρησιμοποιεί η επιλεγμένη τοπική γλώσσα (%s) δεν ταιριάζουν. Αυτό θα οδηγούσε σε κακή συμπεριφορά σε διάφορες λειτουργίες επεξεργασίας συμβολοσειρών χαρακτήρων." + +#: initdb.c:2209 initdb.c:2230 +#, c-format +msgid "Rerun %s and either do not specify an encoding explicitly, or choose a matching combination." +msgstr "Επανεκτελέστε %s και είτε μην καθορίσετε ρητά μια κωδικοποίηση, είτε επιλέξτε ταιριαστό συνδυασμό." + +#: initdb.c:2228 +#, c-format +msgid "The encoding you selected (%s) is not supported with the ICU provider." +msgstr "Η κωδικοποίηση που επιλέξατε (%s) δεν υποστηρίζεται από τον πάροχο ICU." + +#: initdb.c:2279 +#, c-format +msgid "could not convert locale name \"%s\" to language tag: %s" +msgstr "δεν δύναται η μετατροπή ονόματος locale «%s» σε ετικέτα γλώσσας: %s" + +#: initdb.c:2285 initdb.c:2337 initdb.c:2416 +#, c-format +msgid "ICU is not supported in this build" +msgstr "ICU δεν υποστηρίζεται σε αυτήν την πλατφόρμα" + +#: initdb.c:2308 +#, c-format +msgid "could not get language from locale \"%s\": %s" +msgstr "δεν δύναται ο ορισμός της γλώσσας από το locale «%s»: %s" + +#: initdb.c:2334 +#, c-format +msgid "locale \"%s\" has unknown language \"%s\"" +msgstr "εντοπιότητα «%s» έχει άγνωστη γλώσσα «%s»" + +#: initdb.c:2400 +#, c-format +msgid "ICU locale must be specified" +msgstr "ICU εντοπιότητα πρέπει να έχει καθοριστεί" + +#: initdb.c:2404 +#, c-format +msgid "Using language tag \"%s\" for ICU locale \"%s\".\n" +msgstr "Χρήση ετικέτας γλώσσας «%s» για την εντοπιότητα ICU «%s».\n" + +#: initdb.c:2427 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"%s αρχικοποιεί μία συστάδα PostgreSQL βάσης δεδομένων.\n" +"\n" + +#: initdb.c:2428 +#, c-format +msgid "Usage:\n" +msgstr "Χρήση:\n" + +#: initdb.c:2429 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [ΕΠΙΛΟΓH]... [DATADIR]\n" + +#: initdb.c:2430 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"Επιλογές:\n" + +#: initdb.c:2431 +#, c-format +msgid " -A, --auth=METHOD default authentication method for local connections\n" +msgstr " -A, --auth=METHOD προκαθορισμένη μέθοδος ταυτοποίησης για τοπικές συνδέσεις\n" + +#: initdb.c:2432 +#, c-format +msgid " --auth-host=METHOD default authentication method for local TCP/IP connections\n" +msgstr " --auth-host=METHOD προκαθορισμένη μέθοδος ταυτοποίησης για τοπικές συνδέσεις πρωτοκόλλου TCP/IP\n" + +#: initdb.c:2433 +#, c-format +msgid " --auth-local=METHOD default authentication method for local-socket connections\n" +msgstr " --auth-local=METHOD προκαθορισμένη μέθοδος ταυτοποίησης για συνδέσεις τοπικής υποδοχής\n" + +#: initdb.c:2434 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr " [-D, --pgdata=]DATADIR τοποθεσία για αυτή τη συστάδα βάσης δεδομένων\n" + +#: initdb.c:2435 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr " -E, --encoding=ENCODING όρισε την προκαθορισμένη κωδικοποίηση για καινούριες βάσεις δεδομένων\n" + +#: initdb.c:2436 +#, c-format +msgid " -g, --allow-group-access allow group read/execute on data directory\n" +msgstr " -g, --allow-group-access επέτρεψε εγγραφή/ανάγνωση για την ομάδα στο κατάλογο δεδομένων\n" + +#: initdb.c:2437 +#, c-format +msgid " --icu-locale=LOCALE set ICU locale ID for new databases\n" +msgstr " --icu-locale=LOCALE όρισε την ICU εντοπιότητα για καινούριες βάσεις δεδομένων\n" + +#: initdb.c:2438 +#, c-format +msgid " --icu-rules=RULES set additional ICU collation rules for new databases\n" +msgstr " --icu-rules=RULES όρισε πρόσθετους κανόνες ταξινόμησης ICU για νέες βάσεις δεδομένων\n" + +#: initdb.c:2439 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr " -k, --data-checksums χρησιμοποίησε αθροίσματα ελέγχου σελίδων δεδομένων\n" + +#: initdb.c:2440 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr " --locale=LOCALE όρισε την προκαθορισμένη εντοπιότητα για καινούριες βάσεις δεδομένων\n" + +#: initdb.c:2441 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" όρισε την προκαθορισμένη εντοπιότητα για τις σχετικές κατηγορίες\n" +" καινούριων βάσεων δεδομένων (προκαθορισμένη τιμή διαβάζεται από το περιβάλλον)\n" + +#: initdb.c:2445 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale ισοδύναμο με --locale=C\n" + +#: initdb.c:2446 +#, c-format +msgid "" +" --locale-provider={libc|icu}\n" +" set default locale provider for new databases\n" +msgstr "" +" --locale-provider={libc|icu}\n" +" όρισε τον προκαθορισμένο πάροχο εντοπιότητας για νέες βάσεις δεδομένων\n" + +#: initdb.c:2448 +#, c-format +msgid " --pwfile=FILE read password for the new superuser from file\n" +msgstr " --pwfile=FILE διάβασε τον κωδικό πρόσβασης για τον νέο υπερχρήστη από το αρχείο\n" + +#: initdb.c:2449 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T, --text-search-config=CFG\n" +" προκαθορισμένη ρύθμιση αναζήτησης κειμένου\n" + +#: initdb.c:2451 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=NAME όνομα υπερχρήστη βάσης δεδομένων\n" + +#: initdb.c:2452 +#, c-format +msgid " -W, --pwprompt prompt for a password for the new superuser\n" +msgstr " -W, --pwprompt προτροπή για κωδικό πρόσβασης για τον νέο υπερχρήστη\n" + +#: initdb.c:2453 +#, c-format +msgid " -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr " -X, --waldir=WALDIR τοποθεσία για τον κατάλογο write-ahead log\n" + +#: initdb.c:2454 +#, c-format +msgid " --wal-segsize=SIZE size of WAL segments, in megabytes\n" +msgstr " --wal-segsize=SIZE μέγεθος των τμημάτων WAL, σε megabytes\n" + +#: initdb.c:2455 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"Λιγότερο συχνά χρησιμοποιούμενες επιλογές:\n" + +#: initdb.c:2456 +#, c-format +msgid " -c, --set NAME=VALUE override default setting for server parameter\n" +msgstr " -c, --set NAME=VALUE παράκαμψε την προεπιλεγμένη ρύθμιση για την παράμετρο του διακομιστή\n" + +#: initdb.c:2457 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr " -d, --debug δημιούργησε πολλές καταγραφές αποσφαλμάτωσης\n" + +#: initdb.c:2458 +#, c-format +msgid " --discard-caches set debug_discard_caches=1\n" +msgstr " --discard-caches όρισε debug_discard_caches=1\n" + +#: initdb.c:2459 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr " -L DIRECTORY τοποθεσία εύρεσης αρχείων εισόδου\n" + +#: initdb.c:2460 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr " -n, --no-clean να μην καθαριστούν σφάλματα\n" + +#: initdb.c:2461 +#, c-format +msgid " -N, --no-sync do not wait for changes to be written safely to disk\n" +msgstr " -N, --no-sync να μην αναμένει την ασφαλή εγγραφή αλλαγών στον δίσκο\n" + +#: initdb.c:2462 +#, c-format +msgid " --no-instructions do not print instructions for next steps\n" +msgstr " --no-instructions να μην εκτυπώσει οδηγίες για τα επόμενα βήματα\n" + +#: initdb.c:2463 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show δείξε τις εσωτερικές ρυθμίσεις\n" + +#: initdb.c:2464 +#, c-format +msgid " -S, --sync-only only sync database files to disk, then exit\n" +msgstr " -S, --sync-only συγχρόνισε μόνο αρχεία της βάσης δεδομένων στον δίσκο, στη συνέχεια έξοδος\n" + +#: initdb.c:2465 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"Άλλες επιλογές:\n" + +#: initdb.c:2466 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr " -V, --version εμφάνισε πληροφορίες έκδοσης, στη συνέχεια έξοδος\n" + +#: initdb.c:2467 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr " -?, --help εμφάνισε αυτό το μήνυμα βοήθειας, στη συνέχεια έξοδος\n" + +#: initdb.c:2468 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"Εάν δεν έχει καθοριστεί ο κατάλογος δεδομένων, χρησιμοποιείται η\n" +"μεταβλητή περιβάλλοντος PGDATA.\n" + +#: initdb.c:2470 +#, c-format +msgid "" +"\n" +"Report bugs to <%s>.\n" +msgstr "" +"\n" +"Υποβάλετε αναφορές σφάλματων σε <%s>.\n" + +#: initdb.c:2471 +#, c-format +msgid "%s home page: <%s>\n" +msgstr "%s αρχική σελίδα: <%s>\n" + +#: initdb.c:2499 +#, c-format +msgid "invalid authentication method \"%s\" for \"%s\" connections" +msgstr "μη έγκυρη μέθοδος ταυτοποίησης «%s» για συνδέσεις «%s»" + +#: initdb.c:2513 +#, c-format +msgid "must specify a password for the superuser to enable password authentication" +msgstr "απαιτείται ο καθορισμός κωδικού πρόσβασης για τον υπερχρήστη για να την ενεργοποίηση του ελέγχου ταυτότητας κωδικού πρόσβασης" + +#: initdb.c:2532 +#, c-format +msgid "no data directory specified" +msgstr "δεν ορίστηκε κατάλογος δεδομένων" + +#: initdb.c:2533 +#, c-format +msgid "You must identify the directory where the data for this database system will reside. Do this with either the invocation option -D or the environment variable PGDATA." +msgstr "Πρέπει να προσδιορίσετε τον κατάλογο όπου θα αποθηκεύονται τα δεδομένα. Κάντε το είτε με την επιλογή κλήσης -D ή με τη μεταβλητή περιβάλλοντος PGDATA." + +#: initdb.c:2550 +#, c-format +msgid "could not set environment" +msgstr "δεν ήταν δυνατή η ρύθμιση περιβάλλοντος" + +#: initdb.c:2568 +#, c-format +msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"" +msgstr "το πρόγραμμα «%s» απαιτείται από το %s αλλά δεν βρέθηκε στον ίδιο κατάλογο με το «%s»." + +#: initdb.c:2571 +#, c-format +msgid "program \"%s\" was found by \"%s\" but was not the same version as %s" +msgstr "το πρόγραμμα «%s» βρέθηκε από το «%s» αλλά δεν ήταν η ίδια έκδοση με το %s" + +#: initdb.c:2586 +#, c-format +msgid "input file location must be an absolute path" +msgstr "η τοποθεσία του αρχείου εισόδου πρέπει να είναι μία πλήρης διαδρομή" + +#: initdb.c:2603 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "Η συστάδα βάσης δεδομένων θα αρχικοποιηθεί με εντοπιότητα «%s».\n" + +#: initdb.c:2606 +#, c-format +msgid "The database cluster will be initialized with this locale configuration:\n" +msgstr "Η συστάδα βάσης δεδομένων θα αρχικοποιηθεί με αυτή τη ρύθμιση εντοπιότητας:\n" + +#: initdb.c:2607 +#, c-format +msgid " provider: %s\n" +msgstr " πάροχος: %s\n" + +#: initdb.c:2609 +#, c-format +msgid " ICU locale: %s\n" +msgstr " ICU εντοπιότητα: %s\n" + +#: initdb.c:2610 +#, c-format +msgid "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" +msgstr "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" + +#: initdb.c:2640 +#, c-format +msgid "could not find suitable encoding for locale \"%s\"" +msgstr "δεν μπόρεσε να βρεθεί κατάλληλη κωδικοποίηση για την εντοπιότητα «%s»" + +#: initdb.c:2642 +#, c-format +msgid "Rerun %s with the -E option." +msgstr "Επανεκτελέστε %s με την επιλογή -E." + +#: initdb.c:2643 initdb.c:3176 initdb.c:3284 initdb.c:3304 +#, c-format +msgid "Try \"%s --help\" for more information." +msgstr "Δοκιμάστε «%s --help» για περισσότερες πληροφορίες." + +#: initdb.c:2655 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"Η κωδικοποίηση «%s» που υπονοείται από τις τοπικές ρυθμίσεις δεν επιτρέπεται ως κωδικοποίηση από την πλευρά του διακομιστή.\n" +"Η προεπιλεγμένη κωδικοποίηση βάσης δεδομένων θα οριστεί σε «%s».\n" + +#: initdb.c:2660 +#, c-format +msgid "locale \"%s\" requires unsupported encoding \"%s\"" +msgstr "εντοπιότητα «%s» προαπαιτεί τη μην υποστηριζόμενη κωδικοποίηση«%s»" + +#: initdb.c:2662 +#, c-format +msgid "Encoding \"%s\" is not allowed as a server-side encoding." +msgstr "Η κωδικοποίηση «%s» δεν επιτρέπεται ως κωδικοποίηση από την πλευρά του διακομιστή." + +#: initdb.c:2664 +#, c-format +msgid "Rerun %s with a different locale selection." +msgstr "Επανεκτελέστε %s με διαφορετική επιλογή εντοπιότητας." + +#: initdb.c:2672 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "Η προεπιλεγμένη κωδικοποίηση βάσης δεδομένων έχει οριστεί ως «%s».\n" + +#: initdb.c:2741 +#, c-format +msgid "could not find suitable text search configuration for locale \"%s\"" +msgstr "δεν ήταν δυνατή η εύρεση κατάλληλων ρυθμίσεων για την μηχανή αναζήτησης για την εντοπιότητα «%s»" + +#: initdb.c:2752 +#, c-format +msgid "suitable text search configuration for locale \"%s\" is unknown" +msgstr "οι κατάλληλες ρυθμίσεις για την μηχανή αναζήτησης για την εντοπιότητα «%s» δεν είναι γνωστές" + +#: initdb.c:2757 +#, c-format +msgid "specified text search configuration \"%s\" might not match locale \"%s\"" +msgstr "η ορισμένη ρύθμιση μηχανής αναζήτησης «%s» μπορεί να μην ταιριάζει με την εντοπιότητα «%s»" + +#: initdb.c:2762 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "Η προκαθορισμένη ρύθμιση μηχανής αναζήτησης θα οριστεί ως «%s».\n" + +#: initdb.c:2805 initdb.c:2876 +#, c-format +msgid "creating directory %s ... " +msgstr "δημιουργία καταλόγου %s ... " + +#: initdb.c:2810 initdb.c:2881 initdb.c:2929 initdb.c:2985 +#, c-format +msgid "could not create directory \"%s\": %m" +msgstr "δεν ήταν δυνατή η δημιουργία του καταλόγου «%s»: %m" + +#: initdb.c:2819 initdb.c:2891 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "διορθώνονται τα δικαιώματα του υπάρχοντος καταλόγου %s ... " + +#: initdb.c:2824 initdb.c:2896 +#, c-format +msgid "could not change permissions of directory \"%s\": %m" +msgstr "δεν ήταν δυνατή η αλλαγή δικαιωμάτων του καταλόγου «%s»: %m" + +#: initdb.c:2836 initdb.c:2908 +#, c-format +msgid "directory \"%s\" exists but is not empty" +msgstr "ο κατάλογος «%s» υπάρχει και δεν είναι άδειος" + +#: initdb.c:2840 +#, c-format +msgid "If you want to create a new database system, either remove or empty the directory \"%s\" or run %s with an argument other than \"%s\"." +msgstr "Αν θέλετε να δημιουργήσετε ένα νέο σύστημα βάσεων δεδομένων, είτε αφαιρέστε ή αδειάστε τον κατάλογο «%s» είτε εκτελέστε το %s με ένα άλλο όρισμα εκτός από το «%s» ." + +#: initdb.c:2848 initdb.c:2918 initdb.c:3325 +#, c-format +msgid "could not access directory \"%s\": %m" +msgstr "δεν ήταν δυνατή η πρόσβαση του καταλόγου «%s»: %m" + +#: initdb.c:2869 +#, c-format +msgid "WAL directory location must be an absolute path" +msgstr "η τοποθεσία του καταλόγου WAL πρέπει να είναι μία πλήρης διαδρομή" + +#: initdb.c:2912 +#, c-format +msgid "If you want to store the WAL there, either remove or empty the directory \"%s\"." +msgstr "Εάν θέλετε να αποθηκεύσετε το WAL εκεί, είτε αφαιρέστε ή αδειάστε τον κατάλογο «%s»." + +#: initdb.c:2922 +#, c-format +msgid "could not create symbolic link \"%s\": %m" +msgstr "δεν ήταν δυνατή η δημιουργία του συμβολικού συνδέσμου «%s»: %m" + +#: initdb.c:2941 +#, c-format +msgid "It contains a dot-prefixed/invisible file, perhaps due to it being a mount point." +msgstr "Περιέχει ένα αρχείο με πρόθεμα κουκκίδας/αόρατο, ίσως επειδή είναι ένα σημείο προσάρτησης." + +#: initdb.c:2943 +#, c-format +msgid "It contains a lost+found directory, perhaps due to it being a mount point." +msgstr "Περιέχει έναν κατάλογο lost+found, ίσως επειδή είναι ένα σημείο προσάρτησης." + +#: initdb.c:2945 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point." +msgstr "" +"Δεν προτείνεται η άμεση χρήση ενός σημείου προσάρτησης ως καταλόγου δεδομένων.\n" +"Δημιουργείστε έναν υποκατάλογο υπό του σημείου προσάρτησης." + +#: initdb.c:2971 +#, c-format +msgid "creating subdirectories ... " +msgstr "δημιουργία υποκαταλόγων ... " + +#: initdb.c:3014 +msgid "performing post-bootstrap initialization ... " +msgstr "πραγματοποίηση σταδίου αρχικοποίησης post-bootstrap ... " + +#: initdb.c:3175 +#, c-format +msgid "-c %s requires a value" +msgstr "-c %s απαιτεί μια τιμή" + +#: initdb.c:3200 +#, c-format +msgid "Running in debug mode.\n" +msgstr "Εκτέλεση σε λειτουργία αποσφαλμάτωσης.\n" + +#: initdb.c:3204 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "Εκτέλεση σε λειτουργία μη καθαρισμού. Τα σφάλματα δεν θα καθαριστούν.\n" + +#: initdb.c:3274 +#, c-format +msgid "unrecognized locale provider: %s" +msgstr "μη αναγνωρίσιμος πάροχος εντοπιότητας: %s" + +#: initdb.c:3302 +#, c-format +msgid "too many command-line arguments (first is \"%s\")" +msgstr "πάρα πολλές παράμετροι εισόδου από την γραμμή εντολών (η πρώτη είναι η «%s»)" + +#: initdb.c:3309 initdb.c:3313 +#, c-format +msgid "%s cannot be specified unless locale provider \"%s\" is chosen" +msgstr "%s δεν είναι δυνατό να καθοριστεί, εκτός εάν επιλεγεί «%s» ως πάροχος εντοπιότητας" + +#: initdb.c:3327 initdb.c:3404 +msgid "syncing data to disk ... " +msgstr "συγχρονίζονται δεδομένα στο δίσκο ... " + +#: initdb.c:3335 +#, c-format +msgid "password prompt and password file cannot be specified together" +msgstr "η προτροπή κωδικού εισόδου και το αρχείο κωδικού εισόδου δεν δύναται να οριστούν ταυτόχρονα" + +#: initdb.c:3357 +#, c-format +msgid "argument of --wal-segsize must be a number" +msgstr "η παράμετρος --wal-segsize πρέπει να είναι αριθμός" + +#: initdb.c:3359 +#, c-format +msgid "argument of --wal-segsize must be a power of 2 between 1 and 1024" +msgstr "η παράμετρος --wal-segsize πρέπει να έχει τιμή δύναμης 2 μεταξύ 1 και 1024" + +#: initdb.c:3373 +#, c-format +msgid "superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"" +msgstr "το όνομα υπερχρήστη «%s» δεν επιτρέπεται, τα ονόματα ρόλων δεν δύναται να αρχίζουν με «pg_»" + +#: initdb.c:3375 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"Τα αρχεία που ανήκουν σε αυτό το σύστημα βάσης δεδομένων θα ανήκουν στο χρήστη «%s».\n" +"Αυτός ο χρήστης πρέπει επίσης να κατέχει τη διαδικασία διακομιστή.\n" +"\n" + +#: initdb.c:3391 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "Τα αθροίσματα ελέγχου σελίδων δεδομένων είναι ενεργοποιημένα.\n" + +#: initdb.c:3393 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "Τα αθροίσματα ελέγχου των σελίδων δεδομένων είναι απενεργοποιημένα.\n" + +#: initdb.c:3410 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"Ο συγχρονισμός με το δίσκο παραλείφθηκε.\n" +"Ο κατάλογος δεδομένων ενδέχεται να αλλοιωθεί εάν καταρρεύσει το λειτουργικού συστήματος.\n" + +#: initdb.c:3415 +#, c-format +msgid "enabling \"trust\" authentication for local connections" +msgstr "ενεργοποιείται η μέθοδος ταυτοποίησης «trust» για τοπικές συνδέσεις" + +#: initdb.c:3416 +#, c-format +msgid "You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb." +msgstr "Μπορείτε να το αλλάξετε αυτό τροποποιώντας το pg_hba.conf ή χρησιμοποιώντας την επιλογή -A ή --auth-local και --auth-host, την επόμενη φορά που θα εκτελέσετε το initdb." + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3446 +msgid "logfile" +msgstr "logfile" + +#: initdb.c:3448 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"Επιτυχία. Μπορείτε τώρα να εκκινήσετε τον διακομιστή βάσης δεδομένων χρησιμοποιώντας:\n" +"\n" +" %s\n" +"\n" + +#~ msgid " --clobber-cache use cache-clobbering debug option\n" +#~ msgstr " --clobber-cache χρησιμοποίησε την επιλογή εντοπισμού σφαλμάτων cache-clobbering\n" + +#~ msgid "The default database encoding has been set to \"%s\".\n" +#~ msgstr "Η προεπιλεγμένη κωδικοποίηση βάσης δεδομένων έχει οριστεί ως «%s».\n" + +#~ msgid "cannot create restricted tokens on this platform: error code %lu" +#~ msgstr "δεν ήταν δυνατή η δημιουργία διακριτικών περιορισμού στην παρούσα πλατφόρμα: κωδικός σφάλματος %lu" + +#~ msgid "could not change directory to \"%s\": %m" +#~ msgstr "δεν ήταν δυνατή η μετάβαση στον κατάλογο «%s»: %m" + +#~ msgid "could not identify current directory: %m" +#~ msgstr "δεν ήταν δυνατή η αναγνώριση του τρέχοντος καταλόγου: %m" + +#~ msgid "could not load library \"%s\": error code %lu" +#~ msgstr "δεν ήταν δυνατή η φόρτωση της βιβλιοθήκης «%s»: κωδικός σφάλματος %lu" + +#~ msgid "could not read binary \"%s\"" +#~ msgstr "δεν ήταν δυνατή η ανάγνωση του δυαδικού αρχείου «%s»" + +#~ msgid "could not read symbolic link \"%s\": %m" +#~ msgstr "δεν ήταν δυνατή η ανάγνωση του συμβολικού συνδέσμου «%s»: %m" + +#~ msgid "could not remove file or directory \"%s\": %m" +#~ msgstr "δεν ήταν δυνατή η αφαίρεση αρχείου ή καταλόγου «%s»: %m" + +#~ msgid "could not stat file or directory \"%s\": %m" +#~ msgstr "δεν ήταν δυνατή η εκτέλεση stat στο αρχείο ή κατάλογο «%s»: %m" + +#~ msgid "fatal: " +#~ msgstr "κρίσιμο: " + +#~ msgid "invalid binary \"%s\"" +#~ msgstr "μη έγκυρο δυαδικό αρχείο «%s»" + +#~ msgid "pclose failed: %m" +#~ msgstr "απέτυχε η εντολή pclose: %m" + +#~ msgid "symlinks are not supported on this platform" +#~ msgstr "συμβολικοί σύνδεσμοι δεν υποστηρίζονται στην παρούσα πλατφόρμα" diff --git a/src/bin/initdb/po/es.po b/src/bin/initdb/po/es.po new file mode 100644 index 0000000..449d202 --- /dev/null +++ b/src/bin/initdb/po/es.po @@ -0,0 +1,1076 @@ +# Spanish translation of initdb. +# +# Copyright (c) 2004-2021, PostgreSQL Global Development Group +# This file is distributed under the same license as the PostgreSQL package. +# +# Álvaro Herrera <alvherre@alvh.no-ip.org>, 2004-2013 +# Carlos Chapi <carloswaldo@babelruins.org>, 2014, 2021 +# +msgid "" +msgstr "" +"Project-Id-Version: initdb (PostgreSQL) 16\n" +"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" +"POT-Creation-Date: 2023-10-03 07:20+0000\n" +"PO-Revision-Date: 2023-10-04 11:47+0200\n" +"Last-Translator: Carlos Chapi <carloswaldo@babelruins.org>\n" +"Language-Team: PgSQL-es-Ayuda <pgsql-es-ayuda@lists.postgresql.org>\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: BlackCAT 1.1\n" + +#: ../../../src/common/logging.c:276 +#, c-format +msgid "error: " +msgstr "error: " + +#: ../../../src/common/logging.c:283 +#, c-format +msgid "warning: " +msgstr "precaución: " + +#: ../../../src/common/logging.c:294 +#, c-format +msgid "detail: " +msgstr "detalle: " + +#: ../../../src/common/logging.c:301 +#, c-format +msgid "hint: " +msgstr "consejo: " + +#: ../../common/exec.c:172 +#, c-format +msgid "invalid binary \"%s\": %m" +msgstr "binario «%s» no válido: %m" + +#: ../../common/exec.c:215 +#, c-format +msgid "could not read binary \"%s\": %m" +msgstr "no se pudo leer el binario «%s»: %m" + +#: ../../common/exec.c:223 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "no se pudo encontrar un «%s» para ejecutar" + +#: ../../common/exec.c:250 +#, c-format +msgid "could not resolve path \"%s\" to absolute form: %m" +msgstr "no se pudo resolver la ruta «%s» a forma absoluta: %m" + +#: ../../common/exec.c:412 +#, c-format +msgid "%s() failed: %m" +msgstr "%s() falló: %m" + +#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687 +#: initdb.c:349 +#, c-format +msgid "out of memory" +msgstr "memoria agotada" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161 +#, c-format +msgid "out of memory\n" +msgstr "memoria agotada\n" + +#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "no se puede duplicar un puntero nulo (error interno)\n" + +#: ../../common/file_utils.c:87 ../../common/file_utils.c:447 +#, c-format +msgid "could not stat file \"%s\": %m" +msgstr "no se pudo hacer stat al archivo «%s»: %m" + +#: ../../common/file_utils.c:162 ../../common/pgfnames.c:48 +#: ../../common/rmtree.c:63 +#, c-format +msgid "could not open directory \"%s\": %m" +msgstr "no se pudo abrir el directorio «%s»: %m" + +#: ../../common/file_utils.c:196 ../../common/pgfnames.c:69 +#: ../../common/rmtree.c:104 +#, c-format +msgid "could not read directory \"%s\": %m" +msgstr "no se pudo leer el directorio «%s»: %m" + +#: ../../common/file_utils.c:228 ../../common/file_utils.c:287 +#: ../../common/file_utils.c:361 +#, c-format +msgid "could not open file \"%s\": %m" +msgstr "no se pudo abrir el archivo «%s»: %m" + +#: ../../common/file_utils.c:299 ../../common/file_utils.c:369 +#, c-format +msgid "could not fsync file \"%s\": %m" +msgstr "no se pudo sincronizar (fsync) archivo «%s»: %m" + +#: ../../common/file_utils.c:379 +#, c-format +msgid "could not rename file \"%s\" to \"%s\": %m" +msgstr "no se pudo renombrar el archivo de «%s» a «%s»: %m" + +#: ../../common/pgfnames.c:74 +#, c-format +msgid "could not close directory \"%s\": %m" +msgstr "no se pudo abrir el directorio «%s»: %m" + +#: ../../common/restricted_token.c:60 +#, c-format +msgid "could not open process token: error code %lu" +msgstr "no se pudo abrir el token de proceso: código de error %lu" + +#: ../../common/restricted_token.c:74 +#, c-format +msgid "could not allocate SIDs: error code %lu" +msgstr "no se pudo emplazar los SIDs: código de error %lu" + +#: ../../common/restricted_token.c:94 +#, c-format +msgid "could not create restricted token: error code %lu" +msgstr "no se pudo crear el token restringido: código de error %lu" + +#: ../../common/restricted_token.c:115 +#, c-format +msgid "could not start process for command \"%s\": error code %lu" +msgstr "no se pudo iniciar el proceso para la orden «%s»: código de error %lu" + +#: ../../common/restricted_token.c:153 +#, c-format +msgid "could not re-execute with restricted token: error code %lu" +msgstr "no se pudo re-ejecutar con el token restringido: código de error %lu" + +#: ../../common/restricted_token.c:168 +#, c-format +msgid "could not get exit code from subprocess: error code %lu" +msgstr "no se pudo obtener el código de salida del subproceso: código de error %lu" + +#: ../../common/rmtree.c:95 +#, c-format +msgid "could not remove file \"%s\": %m" +msgstr "no se pudo eliminar el archivo «%s»: %m" + +#: ../../common/rmtree.c:122 +#, c-format +msgid "could not remove directory \"%s\": %m" +msgstr "no se pudo eliminar el directorio «%s»: %m" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "no se pudo buscar el ID de usuario efectivo %ld: %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "el usuario no existe" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "fallo en la búsqueda de nombre de usuario: código de error %lu" + +#: ../../common/wait_error.c:55 +#, c-format +msgid "command not executable" +msgstr "la orden no es ejecutable" + +#: ../../common/wait_error.c:59 +#, c-format +msgid "command not found" +msgstr "orden no encontrada" + +#: ../../common/wait_error.c:64 +#, c-format +msgid "child process exited with exit code %d" +msgstr "el proceso hijo terminó con código de salida %d" + +#: ../../common/wait_error.c:72 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "el proceso hijo fue terminado por una excepción 0x%X" + +#: ../../common/wait_error.c:76 +#, c-format +msgid "child process was terminated by signal %d: %s" +msgstr "el proceso hijo fue terminado por una señal %d: %s" + +#: ../../common/wait_error.c:82 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "el proceso hijo terminó con código no reconocido %d" + +#: ../../port/dirmod.c:287 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "no se pudo definir un junction para «%s»: %s\n" + +#: ../../port/dirmod.c:367 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "no se pudo obtener junction para «%s»: %s\n" + +#: initdb.c:618 initdb.c:1613 +#, c-format +msgid "could not open file \"%s\" for reading: %m" +msgstr "no se pudo abrir archivo «%s» para lectura: %m" + +#: initdb.c:662 initdb.c:966 initdb.c:986 +#, c-format +msgid "could not open file \"%s\" for writing: %m" +msgstr "no se pudo abrir el archivo «%s» para escritura: %m" + +#: initdb.c:666 initdb.c:969 initdb.c:988 +#, c-format +msgid "could not write file \"%s\": %m" +msgstr "no se pudo escribir el archivo «%s»: %m" + +#: initdb.c:670 +#, c-format +msgid "could not close file \"%s\": %m" +msgstr "no se pudo cerrar el archivo «%s»: %m" + +#: initdb.c:686 +#, c-format +msgid "could not execute command \"%s\": %m" +msgstr "no se pudo ejecutar la orden «%s»: %m" + +#: initdb.c:704 +#, c-format +msgid "removing data directory \"%s\"" +msgstr "eliminando el directorio de datos «%s»" + +#: initdb.c:706 +#, c-format +msgid "failed to remove data directory" +msgstr "no se pudo eliminar el directorio de datos" + +#: initdb.c:710 +#, c-format +msgid "removing contents of data directory \"%s\"" +msgstr "eliminando el contenido del directorio «%s»" + +#: initdb.c:713 +#, c-format +msgid "failed to remove contents of data directory" +msgstr "no se pudo eliminar el contenido del directorio de datos" + +#: initdb.c:718 +#, c-format +msgid "removing WAL directory \"%s\"" +msgstr "eliminando el directorio de WAL «%s»" + +#: initdb.c:720 +#, c-format +msgid "failed to remove WAL directory" +msgstr "no se pudo eliminar el directorio de WAL" + +#: initdb.c:724 +#, c-format +msgid "removing contents of WAL directory \"%s\"" +msgstr "eliminando el contenido del directorio de WAL «%s»" + +#: initdb.c:726 +#, c-format +msgid "failed to remove contents of WAL directory" +msgstr "no se pudo eliminar el contenido del directorio de WAL" + +#: initdb.c:733 +#, c-format +msgid "data directory \"%s\" not removed at user's request" +msgstr "directorio de datos «%s» no eliminado a petición del usuario" + +#: initdb.c:737 +#, c-format +msgid "WAL directory \"%s\" not removed at user's request" +msgstr "directorio de WAL «%s» no eliminado a petición del usuario" + +#: initdb.c:755 +#, c-format +msgid "cannot be run as root" +msgstr "no se puede ejecutar como «root»" + +#: initdb.c:756 +#, c-format +msgid "Please log in (using, e.g., \"su\") as the (unprivileged) user that will own the server process." +msgstr "Por favor conéctese (usando, por ejemplo, «su») con un usuario no privilegiado, quien ejecutará el proceso servidor." + +#: initdb.c:788 +#, c-format +msgid "\"%s\" is not a valid server encoding name" +msgstr "«%s» no es un nombre válido de codificación" + +#: initdb.c:932 +#, c-format +msgid "file \"%s\" does not exist" +msgstr "el archivo «%s» no existe" + +#: initdb.c:933 initdb.c:938 initdb.c:945 +#, c-format +msgid "This might mean you have a corrupted installation or identified the wrong directory with the invocation option -L." +msgstr "Esto puede significar que tiene una instalación corrupta o ha identificado el directorio equivocado con la opción -L." + +#: initdb.c:937 +#, c-format +msgid "could not access file \"%s\": %m" +msgstr "no se pudo acceder al archivo «%s»: %m" + +#: initdb.c:944 +#, c-format +msgid "file \"%s\" is not a regular file" +msgstr "el archivo «%s» no es un archivo regular" + +#: initdb.c:1077 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "seleccionando implementación de memoria compartida dinámica ... " + +#: initdb.c:1086 +#, c-format +msgid "selecting default max_connections ... " +msgstr "seleccionando el valor para max_connections ... " + +#: initdb.c:1106 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "seleccionando el valor para shared_buffers ... " + +#: initdb.c:1129 +#, c-format +msgid "selecting default time zone ... " +msgstr "seleccionando el huso horario por omisión ... " + +#: initdb.c:1206 +msgid "creating configuration files ... " +msgstr "creando archivos de configuración ... " + +#: initdb.c:1367 initdb.c:1381 initdb.c:1448 initdb.c:1459 +#, c-format +msgid "could not change permissions of \"%s\": %m" +msgstr "no se pudo cambiar los permisos de «%s»: %m" + +#: initdb.c:1477 +#, c-format +msgid "running bootstrap script ... " +msgstr "ejecutando script de inicio (bootstrap) ... " + +#: initdb.c:1489 +#, c-format +msgid "input file \"%s\" does not belong to PostgreSQL %s" +msgstr "el archivo de entrada «%s» no pertenece a PostgreSQL %s" + +#: initdb.c:1491 +#, c-format +msgid "Specify the correct path using the option -L." +msgstr "Especifique la ruta correcta usando la opción -L." + +#: initdb.c:1591 +msgid "Enter new superuser password: " +msgstr "Ingrese la nueva contraseña del superusuario: " + +#: initdb.c:1592 +msgid "Enter it again: " +msgstr "Ingrésela nuevamente: " + +#: initdb.c:1595 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "Las contraseñas no coinciden.\n" + +#: initdb.c:1619 +#, c-format +msgid "could not read password from file \"%s\": %m" +msgstr "no se pudo leer la contraseña desde el archivo «%s»: %m" + +#: initdb.c:1622 +#, c-format +msgid "password file \"%s\" is empty" +msgstr "el archivo de contraseña «%s» está vacío" + +#: initdb.c:2034 +#, c-format +msgid "caught signal\n" +msgstr "se ha capturado una señal\n" + +#: initdb.c:2040 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "no se pudo escribir al proceso hijo: %s\n" + +#: initdb.c:2048 +#, c-format +msgid "ok\n" +msgstr "hecho\n" + +#: initdb.c:2137 +#, c-format +msgid "setlocale() failed" +msgstr "setlocale() falló" + +#: initdb.c:2155 +#, c-format +msgid "failed to restore old locale \"%s\"" +msgstr "no se pudo restaurar la configuración regional anterior «%s»" + +#: initdb.c:2163 +#, c-format +msgid "invalid locale name \"%s\"" +msgstr "nombre de configuración regional «%s» no es válido" + +#: initdb.c:2164 +#, c-format +msgid "If the locale name is specific to ICU, use --icu-locale." +msgstr "Si el nombre de configuración regional es específico de ICU, use --icu-locale." + +#: initdb.c:2177 +#, c-format +msgid "invalid locale settings; check LANG and LC_* environment variables" +msgstr "configuración regional inválida; revise las variables de entorno LANG y LC_*" + +#: initdb.c:2203 initdb.c:2227 +#, c-format +msgid "encoding mismatch" +msgstr "codificaciones no coinciden" + +#: initdb.c:2204 +#, c-format +msgid "The encoding you selected (%s) and the encoding that the selected locale uses (%s) do not match. This would lead to misbehavior in various character string processing functions." +msgstr "La codificación que seleccionó (%s) y la codificación de la configuración regional elegida (%s) no coinciden. Esto llevaría a comportamientos erráticos en ciertas funciones de procesamiento de cadenas de caracteres." + +#: initdb.c:2209 initdb.c:2230 +#, c-format +msgid "Rerun %s and either do not specify an encoding explicitly, or choose a matching combination." +msgstr "" +"Vuelva a ejecutar %s sin escoger explícitamente una codificación, o bien\n" +"escoja una combinación coincidente." + +#: initdb.c:2228 +#, c-format +msgid "The encoding you selected (%s) is not supported with the ICU provider." +msgstr "La codificación que seleccionó (%s) no está soportada con el proveedor ICU." + +#: initdb.c:2279 +#, c-format +msgid "could not convert locale name \"%s\" to language tag: %s" +msgstr "no se pudo convertir el nombre de configuración regional «%s» a etiqueta de lenguaje: %s" + +#: initdb.c:2285 initdb.c:2337 initdb.c:2416 +#, c-format +msgid "ICU is not supported in this build" +msgstr "ICU no está soportado en este servidor" + +#: initdb.c:2308 +#, c-format +msgid "could not get language from locale \"%s\": %s" +msgstr "no se pudo obtener el lenguaje de la configuración regional «%s»: %s" + +#: initdb.c:2334 +#, c-format +msgid "locale \"%s\" has unknown language \"%s\"" +msgstr "la configuración regional «%s» tiene lenguaje «%s» desconocido" + +#: initdb.c:2400 +#, c-format +msgid "ICU locale must be specified" +msgstr "el locale ICU debe ser especificado" + +#: initdb.c:2404 +#, c-format +msgid "Using language tag \"%s\" for ICU locale \"%s\".\n" +msgstr "Usando la marca de lenguaje «%s» para la configuración regional ICU «%s».\n" + +#: initdb.c:2427 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"%s inicializa un cluster de base de datos PostgreSQL.\n" +"\n" + +#: initdb.c:2428 +#, c-format +msgid "Usage:\n" +msgstr "Empleo:\n" + +#: initdb.c:2429 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [OPCIÓN]... [DATADIR]\n" + +#: initdb.c:2430 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"Opciones:\n" + +#: initdb.c:2431 +#, c-format +msgid " -A, --auth=METHOD default authentication method for local connections\n" +msgstr "" +" -A, --auth=MÉTODO método de autentificación por omisión para\n" +" conexiones locales\n" + +#: initdb.c:2432 +#, c-format +msgid " --auth-host=METHOD default authentication method for local TCP/IP connections\n" +msgstr "" +" --auth-host=MÉTODO método de autentificación por omisión para\n" +" conexiones locales TCP/IP\n" + +#: initdb.c:2433 +#, c-format +msgid " --auth-local=METHOD default authentication method for local-socket connections\n" +msgstr "" +" --auth-local=MÉTODO método de autentificación por omisión para\n" +" conexiones de socket local\n" + +#: initdb.c:2434 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr " [-D, --pgdata=]DATADIR ubicación para este cluster de bases de datos\n" + +#: initdb.c:2435 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr " -E, --encoding=CODIF codificación por omisión para nuevas bases de datos\n" + +#: initdb.c:2436 +#, c-format +msgid " -g, --allow-group-access allow group read/execute on data directory\n" +msgstr "" +" -g, --allow-group-access dar al grupo permisos de lectura/ejecución sobre\n" +" el directorio de datos\n" + +#: initdb.c:2437 +#, c-format +msgid " --icu-locale=LOCALE set ICU locale ID for new databases\n" +msgstr "" +" --icu-locale=LOCALE definir el ID de configuración regional ICU para\n" +" nuevas bases de datos\n" + +#: initdb.c:2438 +#, c-format +msgid " --icu-rules=RULES set additional ICU collation rules for new databases\n" +msgstr " --icu-rules=REGLAS reglas adicionales ICU en nuevas bases de datos\n" + +#: initdb.c:2439 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr " -k, --data-checksums activar sumas de verificación en páginas de datos\n" + +#: initdb.c:2440 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr "" +" --locale=LOCALE configuración regional por omisión para \n" +" nuevas bases de datos\n" + +#: initdb.c:2441 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" inicializar usando esta configuración regional\n" +" en la categoría respectiva (el valor por omisión\n" +" es tomado de variables de ambiente)\n" + +#: initdb.c:2445 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale equivalente a --locale=C\n" + +#: initdb.c:2446 +#, c-format +msgid "" +" --locale-provider={libc|icu}\n" +" set default locale provider for new databases\n" +msgstr "" +" --locale-provider={libc|icu}\n" +" define el proveedor de configuración regional\n" +" para nuevas bases de datos\n" + +#: initdb.c:2448 +#, c-format +msgid " --pwfile=FILE read password for the new superuser from file\n" +msgstr " --pwfile=ARCHIVO leer contraseña del nuevo superusuario del archivo\n" + +#: initdb.c:2449 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T, --text-search-config=CONF\n" +" configuración de búsqueda en texto por omisión\n" + +#: initdb.c:2451 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=USUARIO nombre del superusuario del cluster\n" + +#: initdb.c:2452 +#, c-format +msgid " -W, --pwprompt prompt for a password for the new superuser\n" +msgstr " -W, --pwprompt pedir una contraseña para el nuevo superusuario\n" + +#: initdb.c:2453 +#, c-format +msgid " -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr " -X, --waldir=WALDIR ubicación del directorio WAL\n" + +#: initdb.c:2454 +#, c-format +msgid " --wal-segsize=SIZE size of WAL segments, in megabytes\n" +msgstr " --wal-segsize=TAMAÑO tamaño de los segmentos de WAL, en megabytes\n" + +#: initdb.c:2455 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"Opciones menos usadas:\n" + +#: initdb.c:2456 +#, c-format +msgid " -c, --set NAME=VALUE override default setting for server parameter\n" +msgstr " -c, --set NOMBRE=VALOR sobreescribe valor por omisión de parámetro de servidor\n" + +#: initdb.c:2457 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr " -d, --debug genera mucha salida de depuración\n" + +#: initdb.c:2458 +#, c-format +msgid " --discard-caches set debug_discard_caches=1\n" +msgstr " --discard-caches establece debug_discard_caches=1\n" + +#: initdb.c:2459 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr " -L DIRECTORIO donde encontrar los archivos de entrada\n" + +#: initdb.c:2460 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr " -n, --no-clean no limpiar después de errores\n" + +#: initdb.c:2461 +#, c-format +msgid " -N, --no-sync do not wait for changes to be written safely to disk\n" +msgstr " -N, --no-sync no esperar que los cambios se sincronicen a disco\n" + +#: initdb.c:2462 +#, c-format +msgid " --no-instructions do not print instructions for next steps\n" +msgstr " --no-instructions no mostrar instrucciones para los siguientes pasos\n" + +#: initdb.c:2463 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show muestra variables internas\n" + +#: initdb.c:2464 +#, c-format +msgid " -S, --sync-only only sync database files to disk, then exit\n" +msgstr " -S, --sync-only sólo sincronizar el directorio de datos y salir\n" + +#: initdb.c:2465 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"Otras opciones:\n" + +#: initdb.c:2466 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr " -V, --version mostrar información de version y salir\n" + +#: initdb.c:2467 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr " -?, --help mostrar esta ayuda y salir\n" + +#: initdb.c:2468 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"Si el directorio de datos no es especificado, se usa la variable de\n" +"ambiente PGDATA.\n" + +#: initdb.c:2470 +#, c-format +msgid "" +"\n" +"Report bugs to <%s>.\n" +msgstr "" +"\n" +"Reporte errores a <%s>.\n" + +#: initdb.c:2471 +#, c-format +msgid "%s home page: <%s>\n" +msgstr "Sitio web de %s: <%s>\n" + +#: initdb.c:2499 +#, c-format +msgid "invalid authentication method \"%s\" for \"%s\" connections" +msgstr "método de autentificación «%s» no válido para conexiones «%s»" + +#: initdb.c:2513 +#, c-format +msgid "must specify a password for the superuser to enable password authentication" +msgstr "debe especificar una contraseña al superusuario para activar autentificación mediante contraseña" + +#: initdb.c:2532 +#, c-format +msgid "no data directory specified" +msgstr "no se especificó un directorio de datos" + +#: initdb.c:2533 +#, c-format +msgid "You must identify the directory where the data for this database system will reside. Do this with either the invocation option -D or the environment variable PGDATA." +msgstr "Debe especificar el directorio donde residirán los datos para este clúster. Hágalo usando la opción -D o la variable de ambiente PGDATA." + +#: initdb.c:2550 +#, c-format +msgid "could not set environment" +msgstr "no se pudo establecer el ambiente" + +#: initdb.c:2568 +#, c-format +msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"" +msgstr "el programa «%s» es requerido por %s pero se encontró en el mismo directorio que «%s»" + +#: initdb.c:2571 +#, c-format +msgid "program \"%s\" was found by \"%s\" but was not the same version as %s" +msgstr "El programa «%s» fue encontrado por «%s», pero no es de la misma versión que %s" + +#: initdb.c:2586 +#, c-format +msgid "input file location must be an absolute path" +msgstr "la ubicación de archivos de entrada debe ser una ruta absoluta" + +#: initdb.c:2603 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "El cluster será inicializado con configuración regional «%s».\n" + +#: initdb.c:2606 +#, c-format +msgid "The database cluster will be initialized with this locale configuration:\n" +msgstr "El cluster será inicializado con esta configuración regional:\n" + +#: initdb.c:2607 +#, c-format +msgid " provider: %s\n" +msgstr " proveedor: %s\n" + +#: initdb.c:2609 +#, c-format +msgid " ICU locale: %s\n" +msgstr " Locale ICU: %s\n" + +#: initdb.c:2610 +#, c-format +msgid "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" +msgstr "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" + +#: initdb.c:2640 +#, c-format +msgid "could not find suitable encoding for locale \"%s\"" +msgstr "no se pudo encontrar una codificación apropiada para la configuración regional «%s»" + +#: initdb.c:2642 +#, c-format +msgid "Rerun %s with the -E option." +msgstr "Ejecute %s nuevamente con la opción -E." + +#: initdb.c:2643 initdb.c:3176 initdb.c:3284 initdb.c:3304 +#, c-format +msgid "Try \"%s --help\" for more information." +msgstr "Pruebe «%s --help» para mayor información." + +#: initdb.c:2655 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"La codificación «%s», implícita en la configuración regional,\n" +"no puede ser usada como codificación del lado del servidor.\n" +"La codificación por omisión será «%s».\n" + +#: initdb.c:2660 +#, c-format +msgid "locale \"%s\" requires unsupported encoding \"%s\"" +msgstr "la configuración regional «%s» requiere la codificación no soportada «%s»" + +#: initdb.c:2662 +#, c-format +msgid "Encoding \"%s\" is not allowed as a server-side encoding." +msgstr "La codificación «%s» no puede ser usada como codificación del lado del servidor." + +#: initdb.c:2664 +#, c-format +msgid "Rerun %s with a different locale selection." +msgstr "Ejecute %s nuevamente con opciones de configuración regional diferente." + +#: initdb.c:2672 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "La codificación por omisión ha sido por lo tanto definida a «%s».\n" + +#: initdb.c:2741 +#, c-format +msgid "could not find suitable text search configuration for locale \"%s\"" +msgstr "" +"no se pudo encontrar una configuración para búsqueda en texto apropiada\n" +"para la configuración regional «%s»" + +#: initdb.c:2752 +#, c-format +msgid "suitable text search configuration for locale \"%s\" is unknown" +msgstr "la configuración de búsqueda en texto apropiada para la configuración regional «%s» es desconocida" + +#: initdb.c:2757 +#, c-format +msgid "specified text search configuration \"%s\" might not match locale \"%s\"" +msgstr "la configuración de búsqueda en texto «%s» especificada podría no coincidir con la configuración regional «%s»" + +#: initdb.c:2762 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "La configuración de búsqueda en texto ha sido definida a «%s».\n" + +#: initdb.c:2805 initdb.c:2876 +#, c-format +msgid "creating directory %s ... " +msgstr "creando el directorio %s ... " + +#: initdb.c:2810 initdb.c:2881 initdb.c:2929 initdb.c:2985 +#, c-format +msgid "could not create directory \"%s\": %m" +msgstr "no se pudo crear el directorio «%s»: %m" + +#: initdb.c:2819 initdb.c:2891 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "corrigiendo permisos en el directorio existente %s ... " + +#: initdb.c:2824 initdb.c:2896 +#, c-format +msgid "could not change permissions of directory \"%s\": %m" +msgstr "no se pudo cambiar los permisos del directorio «%s»: %m" + +#: initdb.c:2836 initdb.c:2908 +#, c-format +msgid "directory \"%s\" exists but is not empty" +msgstr "el directorio «%s» existe pero no está vacío" + +#: initdb.c:2840 +#, c-format +msgid "If you want to create a new database system, either remove or empty the directory \"%s\" or run %s with an argument other than \"%s\"." +msgstr "Si quiere crear un nuevo cluster de bases de datos, elimine o vacíe el directorio «%s», o ejecute %s con un argumento distinto de «%s»." + +#: initdb.c:2848 initdb.c:2918 initdb.c:3325 +#, c-format +msgid "could not access directory \"%s\": %m" +msgstr "no se pudo acceder al directorio «%s»: %m" + +#: initdb.c:2869 +#, c-format +msgid "WAL directory location must be an absolute path" +msgstr "la ubicación del directorio de WAL debe ser una ruta absoluta" + +#: initdb.c:2912 +#, c-format +msgid "If you want to store the WAL there, either remove or empty the directory \"%s\"." +msgstr "Si quiere almacenar el WAL ahí, elimine o vacíe el directorio «%s»." + +#: initdb.c:2922 +#, c-format +msgid "could not create symbolic link \"%s\": %m" +msgstr "no se pudo crear el enlace simbólico «%s»: %m" + +#: initdb.c:2941 +#, c-format +msgid "It contains a dot-prefixed/invisible file, perhaps due to it being a mount point." +msgstr "Contiene un archivo invisible o que empieza con un punto (.), quizás por ser un punto de montaje." + +#: initdb.c:2943 +#, c-format +msgid "It contains a lost+found directory, perhaps due to it being a mount point." +msgstr "Contiene un directorio lost+found, quizás por ser un punto de montaje." + +#: initdb.c:2945 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point." +msgstr "" +"Usar un punto de montaje directamente como directorio de datos no es recomendado.\n" +"Cree un subdirectorio bajo el punto de montaje." + +#: initdb.c:2971 +#, c-format +msgid "creating subdirectories ... " +msgstr "creando subdirectorios ... " + +#: initdb.c:3014 +msgid "performing post-bootstrap initialization ... " +msgstr "realizando inicialización post-bootstrap ... " + +#: initdb.c:3175 +#, c-format +msgid "-c %s requires a value" +msgstr "-c %s requiere un valor" + +#: initdb.c:3200 +#, c-format +msgid "Running in debug mode.\n" +msgstr "Ejecutando en modo de depuración.\n" + +#: initdb.c:3204 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "Ejecutando en modo no-clean. Los errores no serán limpiados.\n" + +#: initdb.c:3274 +#, c-format +msgid "unrecognized locale provider: %s" +msgstr "proveedor de ordenamiento no reconocido: %s" + +#: initdb.c:3302 +#, c-format +msgid "too many command-line arguments (first is \"%s\")" +msgstr "demasiados argumentos en la línea de órdenes (el primero es «%s»)" + +#: initdb.c:3309 initdb.c:3313 +#, c-format +msgid "%s cannot be specified unless locale provider \"%s\" is chosen" +msgstr "%s no puede especificarse a menos que el proveedor de locale «%s» sea escogido" + +#: initdb.c:3327 initdb.c:3404 +msgid "syncing data to disk ... " +msgstr "sincronizando los datos a disco ... " + +#: initdb.c:3335 +#, c-format +msgid "password prompt and password file cannot be specified together" +msgstr "" +"la petición de contraseña y el archivo de contraseña no pueden\n" +"ser especificados simultáneamente" + +#: initdb.c:3357 +#, c-format +msgid "argument of --wal-segsize must be a number" +msgstr "el argumento de --wal-segsize debe ser un número" + +#: initdb.c:3359 +#, c-format +msgid "argument of --wal-segsize must be a power of two between 1 and 1024" +msgstr "el argumento de --wal-segsize debe ser una potencia de dos entre 1 y 1024" + +#: initdb.c:3373 +#, c-format +msgid "superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"" +msgstr "nombre de superusuario «%s» no permitido; los nombres de rol no pueden comenzar con «pg_»" + +#: initdb.c:3375 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"Los archivos de este cluster serán de propiedad del usuario «%s».\n" +"Este usuario también debe ser quien ejecute el proceso servidor.\n" +"\n" + +#: initdb.c:3391 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "Las sumas de verificación en páginas de datos han sido activadas.\n" + +#: initdb.c:3393 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "Las sumas de verificación en páginas de datos han sido desactivadas.\n" + +#: initdb.c:3410 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"La sincronización a disco se ha omitido.\n" +"El directorio de datos podría corromperse si el sistema operativo sufre\n" +"una caída.\n" + +#: initdb.c:3415 +#, c-format +msgid "enabling \"trust\" authentication for local connections" +msgstr "activando el método de autentificación «trust» para conexiones locales" + +#: initdb.c:3416 +#, c-format +msgid "You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb." +msgstr "Puede cambiar esto editando pg_hba.conf o usando el parámetro -A, o --auth-local y --auth-host la próxima vez que ejecute initdb." + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3446 +msgid "logfile" +msgstr "archivo_de_registro" + +#: initdb.c:3448 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"Completado. Ahora puede iniciar el servidor de bases de datos usando:\n" +"\n" +" %s\n" +"\n" diff --git a/src/bin/initdb/po/fr.po b/src/bin/initdb/po/fr.po new file mode 100644 index 0000000..a175e10 --- /dev/null +++ b/src/bin/initdb/po/fr.po @@ -0,0 +1,1352 @@ +# LANGUAGE message translation file for initdb +# Copyright (C) 2004-2022 PostgreSQL Global Development Group +# This file is distributed under the same license as the initdb (PostgreSQL) package. +# +# Use these quotes: « %s » +# +# Guillaume Lelarge <guillaume@lelarge.info>, 2004-2009. +# Stéphane Schildknecht <stephane.schildknecht@dalibo.com>, 2009. +# Guillaume Lelarge <guillaume@lelarge.info>, 2010-2022. +# +msgid "" +msgstr "" +"Project-Id-Version: PostgreSQL 15\n" +"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" +"POT-Creation-Date: 2023-09-05 17:20+0000\n" +"PO-Revision-Date: 2023-09-05 22:01+0200\n" +"Last-Translator: Guillaume Lelarge <guillaume@lelarge.info>\n" +"Language-Team: French <guillaume@lelarge.info>\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 3.3.2\n" + +#: ../../../src/common/logging.c:276 +#, c-format +msgid "error: " +msgstr "erreur : " + +#: ../../../src/common/logging.c:283 +#, c-format +msgid "warning: " +msgstr "attention : " + +#: ../../../src/common/logging.c:294 +#, c-format +msgid "detail: " +msgstr "détail : " + +#: ../../../src/common/logging.c:301 +#, c-format +msgid "hint: " +msgstr "astuce : " + +#: ../../common/exec.c:172 +#, c-format +msgid "invalid binary \"%s\": %m" +msgstr "binaire « %s » invalide : %m" + +#: ../../common/exec.c:215 +#, c-format +msgid "could not read binary \"%s\": %m" +msgstr "n'a pas pu lire le binaire « %s » : %m" + +#: ../../common/exec.c:223 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "n'a pas pu trouver un « %s » à exécuter" + +#: ../../common/exec.c:250 +#, c-format +msgid "could not resolve path \"%s\" to absolute form: %m" +msgstr "n'a pas pu résoudre le chemin « %s » en sa forme absolue : %m" + +#: ../../common/exec.c:412 +#, c-format +msgid "%s() failed: %m" +msgstr "échec de %s() : %m" + +#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687 +#: initdb.c:349 +#, c-format +msgid "out of memory" +msgstr "mémoire épuisée" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161 +#, c-format +msgid "out of memory\n" +msgstr "mémoire épuisée\n" + +#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "ne peut pas dupliquer un pointeur nul (erreur interne)\n" + +#: ../../common/file_utils.c:87 ../../common/file_utils.c:447 +#, c-format +msgid "could not stat file \"%s\": %m" +msgstr "n'a pas pu tester le fichier « %s » : %m" + +#: ../../common/file_utils.c:162 ../../common/pgfnames.c:48 +#: ../../common/rmtree.c:63 +#, c-format +msgid "could not open directory \"%s\": %m" +msgstr "n'a pas pu ouvrir le répertoire « %s » : %m" + +#: ../../common/file_utils.c:196 ../../common/pgfnames.c:69 +#: ../../common/rmtree.c:104 +#, c-format +msgid "could not read directory \"%s\": %m" +msgstr "n'a pas pu lire le répertoire « %s » : %m" + +#: ../../common/file_utils.c:228 ../../common/file_utils.c:287 +#: ../../common/file_utils.c:361 +#, c-format +msgid "could not open file \"%s\": %m" +msgstr "n'a pas pu ouvrir le fichier « %s » : %m" + +#: ../../common/file_utils.c:299 ../../common/file_utils.c:369 +#, c-format +msgid "could not fsync file \"%s\": %m" +msgstr "n'a pas pu synchroniser sur disque (fsync) le fichier « %s » : %m" + +#: ../../common/file_utils.c:379 +#, c-format +msgid "could not rename file \"%s\" to \"%s\": %m" +msgstr "n'a pas pu renommer le fichier « %s » en « %s » : %m" + +#: ../../common/pgfnames.c:74 +#, c-format +msgid "could not close directory \"%s\": %m" +msgstr "n'a pas pu fermer le répertoire « %s » : %m" + +#: ../../common/restricted_token.c:60 +#, c-format +msgid "could not open process token: error code %lu" +msgstr "n'a pas pu ouvrir le jeton du processus : code d'erreur %lu" + +#: ../../common/restricted_token.c:74 +#, c-format +msgid "could not allocate SIDs: error code %lu" +msgstr "n'a pas pu allouer les SID : code d'erreur %lu" + +#: ../../common/restricted_token.c:94 +#, c-format +msgid "could not create restricted token: error code %lu" +msgstr "n'a pas pu créer le jeton restreint : code d'erreur %lu" + +#: ../../common/restricted_token.c:115 +#, c-format +msgid "could not start process for command \"%s\": error code %lu" +msgstr "n'a pas pu démarrer le processus pour la commande « %s » : code d'erreur %lu" + +#: ../../common/restricted_token.c:153 +#, c-format +msgid "could not re-execute with restricted token: error code %lu" +msgstr "n'a pas pu ré-exécuter le jeton restreint : code d'erreur %lu" + +#: ../../common/restricted_token.c:168 +#, c-format +msgid "could not get exit code from subprocess: error code %lu" +msgstr "n'a pas pu récupérer le code de statut du sous-processus : code d'erreur %lu" + +#: ../../common/rmtree.c:95 +#, c-format +msgid "could not remove file \"%s\": %m" +msgstr "n'a pas pu supprimer le fichier « %s » : %m" + +#: ../../common/rmtree.c:122 +#, c-format +msgid "could not remove directory \"%s\": %m" +msgstr "n'a pas pu supprimer le répertoire « %s » : %m" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "n'a pas pu trouver l'identifiant réel %ld de l'utilisateur : %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "l'utilisateur n'existe pas" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "échec de la recherche du nom d'utilisateur : code d'erreur %lu" + +#: ../../common/wait_error.c:55 +#, c-format +msgid "command not executable" +msgstr "commande non exécutable" + +#: ../../common/wait_error.c:59 +#, c-format +msgid "command not found" +msgstr "commande introuvable" + +#: ../../common/wait_error.c:64 +#, c-format +msgid "child process exited with exit code %d" +msgstr "le processus fils a quitté avec le code de sortie %d" + +#: ../../common/wait_error.c:72 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "le processus fils a été terminé par l'exception 0x%X" + +#: ../../common/wait_error.c:76 +#, c-format +msgid "child process was terminated by signal %d: %s" +msgstr "le processus fils a été terminé par le signal %d : %s" + +#: ../../common/wait_error.c:82 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "le processus fils a quitté avec un statut %d non reconnu" + +#: ../../port/dirmod.c:287 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "n'a pas pu configurer la jonction pour « %s » : %s\n" + +#: ../../port/dirmod.c:367 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "n'a pas pu obtenir la jonction pour « %s » : %s\n" + +#: initdb.c:618 initdb.c:1613 +#, c-format +msgid "could not open file \"%s\" for reading: %m" +msgstr "n'a pas pu ouvrir le fichier « %s » pour une lecture : %m" + +#: initdb.c:662 initdb.c:966 initdb.c:986 +#, c-format +msgid "could not open file \"%s\" for writing: %m" +msgstr "n'a pas pu ouvrir le fichier « %s » en écriture : %m" + +#: initdb.c:666 initdb.c:969 initdb.c:988 +#, c-format +msgid "could not write file \"%s\": %m" +msgstr "impossible d'écrire le fichier « %s » : %m" + +#: initdb.c:670 +#, c-format +msgid "could not close file \"%s\": %m" +msgstr "n'a pas pu fermer le fichier « %s » : %m" + +#: initdb.c:686 +#, c-format +msgid "could not execute command \"%s\": %m" +msgstr "n'a pas pu exécuter la commande « %s » : %m" + +#: initdb.c:704 +#, c-format +msgid "removing data directory \"%s\"" +msgstr "suppression du répertoire des données « %s »" + +#: initdb.c:706 +#, c-format +msgid "failed to remove data directory" +msgstr "échec de la suppression du répertoire des données" + +#: initdb.c:710 +#, c-format +msgid "removing contents of data directory \"%s\"" +msgstr "suppression du contenu du répertoire des données « %s »" + +#: initdb.c:713 +#, c-format +msgid "failed to remove contents of data directory" +msgstr "échec de la suppression du contenu du répertoire des données" + +#: initdb.c:718 +#, c-format +msgid "removing WAL directory \"%s\"" +msgstr "suppression du répertoire des journaux de transactions « %s »" + +#: initdb.c:720 +#, c-format +msgid "failed to remove WAL directory" +msgstr "échec de la suppression du répertoire des journaux de transactions" + +#: initdb.c:724 +#, c-format +msgid "removing contents of WAL directory \"%s\"" +msgstr "suppression du contenu du répertoire des journaux de transactions « %s »" + +#: initdb.c:726 +#, c-format +msgid "failed to remove contents of WAL directory" +msgstr "échec de la suppression du contenu du répertoire des journaux de transactions" + +#: initdb.c:733 +#, c-format +msgid "data directory \"%s\" not removed at user's request" +msgstr "répertoire des données « %s » non supprimé à la demande de l'utilisateur" + +#: initdb.c:737 +#, c-format +msgid "WAL directory \"%s\" not removed at user's request" +msgstr "répertoire des journaux de transactions « %s » non supprimé à la demande de l'utilisateur" + +#: initdb.c:755 +#, c-format +msgid "cannot be run as root" +msgstr "ne peut pas être exécuté en tant que root" + +#: initdb.c:756 +#, c-format +msgid "Please log in (using, e.g., \"su\") as the (unprivileged) user that will own the server process." +msgstr "Connectez-vous (par exemple en utilisant « su ») sous l'utilisateur (non privilégié) qui sera propriétaire du processus serveur." + +#: initdb.c:788 +#, c-format +msgid "\"%s\" is not a valid server encoding name" +msgstr "« %s » n'est pas un nom d'encodage serveur valide" + +#: initdb.c:932 +#, c-format +msgid "file \"%s\" does not exist" +msgstr "le rôle « %s » n'existe pas" + +#: initdb.c:933 initdb.c:938 initdb.c:945 +#, c-format +msgid "This might mean you have a corrupted installation or identified the wrong directory with the invocation option -L." +msgstr "Cela peut signifier que votre installation est corrompue ou que vous avez identifié le mauvais répertoire avec l'option -L." + +#: initdb.c:937 +#, c-format +msgid "could not access file \"%s\": %m" +msgstr "n'a pas pu accéder au fichier « %s » : %m" + +#: initdb.c:944 +#, c-format +msgid "file \"%s\" is not a regular file" +msgstr "le fichier « %s » n'est pas un fichier standard" + +#: initdb.c:1077 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "sélection de l'implémentation de la mémoire partagée dynamique..." + +#: initdb.c:1086 +#, c-format +msgid "selecting default max_connections ... " +msgstr "sélection de la valeur par défaut pour max_connections... " + +#: initdb.c:1106 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "sélection de la valeur par défaut pour shared_buffers... " + +#: initdb.c:1129 +#, c-format +msgid "selecting default time zone ... " +msgstr "sélection du fuseau horaire par défaut... " + +#: initdb.c:1206 +msgid "creating configuration files ... " +msgstr "création des fichiers de configuration... " + +#: initdb.c:1367 initdb.c:1381 initdb.c:1448 initdb.c:1459 +#, c-format +msgid "could not change permissions of \"%s\": %m" +msgstr "n'a pas pu modifier les droits de « %s » : %m" + +#: initdb.c:1477 +#, c-format +msgid "running bootstrap script ... " +msgstr "lancement du script bootstrap..." + +#: initdb.c:1489 +#, c-format +msgid "input file \"%s\" does not belong to PostgreSQL %s" +msgstr "le fichier en entrée « %s » n'appartient pas à PostgreSQL %s" + +#: initdb.c:1491 +#, c-format +msgid "Specify the correct path using the option -L." +msgstr "Indiquez le bon chemin avec l'option -L." + +#: initdb.c:1591 +msgid "Enter new superuser password: " +msgstr "Saisir le nouveau mot de passe du super-utilisateur : " + +#: initdb.c:1592 +msgid "Enter it again: " +msgstr "Saisir le mot de passe à nouveau : " + +#: initdb.c:1595 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "Les mots de passe ne sont pas identiques.\n" + +#: initdb.c:1619 +#, c-format +msgid "could not read password from file \"%s\": %m" +msgstr "n'a pas pu lire le mot de passe à partir du fichier « %s » : %m" + +#: initdb.c:1622 +#, c-format +msgid "password file \"%s\" is empty" +msgstr "le fichier de mots de passe « %s » est vide" + +#: initdb.c:2034 +#, c-format +msgid "caught signal\n" +msgstr "signal reçu\n" + +#: initdb.c:2040 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "n'a pas pu écrire au processus fils : %s\n" + +#: initdb.c:2048 +#, c-format +msgid "ok\n" +msgstr "ok\n" + +#: initdb.c:2137 +#, c-format +msgid "setlocale() failed" +msgstr "échec de setlocale()" + +#: initdb.c:2155 +#, c-format +msgid "failed to restore old locale \"%s\"" +msgstr "a échoué pour restaurer l'ancienne locale « %s »" + +#: initdb.c:2163 +#, c-format +msgid "invalid locale name \"%s\"" +msgstr "nom de locale « %s » invalide" + +#: initdb.c:2164 +#, c-format +msgid "If the locale name is specific to ICU, use --icu-locale." +msgstr "Si le nom de la locale est spécifique à ICU, utilisez --icu-locale." + +#: initdb.c:2177 +#, c-format +msgid "invalid locale settings; check LANG and LC_* environment variables" +msgstr "configuration invalide de la locale ; vérifiez les variables d'environnement LANG et LC_*" + +#: initdb.c:2203 initdb.c:2227 +#, c-format +msgid "encoding mismatch" +msgstr "différence d'encodage" + +#: initdb.c:2204 +#, c-format +msgid "The encoding you selected (%s) and the encoding that the selected locale uses (%s) do not match. This would lead to misbehavior in various character string processing functions." +msgstr "L'encodage que vous avez sélectionné (%s) et celui que la locale sélectionnée utilise (%s) ne sont pas compatibles. Cela peut conduire à des erreurs dans les fonctions de manipulation de chaînes de caractères." + +#: initdb.c:2209 initdb.c:2230 +#, c-format +msgid "Rerun %s and either do not specify an encoding explicitly, or choose a matching combination." +msgstr "Relancez %s et soit vous ne spécifiez pas explicitement d'encodage, soit vous choisissez une combinaison compatible." + +#: initdb.c:2228 +#, c-format +msgid "The encoding you selected (%s) is not supported with the ICU provider." +msgstr "L'encodage que vous avez sélectionné (%s) n'est pas supporté avec le fournisseur ICU." + +#: initdb.c:2279 +#, c-format +msgid "could not convert locale name \"%s\" to language tag: %s" +msgstr "n'a pas pu convertir le nom de locale « %s » en balise de langage : %s" + +#: initdb.c:2285 initdb.c:2337 initdb.c:2416 +#, c-format +msgid "ICU is not supported in this build" +msgstr "ICU n'est pas supporté dans cette installation" + +#: initdb.c:2308 +#, c-format +msgid "could not get language from locale \"%s\": %s" +msgstr "n'a pas pu obtenir la langue à partir de la locale « %s » : %s" + +#: initdb.c:2334 +#, c-format +msgid "locale \"%s\" has unknown language \"%s\"" +msgstr "la locale « %s » a le langage inconnu « %s »" + +#: initdb.c:2400 +#, c-format +msgid "ICU locale must be specified" +msgstr "la locale ICU doit être précisée" + +#: initdb.c:2404 +#, c-format +msgid "Using language tag \"%s\" for ICU locale \"%s\".\n" +msgstr "Utilisation de la balise de langage « %s » pour la locale ICU « %s ».\n" + +#: initdb.c:2427 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"%s initialise une instance PostgreSQL.\n" +"\n" + +#: initdb.c:2428 +#, c-format +msgid "Usage:\n" +msgstr "Usage :\n" + +#: initdb.c:2429 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [OPTION]... [RÉP_DONNÉES]\n" + +#: initdb.c:2430 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"Options :\n" + +#: initdb.c:2431 +#, c-format +msgid " -A, --auth=METHOD default authentication method for local connections\n" +msgstr "" +" -A, --auth=MÉTHODE méthode d'authentification par défaut pour les\n" +" connexions locales\n" + +#: initdb.c:2432 +#, c-format +msgid " --auth-host=METHOD default authentication method for local TCP/IP connections\n" +msgstr "" +" --auth-host=MÉTHODE méthode d'authentification par défaut pour les\n" +" connexions locales TCP/IP\n" + +#: initdb.c:2433 +#, c-format +msgid " --auth-local=METHOD default authentication method for local-socket connections\n" +msgstr "" +" --auth-local=MÉTHODE méthode d'authentification par défaut pour les\n" +" connexions locales socket\n" + +#: initdb.c:2434 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr " [-D, --pgdata=]RÉP_DONNÉES emplacement du répertoire principal des données\n" + +#: initdb.c:2435 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr "" +" -E, --encoding=ENCODAGE initialise l'encodage par défaut des nouvelles\n" +" bases de données\n" + +#: initdb.c:2436 +#, c-format +msgid " -g, --allow-group-access allow group read/execute on data directory\n" +msgstr "" +" -g, --allow-group-access autorise la lecture/écriture pour le groupe sur\n" +" le répertoire des données\n" + +#: initdb.c:2437 +#, c-format +msgid " --icu-locale=LOCALE set ICU locale ID for new databases\n" +msgstr " --icu-locale=LOCALE initialise l'identifiant de locale ICU pour les nouvelles bases de données\n" + +#: initdb.c:2438 +#, c-format +msgid " --icu-rules=RULES set additional ICU collation rules for new databases\n" +msgstr " --icu-rules=REGLES initialise les règles supplémentaires de la locale ICU pour les nouvelles bases de données\n" + +#: initdb.c:2439 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr "" +" -k, --data-checksums active les sommes de contrôle pour les blocs des\n" +" fichiers de données\n" + +#: initdb.c:2440 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr "" +" --locale=LOCALE initialise la locale par défaut pour les\n" +" nouvelles bases de données\n" + +#: initdb.c:2441 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" initialise la locale par défaut dans la catégorie\n" +" respective pour les nouvelles bases de données\n" +" (les valeurs par défaut sont prises dans\n" +" l'environnement)\n" + +#: initdb.c:2445 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale équivalent à --locale=C\n" + +#: initdb.c:2446 +#, c-format +msgid "" +" --locale-provider={libc|icu}\n" +" set default locale provider for new databases\n" +msgstr "" +" --locale-provider={libc|icu}\n" +" initialise le fournisseur de locale par défaut pour\n" +" les nouvelles bases de données\n" + +#: initdb.c:2448 +#, c-format +msgid " --pwfile=FILE read password for the new superuser from file\n" +msgstr "" +" --pwfile=FICHIER lit le mot de passe du nouveau super-utilisateur\n" +" à partir de ce fichier\n" + +#: initdb.c:2449 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T, --text-search-config=CFG configuration par défaut de la recherche plein\n" +" texte\n" + +#: initdb.c:2451 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=NOM nom du super-utilisateur de la base de données\n" + +#: initdb.c:2452 +#, c-format +msgid " -W, --pwprompt prompt for a password for the new superuser\n" +msgstr "" +" -W, --pwprompt demande un mot de passe pour le nouveau\n" +" super-utilisateur\n" + +#: initdb.c:2453 +#, c-format +msgid " -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr "" +" -X, --waldir=RÉP_WAL emplacement du répertoire des journaux de\n" +" transactions\n" + +#: initdb.c:2454 +#, c-format +msgid " --wal-segsize=SIZE size of WAL segments, in megabytes\n" +msgstr " --wal-segsize=TAILLE configure la taille des segments WAL, en Mo\n" + +#: initdb.c:2455 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"Options moins utilisées :\n" + +#: initdb.c:2456 +#, c-format +msgid " -c, --set NAME=VALUE override default setting for server parameter\n" +msgstr " -c NOM=VALEUR surcharge la configuration par défaut d'un paramètre serveur\n" + +#: initdb.c:2457 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr " -d, --debug engendre un grand nombre de traces de débogage\n" + +#: initdb.c:2458 +#, c-format +msgid " --discard-caches set debug_discard_caches=1\n" +msgstr " --discard-caches initialise debug_discard_caches à 1\n" + +#: initdb.c:2459 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr "" +" -L RÉPERTOIRE indique où trouver les fichiers servant à la\n" +" création de l'instance\n" + +#: initdb.c:2460 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr " -n, --noclean ne nettoie pas après des erreurs\n" + +#: initdb.c:2461 +#, c-format +msgid " -N, --no-sync do not wait for changes to be written safely to disk\n" +msgstr "" +" -N, --nosync n'attend pas que les modifications soient\n" +" proprement écrites sur disque\n" + +#: initdb.c:2462 +#, c-format +msgid " --no-instructions do not print instructions for next steps\n" +msgstr "" +" --no-instructions n'affiche pas les instructions des prochaines\n" +" étapes\n" + +#: initdb.c:2463 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show affiche la configuration interne\n" + +#: initdb.c:2464 +#, c-format +msgid " -S, --sync-only only sync database files to disk, then exit\n" +msgstr " -S, --sync-only synchronise uniquement le répertoire des données, puis quitte\n" + +#: initdb.c:2465 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"Autres options :\n" + +#: initdb.c:2466 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr " -V, --version affiche la version puis quitte\n" + +#: initdb.c:2467 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr " -?, --help affiche cette aide puis quitte\n" + +#: initdb.c:2468 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"Si le répertoire des données n'est pas indiqué, la variable d'environnement\n" +"PGDATA est utilisée.\n" + +#: initdb.c:2470 +#, c-format +msgid "" +"\n" +"Report bugs to <%s>.\n" +msgstr "" +"\n" +"Rapporter les bogues à <%s>.\n" + +#: initdb.c:2471 +#, c-format +msgid "%s home page: <%s>\n" +msgstr "Page d'accueil de %s : <%s>\n" + +#: initdb.c:2499 +#, c-format +msgid "invalid authentication method \"%s\" for \"%s\" connections" +msgstr "méthode d'authentification « %s » invalide pour « %s » connexions" + +#: initdb.c:2513 +#, c-format +msgid "must specify a password for the superuser to enable password authentication" +msgstr "doit indiquer un mot de passe pour le super-utilisateur afin d'activer l'authentification par mot de passe" + +#: initdb.c:2532 +#, c-format +msgid "no data directory specified" +msgstr "aucun répertoire de données indiqué" + +#: initdb.c:2533 +#, c-format +msgid "You must identify the directory where the data for this database system will reside. Do this with either the invocation option -D or the environment variable PGDATA." +msgstr "Vous devez identifier le répertoire où résideront les données pour ce système de bases de données. Faites-le soit avec l'option -D soit avec la variable d'environnement PGDATA." + +#: initdb.c:2550 +#, c-format +msgid "could not set environment" +msgstr "n'a pas pu configurer l'environnement" + +#: initdb.c:2568 +#, c-format +msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"" +msgstr "le programme « %s » est nécessaire pour %s, mais n'a pas été trouvé dans le même répertoire que « %s »" + +#: initdb.c:2571 +#, c-format +msgid "program \"%s\" was found by \"%s\" but was not the same version as %s" +msgstr "le programme « %s » a été trouvé par « %s » mais n'est pas de la même version que %s" + +#: initdb.c:2586 +#, c-format +msgid "input file location must be an absolute path" +msgstr "l'emplacement du fichier d'entrée doit être indiqué avec un chemin absolu" + +#: initdb.c:2603 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "L'instance sera initialisée avec la locale « %s ».\n" + +#: initdb.c:2606 +#, c-format +msgid "The database cluster will be initialized with this locale configuration:\n" +msgstr "L'instance sera initialisée avec cette configuration de locale :\n" + +#: initdb.c:2607 +#, c-format +msgid " provider: %s\n" +msgstr " fournisseur: %s\n" + +#: initdb.c:2609 +#, c-format +msgid " ICU locale: %s\n" +msgstr " locale ICU : %s\n" + +#: initdb.c:2610 +#, c-format +msgid "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" +msgstr "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" + +#: initdb.c:2640 +#, c-format +msgid "could not find suitable encoding for locale \"%s\"" +msgstr "n'a pas pu trouver un encodage adéquat pour la locale « %s »" + +#: initdb.c:2642 +#, c-format +msgid "Rerun %s with the -E option." +msgstr "Relancez %s avec l'option -E." + +#: initdb.c:2643 initdb.c:3176 initdb.c:3284 initdb.c:3304 +#, c-format +msgid "Try \"%s --help\" for more information." +msgstr "Essayez « %s --help » pour plus d'informations." + +#: initdb.c:2655 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"L'encodage « %s » a été déduit de la locale mais n'est pas autorisé en tant qu'encodage serveur.\n" +"L'encodage par défaut des bases de données sera configuré à « %s ».\n" + +#: initdb.c:2660 +#, c-format +msgid "locale \"%s\" requires unsupported encoding \"%s\"" +msgstr "la locale « %s » nécessite l'encodage « %s » non supporté" + +#: initdb.c:2662 +#, c-format +msgid "Encoding \"%s\" is not allowed as a server-side encoding." +msgstr "L'encodage « %s » n'est pas autorisé en tant qu'encodage serveur." + +#: initdb.c:2664 +#, c-format +msgid "Rerun %s with a different locale selection." +msgstr "Relancez %s avec une locale différente." + +#: initdb.c:2672 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "" +"L'encodage par défaut des bases de données a été configuré en conséquence\n" +"avec « %s ».\n" + +#: initdb.c:2741 +#, c-format +msgid "could not find suitable text search configuration for locale \"%s\"" +msgstr "n'a pas pu trouver la configuration de la recherche plein texte en adéquation avec la locale « %s »" + +#: initdb.c:2752 +#, c-format +msgid "suitable text search configuration for locale \"%s\" is unknown" +msgstr "la configuration de la recherche plein texte convenable pour la locale « %s » est inconnue" + +#: initdb.c:2757 +#, c-format +msgid "specified text search configuration \"%s\" might not match locale \"%s\"" +msgstr "la configuration indiquée pour la recherche plein texte, « %s », pourrait ne pas correspondre à la locale « %s »" + +#: initdb.c:2762 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "La configuration de la recherche plein texte a été initialisée à « %s ».\n" + +#: initdb.c:2805 initdb.c:2876 +#, c-format +msgid "creating directory %s ... " +msgstr "création du répertoire %s... " + +#: initdb.c:2810 initdb.c:2881 initdb.c:2929 initdb.c:2985 +#, c-format +msgid "could not create directory \"%s\": %m" +msgstr "n'a pas pu créer le répertoire « %s » : %m" + +#: initdb.c:2819 initdb.c:2891 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "correction des droits sur le répertoire existant %s... " + +#: initdb.c:2824 initdb.c:2896 +#, c-format +msgid "could not change permissions of directory \"%s\": %m" +msgstr "n'a pas pu modifier les droits du répertoire « %s » : %m" + +#: initdb.c:2836 initdb.c:2908 +#, c-format +msgid "directory \"%s\" exists but is not empty" +msgstr "le répertoire « %s » existe mais n'est pas vide" + +#: initdb.c:2840 +#, c-format +msgid "If you want to create a new database system, either remove or empty the directory \"%s\" or run %s with an argument other than \"%s\"." +msgstr "Si vous voulez créer un nouveau système de bases de données, supprimez ou videz le répertoire « %s ». Vous pouvez aussi exécuter %s avec un argument autre que « %s »." + +#: initdb.c:2848 initdb.c:2918 initdb.c:3325 +#, c-format +msgid "could not access directory \"%s\": %m" +msgstr "n'a pas pu accéder au répertoire « %s » : %m" + +#: initdb.c:2869 +#, c-format +msgid "WAL directory location must be an absolute path" +msgstr "l'emplacement du répertoire des journaux de transactions doit être indiqué avec un chemin absolu" + +#: initdb.c:2912 +#, c-format +msgid "If you want to store the WAL there, either remove or empty the directory \"%s\"." +msgstr "Si vous voulez enregistrer ici les WAL, supprimez ou videz le répertoire « %s »." + +#: initdb.c:2922 +#, c-format +msgid "could not create symbolic link \"%s\": %m" +msgstr "n'a pas pu créer le lien symbolique « %s » : %m" + +#: initdb.c:2941 +#, c-format +msgid "It contains a dot-prefixed/invisible file, perhaps due to it being a mount point." +msgstr "Il contient un fichier invisible, peut-être parce qu'il s'agit d'un point de montage." + +#: initdb.c:2943 +#, c-format +msgid "It contains a lost+found directory, perhaps due to it being a mount point." +msgstr "Il contient un répertoire lost+found, peut-être parce qu'il s'agit d'un point de montage.\\" + +#: initdb.c:2945 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point." +msgstr "" +"Utiliser un point de montage comme répertoire des données n'est pas recommandé.\n" +"Créez un sous-répertoire sous le point de montage." + +#: initdb.c:2971 +#, c-format +msgid "creating subdirectories ... " +msgstr "création des sous-répertoires... " + +#: initdb.c:3014 +msgid "performing post-bootstrap initialization ... " +msgstr "exécution de l'initialisation après bootstrap... " + +#: initdb.c:3175 +#, c-format +msgid "-c %s requires a value" +msgstr "-c %s requiert une valeur" + +#: initdb.c:3200 +#, c-format +msgid "Running in debug mode.\n" +msgstr "Lancé en mode débogage.\n" + +#: initdb.c:3204 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "Lancé en mode « sans nettoyage ». Les erreurs ne seront pas nettoyées.\n" + +#: initdb.c:3274 +#, c-format +msgid "unrecognized locale provider: %s" +msgstr "fournisseur de locale non reconnu : %s" + +#: initdb.c:3302 +#, c-format +msgid "too many command-line arguments (first is \"%s\")" +msgstr "trop d'arguments en ligne de commande (le premier étant « %s »)" + +#: initdb.c:3309 initdb.c:3313 +#, c-format +msgid "%s cannot be specified unless locale provider \"%s\" is chosen" +msgstr "%s ne peut pas être spécifié sauf si le fournisseur de locale « %s » est choisi" + +#: initdb.c:3327 initdb.c:3404 +msgid "syncing data to disk ... " +msgstr "synchronisation des données sur disque... " + +#: initdb.c:3335 +#, c-format +msgid "password prompt and password file cannot be specified together" +msgstr "" +"les options d'invite du mot de passe et de fichier de mots de passe ne\n" +"peuvent pas être indiquées simultanément" + +#: initdb.c:3357 +#, c-format +msgid "argument of --wal-segsize must be a number" +msgstr "l'argument de --wal-segsize doit être un nombre" + +#: initdb.c:3359 +#, c-format +msgid "argument of --wal-segsize must be a power of two between 1 and 1024" +msgstr "l'argument de --wal-segsize doit être une puissance de 2 comprise entre 1 et 1024" + +#: initdb.c:3373 +#, c-format +msgid "superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"" +msgstr "le nom de superutilisateur « %s » n'est pas autorisé ; les noms de rôle ne peuvent pas commencer par « pg_ »" + +#: initdb.c:3375 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"Les fichiers de ce système de bases de données appartiendront à l'utilisateur « %s ».\n" +"Le processus serveur doit également lui appartenir.\n" +"\n" + +#: initdb.c:3391 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "Les sommes de contrôle des pages de données sont activées.\n" + +#: initdb.c:3393 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "Les sommes de contrôle des pages de données sont désactivées.\n" + +#: initdb.c:3410 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"Synchronisation sur disque ignorée.\n" +"Le répertoire des données pourrait être corrompu si le système d'exploitation s'arrêtait brutalement.\n" + +#: initdb.c:3415 +#, c-format +msgid "enabling \"trust\" authentication for local connections" +msgstr "activation de l'authentification « trust » pour les connexions locales" + +#: initdb.c:3416 +#, c-format +msgid "You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb." +msgstr "Vous pouvez changer cette configuration en éditant le fichier pg_hba.conf ou en utilisant l'option -A, ou --auth-local et --auth-host, à la prochaine exécution d'initdb." + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3446 +msgid "logfile" +msgstr "fichier_de_trace" + +#: initdb.c:3448 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"Succès. Vous pouvez maintenant lancer le serveur de bases de données en utilisant :\n" +"\n" +" %s\n" +"\n" + +#~ msgid "" +#~ "\n" +#~ "Report bugs to <pgsql-bugs@lists.postgresql.org>.\n" +#~ msgstr "" +#~ "\n" +#~ "Rapporter les bogues à <pgsql-bugs@lists.postgresql.org>.\n" + +#~ msgid "%s: The password file was not generated. Please report this problem.\n" +#~ msgstr "" +#~ "%s : le fichier de mots de passe n'a pas été créé.\n" +#~ "Merci de rapporter ce problème.\n" + +#~ msgid "%s: could not access directory \"%s\": %s\n" +#~ msgstr "%s : n'a pas pu accéder au répertoire « %s » : %s\n" + +#~ msgid "%s: could not access file \"%s\": %s\n" +#~ msgstr "%s : n'a pas pu accéder au fichier « %s » : %s\n" + +#~ msgid "%s: could not close directory \"%s\": %s\n" +#~ msgstr "%s : n'a pas pu fermer le répertoire « %s » : %s\n" + +#~ msgid "%s: could not create directory \"%s\": %s\n" +#~ msgstr "%s : n'a pas pu créer le répertoire « %s » : %s\n" + +#~ msgid "%s: could not create symbolic link \"%s\": %s\n" +#~ msgstr "%s : n'a pas pu créer le lien symbolique « %s » : %s\n" + +#~ msgid "%s: could not determine valid short version string\n" +#~ msgstr "%s : n'a pas pu déterminer une chaîne de version courte valide\n" + +#~ msgid "%s: could not execute command \"%s\": %s\n" +#~ msgstr "%s : n'a pas pu exécuter la commande « %s » : %s\n" + +#~ msgid "%s: could not fsync file \"%s\": %s\n" +#~ msgstr "%s : n'a pas pu synchroniser sur disque le fichier « %s » : %s\n" + +#~ msgid "%s: could not get current user name: %s\n" +#~ msgstr "%s : n'a pas pu obtenir le nom de l'utilisateur courant : %s\n" + +#~ msgid "%s: could not obtain information about current user: %s\n" +#~ msgstr "%s : n'a pas pu obtenir d'informations sur l'utilisateur courant : %s\n" + +#~ msgid "%s: could not open directory \"%s\": %s\n" +#~ msgstr "%s : n'a pas pu ouvrir le répertoire « %s » : %s\n" + +#~ msgid "%s: could not open file \"%s\" for reading: %s\n" +#~ msgstr "%s : n'a pas pu ouvrir le fichier « %s » en lecture : %s\n" + +#~ msgid "%s: could not open file \"%s\" for writing: %s\n" +#~ msgstr "%s : n'a pas pu ouvrir le fichier « %s » en écriture : %s\n" + +#~ msgid "%s: could not open file \"%s\": %s\n" +#~ msgstr "%s : n'a pas pu ouvrir le fichier « %s » : %s\n" + +#~ msgid "%s: could not read directory \"%s\": %s\n" +#~ msgstr "%s : n'a pas pu lire le répertoire « %s » : %s\n" + +#~ msgid "%s: could not rename file \"%s\" to \"%s\": %s\n" +#~ msgstr "%s : n'a pas pu renommer le fichier « %s » en « %s » : %s\n" + +#~ msgid "%s: could not stat file \"%s\": %s\n" +#~ msgstr "%s : n'a pas pu récupérer les informations sur le fichier « %s » : %s\n" + +#~ msgid "%s: could not to allocate SIDs: error code %lu\n" +#~ msgstr "%s : n'a pas pu allouer les SID : code d'erreur %lu\n" + +#~ msgid "%s: could not write file \"%s\": %s\n" +#~ msgstr "%s : n'a pas pu écrire le fichier « %s » : %s\n" + +#~ msgid "%s: failed to remove contents of transaction log directory\n" +#~ msgstr "%s : échec de la suppression du contenu du répertoire des journaux de transaction\n" + +#~ msgid "%s: failed to remove transaction log directory\n" +#~ msgstr "%s : échec de la suppression du répertoire des journaux de transaction\n" + +#~ msgid "%s: failed to restore old locale \"%s\"\n" +#~ msgstr "%s : n'a pas pu restaurer l'ancienne locale « %s »\n" + +#~ msgid "%s: file \"%s\" does not exist\n" +#~ msgstr "%s : le fichier « %s » n'existe pas\n" + +#~ msgid "%s: invalid locale name \"%s\"\n" +#~ msgstr "%s : nom de locale invalide (« %s »)\n" + +#~ msgid "%s: locale name has non-ASCII characters, skipped: \"%s\"\n" +#~ msgstr "%s : le nom de la locale contient des caractères non ASCII, ignoré : « %s »\n" + +#~ msgid "%s: locale name too long, skipped: \"%s\"\n" +#~ msgstr "%s : nom de locale trop long, ignoré : « %s »\n" + +#~ msgid "%s: out of memory\n" +#~ msgstr "%s : mémoire épuisée\n" + +#~ msgid "%s: removing contents of transaction log directory \"%s\"\n" +#~ msgstr "%s : suppression du contenu du répertoire des journaux de transaction « %s »\n" + +#~ msgid "%s: removing transaction log directory \"%s\"\n" +#~ msgstr "%s : suppression du répertoire des journaux de transaction « %s »\n" + +#~ msgid "%s: symlinks are not supported on this platform\n" +#~ msgstr "%s : les liens symboliques ne sont pas supportés sur cette plateforme\n" + +#~ msgid "%s: transaction log directory \"%s\" not removed at user's request\n" +#~ msgstr "" +#~ "%s : répertoire des journaux de transaction « %s » non supprimé à la demande\n" +#~ "de l'utilisateur\n" + +#~ msgid "%s: unrecognized authentication method \"%s\"\n" +#~ msgstr "%s : méthode d'authentification « %s » inconnue.\n" + +#~ msgid "No usable system locales were found.\n" +#~ msgstr "Aucune locale système utilisable n'a été trouvée.\n" + +#, c-format +#~ msgid "The default database encoding has been set to \"%s\".\n" +#~ msgstr "L'encodage par défaut des bases de données a été configuré à « %s ».\n" + +#~ msgid "" +#~ "The program \"postgres\" is needed by %s but was not found in the\n" +#~ "same directory as \"%s\".\n" +#~ "Check your installation." +#~ msgstr "" +#~ "Le programme « postgres » est nécessaire à %s mais n'a pas été trouvé dans\n" +#~ "le même répertoire que « %s ».\n" +#~ "Vérifiez votre installation." + +#~ msgid "" +#~ "The program \"postgres\" was found by \"%s\"\n" +#~ "but was not the same version as %s.\n" +#~ "Check your installation." +#~ msgstr "" +#~ "Le programme « postgres » a été trouvé par « %s » mais n'est pas de la même\n" +#~ "version que « %s ».\n" +#~ "Vérifiez votre installation." + +#, c-format +#~ msgid "Try \"%s --help\" for more information.\n" +#~ msgstr "Essayer « %s --help » pour plus d'informations.\n" + +#~ msgid "Use the option \"--debug\" to see details.\n" +#~ msgstr "Utilisez l'option « --debug » pour voir le détail.\n" + +#, c-format +#~ msgid "cannot create restricted tokens on this platform: error code %lu" +#~ msgstr "ne peut pas créer les jetons restreints sur cette plateforme : code d'erreur %lu" + +#~ msgid "child process was terminated by signal %s" +#~ msgstr "le processus fils a été terminé par le signal %s" + +#~ msgid "copying template1 to postgres ... " +#~ msgstr "copie de template1 vers postgres... " + +#~ msgid "copying template1 to template0 ... " +#~ msgstr "copie de template1 vers template0... " + +#~ msgid "could not change directory to \"%s\"" +#~ msgstr "n'a pas pu accéder au répertoire « %s »" + +#, c-format +#~ msgid "could not change directory to \"%s\": %m" +#~ msgstr "n'a pas pu modifier le répertoire par « %s » : %m" + +#~ msgid "could not change directory to \"%s\": %s" +#~ msgstr "n'a pas pu modifier le répertoire par « %s » : %s" + +#, c-format +#~ msgid "could not identify current directory: %m" +#~ msgstr "n'a pas pu identifier le répertoire courant : %m" + +#, c-format +#~ msgid "could not load library \"%s\": error code %lu" +#~ msgstr "n'a pas pu charger la bibliothèque « %s » : code d'erreur %lu" + +#~ msgid "could not open directory \"%s\": %s\n" +#~ msgstr "n'a pas pu ouvrir le répertoire « %s » : %s\n" + +#, c-format +#~ msgid "could not read binary \"%s\"" +#~ msgstr "n'a pas pu lire le binaire « %s »" + +#~ msgid "could not read directory \"%s\": %s\n" +#~ msgstr "n'a pas pu lire le répertoire « %s » : %s\n" + +#~ msgid "could not read symbolic link \"%s\"" +#~ msgstr "n'a pas pu lire le lien symbolique « %s »" + +#, c-format +#~ msgid "could not read symbolic link \"%s\": %m" +#~ msgstr "n'a pas pu lire le lien symbolique « %s » : %m" + +#, c-format +#~ msgid "could not remove file or directory \"%s\": %m" +#~ msgstr "n'a pas pu supprimer le fichier ou répertoire « %s » : %m" + +#, c-format +#~ msgid "could not stat file or directory \"%s\": %m" +#~ msgstr "" +#~ "n'a pas pu récupérer les informations sur le fichier ou répertoire\n" +#~ "« %s » : %m" + +#~ msgid "could not stat file or directory \"%s\": %s\n" +#~ msgstr "" +#~ "n'a pas pu récupérer les informations sur le fichier ou répertoire\n" +#~ "« %s » : %s\n" + +#~ msgid "creating collations ... " +#~ msgstr "création des collationnements... " + +#~ msgid "creating conversions ... " +#~ msgstr "création des conversions... " + +#~ msgid "creating dictionaries ... " +#~ msgstr "création des dictionnaires... " + +#~ msgid "creating information schema ... " +#~ msgstr "création du schéma d'informations... " + +#~ msgid "creating system views ... " +#~ msgstr "création des vues système... " + +#~ msgid "creating template1 database in %s/base/1 ... " +#~ msgstr "création de la base de données template1 dans %s/base/1... " + +#, c-format +#~ msgid "fatal: " +#~ msgstr "fatal : " + +#~ msgid "initializing dependencies ... " +#~ msgstr "initialisation des dépendances... " + +#~ msgid "initializing pg_authid ... " +#~ msgstr "initialisation de pg_authid... " + +#, c-format +#~ msgid "invalid binary \"%s\"" +#~ msgstr "binaire « %s » invalide" + +#~ msgid "loading PL/pgSQL server-side language ... " +#~ msgstr "chargement du langage PL/pgSQL... " + +#~ msgid "loading system objects' descriptions ... " +#~ msgstr "chargement de la description des objets système... " + +#~ msgid "not supported on this platform\n" +#~ msgstr "non supporté sur cette plateforme\n" + +#~ msgid "pclose failed: %m" +#~ msgstr "échec de pclose : %m" + +#~ msgid "setting password ... " +#~ msgstr "initialisation du mot de passe... " + +#~ msgid "setting privileges on built-in objects ... " +#~ msgstr "initialisation des droits sur les objets internes... " + +#, c-format +#~ msgid "symlinks are not supported on this platform" +#~ msgstr "les liens symboliques ne sont pas supportés sur cette plateforme" + +#~ msgid "vacuuming database template1 ... " +#~ msgstr "lancement du vacuum sur la base de données template1... " diff --git a/src/bin/initdb/po/he.po b/src/bin/initdb/po/he.po new file mode 100644 index 0000000..03c6a23 --- /dev/null +++ b/src/bin/initdb/po/he.po @@ -0,0 +1,1053 @@ +# Hebrew message translation file for initdb +# Copyright (C) 2017 PostgreSQL Global Development Group +# This file is distributed under the same license as the PostgreSQL package. +# Michael Goldberg <mic.goldbrg@gmail.com>, 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: initdb (PostgreSQL) 10\n" +"Report-Msgid-Bugs-To: pgsql-bugs@postgresql.org\n" +"POT-Creation-Date: 2017-05-12 20:33+0300\n" +"PO-Revision-Date: 2017-05-14 16:16+0300\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.1\n" +"Last-Translator: Michael Goldberg <mic.goldbrg@gmail.com>\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: he_IL\n" + +#: ../../common/exec.c:127 ../../common/exec.c:241 ../../common/exec.c:284 +#, c-format +msgid "could not identify current directory: %s" +msgstr "לא יוכל לזהות את הספריה הנוכחית: %s" + +#: ../../common/exec.c:146 +#, c-format +msgid "invalid binary \"%s\"" +msgstr "בינארי לא חוקי \"%s\"" + +#: ../../common/exec.c:195 +#, c-format +msgid "could not read binary \"%s\"" +msgstr "לא ניתן לקרוא בינארי \"%s\"" + +#: ../../common/exec.c:202 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "לא ניתן למצוא \"%s\" לביצוע" + +#: ../../common/exec.c:257 ../../common/exec.c:293 +#, c-format +msgid "could not change directory to \"%s\": %s" +msgstr "לא לשנות לשנות ספריות ל \"%s\": %s" + +#: ../../common/exec.c:272 +#, c-format +msgid "could not read symbolic link \"%s\"" +msgstr "לא ניתן לקרוא את הקישור הסימבולי \"%s\"" + +#: ../../common/exec.c:523 +#, c-format +msgid "pclose failed: %s" +msgstr "נכשלpclose : %s" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 +#, c-format +msgid "out of memory\n" +msgstr "אין זיכרון פנוי\n" + +#: ../../common/fe_memutils.c:92 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "לא ניתן לשכפל מצביע ריק (שגיאה פנימית)\n" + +#: ../../common/file_utils.c:82 ../../common/file_utils.c:186 +#, c-format +msgid "%s: could not stat file \"%s\": %s\n" +msgstr "תכנית %s: לא היה ניתן לקבל מידע (stat) על קובץ \"%s\": %s\n" + +#: ../../common/file_utils.c:162 +#, c-format +msgid "%s: could not open directory \"%s\": %s\n" +msgstr "תכנית %s: לא ניתן לפתוח תיקייה \"%s\": %s\n" + +#: ../../common/file_utils.c:198 +#, c-format +msgid "%s: could not read directory \"%s\": %s\n" +msgstr "תכנית %s: לא ניתן לקרוא מתיקייה \"%s\": %s\n" + +#: ../../common/file_utils.c:231 ../../common/file_utils.c:291 +#: ../../common/file_utils.c:367 +#, c-format +msgid "%s: could not open file \"%s\": %s\n" +msgstr "תכנית %s: לא ניתן לפתוח קובץ \"%s\": %s\n" + +#: ../../common/file_utils.c:304 ../../common/file_utils.c:376 +#, c-format +msgid "%s: could not fsync file \"%s\": %s\n" +msgstr "תכנית %s: לא ניתן להעביר תוכן הקובץ (fsync) לדיסק \"%s\": %s\n" + +#: ../../common/file_utils.c:387 +#, c-format +msgid "%s: could not rename file \"%s\" to \"%s\": %s\n" +msgstr "תכנית %s: לא ניתן לשנות שם הקובץ \"%s\" \"%s\": %s\n" + +#: ../../common/pgfnames.c:45 +#, c-format +msgid "could not open directory \"%s\": %s\n" +msgstr "לא ניתן לפתוח תיקייה \"%s\": %s\n" + +#: ../../common/pgfnames.c:72 +#, c-format +msgid "could not read directory \"%s\": %s\n" +msgstr "לא ניתן לקרוא מתיקייה \"%s\": %s\n" + +#: ../../common/pgfnames.c:84 +#, c-format +msgid "could not close directory \"%s\": %s\n" +msgstr "לא יניתן לסגור את מדריך \"%s\": %s\n" + +#: ../../common/restricted_token.c:68 +#, c-format +msgid "%s: WARNING: cannot create restricted tokens on this platform\n" +msgstr "" +"תכנית %s: אזהרה: אין אפשרות ליצור אסימוני גישה מוגבלים בפלטפורמה זו\n" + +#: ../../common/restricted_token.c:77 +#, c-format +msgid "%s: could not open process token: error code %lu\n" +msgstr "תכנית %s: לא ניתן לפתוח את התהליך token: קוד שגיאה % lu\n" + +#: ../../common/restricted_token.c:90 +#, c-format +msgid "%s: could not allocate SIDs: error code %lu\n" +msgstr "תכנית %s: לא ניתן להקצות SID: קוד שגיאה % lu\n" + +#: ../../common/restricted_token.c:110 +#, c-format +msgid "%s: could not create restricted token: error code %lu\n" +msgstr "תכנית %s: אין אפשרות ליצור אסימוני גישה: קוד שגיאה %lu\n" + +#: ../../common/restricted_token.c:132 +#, c-format +msgid "%s: could not start process for command \"%s\": error code %lu\n" +msgstr "תכנית %s: לא ניתן להפעיל תהליך עבור הפקודה \"%s\": קוד שגיאה % lu\n" + +#: ../../common/restricted_token.c:170 +#, c-format +msgid "%s: could not re-execute with restricted token: error code %lu\n" +msgstr "תכנית %s: לא ניתן לבצע מחדש עם אסימון גישה מוגבל: קוד שגיאה % lu\n" + +#: ../../common/restricted_token.c:186 +#, c-format +msgid "%s: could not get exit code from subprocess: error code %lu\n" +msgstr "תכנית %s: לא ניתן לקבל קוד היציאה מן תהליך משנה: קוד שגיאה % lu\n" + +#: ../../common/rmtree.c:77 +#, c-format +msgid "could not stat file or directory \"%s\": %s\n" +msgstr "יכול לא stat קובץ או ספריה \"%s\": %s\n" + +#: ../../common/rmtree.c:104 ../../common/rmtree.c:121 +#, c-format +msgid "could not remove file or directory \"%s\": %s\n" +msgstr "לא היתה אפשרות להסיר קובץ או ספריה \"%s\": %s\n" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "לא יכול לחפש יעיל את המשתמש עם מזהה % ld: %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "משתמש לא קיים" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "כישלון בדיקה עבור שם המשתמש: קוד שגיאה % lu" + +#: ../../common/wait_error.c:45 +#, c-format +msgid "command not executable" +msgstr "לא ניתן לבצע את הפקודה" + +#: ../../common/wait_error.c:49 +#, c-format +msgid "command not found" +msgstr "הפקודה לא נמצאה" + +#: ../../common/wait_error.c:54 +#, c-format +msgid "child process exited with exit code %d" +msgstr "תהליך צאצא יצא עם %d" + +#: ../../common/wait_error.c:61 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "תהליך צאצא הופסק על ידי חריגה 0 0x %X" + +#: ../../common/wait_error.c:71 +#, c-format +msgid "child process was terminated by signal %s" +msgstr "תהליך צאצא הופסק על ידי האות %s" + +#: ../../common/wait_error.c:75 +#, c-format +msgid "child process was terminated by signal %d" +msgstr "תהליך צאצא הופסק על ידי האות %d" + +#: ../../common/wait_error.c:80 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "תהליך צאצא יצא עם מצב לא מזוהה %d" + +#: ../../port/dirmod.c:221 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "לא היתה אפשרות להגדיר את הצומת של \"%s\": %s\n" + +#: ../../port/dirmod.c:298 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "לא היתה אפשרות לקבל צומת עבור \"%s\": %s\n" + +#: initdb.c:331 +#, c-format +msgid "%s: out of memory\n" +msgstr "תכנית %s: אין זיכרון פנוי\n" + +#: initdb.c:441 initdb.c:1442 +#, c-format +msgid "%s: could not open file \"%s\" for reading: %s\n" +msgstr "תכנית %s: לא ניתן לפתוח קובץ \"%s\" לקריאה: %s\n" + +#: initdb.c:497 initdb.c:813 initdb.c:841 +#, c-format +msgid "%s: could not open file \"%s\" for writing: %s\n" +msgstr "תכנית %s: לא היתה אפשרות לפתוח הקובץ \"%s\" לכתיבה: %s\n" + +#: initdb.c:505 initdb.c:513 initdb.c:820 initdb.c:847 +#, c-format +msgid "%s: could not write file \"%s\": %s\n" +msgstr "תכנית %s: לא ניתן לכתוב את הקובץ \"%s\": %s\n" + +#: initdb.c:532 +#, c-format +msgid "%s: could not execute command \"%s\": %s\n" +msgstr "תכנית %s: לא היה ניתן לבצע את הפקודה \"%s\": %s\n" + +#: initdb.c:548 +#, c-format +msgid "%s: removing data directory \"%s\"\n" +msgstr "תכנית %s: הסרת ספריית נתונים \"%s\"\n" + +#: initdb.c:551 +#, c-format +msgid "%s: failed to remove data directory\n" +msgstr "תכנית %s: כשל בלהסיר את ספריית הנתונים\n" + +#: initdb.c:557 +#, c-format +msgid "%s: removing contents of data directory \"%s\"\n" +msgstr "תכנית %s: הסרת התוכן של ספריית הנתונים \"%s\"\n" + +#: initdb.c:560 +#, c-format +msgid "%s: failed to remove contents of data directory\n" +msgstr "תכנית %s: כשל בלהסיר את התוכן של ספריית הנתונים\n" + +#: initdb.c:566 +#, c-format +msgid "%s: removing WAL directory \"%s\"\n" +msgstr "תכנית %s: הסרת ספריית WAL \"%s\"\n" + +#: initdb.c:569 +#, c-format +msgid "%s: failed to remove WAL directory\n" +msgstr "תכנית %s: כשל בלהסיר מדריך את תיקיית WAL\n" + +#: initdb.c:575 +#, c-format +msgid "%s: removing contents of WAL directory \"%s\"\n" +msgstr "תכנית %s: הסרת התוכן של תיקיית WAL \"%s\"\n" + +#: initdb.c:578 +#, c-format +msgid "%s: failed to remove contents of WAL directory\n" +msgstr "תכנית %s: כשל בלהסיר את התוכן של הספרית WAL\n" + +#: initdb.c:587 +#, c-format +msgid "%s: data directory \"%s\" not removed at user's request\n" +msgstr "תכנית %s: תיקיית הנתונים \"%s\" לא הוסרה לבקשת המשתמש\n" + +#: initdb.c:592 +#, c-format +msgid "%s: WAL directory \"%s\" not removed at user's request\n" +msgstr "תכנית %s: תיקייה WAL \"%s\" לא הוסרה לבקשת המשתמש\n" + +#: initdb.c:613 +#, c-format +msgid "" +"%s: cannot be run as root\n" +"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n" +"own the server process.\n" +msgstr "" +"תכנית %s: לא ניתן להפעיל ע\"י root\n" +"נא להיכנס (באמצעות, למשל, \" su\") כמו המשתמש (ללא הרשאות)\n" +"שתהליך השרת יהיה בבעלותו\n" + +#: initdb.c:649 +#, c-format +msgid "%s: \"%s\" is not a valid server encoding name\n" +msgstr "תכנית %s: \"%s\" אינו שם קידוד חוקי\n" + +#: initdb.c:769 +#, c-format +msgid "%s: file \"%s\" does not exist\n" +msgstr "תכנית %s: הקובץ '%s' אינו קיים\n" + +#: initdb.c:771 initdb.c:780 initdb.c:790 +#, c-format +msgid "" +"This might mean you have a corrupted installation or identified\n" +"the wrong directory with the invocation option -L.\n" +msgstr "" +"המשמעות יכולה להיות שהתקנה פגומה\n" +"או זוהה הספריה הלא נכון עם אופציה לקריאה -L.\n" +" \n" + +#: initdb.c:777 +#, c-format +msgid "%s: could not access file \"%s\": %s\n" +msgstr "תכנית %s: לא יכול לגשת לקובץ \"%s\": %s\n" + +#: initdb.c:788 +#, c-format +msgid "%s: file \"%s\" is not a regular file\n" +msgstr "תכנית %s: קובץ '%s' אינו קובץ רגיל\n" + +#: initdb.c:933 +#, c-format +msgid "selecting default max_connections ... " +msgstr "בחירת ברירת המחדל max_connections... " + +#: initdb.c:963 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "בחירת ברירת המחדל shared_buffers... " + +#: initdb.c:996 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "בחירת יישום זיכרון דינמי משותף... " + +#: initdb.c:1014 +msgid "creating configuration files ... " +msgstr "יצירת קבצי תצורה... " + +#: initdb.c:1146 initdb.c:1166 initdb.c:1253 initdb.c:1269 +#, c-format +msgid "%s: could not change permissions of \"%s\": %s\n" +msgstr "תכנית %s: לא היתה אפשרות לשנות הרשאות עבור \"%s\": %s\n" + +#: initdb.c:1293 +#, c-format +msgid "running bootstrap script ... " +msgstr "הפעלת סקריפט אתחול... " + +#: initdb.c:1309 +#, c-format +msgid "" +"%s: input file \"%s\" does not belong to PostgreSQL %s\n" +"Check your installation or specify the correct path using the option -L.\n" +msgstr "" +"תכנית %s: קובץ הקלט '%s' אינו שייך ל PostgreSQL %s \n" +"תבדוק את ההתקנה שלך או תציין את הנתיב הנכון באמצעות האפשרות -L.\n" + +#: initdb.c:1419 +msgid "Enter new superuser password: " +msgstr "הזן סיסמת משתמש על חדשה: " + +#: initdb.c:1420 +msgid "Enter it again: " +msgstr "הזן שוב: " + +#: initdb.c:1423 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "סיסמאות אינן תואמות.\n" + +#: initdb.c:1449 +#, c-format +msgid "%s: could not read password from file \"%s\": %s\n" +msgstr "תכנית %s: לא היתה אפשרות לקרוא את הסיסמה מהקובץ \"%s\": %s\n" + +#: initdb.c:1452 +#, c-format +msgid "%s: password file \"%s\" is empty\n" +msgstr "תכנית %s: קובץ הסיסמה \"%s\" ריק\n" + +#: initdb.c:2012 +#, c-format +msgid "caught signal\n" +msgstr "אות הנתפס\n" + +#: initdb.c:2018 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "לא ניתן לכתוב לתהליך צאצא: %s\n" + +#: initdb.c:2026 +#, c-format +msgid "ok\n" +msgstr "אישור\n" + +#: initdb.c:2116 +#, c-format +msgid "%s: setlocale() failed\n" +msgstr "תכנית %s: נכשל התהליך להגדרת הגדרות אזוריות (setlocale())\n" + +#: initdb.c:2134 +#, c-format +msgid "%s: failed to restore old locale \"%s\"\n" +msgstr "תכנית %s: כשל בשחזור הגדרת האזור הישנה \"%s\"\n" + +#: initdb.c:2144 +#, c-format +msgid "%s: invalid locale name \"%s\"\n" +msgstr "תכנית %s: הגדרת אזור לא חוקית בשם \"%s\"\n" + +#: initdb.c:2156 +#, c-format +msgid "" +"%s: invalid locale settings; check LANG and LC_* environment variables\n" +msgstr "" +"תכנית %s: הגדרות אזור לא חוקיות; בדוק את משתני הסביבה LANG ו- LC_ *\n" + +#: initdb.c:2184 +#, c-format +msgid "%s: encoding mismatch\n" +msgstr "תכנית %s: אי-התאמת בקידוד\n" + +#: initdb.c:2186 +#, c-format +msgid "" +"The encoding you selected (%s) and the encoding that the\n" +"selected locale uses (%s) do not match. This would lead to\n" +"misbehavior in various character string processing functions.\n" +"Rerun %s and either do not specify an encoding explicitly,\n" +"or choose a matching combination.\n" +msgstr "" +"קידוד אותו נבחרת (%s) ואת הקידוד\n" +"בו משתמש הגדרה אזורית שנבחרה (%s) אינם תואמים. זה להוביל\n" +"להתנהגות בלתי צפויה בפונקציות שונות לעיבוד מחרוזת תווים.\n" +"הפעל מחדש את %s ו או אל תציין במפורש הקידוד, או תבחר את שילוב התואם.\n" + +#: initdb.c:2258 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"תכנית %s: אתחול האשכול של מסד נתונים PostgreSQL \n" +"\n" + +#: initdb.c:2259 +#, c-format +msgid "Usage:\n" +msgstr "שימוש:\n" + +#: initdb.c:2260 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr "" +" שימוש\n" +"%s [אפשרות]... [תיקיית נתונים]\n" + +#: initdb.c:2261 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"אפשרויות:\n" + +#: initdb.c:2262 +#, c-format +msgid "" +" -A, --auth=METHOD default authentication method for local " +"connections\n" +msgstr "" +" -A\n" +" --auth=METHOD\n" +"שיטת אימות ברירת המחדל עבור חיבורים מקומיים\n" + +#: initdb.c:2263 +#, c-format +msgid "" +" --auth-host=METHOD default authentication method for local TCP/IP " +"connections\n" +msgstr "" +" --auth-host=METHOD\n" +"שיטת אימות ברירת המחדל עבור חיבורי TCP / IP מקומיים\n" + +#: initdb.c:2264 +#, c-format +msgid "" +" --auth-local=METHOD default authentication method for local-socket " +"connections\n" +msgstr "" +" --auth-local=METHOD\n" +"שיטת אימות ברירת המחדל עבור חיבורי שקע מקומי\n" + +#: initdb.c:2265 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr "" +" [-D, --pgdata=]DATADIR\n" +"מיקום עבור אשכול שלמסד הנתונים\n" + +#: initdb.c:2266 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr "" +" -E\n" +" --encoding=ENCODING\n" +"קידוד שנקבע כברירת מחדל עבור מסדי הנתונים החדשים\n" + +#: initdb.c:2267 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr "" +" --locale=LOCALE\n" +"להגדיר הגדרות אזוריות ברירת המחדל עבור מסדי הנתונים החדשים\n" + +#: initdb.c:2268 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category " +"for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate=LOCALE\n" +" --lc-ctype=LOCALE\n" +" --lc-messages=LOCALE\n" +" --lc-monetary=LOCALE\n" +" --lc-numeric=LOCALE\n" +" --lc\n" +"מגדיר הגדרות אזוריות ברירת המחדל בקטרגוריה המתאימה עבור\n" +"מסדי הנתונים החדשים (ברירת מחדל נלקחת מהסביבה)\n" + +#: initdb.c:2272 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr "" +" --no-locale\n" +"מקבילה ל --locale=C\n" + +#: initdb.c:2273 +#, c-format +msgid "" +" --pwfile=FILE read password for the new superuser from file\n" +msgstr "" +" --pwfile=FILE\n" +"לקרוא סיסמת משתמש העל החדש מקובץ\n" + +#: initdb.c:2274 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T\n" +" --text-search-config=CFG\n" +"תצורת חיפוש טקסט ברירת המחדל\n" + +#: initdb.c:2276 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr "" +" -U,\n" +" --username=NAME\n" +"שם של משתמש על מסד הנתונים\n" + +#: initdb.c:2277 +#, c-format +msgid "" +" -W, --pwprompt prompt for a password for the new superuser\n" +msgstr "" +" -W\n" +" --pwprompt\n" +"בקשה להזנת סיסמת משתמש חדש\n" + +#: initdb.c:2278 +#, c-format +msgid "" +" -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr "" +" -X\n" +" --waldir = WALDIR\n" +"מיקום עבור ספריית הרישום כתיבת WAL לוגים\n" + +#: initdb.c:2279 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"אפשרויות פחות נפוצות:\n" + +#: initdb.c:2280 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr "" +" -d\n" +" --debug\n" +"מפיק פלט מרובה מאיתור הבאגים\n" + +#: initdb.c:2281 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr "" +" -k\n" +" --data-checksums\n" +"להשתמש בבדיקות סיכום דף נתונים\n" + +#: initdb.c:2282 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr "" +" -L DIRECTORY\n" +"איפה למצוא את קבצי הקלט\n" + +#: initdb.c:2283 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr "" +" -n\n" +" --no-clean\n" +"לא לנקות לאחר שגיאות\n" + +#: initdb.c:2284 +#, c-format +msgid "" +" -N, --no-sync do not wait for changes to be written safely to " +"disk\n" +msgstr "" +" -N\n" +" --no-sync\n" +"לא לחכות עד אשר השינויים ייכתבו בבטחה לדיסק\n" + +#: initdb.c:2285 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr "" +" -s\n" +" --show \n" +"הצג הגדרות פנימיות\n" + +#: initdb.c:2286 +#, c-format +msgid " -S, --sync-only only sync data directory\n" +msgstr "" +" -S\n" +" --sync-only\n" +"לסנכרן ספריית נתונים בלבד\n" + +#: initdb.c:2287 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"אפשרויות נוספות:\n" + +#: initdb.c:2288 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr "" +" -V\n" +" --version\n" +"להציג מידע על הגירסה, ולאחר מכן לצאת\n" + +#: initdb.c:2289 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr "" +" -?\n" +" --help\n" +"להציג עזרה זו, ולאחר מכן לצאת\n" + +#: initdb.c:2290 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"אם הספרית נתונים לא צוינה, נעשה שימוש במשתנה סביבה PGDATA.\n" +"\n" + +#: initdb.c:2292 +#, c-format +msgid "" +"\n" +"Report bugs to <pgsql-bugs@postgresql.org>.\n" +msgstr "" +"\n" +"לדווח על באגים ל <pgsql-bugs@postgresql.org>\n" + +#: initdb.c:2300 +msgid "" +"\n" +"WARNING: enabling \"trust\" authentication for local connections\n" +"You can change this by editing pg_hba.conf or using the option -A, or\n" +"--auth-local and --auth-host, the next time you run initdb.\n" +msgstr "" +"\n" +"אזהרה: הפעלת \"אמון\" אימות עבור התקשרויות מקומיות\n" +"ניתן לשנות זאת על-ידי עריכת pg_hba.conf או שימוש באפשרות - A, או\n" +"--auth-local ו --auth-host, בהפעלת initdb הבאה\n" + +#: initdb.c:2322 +#, c-format +msgid "%s: invalid authentication method \"%s\" for \"%s\" connections\n" +msgstr "תכנית %s: שיטת אימות לא חוקית \"%s\" עבור חיבורים \"%s\"\n" + +#: initdb.c:2338 +#, c-format +msgid "" +"%s: must specify a password for the superuser to enable %s authentication\n" +msgstr "תכנית %s: עליך לציין סיסמה עבור משתמש העל על מנת לאפשר אימות %s\n" + +#: initdb.c:2366 +#, c-format +msgid "" +"%s: no data directory specified\n" +"You must identify the directory where the data for this database system\n" +"will reside. Do this with either the invocation option -D or the\n" +"environment variable PGDATA.\n" +msgstr "" +"תכנית %s: לא צוינה תיקיית הנתונים\n" +"עליך לציין את התיקייה איפה הנתונים עבור מערכת מסד הנתונים זה\n" +"ימקמו. לעשות זאת ניתן עם אפשרות -D או\n" +"להגדיר את משתנה הסביבה PGDATA.\n" + +#: initdb.c:2404 +#, c-format +msgid "" +"The program \"postgres\" is needed by %s but was not found in the\n" +"same directory as \"%s\".\n" +"Check your installation.\n" +msgstr "" +"התוכנית \"postgres\" נדרשת על-ידי %s אבל לא נמצאה \n" +"באותה ספריה כמו \"%s\".\n" +"יש לבדוק את ההתקנה שלך.\n" + +#: initdb.c:2411 +#, c-format +msgid "" +"The program \"postgres\" was found by \"%s\"\n" +"but was not the same version as %s.\n" +"Check your installation.\n" +msgstr "" +"התוכנית \"postgres\" נמצאה על ידי \"%s\"\n" +"אבל לא הייתה מגירסה זהה כמו %s.\n" +"יש לבדוק את ההתקנה שלך.\n" + +#: initdb.c:2430 +#, c-format +msgid "%s: input file location must be an absolute path\n" +msgstr "תכנית %s: מיקום קובץ הקלט חייב להיות נתיב מוחלט\n" + +#: initdb.c:2449 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "האשכול מסד הנתונים יאותחל עם הגדרה אזורית \"%s\".\n" + +#: initdb.c:2452 +#, c-format +msgid "" +"The database cluster will be initialized with locales\n" +" COLLATE: %s\n" +" CTYPE: %s\n" +" MESSAGES: %s\n" +" MONETARY: %s\n" +" NUMERIC: %s\n" +" TIME: %s\n" +msgstr "" +"האשכול מסד הנתונים יאותחל עם הגדרות אזוריות\n" +" COLLATE: %s\n" +" CTYPE: %s\n" +" MESSAGES: %s\n" +" MONETARY: %s\n" +" NUMERIC: %s\n" +" TIME: %s\n" + +#: initdb.c:2476 +#, c-format +msgid "%s: could not find suitable encoding for locale \"%s\"\n" +msgstr "תכנית %s: לא ניתן למצוא קידוד מתאים עבור הגדרות אזור \"%s\"\n" + +#: initdb.c:2478 +#, c-format +msgid "Rerun %s with the -E option.\n" +msgstr "הפעל מחדש את %s עם האפשרות -E.\n" + +#: initdb.c:2479 initdb.c:3103 initdb.c:3124 +#, c-format +msgid "Try \"%s --help\" for more information.\n" +msgstr "נסה '%s --help' לקבלת מידע נוסף.\n" + +#: initdb.c:2491 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side " +"encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"קידוד \"%s\" המשתמע בהגדרה אזורית אסור כי קידוד בצד השרת.\n" +"קידוד ברירת המחדל של מסד הנתונים יוגדר ל \"%s\" במקום.\n" + +#: initdb.c:2499 +#, c-format +msgid "%s: locale \"%s\" requires unsupported encoding \"%s\"\n" +msgstr "תכנית %s: הגדרה אזורית \"%s\" דורשת קידוד אשר לא נתמך \"%s\"\n" + +#: initdb.c:2502 +#, c-format +msgid "" +"Encoding \"%s\" is not allowed as a server-side encoding.\n" +"Rerun %s with a different locale selection.\n" +msgstr "" +"קידוד '%s' אינו מותר בקידוד בצד השרת.\n" +"הפעל מחדש את %s עם בחירה של הגדרה אזורית שונה.\n" + +#: initdb.c:2511 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "קידוד ברירת המחדל של מסד הנתונים בהתאם הוגדר ל \"%s\".\n" + +#: initdb.c:2582 +#, c-format +msgid "" +"%s: could not find suitable text search configuration for locale \"%s\"\n" +msgstr "" +"תכנית %s: לא היתה אפשרות למצוא תצורת חיפוש טקסט מתאים עבור הגדרות אזור \"%s" +"\"\n" + +#: initdb.c:2593 +#, c-format +msgid "" +"%s: warning: suitable text search configuration for locale \"%s\" is " +"unknown\n" +msgstr "" +"תכנית %s: אזהרה: תצורת חיפוש טקסט מתאים עבור הגדרות אזוריות '%s' אינו " +"ידוע\n" + +#: initdb.c:2598 +#, c-format +msgid "" +"%s: warning: specified text search configuration \"%s\" might not match " +"locale \"%s\"\n" +msgstr "" +"תכנית %s: אזהרה: תצורה חיפוש טקסט אשר צוינה \"%s\" עלולה לא להתאים להגדרות " +"אזוריות \"%s\"\n" + +#: initdb.c:2603 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "תצורת ברירת המחדל של חיפוש טקסט תוגדר \"%s\".\n" + +#: initdb.c:2647 initdb.c:2733 +#, c-format +msgid "creating directory %s ... " +msgstr "יצירת הספריה %s... " + +#: initdb.c:2653 initdb.c:2739 initdb.c:2807 initdb.c:2863 +#, c-format +msgid "%s: could not create directory \"%s\": %s\n" +msgstr "תכנית %s: לא היתה אפשרות ליצור תיקייה \"%s\": %s\n" + +#: initdb.c:2665 initdb.c:2751 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "תיקון הרשאות בספריה קיימת %s... " + +#: initdb.c:2671 initdb.c:2757 +#, c-format +msgid "%s: could not change permissions of directory \"%s\": %s\n" +msgstr "תכנית %s: לא היתה אפשרות לשנות הרשאות עבור תיקייה \"%s\": %s\n" + +#: initdb.c:2686 initdb.c:2772 +#, c-format +msgid "%s: directory \"%s\" exists but is not empty\n" +msgstr "תכנית %s: תיקייה \"%s\" קיימת, אך אינה ריקה\n" + +#: initdb.c:2692 +#, c-format +msgid "" +"If you want to create a new database system, either remove or empty\n" +"the directory \"%s\" or run %s\n" +"with an argument other than \"%s\".\n" +msgstr "" +"אם ברצונך ליצור מערכת מסד נתונים חדש, הסר או לרוקן את הספריה\n" +"\"%s\" או להפעיל את %s\n" +"עם ארגומנט שאינו \"%s\".\n" + +#: initdb.c:2700 initdb.c:2785 initdb.c:3137 +#, c-format +msgid "%s: could not access directory \"%s\": %s\n" +msgstr "תכנית %s: לא ניתן לגשת לתיקייה \"%s\": %s\n" + +#: initdb.c:2724 +#, c-format +msgid "%s: WAL directory location must be an absolute path\n" +msgstr "תכנית %s: המיקום התיקייה עבור WAL חייב להיות נתיב מוחלט\n" + +#: initdb.c:2778 +#, c-format +msgid "" +"If you want to store the WAL there, either remove or empty the directory\n" +"\"%s\".\n" +msgstr "" +"אם ברצונך לאחסן את WAL שם, הסר או לרוקן את הספריה\n" +"\"%s\"\n" + +#: initdb.c:2793 +#, c-format +msgid "%s: could not create symbolic link \"%s\": %s\n" +msgstr "תכנית %s: לא ניתן ליצור קישור סמלי \"%s\": %s\n" + +#: initdb.c:2798 +#, c-format +msgid "%s: symlinks are not supported on this platform" +msgstr "תכנית %s: קישורים סימבוליים אינם נתמכים בפלטפורמה זו" + +#: initdb.c:2822 +#, c-format +msgid "" +"It contains a dot-prefixed/invisible file, perhaps due to it being a mount " +"point.\n" +msgstr "" +"הוא מכיל קובץ שר מתחיל בנקודה/בלתי-נראה, אולי עקב היותו נקודת עגינה.\n" + +#: initdb.c:2825 +#, c-format +msgid "" +"It contains a lost+found directory, perhaps due to it being a mount point.\n" +msgstr "הוא מכיל תיקייה אבדות ומציאות, אולי עקב היותו נקודת עגינה.\n" + +#: initdb.c:2828 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point.\n" +msgstr "" +"באמצעות נקודת עגינה ישירות כספריית הנתונים אינו מומלץ.\n" +"יש ליצור ספריית משנה תחת נקודת עגינה .\n" + +#: initdb.c:2848 +#, c-format +msgid "creating subdirectories ... " +msgstr "יצירת ספריות משנה... " + +#: initdb.c:2895 +msgid "performing post-bootstrap initialization ... " +msgstr "מבצע איניציאליזציה שלאחר האתחול... " + +#: initdb.c:3047 +#, c-format +msgid "Running in debug mode.\n" +msgstr "פועל במצב איתור באגים.\n" + +#: initdb.c:3051 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "פועל במצב no-clean. טעויות לא ינוקו.\n" + +#: initdb.c:3122 +#, c-format +msgid "%s: too many command-line arguments (first is \"%s\")\n" +msgstr "תכנית %s: יותר מדי ארגומנטים של שורת הפקודה (הראשון הוא \"%s\")\n" + +#: initdb.c:3142 initdb.c:3208 +msgid "syncing data to disk ... " +msgstr "סינכרון נתונים בדיסק... " + +#: initdb.c:3151 +#, c-format +msgid "%s: password prompt and password file cannot be specified together\n" +msgstr "תכנית %s: לא ניתן לציין את דרישת הסיסמה ממשתמש ואת קובץ הסיסמה יחד\n" + +#: initdb.c:3175 +#, c-format +msgid "" +"%s: superuser name \"%s\" is disallowed; role names cannot begin with \"pg_" +"\"\n" +msgstr "" +"תכנית %s: משתמש על בשם \"%s\" מוגדר כאסור; שמות התפקידים אינם יכולים " +"להתחיל מ\"pg_\"\n" + +#: initdb.c:3179 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"הקבצים השייכים למסד נתונים זה יהיו בבעלות המשתמש \"%s\".\n" +"תהליך השרת יהיה בבעלות של משתמש זה גם .\n" +"\n" + +#: initdb.c:3195 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "בדיקת דף הנתונים זמינה.\n" + +#: initdb.c:3197 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "בדיקת דף הנתונים אינה זמינה.\n" + +#: initdb.c:3214 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"דילוג על סנכרון לדיסק.\n" +"הספרית הנתונים עלולה להפוך למושחתת אם מערכת ההפעלה תקרוס.\n" + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3240 +msgid "logfile" +msgstr "יומן" + +#: initdb.c:3242 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"הצלחה. עכשיו אתה יכול להפעיל את שרת מסד הנתונים באמצעות:\n" +"\n" +" %s\n" +"\n" diff --git a/src/bin/initdb/po/it.po b/src/bin/initdb/po/it.po new file mode 100644 index 0000000..3a3b764 --- /dev/null +++ b/src/bin/initdb/po/it.po @@ -0,0 +1,1168 @@ +# +# initdb.po +# Italian message translation file for initdb +# +# For development and bug report please use: +# https://github.com/dvarrazzo/postgresql-it +# +# Copyright (C) 2012-2017 PostgreSQL Global Development Group +# Copyright (C) 2010, Associazione Culturale ITPUG +# +# Daniele Varrazzo <daniele.varrazzo@gmail.com>, 2012-2017 +# Flavio Spada <flavio.spada@itpug.org>, 2010 +# Ottavio Campana <campana@oc-si.it>, 2007. +# Fabrizio Mazzoni <veramente@libero.it>, 2003. +# +# This file is distributed under the same license as the PostgreSQL package. +# +msgid "" +msgstr "" +"Project-Id-Version: initdb (PostgreSQL) 11\n" +"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" +"POT-Creation-Date: 2022-09-26 08:19+0000\n" +"PO-Revision-Date: 2023-09-05 07:54+0200\n" +"Last-Translator: Daniele Varrazzo <daniele.varrazzo@gmail.com>\n" +"Language-Team: https://github.com/dvarrazzo/postgresql-it\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Poedit-SourceCharset: utf-8\n" +"X-Generator: Poedit 3.1.1\n" + +#: ../../../src/common/logging.c:276 +#, c-format +msgid "error: " +msgstr "errore: " + +#: ../../../src/common/logging.c:283 +#, c-format +msgid "warning: " +msgstr "avvertimento: " + +#: ../../../src/common/logging.c:294 +#, c-format +msgid "detail: " +msgstr "dettaglio: " + +#: ../../../src/common/logging.c:301 +#, c-format +msgid "hint: " +msgstr "suggerimento: " + +#: ../../common/exec.c:149 ../../common/exec.c:266 ../../common/exec.c:312 +#, c-format +msgid "could not identify current directory: %m" +msgstr "impossibile identificare la directory corrente: %m" + +#: ../../common/exec.c:168 +#, c-format +msgid "invalid binary \"%s\"" +msgstr "binario non valido \"%s\"" + +#: ../../common/exec.c:218 +#, c-format +msgid "could not read binary \"%s\"" +msgstr "lettura del binario \"%s\" fallita" + +#: ../../common/exec.c:226 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "programma \"%s\" da eseguire non trovato" + +#: ../../common/exec.c:282 ../../common/exec.c:321 +#, c-format +msgid "could not change directory to \"%s\": %m" +msgstr "spostamento nella directory \"%s\" fallito: %m" + +#: ../../common/exec.c:299 +#, c-format +msgid "could not read symbolic link \"%s\": %m" +msgstr "lettura del link simbolico \"%s\" fallita: %m" + +#: ../../common/exec.c:422 +#, c-format +msgid "%s() failed: %m" +msgstr "%s() non riuscito: %m" + +#: ../../common/exec.c:560 ../../common/exec.c:605 ../../common/exec.c:697 +#: initdb.c:334 +#, c-format +msgid "out of memory" +msgstr "memoria esaurita" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:162 +#, c-format +msgid "out of memory\n" +msgstr "memoria esaurita\n" + +#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:154 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "impossibile duplicare il puntatore nullo (errore interno)\n" + +#: ../../common/file_utils.c:87 ../../common/file_utils.c:451 +#, c-format +msgid "could not stat file \"%s\": %m" +msgstr "non è stato possibile ottenere informazioni sul file \"%s\": %m" + +#: ../../common/file_utils.c:166 ../../common/pgfnames.c:48 +#, c-format +msgid "could not open directory \"%s\": %m" +msgstr "apertura della directory \"%s\" fallita: %m" + +#: ../../common/file_utils.c:200 ../../common/pgfnames.c:69 +#, c-format +msgid "could not read directory \"%s\": %m" +msgstr "lettura della directory \"%s\" fallita: %m" + +#: ../../common/file_utils.c:232 ../../common/file_utils.c:291 +#: ../../common/file_utils.c:365 +#, c-format +msgid "could not open file \"%s\": %m" +msgstr "apertura del file \"%s\" fallita: %m" + +#: ../../common/file_utils.c:303 ../../common/file_utils.c:373 +#, c-format +msgid "could not fsync file \"%s\": %m" +msgstr "fsync del file \"%s\" fallito: %m" + +#: ../../common/file_utils.c:383 +#, c-format +msgid "could not rename file \"%s\" to \"%s\": %m" +msgstr "non è stato possibile rinominare il file \"%s\" in \"%s\": %m" + +#: ../../common/pgfnames.c:74 +#, c-format +msgid "could not close directory \"%s\": %m" +msgstr "impossibile chiudere la directory \"%s\": %m" + +#: ../../common/restricted_token.c:64 +#, c-format +msgid "could not load library \"%s\": error code %lu" +msgstr "impossibile caricare la libreria \"%s\": codice di errore %lu" + +#: ../../common/restricted_token.c:73 +#, c-format +msgid "cannot create restricted tokens on this platform: error code %lu" +msgstr "impossibile creare token con restrizioni su questa piattaforma: codice di errore %lu" + +#: ../../common/restricted_token.c:82 +#, c-format +msgid "could not open process token: error code %lu" +msgstr "impossibile aprire il token di processo: codice di errore %lu" + +#: ../../common/restricted_token.c:97 +#, c-format +msgid "could not allocate SIDs: error code %lu" +msgstr "impossibile allocare i SID: codice di errore %lu" + +#: ../../common/restricted_token.c:119 +#, c-format +msgid "could not create restricted token: error code %lu" +msgstr "impossibile creare token limitato: codice di errore %lu" + +#: ../../common/restricted_token.c:140 +#, c-format +msgid "could not start process for command \"%s\": error code %lu" +msgstr "impossibile avviare il processo per il comando \"%s\": codice di errore %lu" + +#: ../../common/restricted_token.c:178 +#, c-format +msgid "could not re-execute with restricted token: error code %lu" +msgstr "impossibile rieseguire con token limitato: codice di errore %lu" + +#: ../../common/restricted_token.c:193 +#, c-format +msgid "could not get exit code from subprocess: error code %lu" +msgstr "impossibile ottenere il codice di uscita dal processo secondario: codice di errore %lu" + +#: ../../common/rmtree.c:79 +#, c-format +msgid "could not stat file or directory \"%s\": %m" +msgstr "non è stato possibile ottenere informazioni sul file o directory \"%s\": %m" + +#: ../../common/rmtree.c:101 ../../common/rmtree.c:113 +#, c-format +msgid "could not remove file or directory \"%s\": %m" +msgstr "impossibile rimuovere il file o la directory \"%s\": %m" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "impossibile cercare l'ID utente effettivo %ld: %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "l'utente non esiste" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "ricerca del nome utente fallita: codice di errore %lu" + +#: ../../common/wait_error.c:45 +#, c-format +msgid "command not executable" +msgstr "comando non eseguibile" + +#: ../../common/wait_error.c:49 +#, c-format +msgid "command not found" +msgstr "comando non trovato" + +#: ../../common/wait_error.c:54 +#, c-format +msgid "child process exited with exit code %d" +msgstr "processo figlio uscito con codice di uscita %d" + +#: ../../common/wait_error.c:62 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "processo figlio terminato da eccezione 0x%X" + +#: ../../common/wait_error.c:66 +#, c-format +msgid "child process was terminated by signal %d: %s" +msgstr "il processo figlio è stato terminato dal segnale %d: %s" + +#: ../../common/wait_error.c:72 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "processo figlio uscito con stato non riconosciuto %d" + +#: ../../port/dirmod.c:221 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "non è stato possibile impostare la giunzione per \"%s\": %s\n" + +#: ../../port/dirmod.c:298 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "non è stato possibile ottenere la giunzione per \"%s\": %s\n" + +#: initdb.c:464 initdb.c:1459 +#, c-format +msgid "could not open file \"%s\" for reading: %m" +msgstr "apertura del file \"%s\" in lettura fallita: %m" + +#: initdb.c:505 initdb.c:809 initdb.c:829 +#, c-format +msgid "could not open file \"%s\" for writing: %m" +msgstr "apertura del file \"%s\" in scrittura fallita: %m" + +#: initdb.c:509 initdb.c:812 initdb.c:831 +#, c-format +msgid "could not write file \"%s\": %m" +msgstr "scrittura nel file \"%s\" fallita: %m" + +#: initdb.c:513 +#, c-format +msgid "could not close file \"%s\": %m" +msgstr "chiusura del file \"%s\" fallita: %m" + +#: initdb.c:529 +#, c-format +msgid "could not execute command \"%s\": %m" +msgstr "esecuzione del comando \"%s\" fallita: %m" + +#: initdb.c:547 +#, c-format +msgid "removing data directory \"%s\"" +msgstr "rimozione della directory dei dati \"%s\"" + +#: initdb.c:549 +#, c-format +msgid "failed to remove data directory" +msgstr "impossibile rimuovere la directory dei dati" + +#: initdb.c:553 +#, c-format +msgid "removing contents of data directory \"%s\"" +msgstr "rimozione del contenuto della directory dei dati \"%s\"" + +#: initdb.c:556 +#, c-format +msgid "failed to remove contents of data directory" +msgstr "impossibile rimuovere il contenuto della directory dei dati" + +#: initdb.c:561 +#, c-format +msgid "removing WAL directory \"%s\"" +msgstr "rimozione della directory WAL \"%s\"" + +#: initdb.c:563 +#, c-format +msgid "failed to remove WAL directory" +msgstr "impossibile rimuovere la directory WAL" + +#: initdb.c:567 +#, c-format +msgid "removing contents of WAL directory \"%s\"" +msgstr "rimozione del contenuto della directory WAL \"%s\"" + +#: initdb.c:569 +#, c-format +msgid "failed to remove contents of WAL directory" +msgstr "impossibile rimuovere il contenuto della directory WAL" + +#: initdb.c:576 +#, c-format +msgid "data directory \"%s\" not removed at user's request" +msgstr "directory dati \"%s\" non rimossa su richiesta dell'utente" + +#: initdb.c:580 +#, c-format +msgid "WAL directory \"%s\" not removed at user's request" +msgstr "Directory WAL \"%s\" non rimossa su richiesta dell'utente" + +#: initdb.c:598 +#, c-format +msgid "cannot be run as root" +msgstr "non può essere eseguito come root" + +#: initdb.c:599 +#, c-format +msgid "Please log in (using, e.g., \"su\") as the (unprivileged) user that will own the server process." +msgstr "Effettua il login (usando, ad esempio, \"su\") come utente (senza privilegi) che sarà proprietario del processo del server." + +#: initdb.c:631 +#, c-format +msgid "\"%s\" is not a valid server encoding name" +msgstr "\"%s\" non è un nome di codifica del server valido" + +#: initdb.c:775 +#, c-format +msgid "file \"%s\" does not exist" +msgstr "il file \"%s\" non esiste" + +#: initdb.c:776 initdb.c:781 initdb.c:788 +#, c-format +msgid "This might mean you have a corrupted installation or identified the wrong directory with the invocation option -L." +msgstr "Ciò potrebbe significare che hai un'installazione danneggiata o che hai identificato la directory errata con l'opzione di chiamata -L." + +#: initdb.c:780 +#, c-format +msgid "could not access file \"%s\": %m" +msgstr "accesso al file \"%s\" fallito: %m" + +#: initdb.c:787 +#, c-format +msgid "file \"%s\" is not a regular file" +msgstr "il file \"%s\" non è un file normale" + +#: initdb.c:922 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "selezione dell'implementazione della memoria dinamica ... " + +#: initdb.c:931 +#, c-format +msgid "selecting default max_connections ... " +msgstr "selezione del parametro max_connections predefinito ... " + +#: initdb.c:962 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "selezione di shared_buffers predefinito ... " + +#: initdb.c:996 +#, c-format +msgid "selecting default time zone ... " +msgstr "selezione del fuso orario predefinito... " + +#: initdb.c:1030 +msgid "creating configuration files ... " +msgstr "creazione dei file di configurazione ... " + +#: initdb.c:1188 initdb.c:1204 initdb.c:1287 initdb.c:1299 +#, c-format +msgid "could not change permissions of \"%s\": %m" +msgstr "impossibile modificare le autorizzazioni di \"%s\": %m" + +#: initdb.c:1319 +#, c-format +msgid "running bootstrap script ... " +msgstr "esecuzione dello script di bootstrap ... " + +#: initdb.c:1331 +#, c-format +msgid "input file \"%s\" does not belong to PostgreSQL %s" +msgstr "il file di input \"%s\" non appartiene a PostgreSQL %s" + +#: initdb.c:1333 +#, c-format +msgid "Specify the correct path using the option -L." +msgstr "Specificare il percorso corretto utilizzando l'opzione -L." + +#: initdb.c:1437 +msgid "Enter new superuser password: " +msgstr "Inserisci la nuova password del superutente: " + +#: initdb.c:1438 +msgid "Enter it again: " +msgstr "Conferma password: " + +#: initdb.c:1441 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "Le password non corrispondono.\n" + +#: initdb.c:1465 +#, c-format +msgid "could not read password from file \"%s\": %m" +msgstr "impossibile leggere la password dal file \"%s\": %m" + +#: initdb.c:1468 +#, c-format +msgid "password file \"%s\" is empty" +msgstr "il file della password \"%s\" è vuoto" + +#: initdb.c:1915 +#, c-format +msgid "caught signal\n" +msgstr "intercettato segnale\n" + +#: initdb.c:1921 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "scrittura verso il processo figlio fallita: %s\n" + +#: initdb.c:1929 +#, c-format +msgid "ok\n" +msgstr "ok\n" + +#: initdb.c:2018 +#, c-format +msgid "setlocale() failed" +msgstr "setlocale() non è riuscito" + +#: initdb.c:2036 +#, c-format +msgid "failed to restore old locale \"%s\"" +msgstr "impossibile ripristinare la vecchia lingua \"%s\"" + +#: initdb.c:2043 +#, c-format +msgid "invalid locale name \"%s\"" +msgstr "nome locale \"%s\" non valido" + +#: initdb.c:2054 +#, c-format +msgid "invalid locale settings; check LANG and LC_* environment variables" +msgstr "impostazioni locali non valide; controlla le variabili di ambiente LANG e LC_*" + +#: initdb.c:2080 initdb.c:2104 +#, c-format +msgid "encoding mismatch" +msgstr "mancata corrispondenza della codifica" + +#: initdb.c:2081 +#, c-format +msgid "The encoding you selected (%s) and the encoding that the selected locale uses (%s) do not match. This would lead to misbehavior in various character string processing functions." +msgstr "La codifica selezionata (%s) e la codifica utilizzata dalla locale selezionata (%s) non corrispondono. Ciò comporterebbe un comportamento scorretto in varie funzioni di elaborazione delle stringhe di caratteri." + +#: initdb.c:2086 initdb.c:2107 +#, c-format +msgid "Rerun %s and either do not specify an encoding explicitly, or choose a matching combination." +msgstr "Riesegui %s e non specificare una codifica in modo esplicito oppure scegli una combinazione corrispondente." + +#: initdb.c:2105 +#, c-format +msgid "The encoding you selected (%s) is not supported with the ICU provider." +msgstr "La codifica selezionata (%s) non è supportata dal provider di terapia intensiva." + +#: initdb.c:2169 +#, c-format +msgid "ICU locale must be specified" +msgstr "È necessario specificare la lingua dell'ICU" + +#: initdb.c:2176 +#, c-format +msgid "ICU is not supported in this build" +msgstr "ICU non supportato in questo build" + +#: initdb.c:2187 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"%s inizializza un cluster di database PostgreSQL.\n" +"\n" + +#: initdb.c:2188 +#, c-format +msgid "Usage:\n" +msgstr "Utilizzo:\n" + +#: initdb.c:2189 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [OPZIONE]... [DATADIR]\n" + +#: initdb.c:2190 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"Opzioni:\n" + +#: initdb.c:2191 +#, c-format +msgid " -A, --auth=METHOD default authentication method for local connections\n" +msgstr "" +" -A, --auth=METODO metodo di autenticazione predefinito per le\n" +" connessioni locali\n" + +#: initdb.c:2192 +#, c-format +msgid " --auth-host=METHOD default authentication method for local TCP/IP connections\n" +msgstr "" +" --auth-host=METODO metodo di autenticazione predefinito per le\n" +" connessioni TCP/IP\n" + +#: initdb.c:2193 +#, c-format +msgid " --auth-local=METHOD default authentication method for local-socket connections\n" +msgstr "" +" --auth-local=METODO metodo di autenticazione predefinito per le\n" +" connessioni locali\n" + +#: initdb.c:2194 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr " [-D, --pgdata=]DATADIR dove creare questo cluster di database\n" + +#: initdb.c:2195 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr "" +" -E, --encoding=ENCODING imposta la codifica predefinita per i nuovi\n" +" database\n" + +#: initdb.c:2196 +#, c-format +msgid " -g, --allow-group-access allow group read/execute on data directory\n" +msgstr " -g, --allow-group-access permette read/execute di gruppo sulla directory dati\n" + +#: initdb.c:2197 +#, c-format +msgid " --icu-locale=LOCALE set ICU locale ID for new databases\n" +msgstr " --icu-locale=LOCALE imposta l'ID locale ICU per i nuovi database\n" + +#: initdb.c:2198 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr " -k, --data-checksums usa i checksum delle pagine dati\n" + +#: initdb.c:2199 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr "" +" --locale=LOCALE imposta il locale predefinito per i nuovi\n" +" database\n" + +#: initdb.c:2200 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate, --lc-ctype, --lc-messages=LOCALE\n" +" --lc-monetary, --lc-numeric, --lc-time=LOCALE\n" +" inizializza il nuovo cluster di database con il\n" +" locale specificato nella categoria corrispondente.\n" +" Il valore predefinito viene preso dalle variabili\n" +" d'ambiente\n" + +#: initdb.c:2204 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale equivalente a --locale=C\n" + +#: initdb.c:2205 +#, c-format +msgid "" +" --locale-provider={libc|icu}\n" +" set default locale provider for new databases\n" +msgstr "" +" --locale-provider={libc|icu}\n" +" impostare il provider delle impostazioni locali predefinito per i nuovi database\n" + +#: initdb.c:2207 +#, c-format +msgid " --pwfile=FILE read password for the new superuser from file\n" +msgstr " --pwfile=FILE leggi la password per il nuovo superutente dal file\n" + +#: initdb.c:2208 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T, --text-search-config=CFG\n" +" configurazione predefinita per la ricerca di testo\n" + +#: initdb.c:2210 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=NOME nome del superutente del database\n" + +#: initdb.c:2211 +#, c-format +msgid " -W, --pwprompt prompt for a password for the new superuser\n" +msgstr " -W, --pwprompt richiedi la password per il nuovo superutente\n" + +#: initdb.c:2212 +#, c-format +msgid " -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr " -X, --waldir=WALDIR locazione della la directory di write-ahead log\n" + +#: initdb.c:2213 +#, c-format +msgid " --wal-segsize=SIZE size of WAL segments, in megabytes\n" +msgstr " --wal-segsize=SIZE dimensioni dei segmenti WAL, in megabyte\n" + +#: initdb.c:2214 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"Opzioni utilizzate meno frequentemente:\n" + +#: initdb.c:2215 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr " -d, --debug genera molto output di debug\n" + +#: initdb.c:2216 +#, c-format +msgid " --discard-caches set debug_discard_caches=1\n" +msgstr " --discard-caches imposta debug_discard_caches=1\n" + +#: initdb.c:2217 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr " -L DIRECTORY dove trovare i file di input\n" + +#: initdb.c:2218 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr " -n, --no-clean non ripulire dopo gli errori\n" + +#: initdb.c:2219 +#, c-format +msgid " -N, --no-sync do not wait for changes to be written safely to disk\n" +msgstr "" +" -N, --no-sync non aspettare che i dati siano scritti con sicurezza\n" +" sul disco\n" + +#: initdb.c:2220 +#, c-format +msgid " --no-instructions do not print instructions for next steps\n" +msgstr " --no-instructions non stampa le istruzioni per i passaggi successivi\n" + +#: initdb.c:2221 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show mostra le impostazioni interne\n" + +#: initdb.c:2222 +#, c-format +msgid " -S, --sync-only only sync database files to disk, then exit\n" +msgstr " -S, --sync-only only sync database files to disk, then exit\n" + +#: initdb.c:2223 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"Altre opzioni:\n" + +#: initdb.c:2224 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr " -V, --version mostra informazioni sulla versione ed esci\n" + +#: initdb.c:2225 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr " -?, --help mostra questo aiuto ed esci\n" + +#: initdb.c:2226 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"Se la directory dati non è specificata, viene usata la variabile\n" +"d'ambiente PGDATA.\n" + +#: initdb.c:2228 +#, c-format +msgid "" +"\n" +"Report bugs to <%s>.\n" +msgstr "" +"\n" +"Segnala i bug a <%s>.\n" + +#: initdb.c:2229 +#, c-format +msgid "%s home page: <%s>\n" +msgstr "Pagina iniziale di %s: <%s>\n" + +#: initdb.c:2257 +#, c-format +msgid "invalid authentication method \"%s\" for \"%s\" connections" +msgstr "metodo di autenticazione \"%s\" non valido per le connessioni \"%s\"" + +#: initdb.c:2271 +#, c-format +msgid "must specify a password for the superuser to enable password authentication" +msgstr "deve specificare una password per il superutente per abilitare l'autenticazione della password" + +#: initdb.c:2290 +#, c-format +msgid "no data directory specified" +msgstr "nessuna directory di dati specificata" + +#: initdb.c:2291 +#, c-format +msgid "You must identify the directory where the data for this database system will reside. Do this with either the invocation option -D or the environment variable PGDATA." +msgstr "È necessario identificare la directory in cui risiedono i dati per questo sistema di database. Fallo con l'opzione di chiamata -D o la variabile di ambiente PGDATA." + +#: initdb.c:2308 +#, c-format +msgid "could not set environment" +msgstr "non è stato possibile impostare l'ambiente" + +#: initdb.c:2326 +#, c-format +msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"" +msgstr "il programma \"%s\" è necessario per %s ma non è stato trovato nella stessa directory di \"%s\"" + +#: initdb.c:2329 +#, c-format +msgid "program \"%s\" was found by \"%s\" but was not the same version as %s" +msgstr "il programma \"%s\" è stato trovato da \"%s\" ma non era della stessa versione di %s" + +#: initdb.c:2344 +#, c-format +msgid "input file location must be an absolute path" +msgstr "il percorso del file di input deve essere un percorso assoluto" + +#: initdb.c:2361 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "Il cluster di database sarà inizializzato con il locale \"%s\".\n" + +#: initdb.c:2364 +#, c-format +msgid "The database cluster will be initialized with this locale configuration:\n" +msgstr "Il cluster di database verrà inizializzato con questa configurazione locale:\n" + +#: initdb.c:2365 +#, c-format +msgid " provider: %s\n" +msgstr " fornitore: %s\n" + +#: initdb.c:2367 +#, c-format +msgid " ICU locale: %s\n" +msgstr " Locale ICU: %s\n" + +#: initdb.c:2368 +#, c-format +msgid "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" +msgstr "" +"LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGGI: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" + +#: initdb.c:2385 +#, c-format +msgid "The default database encoding has been set to \"%s\".\n" +msgstr "La codifica del database predefinita è stata impostata su \"%s\".\n" + +#: initdb.c:2397 +#, c-format +msgid "could not find suitable encoding for locale \"%s\"" +msgstr "non è stato possibile trovare la codifica adatta per la locale \"%s\"" + +#: initdb.c:2399 +#, c-format +msgid "Rerun %s with the -E option." +msgstr "Riesegui %s con l'opzione -E." + +#: initdb.c:2400 initdb.c:3021 initdb.c:3041 +#, c-format +msgid "Try \"%s --help\" for more information." +msgstr "Prova \"%s --help\" per maggiori informazioni." + +#: initdb.c:2412 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"La codifica \"%s\" implicata dal locale non è consentita come codifica lato server.\n" +"La codifica predefinita dei database sarà impostata invece a \"%s\".\n" + +#: initdb.c:2417 +#, c-format +msgid "locale \"%s\" requires unsupported encoding \"%s\"" +msgstr "la lingua \"%s\" richiede una codifica non supportata \"%s\"" + +#: initdb.c:2419 +#, c-format +msgid "Encoding \"%s\" is not allowed as a server-side encoding." +msgstr "La codifica \"%s\" non è consentita come codifica lato server." + +#: initdb.c:2421 +#, c-format +msgid "Rerun %s with a different locale selection." +msgstr "Riesegui %s con una selezione di locale diversa." + +#: initdb.c:2429 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "La codifica predefinita del database è stata impostata a \"%s\".\n" + +#: initdb.c:2498 +#, c-format +msgid "could not find suitable text search configuration for locale \"%s\"" +msgstr "non è stato possibile trovare una configurazione di ricerca del testo adatta per la locale \"%s\"" + +#: initdb.c:2509 +#, c-format +msgid "suitable text search configuration for locale \"%s\" is unknown" +msgstr "la configurazione di ricerca del testo adatta per la locale \"%s\" è sconosciuta" + +#: initdb.c:2514 +#, c-format +msgid "specified text search configuration \"%s\" might not match locale \"%s\"" +msgstr "la configurazione di ricerca del testo specificata \"%s\" potrebbe non corrispondere alla locale \"%s\"" + +#: initdb.c:2519 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "La configurazione predefinita di ricerca testo sarà impostata a \"%s\".\n" + +#: initdb.c:2562 initdb.c:2633 +#, c-format +msgid "creating directory %s ... " +msgstr "creazione della directory %s ... " + +#: initdb.c:2567 initdb.c:2638 initdb.c:2690 initdb.c:2746 +#, c-format +msgid "could not create directory \"%s\": %m" +msgstr "creazione della directory \"%s\" fallita: %m" + +#: initdb.c:2576 initdb.c:2648 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "correzione dei permessi sulla directory esistente %s ... " + +#: initdb.c:2581 initdb.c:2653 +#, c-format +msgid "could not change permissions of directory \"%s\": %m" +msgstr "impossibile modificare i permessi della directory \"%s\": %m" + +#: initdb.c:2593 initdb.c:2665 +#, c-format +msgid "directory \"%s\" exists but is not empty" +msgstr "la directory \"%s\" esiste ma non è vuota" + +#: initdb.c:2597 +#, c-format +msgid "If you want to create a new database system, either remove or empty the directory \"%s\" or run %s with an argument other than \"%s\"." +msgstr "Se vuoi creare un nuovo sistema di database, rimuovi o svuota la directory \"%s\" oppure esegui %s con un argomento diverso da \"%s\"." + +#: initdb.c:2605 initdb.c:2675 initdb.c:3058 +#, c-format +msgid "could not access directory \"%s\": %m" +msgstr "accesso alla directory \"%s\" fallito: %m" + +#: initdb.c:2626 +#, c-format +msgid "WAL directory location must be an absolute path" +msgstr "Il percorso della directory WAL deve essere un percorso assoluto" + +#: initdb.c:2669 +#, c-format +msgid "If you want to store the WAL there, either remove or empty the directory \"%s\"." +msgstr "Se vuoi archiviare il WAL lì, rimuovi o svuota la directory \"%s\"." + +#: initdb.c:2680 +#, c-format +msgid "could not create symbolic link \"%s\": %m" +msgstr "creazione del link simbolico \"%s\" fallita: %m" + +#: initdb.c:2683 +#, c-format +msgid "symlinks are not supported on this platform" +msgstr "i collegamenti simbolici non sono supportati su questa piattaforma" + +#: initdb.c:2702 +#, c-format +msgid "It contains a dot-prefixed/invisible file, perhaps due to it being a mount point." +msgstr "Contiene un file con prefisso punto/invisibile, forse perché è un punto di montaggio." + +#: initdb.c:2704 +#, c-format +msgid "It contains a lost+found directory, perhaps due to it being a mount point." +msgstr "Contiene una directory persa + trovata, forse a causa del fatto che è un punto di montaggio." + +#: initdb.c:2706 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point." +msgstr "" +"Non è consigliabile utilizzare un punto di montaggio direttamente come directory dei dati.\n" +"Crea una sottodirectory sotto il punto di montaggio." + +#: initdb.c:2732 +#, c-format +msgid "creating subdirectories ... " +msgstr "creazione delle sottodirectory ... " + +#: initdb.c:2775 +msgid "performing post-bootstrap initialization ... " +msgstr "esecuzione dell'inizializzazione successiva al bootstrap ... " + +#: initdb.c:2940 +#, c-format +msgid "Running in debug mode.\n" +msgstr "Esecuzione in modalità debug\n" + +#: initdb.c:2944 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "Esecuzione in modalità senza pulizia. Gli errori non verranno ripuliti.\n" + +#: initdb.c:3014 +#, c-format +msgid "unrecognized locale provider: %s" +msgstr "provider locale non riconosciuto: %s" + +#: initdb.c:3039 +#, c-format +msgid "too many command-line arguments (first is \"%s\")" +msgstr "troppi argomenti della riga di comando (il primo è \"%s\")" + +#: initdb.c:3046 +#, c-format +msgid "%s cannot be specified unless locale provider \"%s\" is chosen" +msgstr "%s non può essere specificato a meno che non venga scelto il provider di impostazioni locali \"%s\"" + +#: initdb.c:3060 initdb.c:3137 +msgid "syncing data to disk ... " +msgstr "sincronizzazione dati sul disco ... " + +#: initdb.c:3068 +#, c-format +msgid "password prompt and password file cannot be specified together" +msgstr "la richiesta della password e il file della password non possono essere specificati insieme" + +#: initdb.c:3090 +#, c-format +msgid "argument of --wal-segsize must be a number" +msgstr "l'argomento di --wal-segsize deve essere un numero" + +#: initdb.c:3092 +#, c-format +msgid "argument of --wal-segsize must be a power of 2 between 1 and 1024" +msgstr "argomento di --wal-segsize deve essere una potenza di 2 tra 1 e 1024" + +#: initdb.c:3106 +#, c-format +msgid "superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"" +msgstr "il nome del superutente \"%s\" non è consentito; i nomi dei ruoli non possono iniziare con \"pg_\"" + +#: initdb.c:3108 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"I file di questo database apparterranno all'utente \"%s\".\n" +"Questo utente deve inoltre possedere il processo server.\n" +"\n" + +#: initdb.c:3124 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "La somma di controllo dei dati delle pagine è abilitata.\n" + +#: initdb.c:3126 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "La somma di controllo dei dati delle pagine è disabilitata.\n" + +#: initdb.c:3143 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"Sync sul disco saltato.\n" +"La directory dei dati potrebbe diventare corrotta in caso di crash del sistema operativo.\n" + +#: initdb.c:3148 +#, c-format +msgid "enabling \"trust\" authentication for local connections" +msgstr "abilitare l'autenticazione \"trust\" per le connessioni locali" + +#: initdb.c:3149 +#, c-format +msgid "You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb." +msgstr "Puoi cambiarlo modificando pg_hba.conf o usando l'opzione -A, o --auth-local e --auth-host, la prossima volta che esegui initdb." + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3179 +msgid "logfile" +msgstr "file_log" + +#: initdb.c:3181 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"Successo. Ora puoi avviare il server database con:\n" +"\n" +" %s\n" +"\n" + +#~ msgid "%s: could not access directory \"%s\": %s\n" +#~ msgstr "%s: accesso alla directory \"%s\" fallito: %s\n" + +#~ msgid "%s: could not access file \"%s\": %s\n" +#~ msgstr "%s: accesso al file \"%s\" fallito: %s\n" + +#~ msgid "%s: could not create directory \"%s\": %s\n" +#~ msgstr "%s: creazione della directory \"%s\" fallita: %s\n" + +#~ msgid "%s: could not create symbolic link \"%s\": %s\n" +#~ msgstr "%s: creazione del link simbolico \"%s\" fallita: %s\n" + +#~ msgid "%s: could not execute command \"%s\": %s\n" +#~ msgstr "%s: esecuzione del comando \"%s\" fallita: %s\n" + +#~ msgid "%s: could not fsync file \"%s\": %s\n" +#~ msgstr "%s: fsync del file \"%s\" fallito: %s\n" + +#~ msgid "%s: could not open directory \"%s\": %s\n" +#~ msgstr "%s: apertura della directory \"%s\" fallita: %s\n" + +#~ msgid "%s: could not open file \"%s\" for reading: %s\n" +#~ msgstr "%s: errore nell'apertura del file \"%s\" per la lettura: %s\n" + +#~ msgid "%s: could not open file \"%s\" for writing: %s\n" +#~ msgstr "%s: errore nell'apertura del file \"%s\" per la scrittura: %s\n" + +#~ msgid "%s: could not open file \"%s\": %s\n" +#~ msgstr "%s: apertura del file \"%s\" fallita: %s\n" + +#~ msgid "%s: could not read directory \"%s\": %s\n" +#~ msgstr "%s: lettura della directory \"%s\" fallita: %s\n" + +#~ msgid "%s: could not rename file \"%s\" to \"%s\": %s\n" +#~ msgstr "%s: non è stato possibile rinominare il file \"%s\" in \"%s\": %s\n" + +#~ msgid "%s: could not stat file \"%s\": %s\n" +#~ msgstr "%s: non è stato possibile ottenere informazioni sul file \"%s\": %s\n" + +#~ msgid "%s: could not write file \"%s\": %s\n" +#~ msgstr "%s: errore nella scrittura del file \"%s\": %s\n" + +#~ msgid "%s: file \"%s\" does not exist\n" +#~ msgstr "%s: il file \"%s\" non esiste\n" + +#~ msgid "" +#~ "%s: input file \"%s\" does not belong to PostgreSQL %s\n" +#~ "Check your installation or specify the correct path using the option -L.\n" +#~ msgstr "" +#~ "%s: il file di input \"%s\" non appartiene a PostgreSQL %s\n" +#~ "Controlla la correttezza dell'installazione oppure specifica\n" +#~ "il percorso corretto con l'opzione -L.\n" + +#~ msgid "%s: invalid locale name \"%s\"\n" +#~ msgstr "%s: nome locale non valido \"%s\"\n" + +#~ msgid "%s: out of memory\n" +#~ msgstr "%s: memoria esaurita\n" + +#~ msgid "" +#~ "The program \"postgres\" is needed by %s but was not found in the\n" +#~ "same directory as \"%s\".\n" +#~ "Check your installation.\n" +#~ msgstr "" +#~ "Il programma \"postgres\" è richiesto da %s ma non è stato trovato\n" +#~ "nella stessa directory \"%s\".\n" +#~ "Verifica la correttezza dell'installazione.\n" + +#~ msgid "" +#~ "The program \"postgres\" was found by \"%s\"\n" +#~ "but was not the same version as %s.\n" +#~ "Check your installation.\n" +#~ msgstr "" +#~ "Il programma \"postgres\" è stato trovato da \"%s\"\n" +#~ "ma non ha la stessa versione di %s.\n" +#~ "Verifica la correttezza dell'installazione.\n" + +#~ msgid "Try \"%s --help\" for more information.\n" +#~ msgstr "Prova \"%s --help\" per maggiori informazioni.\n" + +#~ msgid "child process was terminated by signal %s" +#~ msgstr "processo figlio terminato da segnale %s" + +#~ msgid "could not change directory to \"%s\": %s" +#~ msgstr "spostamento nella directory \"%s\" fallito: %s" + +#~ msgid "could not open directory \"%s\": %s\n" +#~ msgstr "apertura della directory \"%s\" fallita: %s\n" + +#~ msgid "could not read directory \"%s\": %s\n" +#~ msgstr "lettura della directory \"%s\" fallita: %s\n" + +#~ msgid "could not read symbolic link \"%s\"" +#~ msgstr "lettura del link simbolico \"%s\" fallita" + +#~ msgid "could not stat file or directory \"%s\": %s\n" +#~ msgstr "non è stato possibile ottenere informazioni sul file o directory \"%s\": %s\n" + +#~ msgid "pclose failed: %s" +#~ msgstr "pclose fallita: %s" diff --git a/src/bin/initdb/po/ja.po b/src/bin/initdb/po/ja.po new file mode 100644 index 0000000..dc943b5 --- /dev/null +++ b/src/bin/initdb/po/ja.po @@ -0,0 +1,1053 @@ +# Japanese message translation file for initdb +# Copyright (C) 2022 PostgreSQL Global Development Group +# This file is distributed under the same license as the pg_archivecleanup (PostgreSQL) package. +# +msgid "" +msgstr "" +"Project-Id-Version: initdb (PostgreSQL 16)\n" +"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" +"POT-Creation-Date: 2023-08-30 09:20+0900\n" +"PO-Revision-Date: 2023-08-30 09:53+0900\n" +"Last-Translator: Kyotaro Horiguchi <horikyota.ntt@gmail.com>\n" +"Language-Team: Japan PostgreSQL Users Group <jpug-doc@ml.postgresql.jp>\n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 1.8.13\n" + +#: ../../../src/common/logging.c:276 +#, c-format +msgid "error: " +msgstr "エラー: " + +#: ../../../src/common/logging.c:283 +#, c-format +msgid "warning: " +msgstr "警告: " + +#: ../../../src/common/logging.c:294 +#, c-format +msgid "detail: " +msgstr "詳細: " + +#: ../../../src/common/logging.c:301 +#, c-format +msgid "hint: " +msgstr "ヒント: " + +#: ../../common/exec.c:172 +#, c-format +msgid "invalid binary \"%s\": %m" +msgstr "不正なバイナリ\"%s\": %m" + +#: ../../common/exec.c:215 +#, c-format +msgid "could not read binary \"%s\": %m" +msgstr "バイナリ\"%s\"を読み取れませんでした: %m" + +#: ../../common/exec.c:223 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "実行する\"%s\"がありませんでした" + +#: ../../common/exec.c:250 +#, c-format +msgid "could not resolve path \"%s\" to absolute form: %m" +msgstr "パス\"%s\"を絶対パス形式に変換できませんでした: %m" + +#: ../../common/exec.c:412 +#, c-format +msgid "%s() failed: %m" +msgstr "%s() が失敗しました: %m" + +#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687 +#: initdb.c:349 +#, c-format +msgid "out of memory" +msgstr "メモリ不足です" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161 +#, c-format +msgid "out of memory\n" +msgstr "メモリ不足です\n" + +#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "null ポインタを複製できません(内部エラー)。\n" + +#: ../../common/file_utils.c:87 ../../common/file_utils.c:447 +#, c-format +msgid "could not stat file \"%s\": %m" +msgstr "ファイル\"%s\"のstatに失敗しました: %m" + +#: ../../common/file_utils.c:162 ../../common/pgfnames.c:48 +#: ../../common/rmtree.c:63 +#, c-format +msgid "could not open directory \"%s\": %m" +msgstr "ディレクトリ\"%s\"をオープンできませんでした: %m" + +#: ../../common/file_utils.c:196 ../../common/pgfnames.c:69 +#: ../../common/rmtree.c:104 +#, c-format +msgid "could not read directory \"%s\": %m" +msgstr "ディレクトリ\"%s\"を読み取れませんでした: %m" + +#: ../../common/file_utils.c:228 ../../common/file_utils.c:287 +#: ../../common/file_utils.c:361 +#, c-format +msgid "could not open file \"%s\": %m" +msgstr "ファイル\"%s\"をオープンできませんでした: %m" + +#: ../../common/file_utils.c:299 ../../common/file_utils.c:369 +#, c-format +msgid "could not fsync file \"%s\": %m" +msgstr "ファイル\"%s\"をfsyncできませんでした: %m" + +#: ../../common/file_utils.c:379 +#, c-format +msgid "could not rename file \"%s\" to \"%s\": %m" +msgstr "ファイル\"%s\"の名前を\"%s\"に変更できませんでした: %m" + +#: ../../common/pgfnames.c:74 +#, c-format +msgid "could not close directory \"%s\": %m" +msgstr "ディレクトリ\"%s\"をクローズできませんでした: %m" + +#: ../../common/restricted_token.c:60 +#, c-format +msgid "could not open process token: error code %lu" +msgstr "プロセストークンをオープンできませんでした: エラーコード %lu" + +#: ../../common/restricted_token.c:74 +#, c-format +msgid "could not allocate SIDs: error code %lu" +msgstr "SIDを割り当てられませんでした: エラーコード %lu" + +#: ../../common/restricted_token.c:94 +#, c-format +msgid "could not create restricted token: error code %lu" +msgstr "制限付きトークンを生成できませんでした: エラーコード %lu" + +#: ../../common/restricted_token.c:115 +#, c-format +msgid "could not start process for command \"%s\": error code %lu" +msgstr "コマンド\"%s\"のためのプロセスを起動できませんでした: エラーコード %lu" + +#: ../../common/restricted_token.c:153 +#, c-format +msgid "could not re-execute with restricted token: error code %lu" +msgstr "制限付きトークンで再実行できませんでした: %lu" + +#: ../../common/restricted_token.c:168 +#, c-format +msgid "could not get exit code from subprocess: error code %lu" +msgstr "サブプロセスの終了コードを取得できませんでした: エラーコード %lu" + +#: ../../common/rmtree.c:95 +#, c-format +msgid "could not remove file \"%s\": %m" +msgstr "ファイル\"%s\"を削除できませんでした: %m" + +#: ../../common/rmtree.c:122 +#, c-format +msgid "could not remove directory \"%s\": %m" +msgstr "ディレクトリ\"%s\"を削除できませんでした: %m" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "実効ユーザーID %ld が見つかりませんでした: %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "ユーザーが存在しません" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "ユーザー名の参照に失敗: エラーコード %lu" + +#: ../../common/wait_error.c:55 +#, c-format +msgid "command not executable" +msgstr "コマンドは実行形式ではありません" + +#: ../../common/wait_error.c:59 +#, c-format +msgid "command not found" +msgstr "コマンドが見つかりません" + +#: ../../common/wait_error.c:64 +#, c-format +msgid "child process exited with exit code %d" +msgstr "子プロセスが終了コード%dで終了しました" + +#: ../../common/wait_error.c:72 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "子プロセスが例外0x%Xで終了しました" + +#: ../../common/wait_error.c:76 +#, c-format +msgid "child process was terminated by signal %d: %s" +msgstr "子プロセスはシグナル%dにより終了しました: %s" + +#: ../../common/wait_error.c:82 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "子プロセスが未知のステータス%dで終了しました" + +#: ../../port/dirmod.c:287 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "\"%s\"のjunctionを設定できませんでした: %s\n" + +#: ../../port/dirmod.c:367 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "\"%s\"のjunctionを入手できませんでした: %s\n" + +#: initdb.c:618 initdb.c:1613 +#, c-format +msgid "could not open file \"%s\" for reading: %m" +msgstr "ファイル\"%s\"を読み取り用にオープンできませんでした: %m" + +#: initdb.c:662 initdb.c:966 initdb.c:986 +#, c-format +msgid "could not open file \"%s\" for writing: %m" +msgstr "ファイル\"%s\"を書き込み用にオープンできませんでした: %m" + +#: initdb.c:666 initdb.c:969 initdb.c:988 +#, c-format +msgid "could not write file \"%s\": %m" +msgstr "ファイル\"%s\"を書き出せませんでした: %m" + +#: initdb.c:670 +#, c-format +msgid "could not close file \"%s\": %m" +msgstr "ファイル\"%s\"をクローズできませんでした: %m" + +#: initdb.c:686 +#, c-format +msgid "could not execute command \"%s\": %m" +msgstr "コマンド\"%s\"を実行できませんでした: %m" + +#: initdb.c:704 +#, c-format +msgid "removing data directory \"%s\"" +msgstr "データディレクトリ\"%s\"を削除しています" + +#: initdb.c:706 +#, c-format +msgid "failed to remove data directory" +msgstr "データディレクトリの削除に失敗しました" + +#: initdb.c:710 +#, c-format +msgid "removing contents of data directory \"%s\"" +msgstr "データディレクトリ\"%s\"の内容を削除しています" + +#: initdb.c:713 +#, c-format +msgid "failed to remove contents of data directory" +msgstr "データディレクトリの内容の削除に失敗しました" + +#: initdb.c:718 +#, c-format +msgid "removing WAL directory \"%s\"" +msgstr "WAL ディレクトリ\"%s\"を削除しています" + +#: initdb.c:720 +#, c-format +msgid "failed to remove WAL directory" +msgstr "WAL ディレクトリの削除に失敗しました" + +#: initdb.c:724 +#, c-format +msgid "removing contents of WAL directory \"%s\"" +msgstr "WAL ディレクトリ\"%s\"の中身を削除しています" + +#: initdb.c:726 +#, c-format +msgid "failed to remove contents of WAL directory" +msgstr "WAL ディレクトリの中身の削除に失敗しました" + +#: initdb.c:733 +#, c-format +msgid "data directory \"%s\" not removed at user's request" +msgstr "ユーザーの要求によりデータディレクトリ\"%s\"を削除しませんでした" + +#: initdb.c:737 +#, c-format +msgid "WAL directory \"%s\" not removed at user's request" +msgstr "ユーザーの要求により WAL ディレクトリ\"%s\"を削除しませんでした" + +#: initdb.c:755 +#, c-format +msgid "cannot be run as root" +msgstr "root では実行できません" + +#: initdb.c:756 +#, c-format +msgid "Please log in (using, e.g., \"su\") as the (unprivileged) user that will own the server process." +msgstr "サーバープロセスの所有者となる(非特権)ユーザーとして(例えば\"su\"を使用して)ログインしてください。" + +#: initdb.c:788 +#, c-format +msgid "\"%s\" is not a valid server encoding name" +msgstr "\"%s\"は有効なサーバー符号化方式名ではありません" + +#: initdb.c:932 +#, c-format +msgid "file \"%s\" does not exist" +msgstr "ファイル\"%s\"は存在しません" + +#: initdb.c:933 initdb.c:938 initdb.c:945 +#, c-format +msgid "This might mean you have a corrupted installation or identified the wrong directory with the invocation option -L." +msgstr "インストール先が破損しているか実行時オプション-Lで間違ったディレクトリを指定した可能性があります。" + +#: initdb.c:937 +#, c-format +msgid "could not access file \"%s\": %m" +msgstr "ファイル\"%s\"にアクセスできませんでした: %m" + +#: initdb.c:944 +#, c-format +msgid "file \"%s\" is not a regular file" +msgstr "ファイル\"%s\"は通常のファイルではありません" + +#: initdb.c:1077 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "動的共有メモリの実装を選択しています ... " + +#: initdb.c:1086 +#, c-format +msgid "selecting default max_connections ... " +msgstr "デフォルトのmax_connectionsを選択しています ... " + +#: initdb.c:1106 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "デフォルトのshared_buffersを選択しています ... " + +#: initdb.c:1129 +#, c-format +msgid "selecting default time zone ... " +msgstr "デフォルトの時間帯を選択しています ... " + +#: initdb.c:1206 +msgid "creating configuration files ... " +msgstr "設定ファイルを作成しています ... " + +#: initdb.c:1367 initdb.c:1381 initdb.c:1448 initdb.c:1459 +#, c-format +msgid "could not change permissions of \"%s\": %m" +msgstr "\"%s\"の権限を変更できませんでした: %m" + +#: initdb.c:1477 +#, c-format +msgid "running bootstrap script ... " +msgstr "ブートストラップスクリプトを実行しています ... " + +#: initdb.c:1489 +#, c-format +msgid "input file \"%s\" does not belong to PostgreSQL %s" +msgstr "入力ファイル\"%s\"は PostgreSQL %s のものではありません" + +#: initdb.c:1491 +#, c-format +msgid "Specify the correct path using the option -L." +msgstr "-Lオプションを使用して正しいパスを指定してください。" + +#: initdb.c:1591 +msgid "Enter new superuser password: " +msgstr "新しいスーパーユーザーのパスワードを入力してください:" + +#: initdb.c:1592 +msgid "Enter it again: " +msgstr "再入力してください:" + +#: initdb.c:1595 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "パスワードが一致しません。\n" + +#: initdb.c:1619 +#, c-format +msgid "could not read password from file \"%s\": %m" +msgstr "ファイル\"%s\"からパスワードを読み取ることができませんでした: %m" + +#: initdb.c:1622 +#, c-format +msgid "password file \"%s\" is empty" +msgstr "パスワードファイル\"%s\"が空です" + +#: initdb.c:2034 +#, c-format +msgid "caught signal\n" +msgstr "シグナルが発生しました\n" + +#: initdb.c:2040 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "子プロセスへの書き込みができませんでした: %s\n" + +#: initdb.c:2048 +#, c-format +msgid "ok\n" +msgstr "ok\n" + +#: initdb.c:2137 +#, c-format +msgid "setlocale() failed" +msgstr "setlocale()が失敗しました" + +#: initdb.c:2155 +#, c-format +msgid "failed to restore old locale \"%s\"" +msgstr "古いロケール\"%s\"を復元できませんでした" + +#: initdb.c:2163 +#, c-format +msgid "invalid locale name \"%s\"" +msgstr "ロケール名\"%s\"は不正です" + +#: initdb.c:2164 +#, c-format +msgid "If the locale name is specific to ICU, use --icu-locale." +msgstr "ロケール名がICU特有のものである場合は、--icu-localeを使用してください。" + +#: initdb.c:2177 +#, c-format +msgid "invalid locale settings; check LANG and LC_* environment variables" +msgstr "不正なロケール設定; 環境変数LANGおよびLC_* を確認してください" + +#: initdb.c:2203 initdb.c:2227 +#, c-format +msgid "encoding mismatch" +msgstr "符号化方式が合いません" + +#: initdb.c:2204 +#, c-format +msgid "The encoding you selected (%s) and the encoding that the selected locale uses (%s) do not match. This would lead to misbehavior in various character string processing functions." +msgstr "選択した符号化方式(%s)と選択したロケールが使用する符号化方式(%s)が合っていません。これにより各種の文字列処理関数が間違った動作をすることになります。" + +#: initdb.c:2209 initdb.c:2230 +#, c-format +msgid "Rerun %s and either do not specify an encoding explicitly, or choose a matching combination." +msgstr "%sを再度実行してください、その際にはエンコーディングを明示的に指定しないか、適合する組み合わせを選択してください。" + +#: initdb.c:2228 +#, c-format +msgid "The encoding you selected (%s) is not supported with the ICU provider." +msgstr "指定された符号化方式(%s)はICUプロバイダではサポートされません。" + +#: initdb.c:2279 +#, c-format +msgid "could not convert locale name \"%s\" to language tag: %s" +msgstr "ロケール名\"%s\"を、言語タグに変換できませんでした: %s" + +#: initdb.c:2285 initdb.c:2337 initdb.c:2416 +#, c-format +msgid "ICU is not supported in this build" +msgstr "このビルドではICUはサポートされていません" + +#: initdb.c:2308 +#, c-format +msgid "could not get language from locale \"%s\": %s" +msgstr "ロケール\"%s\"から言語を取得できませんでした: %s" + +#: initdb.c:2334 +#, c-format +msgid "locale \"%s\" has unknown language \"%s\"" +msgstr "ロケール\"%s\"は未知の言語\"%s\"を含んでいます" + +#: initdb.c:2400 +#, c-format +msgid "ICU locale must be specified" +msgstr "ICUロケールの指定が必要です" + +#: initdb.c:2404 +#, c-format +msgid "Using language tag \"%s\" for ICU locale \"%s\".\n" +msgstr "ICUロケール\"%s\"に対して言語タグ\"%s\"を使用します。\n" + +#: initdb.c:2427 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "%sはPostgreSQLデータベースクラスタを初期化します。\n" + +#: initdb.c:2428 +#, c-format +msgid "Usage:\n" +msgstr "使用方法:\n" + +#: initdb.c:2429 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [OPTION]... [DATADIR]\n" + +#: initdb.c:2430 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"オプション:\n" + +#: initdb.c:2431 +#, c-format +msgid " -A, --auth=METHOD default authentication method for local connections\n" +msgstr " -A, --auth=METHOD ローカル接続のデフォルト認証方式\n" + +#: initdb.c:2432 +#, c-format +msgid " --auth-host=METHOD default authentication method for local TCP/IP connections\n" +msgstr " --auth-host=METHOD ローカルTCP/IP接続のデフォルト認証方式\n" + +#: initdb.c:2433 +#, c-format +msgid " --auth-local=METHOD default authentication method for local-socket connections\n" +msgstr " --auth-local=METHOD ローカルソケット接続のデフォルト認証方式\n" + +#: initdb.c:2434 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr " [-D, --pgdata=]DATADIR データベースクラスタの場所\n" + +#: initdb.c:2435 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr " -E, --encoding=ENCODING 新規データベースのデフォルト符号化方式\n" + +#: initdb.c:2436 +#, c-format +msgid " -g, --allow-group-access allow group read/execute on data directory\n" +msgstr " -g, --allow-group-access データディレクトリのグループ読み取り/実行を許可\n" + +#: initdb.c:2437 +#, c-format +msgid " --icu-locale=LOCALE set ICU locale ID for new databases\n" +msgstr " --icu-locale=LOCALE 新しいデータベースのICUロケールIDを設定\n" + +#: initdb.c:2438 +#, c-format +msgid " --icu-rules=RULES set additional ICU collation rules for new databases\n" +msgstr " --icu-rules=RULES 新しいデータベースに追加するICU照合順序ルール(群)\n" + +#: initdb.c:2439 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr " -k, --data-checksums データページのチェックサムを使用\n" + +#: initdb.c:2440 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr " --locale=LOCALE 新しいデータベースのデフォルトロケールをセット\n" + +#: initdb.c:2441 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate, --lc-ctype, --lc-messages=ロケール名\n" +" --lc-monetary, --lc-numeric, --lc-time=ロケール名\n" +" 新しいデータベースで使用する、おのおののカテゴリの\n" +" デフォルトロケールを設定(デフォルト値は環境変数から\n" +" 取得)\n" + +#: initdb.c:2445 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale --locale=C と同じ\n" + +#: initdb.c:2446 +#, c-format +msgid "" +" --locale-provider={libc|icu}\n" +" set default locale provider for new databases\n" +msgstr "" +" --locale-provider={libc|icu}\n" +" 新しいデータベースにおけるデフォルトのロケール\n" +" プロバイダを設定\n" + +#: initdb.c:2448 +#, c-format +msgid " --pwfile=FILE read password for the new superuser from file\n" +msgstr "" +" --pwfile=ファイル名 新しいスーパーユーザーのパスワードをファイルから\n" +" 読み込む\n" + +#: initdb.c:2449 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T, --text-search-config=CFG\\\n" +" デフォルトのテキスト検索設定\n" + +#: initdb.c:2451 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=NAME データベースのスーパーユーザーの名前\n" + +#: initdb.c:2452 +#, c-format +msgid " -W, --pwprompt prompt for a password for the new superuser\n" +msgstr " -W, --pwprompt 新規スーパーユーザーに対してパスワード入力を促す\n" + +#: initdb.c:2453 +#, c-format +msgid " -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr " -X, --waldir=WALDIR 先行書き込みログ用ディレクトリの位置\n" + +#: initdb.c:2454 +#, c-format +msgid " --wal-segsize=SIZE size of WAL segments, in megabytes\n" +msgstr " --wal-segsize=SIZE WALセグメントのサイズ、メガバイト単位\n" + +#: initdb.c:2455 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"使用頻度の低いオプション:\n" + +#: initdb.c:2456 +#, c-format +msgid " -c, --set NAME=VALUE override default setting for server parameter\n" +msgstr " -c, --set NAME=VALUE サーバーパラメータのデフォルト値を上書き設定\n" + +#: initdb.c:2457 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr " -d, --debug 多くのデバッグ用の出力を生成\n" + +#: initdb.c:2458 +#, c-format +msgid " --discard-caches set debug_discard_caches=1\n" +msgstr " --discard-caches debug_discard_cachesを1に設定する\n" + +#: initdb.c:2459 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr " -L DIRECTORY 入力ファイルの場所を指定\n" + +#: initdb.c:2460 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr " -n, --no-clean エラー発生後のクリーンアップを行わない\n" + +#: initdb.c:2461 +#, c-format +msgid " -N, --no-sync do not wait for changes to be written safely to disk\n" +msgstr " -N, --no-sync 変更の安全なディスクへの書き出しを待機しない\n" + +#: initdb.c:2462 +#, c-format +msgid " --no-instructions do not print instructions for next steps\n" +msgstr " --no-instructions 次の手順の指示を表示しない\n" + +#: initdb.c:2463 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show 内部設定を表示\n" + +#: initdb.c:2464 +#, c-format +msgid " -S, --sync-only only sync database files to disk, then exit\n" +msgstr " -S, --sync-only データベースファイルのsyncのみを実行して終了\n" + +#: initdb.c:2465 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"その他のオプション:\n" + +#: initdb.c:2466 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr " -V, --version バージョン情報を表示して終了\n" + +#: initdb.c:2467 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr " -?, --help このヘルプを表示して終了\n" + +#: initdb.c:2468 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"データディレクトリが指定されない場合、PGDATA環境変数が使用されます。\n" + +#: initdb.c:2470 +#, c-format +msgid "" +"\n" +"Report bugs to <%s>.\n" +msgstr "" +"\n" +"バグは<%s>に報告してください。\n" + +#: initdb.c:2471 +#, c-format +msgid "%s home page: <%s>\n" +msgstr "%s ホームページ: <%s>\n" + +#: initdb.c:2499 +#, c-format +msgid "invalid authentication method \"%s\" for \"%s\" connections" +msgstr "\"%2$s\"接続では認証方式\"%1$s\"は無効です" + +#: initdb.c:2513 +#, c-format +msgid "must specify a password for the superuser to enable password authentication" +msgstr "パスワード認証を有効にするにはスーパーユーザーのパスワードを指定する必要があります" + +#: initdb.c:2532 +#, c-format +msgid "no data directory specified" +msgstr "データディレクトリが指定されていません" + +#: initdb.c:2533 +#, c-format +msgid "You must identify the directory where the data for this database system will reside. Do this with either the invocation option -D or the environment variable PGDATA." +msgstr "データベースシステムのデータを格納するディレクトリを指定する必要があります。実行時オプション -D、もしくは、PGDATA環境変数で指定してください。" + +#: initdb.c:2550 +#, c-format +msgid "could not set environment" +msgstr "環境を設定できません" + +#: initdb.c:2568 +#, c-format +msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"" +msgstr "%2$sにはプログラム\"%1$s\"が必要ですが、\"%3$s\"と同じディレクトリにはありませんでした。" + +#: initdb.c:2571 +#, c-format +msgid "program \"%s\" was found by \"%s\" but was not the same version as %s" +msgstr "\"%2$s\"がプログラム\"%1$s\"を見つけましたが、これは%3$sと同じバージョンではありませんでした。" + +#: initdb.c:2586 +#, c-format +msgid "input file location must be an absolute path" +msgstr "入力ファイルの場所は絶対パスでなければなりません" + +#: initdb.c:2603 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "データベースクラスタはロケール\"%s\"で初期化されます。\n" + +#: initdb.c:2606 +#, c-format +msgid "The database cluster will be initialized with this locale configuration:\n" +msgstr "データベースクラスタは以下のロケール構成で初期化されます。\n" + +#: initdb.c:2607 +#, c-format +msgid " provider: %s\n" +msgstr " プロバイダ: %s\n" + +#: initdb.c:2609 +#, c-format +msgid " ICU locale: %s\n" +msgstr " ICUロケール: %s\n" + +#: initdb.c:2610 +#, c-format +msgid "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" +msgstr "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" + +#: initdb.c:2640 +#, c-format +msgid "could not find suitable encoding for locale \"%s\"" +msgstr "ロケール\"%s\"に対して適切な符号化方式がありませんでした" + +#: initdb.c:2642 +#, c-format +msgid "Rerun %s with the -E option." +msgstr "-Eオプションを付けて%sを再実行してください。" + +#: initdb.c:2643 initdb.c:3176 initdb.c:3284 initdb.c:3304 +#, c-format +msgid "Try \"%s --help\" for more information." +msgstr "詳細は\"%s --help\"を実行してください。" + +#: initdb.c:2655 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"ロケールにより暗黙的に指定される符号化方式\"%s\"はサーバー側の\n" +"符号化方式として使用できません。\n" +"デフォルトのデータベース符号化方式は代わりに\"%s\"に設定されます。\n" + +#: initdb.c:2660 +#, c-format +msgid "locale \"%s\" requires unsupported encoding \"%s\"" +msgstr "ロケール\"%s\"は非サポートの符号化方式\"%s\"を必要とします" + +#: initdb.c:2662 +#, c-format +msgid "Encoding \"%s\" is not allowed as a server-side encoding." +msgstr "符号化方式\"%s\"はサーバー側の符号化方式として使用できません。" + +#: initdb.c:2664 +#, c-format +msgid "Rerun %s with a different locale selection." +msgstr "別のローケルを選択して%sを再実行してください。" + +#: initdb.c:2672 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "デフォルトのデータベース符号化方式はそれに対応して%sに設定されました。\n" + +#: initdb.c:2741 +#, c-format +msgid "could not find suitable text search configuration for locale \"%s\"" +msgstr "ロケール\"%s\"用の適切なテキスト検索設定が見つかりませんでした" + +#: initdb.c:2752 +#, c-format +msgid "suitable text search configuration for locale \"%s\" is unknown" +msgstr "ロケール\"%s\"に適したテキスト検索設定が不明です" + +#: initdb.c:2757 +#, c-format +msgid "specified text search configuration \"%s\" might not match locale \"%s\"" +msgstr "指定したテキスト検索設定\"%s\"がロケール\"%s\"に合わない可能性があります" + +#: initdb.c:2762 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "デフォルトのテキスト検索構成は %s に設定されます。\n" + +#: initdb.c:2805 initdb.c:2876 +#, c-format +msgid "creating directory %s ... " +msgstr "ディレクトリ%sを作成しています ... " + +#: initdb.c:2810 initdb.c:2881 initdb.c:2929 initdb.c:2985 +#, c-format +msgid "could not create directory \"%s\": %m" +msgstr "ディレクトリ\"%s\"を作成できませんでした: %m" + +#: initdb.c:2819 initdb.c:2891 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "ディレクトリ%sの権限を設定しています ... " + +#: initdb.c:2824 initdb.c:2896 +#, c-format +msgid "could not change permissions of directory \"%s\": %m" +msgstr "ディレクトリ\"%s\"の権限を変更できませんでした: %m" + +#: initdb.c:2836 initdb.c:2908 +#, c-format +msgid "directory \"%s\" exists but is not empty" +msgstr "ディレクトリ\"%s\"は存在しますが、空ではありません" + +#: initdb.c:2840 +#, c-format +msgid "If you want to create a new database system, either remove or empty the directory \"%s\" or run %s with an argument other than \"%s\"." +msgstr "新規にデータベースシステムを作成したいのであれば、ディレクトリ\"%s\"を削除あるいは空にする、または%sを\"%s\"以外の引数で実行してください。" + +#: initdb.c:2848 initdb.c:2918 initdb.c:3325 +#, c-format +msgid "could not access directory \"%s\": %m" +msgstr "ディレクトリ\"%s\"にアクセスできませんでした: %m" + +#: initdb.c:2869 +#, c-format +msgid "WAL directory location must be an absolute path" +msgstr "WAL ディレクトリの位置は、絶対パスでなければなりません" + +#: initdb.c:2912 +#, c-format +msgid "If you want to store the WAL there, either remove or empty the directory \"%s\"." +msgstr "そこにWALを格納したい場合は、ディレクトリ\"%s\"を削除するか空にしてください。" + +#: initdb.c:2922 +#, c-format +msgid "could not create symbolic link \"%s\": %m" +msgstr "シンボリックリンク\"%s\"を作成できませんでした: %m" + +#: initdb.c:2941 +#, c-format +msgid "It contains a dot-prefixed/invisible file, perhaps due to it being a mount point." +msgstr "おそらくマウントポイントであることに起因した先頭がドットであるファイル、または不可視なファイルが含まれています。" + +#: initdb.c:2943 +#, c-format +msgid "It contains a lost+found directory, perhaps due to it being a mount point." +msgstr "おそらくマウントポイントであることに起因したlost+foundディレクトリが含まれています。" + +#: initdb.c:2945 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point." +msgstr "" +"マウントポイントであるディレクトリをデータディレクトリとして使用することはお勧めしません。\n" +"この下にサブディレクトリを作成してください。" + +#: initdb.c:2971 +#, c-format +msgid "creating subdirectories ... " +msgstr "サブディレクトリを作成しています ... " + +#: initdb.c:3014 +msgid "performing post-bootstrap initialization ... " +msgstr "ブートストラップ後の初期化を実行しています ... " + +#: initdb.c:3175 +#, c-format +msgid "-c %s requires a value" +msgstr "-c %sは値が必要です" + +#: initdb.c:3200 +#, c-format +msgid "Running in debug mode.\n" +msgstr "デバッグモードで実行しています。\n" + +#: initdb.c:3204 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "no-clean モードで実行しています。失敗した状況は削除されません。\n" + +#: initdb.c:3274 +#, c-format +msgid "unrecognized locale provider: %s" +msgstr "認識できない照合順序プロバイダ: %s" + +#: initdb.c:3302 +#, c-format +msgid "too many command-line arguments (first is \"%s\")" +msgstr "コマンドライン引数が多すぎます。(先頭は\"%s\")" + +#: initdb.c:3309 initdb.c:3313 +#, c-format +msgid "%s cannot be specified unless locale provider \"%s\" is chosen" +msgstr "ロケールプロバイダ\"%2$s\"が選択されていなければ%1$sは指定できません" + +#: initdb.c:3327 initdb.c:3404 +msgid "syncing data to disk ... " +msgstr "データをディスクに同期しています ... " + +#: initdb.c:3335 +#, c-format +msgid "password prompt and password file cannot be specified together" +msgstr "パスワードプロンプトとパスワードファイルは同時に指定できません" + +#: initdb.c:3357 +#, c-format +msgid "argument of --wal-segsize must be a number" +msgstr "--wal-segsize の引数は数値でなければなりません" + +#: initdb.c:3359 +#, c-format +msgid "argument of --wal-segsize must be a power of two between 1 and 1024" +msgstr "--wal-segsize のパラメータは1から1024までの間の2の累乗でなければなりません" + +#: initdb.c:3373 +#, c-format +msgid "superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"" +msgstr "スーパーユーザー名\"%s\"は許可されません; ロール名は\"pg_\"で始めることはできません" + +#: initdb.c:3375 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"データベースシステム内のファイルの所有者はユーザー\"%s\"となります。\n" +"このユーザーをサーバープロセスの所有者とする必要があります。\n" +"\n" + +#: initdb.c:3391 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "データページのチェックサムは有効です。\n" + +#: initdb.c:3393 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "データベージのチェックサムは無効です。\n" + +#: initdb.c:3410 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"ディスクへの同期がスキップされました。\n" +"オペレーティングシステムがクラッシュした場合データディレクトリは破損されるかもしれません。\n" + +#: initdb.c:3415 +#, c-format +msgid "enabling \"trust\" authentication for local connections" +msgstr "ローカル接続に対して\"trust\"認証を有効にします " + +#: initdb.c:3416 +#, c-format +msgid "You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb." +msgstr "pg_hba.confを編集する、もしくは、次回initdbを実行する時に -A オプション、あるいは --auth-local および --auth-host オプションを使用することで変更できます。" + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3446 +msgid "logfile" +msgstr "ログファイル" + +#: initdb.c:3448 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"成功しました。以下のようにしてデータベースサーバーを起動できます:\n" +"\n" +" %s\n" +"\n" diff --git a/src/bin/initdb/po/ka.po b/src/bin/initdb/po/ka.po new file mode 100644 index 0000000..30bf00c --- /dev/null +++ b/src/bin/initdb/po/ka.po @@ -0,0 +1,1056 @@ +# Georgian message translation file for initdb +# Copyright (C) 2022 PostgreSQL Global Development Group +# This file is distributed under the same license as the initdb (PostgreSQL) package. +# Temuri Doghonadze <temuri.doghonadze@gmail.com>, 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: initdb (PostgreSQL) 16\n" +"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" +"POT-Creation-Date: 2023-08-31 20:20+0000\n" +"PO-Revision-Date: 2023-09-02 07:09+0200\n" +"Last-Translator: Temuri Doghonadze <temuri.doghonadze@gmail.com>\n" +"Language-Team: Georgian <nothing>\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.3.2\n" + +#: ../../../src/common/logging.c:276 +#, c-format +msgid "error: " +msgstr "შეცდომა: " + +#: ../../../src/common/logging.c:283 +#, c-format +msgid "warning: " +msgstr "გაფრთხილება: " + +#: ../../../src/common/logging.c:294 +#, c-format +msgid "detail: " +msgstr "დეტალები: " + +#: ../../../src/common/logging.c:301 +#, c-format +msgid "hint: " +msgstr "მინიშნება: " + +#: ../../common/exec.c:172 +#, c-format +msgid "invalid binary \"%s\": %m" +msgstr "არასწორი ბინარული ფაილი \"%s\": %m" + +#: ../../common/exec.c:215 +#, c-format +msgid "could not read binary \"%s\": %m" +msgstr "ბინარული ფაილის (%s) წაკითხვის შეცდომა: %m" + +#: ../../common/exec.c:223 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "გასაშვებად ფაილის \"%s\" პოვნა შეუძლებელია" + +#: ../../common/exec.c:250 +#, c-format +msgid "could not resolve path \"%s\" to absolute form: %m" +msgstr "ბილიკის (\"%s\") აბსოლუტურ ფორმაში ამოხსნის შეცდომა: %m" + +#: ../../common/exec.c:412 +#, c-format +msgid "%s() failed: %m" +msgstr "%s()-ის შეცდომა: %m" + +#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687 +#: initdb.c:349 +#, c-format +msgid "out of memory" +msgstr "არასაკმარისი მეხსიერება" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161 +#, c-format +msgid "out of memory\n" +msgstr "არასაკმარისი მეხსიერება\n" + +#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "ნულოვანი მაჩვენებლის დუბლირება შეუძლებელია (შიდა შეცდომა)\n" + +#: ../../common/file_utils.c:87 ../../common/file_utils.c:447 +#, c-format +msgid "could not stat file \"%s\": %m" +msgstr "ფაილი \"%s\" არ არსებობს: %m" + +#: ../../common/file_utils.c:162 ../../common/pgfnames.c:48 +#: ../../common/rmtree.c:63 +#, c-format +msgid "could not open directory \"%s\": %m" +msgstr "საქაღალდის (%s) გახსნის შეცდომა: %m" + +#: ../../common/file_utils.c:196 ../../common/pgfnames.c:69 +#: ../../common/rmtree.c:104 +#, c-format +msgid "could not read directory \"%s\": %m" +msgstr "საქაღალდის (%s) წაკითხვის შეცდომა: %m" + +#: ../../common/file_utils.c:228 ../../common/file_utils.c:287 +#: ../../common/file_utils.c:361 +#, c-format +msgid "could not open file \"%s\": %m" +msgstr "ფაილის (%s) გახსნის შეცდომა: %m" + +#: ../../common/file_utils.c:299 ../../common/file_utils.c:369 +#, c-format +msgid "could not fsync file \"%s\": %m" +msgstr "ფაილის (%s) fsync-ის შეცდომა: %m" + +#: ../../common/file_utils.c:379 +#, c-format +msgid "could not rename file \"%s\" to \"%s\": %m" +msgstr "გადარქმევის შეცდომა %s - %s: %m" + +#: ../../common/pgfnames.c:74 +#, c-format +msgid "could not close directory \"%s\": %m" +msgstr "საქაღალდის %s-ზე დახურვის შეცდომა: %m" + +#: ../../common/restricted_token.c:60 +#, c-format +msgid "could not open process token: error code %lu" +msgstr "პროცესის კოდის გახსნა შეუძლებელია: შეცდომის კოდი %lu" + +#: ../../common/restricted_token.c:74 +#, c-format +msgid "could not allocate SIDs: error code %lu" +msgstr "შეცდომა SSID-ების გამოყოფისას: შეცდომის კოდი %lu" + +#: ../../common/restricted_token.c:94 +#, c-format +msgid "could not create restricted token: error code %lu" +msgstr "შეზღუდული კოდის შექმნა ვერ მოხერხდა: შეცდომის კოდი %lu" + +#: ../../common/restricted_token.c:115 +#, c-format +msgid "could not start process for command \"%s\": error code %lu" +msgstr "„%s“ ბრძანების პროცესის დაწყება ვერ მოხერხდა: შეცდომის კოდი %lu" + +#: ../../common/restricted_token.c:153 +#, c-format +msgid "could not re-execute with restricted token: error code %lu" +msgstr "შეზღუდულ კოდის ხელახლა შესრულება ვერ მოხერხდა: შეცდომის კოდი %lu" + +#: ../../common/restricted_token.c:168 +#, c-format +msgid "could not get exit code from subprocess: error code %lu" +msgstr "ქვეპროცესიდან გასასვლელი კოდი ვერ მივიღე: შეცდომის კოდი %lu" + +#: ../../common/rmtree.c:95 +#, c-format +msgid "could not remove file \"%s\": %m" +msgstr "ფაილის წაშლის შეცდომა \"%s\": %m" + +#: ../../common/rmtree.c:122 +#, c-format +msgid "could not remove directory \"%s\": %m" +msgstr "საქაღალდის (\"%s\") წაშლის შეცდომა: %m" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "მომხმარებლის ეფექტური ID-ის (%ld) ამოხსნა შეუძლებელია: %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "მომხმარებელი არ არსებობს" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "მომხარებლის სახელის ამოხსნის პრობლემა: შეცდომის კოდი: %lu" + +#: ../../common/wait_error.c:55 +#, c-format +msgid "command not executable" +msgstr "ბრძანება გაშვებადი არაა" + +#: ../../common/wait_error.c:59 +#, c-format +msgid "command not found" +msgstr "ბრძანება ვერ ვიპოვე" + +#: ../../common/wait_error.c:64 +#, c-format +msgid "child process exited with exit code %d" +msgstr "შვილეული პროცესი დასრულდა სტატუსით %d" + +#: ../../common/wait_error.c:72 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "შვილეული პროცესი დასრულდა გამონაკლისით 0x%X" + +#: ../../common/wait_error.c:76 +#, c-format +msgid "child process was terminated by signal %d: %s" +msgstr "პროცესი გაჩერდა სიგნალით: %d: %s" + +#: ../../common/wait_error.c:82 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "შვილეული პროცესი დასრულდა უცნობი სტატუსით %d" + +#: ../../port/dirmod.c:287 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "\"%s\"-ისთვის შეერთების დაყენება ვერ მოხერხდა: %s\n" + +#: ../../port/dirmod.c:367 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "\"%s\"-ისთვის შეერთების მიღება ვერ მოხერხდა: %s\n" + +#: initdb.c:618 initdb.c:1613 +#, c-format +msgid "could not open file \"%s\" for reading: %m" +msgstr "ფაილის (%s) გახსნის შეცდომა: %m" + +#: initdb.c:662 initdb.c:966 initdb.c:986 +#, c-format +msgid "could not open file \"%s\" for writing: %m" +msgstr "ფაილის (\"%s\") ჩასაწერად გახსნა შეუძლებელია: %m" + +#: initdb.c:666 initdb.c:969 initdb.c:988 +#, c-format +msgid "could not write file \"%s\": %m" +msgstr "ფაილში (%s) ჩაწერის შეცდომა: %m" + +#: initdb.c:670 +#, c-format +msgid "could not close file \"%s\": %m" +msgstr "ფაილის (%s) დახურვის შეცდომა: %m" + +#: initdb.c:686 +#, c-format +msgid "could not execute command \"%s\": %m" +msgstr "ბრძანების (\"%s\") შესრულების შეცდომა: %m" + +#: initdb.c:704 +#, c-format +msgid "removing data directory \"%s\"" +msgstr "მონაცემების საქაღალდის წაშლა \"%s\"" + +#: initdb.c:706 +#, c-format +msgid "failed to remove data directory" +msgstr "მონაცემების საქაღალდის წაშლის შეცდომა" + +#: initdb.c:710 +#, c-format +msgid "removing contents of data directory \"%s\"" +msgstr "მონაცემების საქაღალდის შემცველობის წაშლა \"%s\"" + +#: initdb.c:713 +#, c-format +msgid "failed to remove contents of data directory" +msgstr "მონაცემების საქაღალდის შემცველობის წაშლის შეცდომა" + +#: initdb.c:718 +#, c-format +msgid "removing WAL directory \"%s\"" +msgstr "მიმდინარეობს WAL საქაღალდის წაშლა \"%s\"" + +#: initdb.c:720 +#, c-format +msgid "failed to remove WAL directory" +msgstr "შეცდომა WAL საქაღალდის წაშლისას" + +#: initdb.c:724 +#, c-format +msgid "removing contents of WAL directory \"%s\"" +msgstr "მიმდინარეობს WAL საქაღალდის (\"%s\") შემცველობის წაშლა" + +#: initdb.c:726 +#, c-format +msgid "failed to remove contents of WAL directory" +msgstr "შეცდომა WAL საქაღალდის შემცველობის წაშლისას" + +#: initdb.c:733 +#, c-format +msgid "data directory \"%s\" not removed at user's request" +msgstr "მონაცემების საქაღალდე \"%s\" მომხმარებლის მოთხოვნისას არ წაიშლება" + +#: initdb.c:737 +#, c-format +msgid "WAL directory \"%s\" not removed at user's request" +msgstr "WAL საქაღალდე \"%s\" მომხმარებლის მოთხოვნისას არ წაიშლება" + +#: initdb.c:755 +#, c-format +msgid "cannot be run as root" +msgstr "root-ით ვერ გაეშვება" + +#: initdb.c:756 +#, c-format +msgid "Please log in (using, e.g., \"su\") as the (unprivileged) user that will own the server process." +msgstr "შედით (ან გამოიყენეთ \"su\") არაპრივილეგირებული მომხმარებლით, რომელიც სერვერს პროცესის მფლობელი იქნება." + +#: initdb.c:788 +#, c-format +msgid "\"%s\" is not a valid server encoding name" +msgstr "\"%s\" კოდირების სწორ სახელს არ წარმოადგენს" + +#: initdb.c:932 +#, c-format +msgid "file \"%s\" does not exist" +msgstr "ფაილი %s არ არსებობს" + +#: initdb.c:933 initdb.c:938 initdb.c:945 +#, c-format +msgid "This might mean you have a corrupted installation or identified the wrong directory with the invocation option -L." +msgstr "შეიძლება ნიშნავდეს, რომ თქვენი დაყენებული ვერსია გაფუჭებულია ან -L -ს არასწორი საქაღალდე მიუთითეთ." + +#: initdb.c:937 +#, c-format +msgid "could not access file \"%s\": %m" +msgstr "ფაილის (%s) წვდომის შეცდომა: %m" + +#: initdb.c:944 +#, c-format +msgid "file \"%s\" is not a regular file" +msgstr "ფაილ \"%s\" ჩვეულებრივი ფაილი არაა" + +#: initdb.c:1077 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "დინამიკური გაზიარებული მეხსიერების იმპლემენტაციის არჩევა ... " + +#: initdb.c:1086 +#, c-format +msgid "selecting default max_connections ... " +msgstr "ნაგულისხმები max_connections-ის არჩევა … " + +#: initdb.c:1106 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "ნაგულისხმები shared_buffers-ის არჩევა … " + +#: initdb.c:1129 +#, c-format +msgid "selecting default time zone ... " +msgstr "დროის ნაგულისხმები სარტყლის არჩევა … " + +#: initdb.c:1206 +msgid "creating configuration files ... " +msgstr "კონფიგურაციის ფაილების შექმნა … " + +#: initdb.c:1367 initdb.c:1381 initdb.c:1448 initdb.c:1459 +#, c-format +msgid "could not change permissions of \"%s\": %m" +msgstr "\"%s\"-ის წვდომების შეცვლის შეცდომა: %m" + +#: initdb.c:1477 +#, c-format +msgid "running bootstrap script ... " +msgstr "მოსამზადებელი სკრიპტის გაშვება ... " + +#: initdb.c:1489 +#, c-format +msgid "input file \"%s\" does not belong to PostgreSQL %s" +msgstr "შეყვანილი ფაილი \"%s\" PostgreSQL %s -ს არ ეკუთვნის" + +#: initdb.c:1491 +#, c-format +msgid "Specify the correct path using the option -L." +msgstr "მიუთითეთ სწორი ბილიკი -L პარამეტრით." + +#: initdb.c:1591 +msgid "Enter new superuser password: " +msgstr "შეიყვანეთ ზემომხმარებლის ახალი პაროლი: " + +#: initdb.c:1592 +msgid "Enter it again: " +msgstr "შეიყვანეთ კდევ ერთხელ: " + +#: initdb.c:1595 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "პაროლები არ ემთხვევა.\n" + +#: initdb.c:1619 +#, c-format +msgid "could not read password from file \"%s\": %m" +msgstr "პაროლის ფაილიდან (\"%s\") წაკითხვის შეცდომა: %m" + +#: initdb.c:1622 +#, c-format +msgid "password file \"%s\" is empty" +msgstr "პაროლის ფაილი (\"%s\") ცარიელია" + +#: initdb.c:2034 +#, c-format +msgid "caught signal\n" +msgstr "მიღებულია სიგნალი\n" + +#: initdb.c:2040 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "შვილობილი პროცესისთვის ჩაწერის შეცდომა: %s\n" + +#: initdb.c:2048 +#, c-format +msgid "ok\n" +msgstr "დიახ\n" + +#: initdb.c:2137 +#, c-format +msgid "setlocale() failed" +msgstr "setlocale()-ის შეცდომა" + +#: initdb.c:2155 +#, c-format +msgid "failed to restore old locale \"%s\"" +msgstr "ძველი ენის (\"%s\") აღდგენის შეცდომა" + +#: initdb.c:2163 +#, c-format +msgid "invalid locale name \"%s\"" +msgstr "ენის არასწორი სახელი: \"%s\"" + +#: initdb.c:2164 +#, c-format +msgid "If the locale name is specific to ICU, use --icu-locale." +msgstr "თუ ლოკალის სახელი მხოლოდ მითითებული ICU-სთვისა ხელმისაწვდომი, გამოიყენეთ --icu-locale." + +#: initdb.c:2177 +#, c-format +msgid "invalid locale settings; check LANG and LC_* environment variables" +msgstr "ენის არასწორი პარამეტრები; გადაამოწმეთ გარემოს ცვლადები: LANG და LC_*" + +#: initdb.c:2203 initdb.c:2227 +#, c-format +msgid "encoding mismatch" +msgstr "კოდირება არ ემთხვევა" + +#: initdb.c:2204 +#, c-format +msgid "The encoding you selected (%s) and the encoding that the selected locale uses (%s) do not match. This would lead to misbehavior in various character string processing functions." +msgstr "თქვენ მიერ არჩეული კოდირება (%s) და კოდირება, რომელსაც არჩეული ენა იყენებს (%s) არ ემთხვევა. ეს სიმბოლოების სტრიქონების დამუშავების სხვადასხვა ფუნქციების არასწორ ქცევას გამოიწვევს." + +#: initdb.c:2209 initdb.c:2230 +#, c-format +msgid "Rerun %s and either do not specify an encoding explicitly, or choose a matching combination." +msgstr "თავიდან გაუშვით %s და კოდირება ან არ მიუთითოთ, ან სწორად მიუთითეთ." + +#: initdb.c:2228 +#, c-format +msgid "The encoding you selected (%s) is not supported with the ICU provider." +msgstr "თქვენს მიერ შერჩეული კოდირება (%s) ICU -ის მომწოდებელთან ერთად მხარდაუჭერელია." + +#: initdb.c:2279 +#, c-format +msgid "could not convert locale name \"%s\" to language tag: %s" +msgstr "მდებარეობის კოდის \"%s\" ენის ჭდეში (%s) გადაყვანის შეცდომა" + +#: initdb.c:2285 initdb.c:2337 initdb.c:2416 +#, c-format +msgid "ICU is not supported in this build" +msgstr "ამ აგებაში ICU-ის მხარდაჭერა არ არსებბს" + +#: initdb.c:2308 +#, c-format +msgid "could not get language from locale \"%s\": %s" +msgstr "ლოკალიდან \"%s\" ენის მიღების შეცდომა: %s" + +#: initdb.c:2334 +#, c-format +msgid "locale \"%s\" has unknown language \"%s\"" +msgstr "ლოკალის \"%s\" ენა \"%s\" უცნობია" + +#: initdb.c:2400 +#, c-format +msgid "ICU locale must be specified" +msgstr "საჭროა ICU ენის მითითება" + +#: initdb.c:2404 +#, c-format +msgid "Using language tag \"%s\" for ICU locale \"%s\".\n" +msgstr "ვიყენებ ენის ჭდეს \"%s\" ICU ლოკალისთვის \"%s\".\n" + +#: initdb.c:2427 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"%s PostgreSQL ბაზის კლასერის ინიციალიზაციას ახდენს.\n" +"\n" + +#: initdb.c:2428 +#, c-format +msgid "Usage:\n" +msgstr "გამოყენება:\n" + +#: initdb.c:2429 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [პარამეტრი]... [მონაცემებისსაქაღალდე]\n" + +#: initdb.c:2430 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"პარამეტრები:\n" + +#: initdb.c:2431 +#, c-format +msgid " -A, --auth=METHOD default authentication method for local connections\n" +msgstr " -A, --auth=მეთოდი ავთენტიკაციის ნაგულისხმები მეთოდი ლოკალური შეერთებებისთვის\n" + +#: initdb.c:2432 +#, c-format +msgid " --auth-host=METHOD default authentication method for local TCP/IP connections\n" +msgstr " --auth-host=მეთოდი ლოკალური TCP/IP შეერთების ავთენტიკაციის ნაგულისხმები მეთოდი\n" + +#: initdb.c:2433 +#, c-format +msgid " --auth-local=METHOD default authentication method for local-socket connections\n" +msgstr " --auth-local=მეთოდი ლოკალური სოკეტის შეერთების ავთენტიკაციის ნაგულისხმები მეთოდი\n" + +#: initdb.c:2434 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr " [-D, --pgdata=]DATADIR ბაზის კლასტერის მდებარეობა\n" + +#: initdb.c:2435 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr " -E, --encoding=კოდირება ახალი ბაზების ნაგულისხმები კოდირება\n" + +#: initdb.c:2436 +#, c-format +msgid " -g, --allow-group-access allow group read/execute on data directory\n" +msgstr " -g, --allow-group-access მონაცემების საქაღალდეზე ჯგუფის კითხვა/გაშვების წვდომის დაყენება\n" + +#: initdb.c:2437 +#, c-format +msgid " --icu-locale=LOCALE set ICU locale ID for new databases\n" +msgstr " --icu-locale=კოდირება ICU ენის ID ახალი ბაზებისთვის\n" + +#: initdb.c:2438 +#, c-format +msgid " --icu-rules=RULES set additional ICU collation rules for new databases\n" +msgstr " --icu-rules=წესები ახალი ბაზებისთვის დამატებითი ICUკოლაციის წესების დაყენება\n" + +#: initdb.c:2439 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr " -k, --data-checksums მონაცემების გვერდის საკონტროლო ჯამების გამოყენება\n" + +#: initdb.c:2440 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr " --locale=ენა ახალი ბაზების ნაგულისხმები ენის დაყენება\n" + +#: initdb.c:2441 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" დააყენეთ ნაგულისხმები ენა შესაბამის კატეგორიაში\n" +" ახალი ბაზებისთვის (ნაგულისხმები აღებულია გარემოდან)\n" + +#: initdb.c:2445 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale იგივე, რაც --locale=C\n" + +#: initdb.c:2446 +#, c-format +msgid "" +" --locale-provider={libc|icu}\n" +" set default locale provider for new databases\n" +msgstr "" +" --locale-provider={libc|icu}\n" +" ახალი ბაზებისთვის ენის ნაგულისხმები მიმწოდებლის დაყენება\n" + +#: initdb.c:2448 +#, c-format +msgid " --pwfile=FILE read password for the new superuser from file\n" +msgstr " --pwfile=FILE ახალი ზემომხმარებლის პაროლის ფაილიდან წაკითხვა\n" + +#: initdb.c:2449 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T, --text-search-config=CFG\n" +" ტექსტის ძებნის ნაგულისხმები კონფიგურაცია\n" + +#: initdb.c:2451 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=სახელი ბაზის ზემომხმარებლის სახელი\n" + +#: initdb.c:2452 +#, c-format +msgid " -W, --pwprompt prompt for a password for the new superuser\n" +msgstr " -W, --pwprompt ზემომხმარებლის პაროლის კითხვა\n" + +#: initdb.c:2453 +#, c-format +msgid " -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr " -X, --waldir=WALDIR წინასწარ ჩაწერადი ჟურნალის (WAL) საქაღალდის მდებარეობა\n" + +#: initdb.c:2454 +#, c-format +msgid " --wal-segsize=SIZE size of WAL segments, in megabytes\n" +msgstr " --wal-segsize=ზომა WAL სეგმენტების ზომა, მეგაბაიტებში\n" + +#: initdb.c:2455 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"იშვიათად გამოყენებული პარამეტრები:\n" + +#: initdb.c:2456 +#, c-format +msgid " -c, --set NAME=VALUE override default setting for server parameter\n" +msgstr " -c, --set NAME=VALUE სერვერის ნაგულისხმები პარამეტრის გადაფარვა\n" + +#: initdb.c:2457 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr " -d, --debug გასამართი ინფორმაციის გენერაცია\n" + +#: initdb.c:2458 +#, c-format +msgid " --discard-caches set debug_discard_caches=1\n" +msgstr " --discard-caches debug_discard_caches=1 დაყენება\n" + +#: initdb.c:2459 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr " -L საქაღალდე შეყვანის ფაილების შემცველი საქაღალდე\n" + +#: initdb.c:2460 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr " -n, --no-clean შეცდომის შემთხვევაში არ გაასუფთავო\n" + +#: initdb.c:2461 +#, c-format +msgid " -N, --no-sync do not wait for changes to be written safely to disk\n" +msgstr " -N, --no-sync არ დაველოდო ცვლილებების დისკზე უსაფრთხოდ ჩაწერას\n" + +#: initdb.c:2462 +#, c-format +msgid " --no-instructions do not print instructions for next steps\n" +msgstr " --no-instructions შემდეგი ნაბიჯის ინსტრუქციები ნაჩვენები არ იქნება\n" + +#: initdb.c:2463 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show შიდა პარამეტრების ჩვენება\n" + +#: initdb.c:2464 +#, c-format +msgid " -S, --sync-only only sync database files to disk, then exit\n" +msgstr " -S, --sync-only ბაზის ფაილების დისკზე სინქრონიზაცია და გასვლა\n" + +#: initdb.c:2465 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"სხვა პარამეტრები:\n" + +#: initdb.c:2466 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr " -V, --version ვერსიის ინფორმაციის გამოტანა და გასვლა\n" + +#: initdb.c:2467 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr " -?, --help ამ დახმარების ჩვენება და გასვლა\n" + +#: initdb.c:2468 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"თუ მონაცემების საქაღალდე მითითებული არაა, გამოყენებული იქნება \n" +"გარემოს ცვლადი PGDATA.\n" + +#: initdb.c:2470 +#, c-format +msgid "" +"\n" +"Report bugs to <%s>.\n" +msgstr "" +"\n" +"შეცდომების შესახებ მიწერეთ: %s\n" + +#: initdb.c:2471 +#, c-format +msgid "%s home page: <%s>\n" +msgstr "%s-ის საწყისი გვერდია: <%s>\n" + +#: initdb.c:2499 +#, c-format +msgid "invalid authentication method \"%s\" for \"%s\" connections" +msgstr "ავთენტიკაციის მეთოდი (\"%s\") არასწორია \"%s\" შეერთებებისთვის" + +#: initdb.c:2513 +#, c-format +msgid "must specify a password for the superuser to enable password authentication" +msgstr "პაროლით ავთენტიკაციის ჩასართავად საჭიროა ზემომხმარებლის პაროლის მითითება" + +#: initdb.c:2532 +#, c-format +msgid "no data directory specified" +msgstr "მონაცემების საქაღალდე მითითებული არაა" + +#: initdb.c:2533 +#, c-format +msgid "You must identify the directory where the data for this database system will reside. Do this with either the invocation option -D or the environment variable PGDATA." +msgstr "უნდა დაადგინოთ საქაღლდე, სადაც ბაზის ამ სისტემის მონაცემები იქნება განთავსებული . გააკეთეთ ეს ან გამოძახების პარამეტრით -D ან გარემოს ცვლადით PGDATA." + +#: initdb.c:2550 +#, c-format +msgid "could not set environment" +msgstr "გარემოს დაყენების შეცდომა" + +#: initdb.c:2568 +#, c-format +msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"" +msgstr "პროგრამა \"%s\" სჭირდება \"%s\"-ს, მაგრამ იგივე საქაღალდეში, სადაც \"%s\", ნაპოვნი არაა" + +#: initdb.c:2571 +#, c-format +msgid "program \"%s\" was found by \"%s\" but was not the same version as %s" +msgstr "პროგრამა „%s“ ნაპოვნია „%s“-ის მიერ, მაგრამ ვერსია, იგივეა არაა, რაც %s" + +#: initdb.c:2586 +#, c-format +msgid "input file location must be an absolute path" +msgstr "შეყვანის ფაილის მდებარეობა აბსტოლუტური ბილიკი უნდა იყოს" + +#: initdb.c:2603 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "ბაზის კლასტერის ინიციალიზაცია ენით \"%s\".\n" + +#: initdb.c:2606 +#, c-format +msgid "The database cluster will be initialized with this locale configuration:\n" +msgstr "ბაზის კლასტერის ინიციალიზაცია ენის ამ კონფიგურაციით მოხდება:\n" + +#: initdb.c:2607 +#, c-format +msgid " provider: %s\n" +msgstr " მომწოდებელი: %s\n" + +#: initdb.c:2609 +#, c-format +msgid " ICU locale: %s\n" +msgstr " ICU ენა: %s\n" + +#: initdb.c:2610 +#, c-format +msgid "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" +msgstr "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" + +#: initdb.c:2640 +#, c-format +msgid "could not find suitable encoding for locale \"%s\"" +msgstr "ენისთვის (\"%s\") შესაბამისი კოდირება ვერ ვიპოვე" + +#: initdb.c:2642 +#, c-format +msgid "Rerun %s with the -E option." +msgstr "გაუშვით %s თავიდან -E პარამეტრით." + +#: initdb.c:2643 initdb.c:3176 initdb.c:3284 initdb.c:3304 +#, c-format +msgid "Try \"%s --help\" for more information." +msgstr "მეტი ინფორმაციისთვის სცადეთ '%s --help'." + +#: initdb.c:2655 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"ენის ნაგულისხმები „%s“ კოდირების დაყენება, სერვერის დასაშიფრად შეუძლებელია.\n" +"სანაცვლოდ, ბაზის ნაგულისხმევი კოდირება დაყენდება „%s“.\n" + +#: initdb.c:2660 +#, c-format +msgid "locale \"%s\" requires unsupported encoding \"%s\"" +msgstr "ენას (\"%s\") მხარდაუჭერელი კოდირება (\"%s\") სჭირდება" + +#: initdb.c:2662 +#, c-format +msgid "Encoding \"%s\" is not allowed as a server-side encoding." +msgstr "%s სერვერის მხარეს კოდირება ვერ იქნება." + +#: initdb.c:2664 +#, c-format +msgid "Rerun %s with a different locale selection." +msgstr "%s-ის თავიდან გაშვება ენის სხვა არჩევანით." + +#: initdb.c:2672 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "ბაზის ნაგულისხმები კოდირება შესაბამისად დაყენებულია „%s“-ზე.\n" + +#: initdb.c:2741 +#, c-format +msgid "could not find suitable text search configuration for locale \"%s\"" +msgstr "ტექსტის ძებნის ენისთვის შესაფერისი კონფიგურაციის მოძებნა შეუძლებელია: \"%s\"" + +#: initdb.c:2752 +#, c-format +msgid "suitable text search configuration for locale \"%s\" is unknown" +msgstr "ტექსტის ძებნის ენისთვის შესაფერისი კონფიგურაცია არ არსებობს: \"%s\"" + +#: initdb.c:2757 +#, c-format +msgid "specified text search configuration \"%s\" might not match locale \"%s\"" +msgstr "ტექსტის ძებნის მითითებული კონფიგურაცია \"%s\" ენას (\"%s\") არ ემთხვევა" + +#: initdb.c:2762 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "ტექსტის ძებნის ნაგულისხმები კონფიგურაცია \"%s\" იქნება.\n" + +#: initdb.c:2805 initdb.c:2876 +#, c-format +msgid "creating directory %s ... " +msgstr "საქაღალდის (\"%s\") შექმნა .... " + +#: initdb.c:2810 initdb.c:2881 initdb.c:2929 initdb.c:2985 +#, c-format +msgid "could not create directory \"%s\": %m" +msgstr "საქაღალდის (%s) შექმნის შეცდომა: %m" + +#: initdb.c:2819 initdb.c:2891 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "არსებულ საქაღალდეზე (\"%s\") წვდომების ჩასწორება ... " + +#: initdb.c:2824 initdb.c:2896 +#, c-format +msgid "could not change permissions of directory \"%s\": %m" +msgstr "საქაღალდის წვდომების შეცვლა შეუძლებელია \"%s\": %m" + +#: initdb.c:2836 initdb.c:2908 +#, c-format +msgid "directory \"%s\" exists but is not empty" +msgstr "საქაღალდე \"%s\" არსებობს, მაგრამ ცარიელი არაა" + +#: initdb.c:2840 +#, c-format +msgid "If you want to create a new database system, either remove or empty the directory \"%s\" or run %s with an argument other than \"%s\"." +msgstr "თუ გსურთ ბაზის ახალი სისტემის შექმნა, წაშალეთ ან დააცარიელეთ საქაღალდე, %s ან %s „%s“-ის გარდა არგუმენტით გაუშვით." + +#: initdb.c:2848 initdb.c:2918 initdb.c:3325 +#, c-format +msgid "could not access directory \"%s\": %m" +msgstr "საქაღალდის (%s) წვდომის შეცდომა: %m" + +#: initdb.c:2869 +#, c-format +msgid "WAL directory location must be an absolute path" +msgstr "WAL საქაღალდის მდებარეობა აბსოლუტური ბილიკი უნდა იყოს" + +#: initdb.c:2912 +#, c-format +msgid "If you want to store the WAL there, either remove or empty the directory \"%s\"." +msgstr "თუ გსურთ WAL-ის იქ შენახვა, წაშალეთ ან დააცარიელეთ საქაღალდე „%s“." + +#: initdb.c:2922 +#, c-format +msgid "could not create symbolic link \"%s\": %m" +msgstr "სიმბმულის შექმნის შეცდომა %s: %m" + +#: initdb.c:2941 +#, c-format +msgid "It contains a dot-prefixed/invisible file, perhaps due to it being a mount point." +msgstr "ის შეიცავს წერტილით დაწყებულ/უხილავ ფაილს, შესაძლოა იმის გამო, რომ ის მიმაგრების წერტილია." + +#: initdb.c:2943 +#, c-format +msgid "It contains a lost+found directory, perhaps due to it being a mount point." +msgstr "ის შეიცავს lost+found საქაღალდეს. ალბათ იმის გამო, რომ ის მიმაგრების წერტილია." + +#: initdb.c:2945 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point." +msgstr "" +"მიმაგრების წერტილის პირდაპირ მონაცემთა საქაღალდედ გამოყენება რეკომენდებული არაა.\n" +"შექმენით ქვესაქაღალდე მიმაგრების წერტილის ქვეშ." + +#: initdb.c:2971 +#, c-format +msgid "creating subdirectories ... " +msgstr "ქვესაქაღალდეების შექმნა ... " + +#: initdb.c:3014 +msgid "performing post-bootstrap initialization ... " +msgstr "პირველადი მომზადების შემდგომი ინიციალიზაციის შესრულება ... " + +#: initdb.c:3175 +#, c-format +msgid "-c %s requires a value" +msgstr "-c %s მნიშვნელობა სჭირდება" + +#: initdb.c:3200 +#, c-format +msgid "Running in debug mode.\n" +msgstr "გაშვებულია გამართვის რეჟიმში.\n" + +#: initdb.c:3204 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "გაშვებულია მოუწმენდავ რეჟიმში. შეცდომები არ გაიწმინდება.\n" + +#: initdb.c:3274 +#, c-format +msgid "unrecognized locale provider: %s" +msgstr "ენის უცნობი მომწოდებელი: %s" + +#: initdb.c:3302 +#, c-format +msgid "too many command-line arguments (first is \"%s\")" +msgstr "მეტისმეტად ბევრი ბრძანების-სტრიქონის არგუმენტი (პირველია \"%s\")" + +#: initdb.c:3309 initdb.c:3313 +#, c-format +msgid "%s cannot be specified unless locale provider \"%s\" is chosen" +msgstr "%s ვერ იქნება მითითებული, თუ ენის მომწოდებლად „%s“ არ არის არჩეული" + +#: initdb.c:3327 initdb.c:3404 +msgid "syncing data to disk ... " +msgstr "მონაცემების სინქრონიზაცია დისკზე ... " + +#: initdb.c:3335 +#, c-format +msgid "password prompt and password file cannot be specified together" +msgstr "პაროლის მოთხოვნისა და პაროლის ფაილის ერთდროულად მითითება შეუძებელია" + +#: initdb.c:3357 +#, c-format +msgid "argument of --wal-segsize must be a number" +msgstr "--wal-segisze -ის არგუმენტი რიცხვი უნდა იყოს" + +#: initdb.c:3359 +#, c-format +msgid "argument of --wal-segsize must be a power of two between 1 and 1024" +msgstr "--wal-segsize -ის არგუმენტი 2-ის ხარისხი უნდა იყოს 1-1024 დიაპაზონიდან" + +#: initdb.c:3373 +#, c-format +msgid "superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"" +msgstr "ზემომხმარებლის სახელი \"%s\" უარყოფილია. როლის სახელებია \"pg_\"-ით ვერ დაიწყება" + +#: initdb.c:3375 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"ამ მონაცემთა ბაზის სისტემის ფაილები მომხმარებლის \"%s\"-ის მფლობელობაშია.\n" +"ეს მომხმარებელი სერვერის პროცესსაც უნდა ფლობდეს.\n" +"\n" + +#: initdb.c:3391 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "მონაცემების გვერდის საკონტროლო ჯამები ჩართულია.\n" + +#: initdb.c:3393 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "მონაცემების გვერდის საკონტროლო ჯამები გამორთულია.\n" + +#: initdb.c:3410 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"დისკთან სინქრონიზაცია გამოტოვებულია.\n" +"ოპერაციული სისტემის სიკვდილის შემთხვევაში მონაცემების საქაღალდე შეიძლება დაზიანდეს.\n" + +#: initdb.c:3415 +#, c-format +msgid "enabling \"trust\" authentication for local connections" +msgstr "ლოკალური შეერთებებისთვის \"trust\" ავთენტიკაციის ჩართვა" + +#: initdb.c:3416 +#, c-format +msgid "You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb." +msgstr "შეცვლა შეგიძლიათ pg_hba.conf-ის რედაქტირებით ან როცა შემდეგ ჯერზე გაუშვებთ initdb-ს, -A, ან --auth-local და --auth-host-ის გამოყენებით." + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3446 +msgid "logfile" +msgstr "ჟურნალის ფაილი" + +#: initdb.c:3448 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"წარმატება. ახლა ბაზის სერვერის შემდეგი ბრძანებით გაშვება შეგიძლიათ:\n" +"\n" +" %s\n" +"\n" + +#, c-format +#~ msgid "Using default ICU locale \"%s\".\n" +#~ msgstr "ვიყენებ ნაგულისხმებ ICU ლოკალს \"%s\".\n" diff --git a/src/bin/initdb/po/ko.po b/src/bin/initdb/po/ko.po new file mode 100644 index 0000000..871c7ca --- /dev/null +++ b/src/bin/initdb/po/ko.po @@ -0,0 +1,1137 @@ +# Korean message translation file for PostgreSQL initdb +# Ioseph Kim <ioseph@uri.sarang.net>, 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: initdb (PostgreSQL) 16\n" +"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" +"POT-Creation-Date: 2023-09-07 05:50+0000\n" +"PO-Revision-Date: 2023-09-08 16:09+0900\n" +"Last-Translator: Ioseph Kim <ioseph@uri.sarang.net>\n" +"Language-Team: Korean <kr@postgresql.org>\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:276 +#, c-format +msgid "error: " +msgstr "오류: " + +#: ../../../src/common/logging.c:283 +#, c-format +msgid "warning: " +msgstr "경고: " + +#: ../../../src/common/logging.c:294 +#, c-format +msgid "detail: " +msgstr "상세정보: " + +#: ../../../src/common/logging.c:301 +#, c-format +msgid "hint: " +msgstr "힌트: " + +#: ../../common/exec.c:172 +#, c-format +msgid "invalid binary \"%s\": %m" +msgstr "\"%s\" 파일은 잘못된 바이너리 파일임: %m" + +#: ../../common/exec.c:215 +#, c-format +msgid "could not read binary \"%s\": %m" +msgstr "\"%s\" 바이너리 파일을 읽을 수 없음: %m" + +#: ../../common/exec.c:223 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "\"%s\" 실행 파일을 찾을 수 없음" + +#: ../../common/exec.c:250 +#, c-format +msgid "could not resolve path \"%s\" to absolute form: %m" +msgstr "\"%s\" 경로를 절대 경로로 바꿀 수 없음: %m" + +#: ../../common/exec.c:412 +#, c-format +msgid "%s() failed: %m" +msgstr "%s() 실패: %m" + +#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687 +#: initdb.c:349 +#, c-format +msgid "out of memory" +msgstr "메모리 부족" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161 +#, c-format +msgid "out of memory\n" +msgstr "메모리 부족\n" + +#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "null 포인터를 중복할 수 없음 (내부 오류)\n" + +#: ../../common/file_utils.c:87 ../../common/file_utils.c:447 +#, c-format +msgid "could not stat file \"%s\": %m" +msgstr "\"%s\" 파일의 상태값을 알 수 없음: %m" + +#: ../../common/file_utils.c:162 ../../common/pgfnames.c:48 +#: ../../common/rmtree.c:63 +#, c-format +msgid "could not open directory \"%s\": %m" +msgstr "\"%s\" 디렉터리 열 수 없음: %m" + +#: ../../common/file_utils.c:196 ../../common/pgfnames.c:69 +#: ../../common/rmtree.c:104 +#, c-format +msgid "could not read directory \"%s\": %m" +msgstr "\"%s\" 디렉터리를 읽을 수 없음: %m" + +#: ../../common/file_utils.c:228 ../../common/file_utils.c:287 +#: ../../common/file_utils.c:361 +#, c-format +msgid "could not open file \"%s\": %m" +msgstr "\"%s\" 파일을 열 수 없음: %m" + +#: ../../common/file_utils.c:299 ../../common/file_utils.c:369 +#, c-format +msgid "could not fsync file \"%s\": %m" +msgstr "\"%s\" 파일 fsync 실패: %m" + +#: ../../common/file_utils.c:379 +#, c-format +msgid "could not rename file \"%s\" to \"%s\": %m" +msgstr "\"%s\" 파일을 \"%s\" 파일로 이름을 바꿀 수 없음: %m" + +#: ../../common/pgfnames.c:74 +#, c-format +msgid "could not close directory \"%s\": %m" +msgstr "\"%s\" 디렉터리를 닫을 수 없음: %m" + +#: ../../common/restricted_token.c:60 +#, c-format +msgid "could not open process token: error code %lu" +msgstr "프로세스 토큰을 열 수 없음: 오류 코드 %lu" + +#: ../../common/restricted_token.c:74 +#, c-format +msgid "could not allocate SIDs: error code %lu" +msgstr "SID를 할당할 수 없음: 오류 코드 %lu" + +#: ../../common/restricted_token.c:94 +#, c-format +msgid "could not create restricted token: error code %lu" +msgstr "제한된 토큰을 만들 수 없음: 오류 코드 %lu" + +#: ../../common/restricted_token.c:115 +#, c-format +msgid "could not start process for command \"%s\": error code %lu" +msgstr "\"%s\" 명령용 프로세스를 시작할 수 없음: 오류 코드 %lu" + +#: ../../common/restricted_token.c:153 +#, c-format +msgid "could not re-execute with restricted token: error code %lu" +msgstr "제한된 토큰으로 재실행할 수 없음: 오류 코드 %lu" + +#: ../../common/restricted_token.c:168 +#, c-format +msgid "could not get exit code from subprocess: error code %lu" +msgstr "하위 프로세스의 종료 코드를 구할 수 없음: 오류 코드 %lu" + +#: ../../common/rmtree.c:95 +#, c-format +msgid "could not remove file \"%s\": %m" +msgstr "\"%s\" 파일을 지울 수 없음: %m" + +#: ../../common/rmtree.c:122 +#, c-format +msgid "could not remove directory \"%s\": %m" +msgstr "\"%s\" 디렉터리를 지울 수 없음: %m" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "%ld UID를 찾을 수 없음: %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "사용자 없음" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "사용자 이름 찾기 실패: 오류 코드 %lu" + +#: ../../common/wait_error.c:55 +#, c-format +msgid "command not executable" +msgstr "명령을 실행할 수 없음" + +#: ../../common/wait_error.c:59 +#, c-format +msgid "command not found" +msgstr "해당 명령어 없음" + +#: ../../common/wait_error.c:64 +#, c-format +msgid "child process exited with exit code %d" +msgstr "하위 프로세스가 종료되었음, 종료 코드 %d" + +#: ../../common/wait_error.c:72 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "0x%X 예외로 하위 프로세스가 종료되었음." + +#: ../../common/wait_error.c:76 +#, c-format +msgid "child process was terminated by signal %d: %s" +msgstr "하위 프로세스가 종료되었음, 시그널 %d: %s" + +#: ../../common/wait_error.c:82 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "하위 프로세스가 종료되었음, 알수 없는 상태 %d" + +#: ../../port/dirmod.c:287 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "\"%s\" 파일의 연결을 설정할 수 없음: %s\n" + +#: ../../port/dirmod.c:367 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "\"%s\" 파일의 정션을 구할 수 없음: %s\n" + +#: initdb.c:618 initdb.c:1613 +#, c-format +msgid "could not open file \"%s\" for reading: %m" +msgstr "\"%s\" 파일 일기 모드로 열기 실패: %m" + +#: initdb.c:662 initdb.c:966 initdb.c:986 +#, c-format +msgid "could not open file \"%s\" for writing: %m" +msgstr "\"%s\" 파일 열기 실패: %m" + +#: initdb.c:666 initdb.c:969 initdb.c:988 +#, c-format +msgid "could not write file \"%s\": %m" +msgstr "\"%s\" 파일 쓰기 실패: %m" + +#: initdb.c:670 +#, c-format +msgid "could not close file \"%s\": %m" +msgstr "\"%s\" 파일을 닫을 수 없음: %m" + +#: initdb.c:686 +#, c-format +msgid "could not execute command \"%s\": %m" +msgstr "\"%s\" 명령을 실행할 수 없음: %m" + +#: initdb.c:704 +#, c-format +msgid "removing data directory \"%s\"" +msgstr "\"%s\" 데이터 디렉터리를 지우는 중" + +#: initdb.c:706 +#, c-format +msgid "failed to remove data directory" +msgstr "데이터 디렉터리를 지우는데 실패" + +#: initdb.c:710 +#, c-format +msgid "removing contents of data directory \"%s\"" +msgstr "\"%s\" 데이터 디렉터리 안의 내용을 지우는 중" + +#: initdb.c:713 +#, c-format +msgid "failed to remove contents of data directory" +msgstr "데이터 디렉터리 내용을 지우는데 실패" + +#: initdb.c:718 +#, c-format +msgid "removing WAL directory \"%s\"" +msgstr "\"%s\" WAL 디렉터리를 지우는 중" + +#: initdb.c:720 +#, c-format +msgid "failed to remove WAL directory" +msgstr "WAL 디렉터리를 지우는데 실패" + +#: initdb.c:724 +#, c-format +msgid "removing contents of WAL directory \"%s\"" +msgstr "\"%s\" WAL 디렉터리 안의 내용을 지우는 중" + +#: initdb.c:726 +#, c-format +msgid "failed to remove contents of WAL directory" +msgstr "WAL 디렉터리 내용을 지우는데 실패" + +#: initdb.c:733 +#, c-format +msgid "data directory \"%s\" not removed at user's request" +msgstr "\"%s\" 데이터 디렉터리가 사용자의 요청으로 삭제되지 않았음" + +#: initdb.c:737 +#, c-format +msgid "WAL directory \"%s\" not removed at user's request" +msgstr "\"%s\" WAL 디렉터리가 사용자의 요청으로 삭제되지 않았음" + +#: initdb.c:755 +#, c-format +msgid "cannot be run as root" +msgstr "root 권한으로 실행할 수 없음" + +#: initdb.c:756 +#, c-format +msgid "" +"Please log in (using, e.g., \"su\") as the (unprivileged) user that will own " +"the server process." +msgstr "" +"시스템관리자 권한이 없는, 서버프로세스의 소유주가 될 일반 사용자로 로그인 해" +"서(\"su\" 같은 명령 이용) 실행하십시오." + +#: initdb.c:788 +#, c-format +msgid "\"%s\" is not a valid server encoding name" +msgstr "\"%s\" 인코딩은 서버 인코딩 이름을 사용할 수 없음" + +#: initdb.c:932 +#, c-format +msgid "file \"%s\" does not exist" +msgstr "\"%s\" 파일 없음" + +#: initdb.c:933 initdb.c:938 initdb.c:945 +#, c-format +msgid "" +"This might mean you have a corrupted installation or identified the wrong " +"directory with the invocation option -L." +msgstr "" +"설치가 잘못되었거나 -L 호출 옵션으로 지정한 디렉터리가 잘못되었을 수 있습니" +"다." + +#: initdb.c:937 +#, c-format +msgid "could not access file \"%s\": %m" +msgstr "\"%s\" 파일에 액세스할 수 없음: %m" + +#: initdb.c:944 +#, c-format +msgid "file \"%s\" is not a regular file" +msgstr "\"%s\" 파일은 일반 파일이 아님" + +#: initdb.c:1077 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "사용할 동적 공유 메모리 관리방식을 선택하는 중 ... " + +#: initdb.c:1086 +#, c-format +msgid "selecting default max_connections ... " +msgstr "max_connections 초기값을 선택하는 중 ..." + +#: initdb.c:1106 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "기본 shared_buffers를 선택하는 중... " + +#: initdb.c:1129 +#, c-format +msgid "selecting default time zone ... " +msgstr "기본 지역 시간대를 선택 중 ... " + +#: initdb.c:1206 +msgid "creating configuration files ... " +msgstr "환경설정 파일을 만드는 중 ..." + +#: initdb.c:1367 initdb.c:1381 initdb.c:1448 initdb.c:1459 +#, c-format +msgid "could not change permissions of \"%s\": %m" +msgstr "\"%s\" 접근 권한을 바꿀 수 없음: %m" + +#: initdb.c:1477 +#, c-format +msgid "running bootstrap script ... " +msgstr "부트스트랩 스크립트 실행 중 ... " + +#: initdb.c:1489 +#, c-format +msgid "input file \"%s\" does not belong to PostgreSQL %s" +msgstr "\"%s\" 입력 파일이 PostgreSQL %s 용이 아님" + +#: initdb.c:1491 +#, c-format +msgid "Specify the correct path using the option -L." +msgstr "-L 옵션으로 바른 경로를 지정하십시오." + +#: initdb.c:1591 +msgid "Enter new superuser password: " +msgstr "새 superuser 암호를 입력하십시오:" + +#: initdb.c:1592 +msgid "Enter it again: " +msgstr "암호 확인:" + +#: initdb.c:1595 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "암호가 서로 틀립니다.\n" + +#: initdb.c:1619 +#, c-format +msgid "could not read password from file \"%s\": %m" +msgstr "\"%s\" 파일에서 암호를 읽을 수 없음: %m" + +#: initdb.c:1622 +#, c-format +msgid "password file \"%s\" is empty" +msgstr "\"%s\" 패스워드 파일이 비어있음" + +#: initdb.c:2034 +#, c-format +msgid "caught signal\n" +msgstr "시스템의 간섭 신호(signal) 받았음\n" + +#: initdb.c:2040 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "하위 프로세스에 쓸 수 없음: %s\n" + +#: initdb.c:2048 +#, c-format +msgid "ok\n" +msgstr "완료\n" + +# # search5 끝 +# # advance 부분 +#: initdb.c:2137 +#, c-format +msgid "setlocale() failed" +msgstr "setlocale() 실패" + +#: initdb.c:2155 +#, c-format +msgid "failed to restore old locale \"%s\"" +msgstr "\"%s\" 옛 로케일을 복원할 수 없음" + +#: initdb.c:2163 +#, c-format +msgid "invalid locale name \"%s\"" +msgstr "\"%s\" 로케일 이름이 잘못됨" + +#: initdb.c:2164 +#, c-format +msgid "If the locale name is specific to ICU, use --icu-locale." +msgstr "ICU 로케일 이름을 사용하려면, --icu-locale 옵션을 사용하세요." + +#: initdb.c:2177 +#, c-format +msgid "invalid locale settings; check LANG and LC_* environment variables" +msgstr "잘못된 로케일 설정; LANG 또는 LC_* OS 환경 변수를 확인하세요" + +#: initdb.c:2203 initdb.c:2227 +#, c-format +msgid "encoding mismatch" +msgstr "인코딩 불일치" + +#: initdb.c:2204 +#, c-format +msgid "" +"The encoding you selected (%s) and the encoding that the selected locale " +"uses (%s) do not match. This would lead to misbehavior in various character " +"string processing functions." +msgstr "" +"선택한 인코딩(%s)과 선택한 로케일에서 사용하는 인코딩(%s)이 일치하지 않습니" +"다. 이로 인해 여러 문자열 처리 함수에 오작동이 발생할 수 있습니다." + +#: initdb.c:2209 initdb.c:2230 +#, c-format +msgid "" +"Rerun %s and either do not specify an encoding explicitly, or choose a " +"matching combination." +msgstr "" +"암묵적으로 지정된 인코딩이 마음에 들지 않으면 지정할 수 있는 인코딩을 지정해" +"서 %s 작업을 다시 하세요." + +#: initdb.c:2228 +#, c-format +msgid "The encoding you selected (%s) is not supported with the ICU provider." +msgstr "지정한 %s 인코딩을 ICU 제공자가 지원하지 않습니다." + +#: initdb.c:2279 +#, c-format +msgid "could not convert locale name \"%s\" to language tag: %s" +msgstr "\"%s\" 로케일 이름을 로케일 태그로 바꿀 수 없음: %s" + +#: initdb.c:2285 initdb.c:2337 initdb.c:2416 +#, c-format +msgid "ICU is not supported in this build" +msgstr "ICU 지원 기능을 뺀 채로 서버가 만들어졌습니다." + +#: initdb.c:2308 +#, c-format +msgid "could not get language from locale \"%s\": %s" +msgstr "\"%s\" 로케일에서 언어를 찾을 수 없음: %s" + +#: initdb.c:2334 +#, c-format +msgid "locale \"%s\" has unknown language \"%s\"" +msgstr "\"%s\" 로케일은 \"%s\" 라는 알 수 없는 언어를 사용함" + +#: initdb.c:2400 +#, c-format +msgid "ICU locale must be specified" +msgstr "ICU 로케일을 지정해야합니다." + +#: initdb.c:2404 +#, c-format +msgid "Using language tag \"%s\" for ICU locale \"%s\".\n" +msgstr "\"%s\" 로케일 태그를 사용함, 해당 ICU 로케일: \"%s\"\n" + +#: initdb.c:2427 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"%s PostgreSQL 데이터베이스 클러스터를 초기화 하는 프로그램.\n" +"\n" + +#: initdb.c:2428 +#, c-format +msgid "Usage:\n" +msgstr "사용법:\n" + +#: initdb.c:2429 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [옵션]... [DATADIR]\n" + +#: initdb.c:2430 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"옵션들:\n" + +#: initdb.c:2431 +#, c-format +msgid "" +" -A, --auth=METHOD default authentication method for local " +"connections\n" +msgstr " -A, --auth=METHOD 로컬 연결의 기본 인증 방법\n" + +#: initdb.c:2432 +#, c-format +msgid "" +" --auth-host=METHOD default authentication method for local TCP/IP " +"connections\n" +msgstr " --auth-host=METHOD local TCP/IP 연결에 대한 기본 인증 방법\n" + +#: initdb.c:2433 +#, c-format +msgid "" +" --auth-local=METHOD default authentication method for local-socket " +"connections\n" +msgstr " --auth-local=METHOD local-socket 연결에 대한 기본 인증 방법\n" + +#: initdb.c:2434 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr " [-D, --pgdata=]DATADIR 새 데이터베이스 클러스터를 만들 디렉터리\n" + +#: initdb.c:2435 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr " -E, --encoding=ENCODING 새 데이터베이스의 기본 인코딩\n" + +#: initdb.c:2436 +#, c-format +msgid "" +" -g, --allow-group-access allow group read/execute on data directory\n" +msgstr "" +" -g, --allow-group-access 데이터 디렉터리를 그룹이 읽고 접근할 있게 함\n" + +#: initdb.c:2437 +#, c-format +msgid " --icu-locale=LOCALE set ICU locale ID for new databases\n" +msgstr " --icu-locale=LOCALE 새 데이터베이스의 ICU 로케일 ID 지정\n" + +#: initdb.c:2438 +#, c-format +msgid "" +" --icu-rules=RULES set additional ICU collation rules for new " +"databases\n" +msgstr "" +" --icu-rules=RULES 새 데이터베이스의 추가 ICU 문자열 정렬 규칙을 지" +"정\n" + +#: initdb.c:2439 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr " -k, --data-checksums 자료 페이지 체크섬 사용\n" + +#: initdb.c:2440 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr " --locale=LOCALE 새 데이터베이스의 기본 로케일 설정\n" + +#: initdb.c:2441 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category " +"for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" 새 데이터베이스의 각 범주에 기본 로케일 설정\n" +" (환경에서 가져온 기본 값)\n" + +#: initdb.c:2445 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale -locale=C와 같음\n" + +#: initdb.c:2446 +#, c-format +msgid "" +" --locale-provider={libc|icu}\n" +" set default locale provider for new databases\n" +msgstr "" +" --locale-provider={libc|icu}\n" +" 새 데이터베이스의 로케일 제공자 지정\n" + +#: initdb.c:2448 +#, c-format +msgid "" +" --pwfile=FILE read password for the new superuser from file\n" +msgstr " --pwfile=FILE 파일에서 새 superuser의 암호 읽기\n" + +#: initdb.c:2449 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T, --text-search-config=CFG\n" +" 기본 텍스트 검색 구성\n" + +#: initdb.c:2451 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=NAME 데이터베이스 superuser 이름\n" + +#: initdb.c:2452 +#, c-format +msgid "" +" -W, --pwprompt prompt for a password for the new superuser\n" +msgstr " -W, --pwprompt 새 superuser 암호를 입력 받음\n" + +#: initdb.c:2453 +#, c-format +msgid "" +" -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr " -X, --waldir=WALDIR 트랜잭션 로그 디렉터리 위치\n" + +#: initdb.c:2454 +#, c-format +msgid " --wal-segsize=SIZE size of WAL segments, in megabytes\n" +msgstr " --wal-segsize=SIZE WAL 조각 파일 크기, MB단위\n" + +#: initdb.c:2455 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"덜 일반적으로 사용되는 옵션들:\n" + +#: initdb.c:2456 +#, c-format +msgid "" +" -c, --set NAME=VALUE override default setting for server parameter\n" +msgstr " -c, --set NAME=VALUE 서버 매개 변수 기본 설정을 바꿈\n" + +#: initdb.c:2457 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr " -d, --debug 디버깅에 필요한 정보들도 함께 출력함\n" + +#: initdb.c:2458 +#, c-format +msgid " --discard-caches set debug_discard_caches=1\n" +msgstr " --discard-caches debug_discard_caches=1 지정\n" + +#: initdb.c:2459 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr " -L DIRECTORY 입력파일들이 있는 디렉터리\n" + +#: initdb.c:2460 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr " -n, --no-clean 오류가 발생되었을 경우 그대로 둠\n" + +#: initdb.c:2461 +#, c-format +msgid "" +" -N, --no-sync do not wait for changes to be written safely to " +"disk\n" +msgstr "" +" -N, --no-sync 작업 완료 뒤 디스크 동기화 작업을 하지 않음\n" + +#: initdb.c:2462 +#, c-format +msgid " --no-instructions do not print instructions for next steps\n" +msgstr " --no-instructions 다음 작업을 위해 구성 정보를 출력 안함\n" + +#: initdb.c:2463 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show 내부 설정값들을 보여줌\n" + +#: initdb.c:2464 +#, c-format +msgid "" +" -S, --sync-only only sync database files to disk, then exit\n" +msgstr " -S, --sync-only 데이터 디렉터리만 동기화하고 마침\n" + +#: initdb.c:2465 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"기타 옵션:\n" + +#: initdb.c:2466 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr " -V, --version 버전 정보를 보여주고 마침\n" + +#: initdb.c:2467 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr " -?, --help 이 도움말을 보여주고 마침\n" + +#: initdb.c:2468 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"데이터 디렉터리를 지정하지 않으면, PGDATA 환경 변수값을 사용합니다.\n" + +#: initdb.c:2470 +#, c-format +msgid "" +"\n" +"Report bugs to <%s>.\n" +msgstr "" +"\n" +"문제점 보고 주소: <%s>\n" + +#: initdb.c:2471 +#, c-format +msgid "%s home page: <%s>\n" +msgstr "%s 홈페이지: <%s>\n" + +#: initdb.c:2499 +#, c-format +msgid "invalid authentication method \"%s\" for \"%s\" connections" +msgstr "\"%s\" 인증 방법은 \"%s\" 연결에서는 사용할 수 없음" + +#: initdb.c:2513 +#, c-format +msgid "" +"must specify a password for the superuser to enable password authentication" +msgstr "비밀번호 인증방식을 사용하려면, 반드시 superuser의 암호를 지정해야함" + +#: initdb.c:2532 +#, c-format +msgid "no data directory specified" +msgstr "데이터 디렉터리를 지정하지 않았음" + +#: initdb.c:2533 +#, c-format +msgid "" +"You must identify the directory where the data for this database system will " +"reside. Do this with either the invocation option -D or the environment " +"variable PGDATA." +msgstr "" +"이 작업을 진행하려면, 반드시 이 데이터 디렉터리를 지정해 주어야합니다. 지정하" +"는 방법은 -D 옵션의 값이나, PGDATA 환경 변수값으로 지정해 주면 됩니 다." + +#: initdb.c:2550 +#, c-format +msgid "could not set environment" +msgstr "환경 변수를 지정할 수 없음" + +#: initdb.c:2568 +#, c-format +msgid "" +"program \"%s\" is needed by %s but was not found in the same directory as " +"\"%s\"" +msgstr "" +"\"%s\" 프로그램이 %s 작업에서 필요합니다. 그런데, 이 파일이 \"%s\" 파일이 있" +"는 디렉터리안에 없습니다." + +#: initdb.c:2571 +#, c-format +msgid "program \"%s\" was found by \"%s\" but was not the same version as %s" +msgstr "" +"\"%s\" 프로그램을 \"%s\" 작업 때문에 찾았지만 이 파일은 %s 프로그램의 버전과 " +"다릅니다." + +#: initdb.c:2586 +#, c-format +msgid "input file location must be an absolute path" +msgstr "입력 파일 위치는 반드시 절대경로여야함" + +#: initdb.c:2603 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "데이터베이스 클러스터는 \"%s\" 로케일으로 초기화될 것입니다.\n" + +#: initdb.c:2606 +#, c-format +msgid "" +"The database cluster will be initialized with this locale configuration:\n" +msgstr "데이터베이스 클러스터는 아래 로케일 환경으로 초기화될 것입니다:\n" + +#: initdb.c:2607 +#, c-format +msgid " provider: %s\n" +msgstr " 제공자: %s\n" + +#: initdb.c:2609 +#, c-format +msgid " ICU locale: %s\n" +msgstr " ICU 로케일: %s\n" + +#: initdb.c:2610 +#, c-format +msgid "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" +msgstr "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" + +#: initdb.c:2640 +#, c-format +msgid "could not find suitable encoding for locale \"%s\"" +msgstr "\"%s\" 로케일에 알맞은 인코딩을 찾을 수 없음" + +#: initdb.c:2642 +#, c-format +msgid "Rerun %s with the -E option." +msgstr "-E 옵션 지정해서 %s 작업을 다시 하세요." + +#: initdb.c:2643 initdb.c:3176 initdb.c:3284 initdb.c:3304 +#, c-format +msgid "Try \"%s --help\" for more information." +msgstr "자세한 사항은 \"%s --help\" 명령으로 살펴보세요." + +#: initdb.c:2655 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"\"%s\" 인코딩을 서버측 인코딩으로 사용할 수 없습니다.\n" +"기본 데이터베이스는 \"%s\" 인코딩으로 지정됩니다.\n" + +#: initdb.c:2660 +#, c-format +msgid "locale \"%s\" requires unsupported encoding \"%s\"" +msgstr "\"%s\" 로케일은 지원하지 않는 \"%s\" 인코딩을 필요로 함" + +#: initdb.c:2662 +#, c-format +msgid "Encoding \"%s\" is not allowed as a server-side encoding." +msgstr "\"%s\" 인코딩을 서버측 인코딩으로 사용할 수 없습니다." + +#: initdb.c:2664 +#, c-format +msgid "Rerun %s with a different locale selection." +msgstr "다른 로케일을 지정해서 %s 작업을 다시 하세요." + +#: initdb.c:2672 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "기본 데이터베이스 인코딩은 \"%s\" 인코딩으로 설정되었습니다.\n" + +#: initdb.c:2741 +#, c-format +msgid "could not find suitable text search configuration for locale \"%s\"" +msgstr "\"%s\" 로케일에 알맞은 전문검색 설정을 찾을 수 없음" + +#: initdb.c:2752 +#, c-format +msgid "suitable text search configuration for locale \"%s\" is unknown" +msgstr "\"%s\" 로케일에 알맞은 전문검색 설정을 알 수 없음" + +#: initdb.c:2757 +#, c-format +msgid "" +"specified text search configuration \"%s\" might not match locale \"%s\"" +msgstr "지정한 \"%s\" 전문검색 설정은 \"%s\" 로케일과 일치하지 않음" + +#: initdb.c:2762 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "기본 텍스트 검색 구성이 \"%s\"(으)로 설정됩니다.\n" + +#: initdb.c:2805 initdb.c:2876 +#, c-format +msgid "creating directory %s ... " +msgstr "%s 디렉터리 만드는 중 ..." + +#: initdb.c:2810 initdb.c:2881 initdb.c:2929 initdb.c:2985 +#, c-format +msgid "could not create directory \"%s\": %m" +msgstr "\"%s\" 디렉터리를 만들 수 없음: %m" + +#: initdb.c:2819 initdb.c:2891 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "이미 있는 %s 디렉터리의 액세스 권한을 고치는 중 ..." + +#: initdb.c:2824 initdb.c:2896 +#, c-format +msgid "could not change permissions of directory \"%s\": %m" +msgstr "\"%s\" 디렉터리의 액세스 권한을 바꿀 수 없습니다: %m" + +#: initdb.c:2836 initdb.c:2908 +#, c-format +msgid "directory \"%s\" exists but is not empty" +msgstr "\"%s\" 디렉터리가 있지만 비어 있지 않음" + +#: initdb.c:2840 +#, c-format +msgid "" +"If you want to create a new database system, either remove or empty the " +"directory \"%s\" or run %s with an argument other than \"%s\"." +msgstr "" +"새로운 데이터베이스 시스템을 만들려면 \"%s\" 디렉터리를 제거하거나 비우십시" +"오. 또는 %s 작업을 \"%s\" 디렉터리가 아닌 것으로 지정해서 하세요." + +#: initdb.c:2848 initdb.c:2918 initdb.c:3325 +#, c-format +msgid "could not access directory \"%s\": %m" +msgstr "\"%s\" 디렉터리를 액세스할 수 없습니다: %m" + +#: initdb.c:2869 +#, c-format +msgid "WAL directory location must be an absolute path" +msgstr "WAL 디렉터리 위치는 절대 경로여야 함" + +#: initdb.c:2912 +#, c-format +msgid "" +"If you want to store the WAL there, either remove or empty the directory \"%s" +"\"." +msgstr "" +"트랜잭션 로그를 해당 위치에 저장하려면 \"%s\" 디렉터리를 제거하거나 비우십시" +"오." + +#: initdb.c:2922 +#, c-format +msgid "could not create symbolic link \"%s\": %m" +msgstr "\"%s\" 심벌릭 링크를 만들 수 없음: %m" + +#: initdb.c:2941 +#, c-format +msgid "" +"It contains a dot-prefixed/invisible file, perhaps due to it being a mount " +"point." +msgstr "" +"점(.)으로 시작하는 숨은 파일이 포함되어 있습니다. 마운트 최상위 디렉터리 같습" +"니다." + +#: initdb.c:2943 +#, c-format +msgid "" +"It contains a lost+found directory, perhaps due to it being a mount point." +msgstr "lost-found 디렉터리가 있습니다. 마운트 최상위 디렉터리 같습니다." + +#: initdb.c:2945 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point." +msgstr "" +"마운트 최상위 디렉터리를 데이터 디렉터리로 사용하는 것은 권장하지 않습니다.\n" +"하위 디렉터리를 만들어서 그것을 데이터 디렉터리로 사용하세요." + +#: initdb.c:2971 +#, c-format +msgid "creating subdirectories ... " +msgstr "하위 디렉터리 만드는 중 ..." + +#: initdb.c:3014 +msgid "performing post-bootstrap initialization ... " +msgstr "부트스트랩 다음 초기화 작업 중 ... " + +#: initdb.c:3175 +#, c-format +msgid "-c %s requires a value" +msgstr "-c %s 설정은 값을 필요로 합니다." + +#: initdb.c:3200 +#, c-format +msgid "Running in debug mode.\n" +msgstr "디버그 모드로 실행 중.\n" + +#: initdb.c:3204 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "지저분 모드로 실행 중. 오류가 발생되어도 뒷정리를 안합니다.\n" + +#: initdb.c:3274 +#, c-format +msgid "unrecognized locale provider: %s" +msgstr "알 수 없는 로케일 제공자 이름: %s" + +#: initdb.c:3302 +#, c-format +msgid "too many command-line arguments (first is \"%s\")" +msgstr "너무 많은 명령행 인자를 지정했습니다. (처음 \"%s\")" + +#: initdb.c:3309 initdb.c:3313 +#, c-format +msgid "%s cannot be specified unless locale provider \"%s\" is chosen" +msgstr "%s 옵션은 \"%s\" 로케일 제공자를 사용할 때만 사용할 수 있습니다." + +#: initdb.c:3327 initdb.c:3404 +msgid "syncing data to disk ... " +msgstr "자료를 디스크에 동기화 하는 중 ... " + +#: initdb.c:3335 +#, c-format +msgid "password prompt and password file cannot be specified together" +msgstr "" +"암호를 입력받는 옵션과 암호를 파일에서 가져오는 옵션은 동시에 사용될 수 없음" + +#: initdb.c:3357 +#, c-format +msgid "argument of --wal-segsize must be a number" +msgstr "--wal-segsize 옵션 값은 숫자여야 함" + +#: initdb.c:3359 +#, c-format +msgid "argument of --wal-segsize must be a power of two between 1 and 1024" +msgstr "--wal-segsize 옵션값은 1에서 1024사이 2^n 값이여야 함" + +#: initdb.c:3373 +#, c-format +msgid "" +"superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"" +msgstr "" +"\"%s\" 사용자는 슈퍼유저 이름으로 쓸 수 없습니다. \"pg_\"로 시작하는롤 이름" +"은 허용하지 않음" + +#: initdb.c:3375 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"이 데이터베이스 시스템에서 만들어지는 파일들은 그 소유주가 \"%s\" id로\n" +"지정될 것입니다. 또한 이 사용자는 서버 프로세스의 소유주가 됩니다.\n" +"\n" + +#: initdb.c:3391 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "자료 페이지 체크섬 기능 사용함.\n" + +#: initdb.c:3393 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "자료 페이지 체크섬 기능 사용 하지 않음\n" + +#: initdb.c:3410 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"디스크 동기화 작업은 생략했습니다.\n" +"이 상태에서 OS가 갑자기 중지 되면 데이터 디렉토리 안에 있는 자료가 깨질 수 있" +"습니다.\n" + +#: initdb.c:3415 +#, c-format +msgid "enabling \"trust\" authentication for local connections" +msgstr "로컬 접속용 \"trust\" 인증을 설정 함" + +#: initdb.c:3416 +#, c-format +msgid "" +"You can change this by editing pg_hba.conf or using the option -A, or --auth-" +"local and --auth-host, the next time you run initdb." +msgstr "" +"이 값을 바꾸려면, pg_hba.conf 파일을 수정하든지, 다음번 initdb 명령을 사용할 " +"때, -A 옵션 또는 --auth-local, --auth-host 옵션을 사용해서 initdb 작업을 하세" +"요." + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3446 +msgid "logfile" +msgstr "로그파일" + +#: initdb.c:3448 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"작업완료. 이제 다음 명령을 이용해서 서버를 가동 할 수 있습니다:\n" +"\n" +" %s\n" +"\n" + +#, c-format +#~ msgid "Using default ICU locale \"%s\".\n" +#~ msgstr "기본 ICU 로케일로 \"%s\" 사용함.\n" + +#, c-format +#~ msgid "could not open collator for default locale: %s" +#~ msgstr "기본 로케일용 문자열 정렬 규칙을 열 수 없음: %s" + +#, c-format +#~ msgid "could not determine default ICU locale" +#~ msgstr "기본 ICU 로케일을 결정할 수 없음" diff --git a/src/bin/initdb/po/meson.build b/src/bin/initdb/po/meson.build new file mode 100644 index 0000000..ad19398 --- /dev/null +++ b/src/bin/initdb/po/meson.build @@ -0,0 +1,3 @@ +# Copyright (c) 2022-2023, PostgreSQL Global Development Group + +nls_targets += [i18n.gettext('initdb-' + pg_version_major.to_string())] diff --git a/src/bin/initdb/po/pl.po b/src/bin/initdb/po/pl.po new file mode 100644 index 0000000..fa8af5c --- /dev/null +++ b/src/bin/initdb/po/pl.po @@ -0,0 +1,1054 @@ +# INITDB Translated Messages into the Polish Language +# Copyright (c) 2005 toczek, xxxtoczekxxx@wp.pl +# Distributed under the same licensing terms as PostgreSQL itself. +# Begina Felicysym <begina.felicysym@wp.eu>, 2011, 2012, 2013. +# grzegorz <begina.felicysym@wp.eu>, 2014, 2015, 2016, 2017. +msgid "" +msgstr "" +"Project-Id-Version: initdb (PostgreSQL 9.1)\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:41+0200\n" +"Last-Translator: grzegorz <begina.felicysym@wp.eu>\n" +"Language-Team: begina.felicysym@wp.eu\n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" +"X-Generator: Virtaal 0.7.1\n" + +#: ../../common/exec.c:127 ../../common/exec.c:241 ../../common/exec.c:284 +#, c-format +msgid "could not identify current directory: %s" +msgstr "nie można zidentyfikować aktualnego katalogu: %s" + +#: ../../common/exec.c:146 +#, c-format +msgid "invalid binary \"%s\"" +msgstr "niepoprawny binarny \"%s\"" + +#: ../../common/exec.c:195 +#, c-format +msgid "could not read binary \"%s\"" +msgstr "nie można odczytać binarnego \"%s\"" + +#: ../../common/exec.c:202 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "nie znaleziono \"%s\" do wykonania" + +#: ../../common/exec.c:257 ../../common/exec.c:293 +#, c-format +msgid "could not change directory to \"%s\": %s" +msgstr "nie można zmienić katalogu na \"%s\": %s" + +#: ../../common/exec.c:272 +#, c-format +msgid "could not read symbolic link \"%s\"" +msgstr "nie można odczytać odwołania symbolicznego \"%s\"" + +#: ../../common/exec.c:523 +#, c-format +msgid "pclose failed: %s" +msgstr "pclose nie powiodło się: %s" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 +#, c-format +msgid "out of memory\n" +msgstr "brak pamięci\n" + +#: ../../common/fe_memutils.c:92 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "nie można powielić pustego wskazania (błąd wewnętrzny)\n" + +#: ../../common/file_utils.c:82 ../../common/file_utils.c:167 +#, c-format +msgid "%s: could not stat file \"%s\": %s\n" +msgstr "%s: nie można wykonać stat na pliku \"%s\": %s\n" + +#: ../../common/file_utils.c:143 +#, c-format +msgid "%s: could not open directory \"%s\": %s\n" +msgstr "%s: nie można otworzyć katalogu \"%s\": %s\n" + +#: ../../common/file_utils.c:179 +#, c-format +msgid "%s: could not read directory \"%s\": %s\n" +msgstr "%s: nie można odczytać katalogu \"%s\": %s\n" + +#: ../../common/file_utils.c:212 ../../common/file_utils.c:272 +#: ../../common/file_utils.c:348 +#, c-format +msgid "%s: could not open file \"%s\": %s\n" +msgstr "%s: nie można otworzyć pliku \"%s\": %s\n" + +#: ../../common/file_utils.c:285 ../../common/file_utils.c:357 +#, c-format +msgid "%s: could not fsync file \"%s\": %s\n" +msgstr "%s: nie można wykonać fsync na pliku \"%s\": %s\n" + +#: ../../common/file_utils.c:368 +#, c-format +msgid "%s: could not rename file \"%s\" to \"%s\": %s\n" +msgstr "%s: nie można zmienić nazwy pliku \"%s\" na \"%s\": %s\n" + +#: ../../common/pgfnames.c:45 +#, c-format +msgid "could not open directory \"%s\": %s\n" +msgstr "nie można otworzyć katalogu \"%s\": %s\n" + +#: ../../common/pgfnames.c:72 +#, c-format +msgid "could not read directory \"%s\": %s\n" +msgstr "nie można czytać katalogu \"%s\": %s\n" + +#: ../../common/pgfnames.c:84 +#, c-format +msgid "could not close directory \"%s\": %s\n" +msgstr "nie można zamknąć katalogu \"%s\": %s\n" + +#: ../../common/restricted_token.c:68 +#, c-format +msgid "%s: WARNING: cannot create restricted tokens on this platform\n" +msgstr "%s: OSTRZEŻENIE: nie można tworzyć ograniczonych tokenów na tej platformie\n" + +#: ../../common/restricted_token.c:77 +#, c-format +msgid "%s: could not open process token: error code %lu\n" +msgstr "%s: nie można otworzyć tokenu procesu: kod błędu %lu\n" + +#: ../../common/restricted_token.c:90 +#, c-format +msgid "%s: could not allocate SIDs: error code %lu\n" +msgstr "%s: nie udało się przydzielić SIDów: kod błędu %lu\n" + +#: ../../common/restricted_token.c:110 +#, c-format +msgid "%s: could not create restricted token: error code %lu\n" +msgstr "%s: nie udało się utworzyć ograniczonego tokena: kod błędu %lu\n" + +#: ../../common/restricted_token.c:132 +#, c-format +msgid "%s: could not start process for command \"%s\": error code %lu\n" +msgstr "%s: nie udało się uruchomić procesu dla polecenia \"%s\": kod błędu %lu\n" + +#: ../../common/restricted_token.c:170 +#, c-format +msgid "%s: could not re-execute with restricted token: error code %lu\n" +msgstr "%s: nie udało się ponownie wykonać ograniczonego tokena: %lu\n" + +#: ../../common/restricted_token.c:186 +#, c-format +msgid "%s: could not get exit code from subprocess: error code %lu\n" +msgstr "%s: nie udało uzyskać kodu wyjścia z usługi podrzędnej: kod błędu %lu\n" + +#: ../../common/rmtree.c:77 +#, c-format +msgid "could not stat file or directory \"%s\": %s\n" +msgstr "nie można wykonać polecenia stat na pliku lub katalogu \"%s\": %s\n" + +#: ../../common/rmtree.c:104 ../../common/rmtree.c:121 +#, c-format +msgid "could not remove file or directory \"%s\": %s\n" +msgstr "nie można usunąć pliku lub katalogu \"%s\": %s\n" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "nie udało się odnaleźć efektywnego ID użytkownika %ld: %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "użytkownik nie istnieje" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "niepowodzenie wyszukiwania nazwy użytkownika: kod błędu %lu" + +#: ../../common/wait_error.c:45 +#, c-format +msgid "command not executable" +msgstr "polecenie nie wykonywalne" + +#: ../../common/wait_error.c:49 +#, c-format +msgid "command not found" +msgstr "polecenia nie znaleziono" + +#: ../../common/wait_error.c:54 +#, c-format +msgid "child process exited with exit code %d" +msgstr "proces potomny zakończył działanie z kodem %d" + +#: ../../common/wait_error.c:61 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "proces potomny został zatrzymany przez wyjątek 0x%X" + +#: ../../common/wait_error.c:71 +#, c-format +msgid "child process was terminated by signal %s" +msgstr "proces potomny został zatrzymany przez sygnał %s" + +#: ../../common/wait_error.c:75 +#, c-format +msgid "child process was terminated by signal %d" +msgstr "proces potomny został zatrzymany przez sygnał %d" + +#: ../../common/wait_error.c:80 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "proces potomny zakończył działanie z nieznanym stanem %d" + +#: ../../port/dirmod.c:221 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "nie można ustanowić złączenia dla \"%s\": %s\n" + +#: ../../port/dirmod.c:298 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "nie można pobrać złączenia dla \"%s\": %s\n" + +#: initdb.c:330 +#, c-format +msgid "%s: out of memory\n" +msgstr "%s: brak pamięci\n" + +#: initdb.c:440 initdb.c:1441 +#, c-format +msgid "%s: could not open file \"%s\" for reading: %s\n" +msgstr "%s: nie można otworzyć pliku \"%s\" do odczytu: %s\n" + +#: initdb.c:496 initdb.c:812 initdb.c:840 +#, c-format +msgid "%s: could not open file \"%s\" for writing: %s\n" +msgstr "%s: nie można otworzyć pliku \"%s\" do zapisu: %s\n" + +#: initdb.c:504 initdb.c:512 initdb.c:819 initdb.c:846 +#, c-format +msgid "%s: could not write file \"%s\": %s\n" +msgstr "%s: nie można zapisać pliku \"%s\": %s\n" + +#: initdb.c:531 +#, c-format +msgid "%s: could not execute command \"%s\": %s\n" +msgstr "%s: nie można wykonać komendy \"%s\": %s\n" + +#: initdb.c:547 +#, c-format +msgid "%s: removing data directory \"%s\"\n" +msgstr "%s: usuwanie katalogu danych \"%s\"\n" + +#: initdb.c:550 +#, c-format +msgid "%s: failed to remove data directory\n" +msgstr "%s: nie udało się usunięcie katalogu danych\n" + +#: initdb.c:556 +#, c-format +msgid "%s: removing contents of data directory \"%s\"\n" +msgstr "%s: usuwanie zawartości w katalogu danych \"%s\"\n" + +#: initdb.c:559 +#, c-format +msgid "%s: failed to remove contents of data directory\n" +msgstr "%s: nie udało się usunąć zawartości w katalogu danych\n" + +#: initdb.c:565 +#, c-format +msgid "%s: removing transaction log directory \"%s\"\n" +msgstr "%s: usuwanie katalogu dziennika transakcji \"%s\"\n" + +#: initdb.c:568 +#, c-format +msgid "%s: failed to remove transaction log directory\n" +msgstr "%s: nie udało się usunięcie katalogu dziennika transakcji\n" + +#: initdb.c:574 +#, c-format +msgid "%s: removing contents of transaction log directory \"%s\"\n" +msgstr "%s: usuwanie zawartości katalogu dziennika transakcji \"%s\"\n" + +#: initdb.c:577 +#, c-format +msgid "%s: failed to remove contents of transaction log directory\n" +msgstr "%s: nie udało się usunąć zawartości w katalogu dziennika transakcji\n" + +#: initdb.c:586 +#, c-format +msgid "%s: data directory \"%s\" not removed at user's request\n" +msgstr "%s: katalog \"%s\" nie został usunięty na żądanie użytkownika\n" + +#: initdb.c:591 +#, c-format +msgid "%s: transaction log directory \"%s\" not removed at user's request\n" +msgstr "%s: katalog \"%s\" nie został usunięty na żądanie użytkownika\n" + +#: initdb.c:612 +#, c-format +msgid "" +"%s: cannot be run as root\n" +"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n" +"own the server process.\n" +msgstr "" +"%s: nie można uruchomić jako root\n" +"Proszę zalogować się (używając np: \"su\") na (nieuprzywilejowanego) " +"użytkownika, który\n" +"będzie właścicielem procesu.\n" + +#: initdb.c:648 +#, c-format +msgid "%s: \"%s\" is not a valid server encoding name\n" +msgstr "%s: \"%s\" nie jest poprawną nazwą kodowania\n" + +#: initdb.c:768 +#, c-format +msgid "%s: file \"%s\" does not exist\n" +msgstr "%s: plik \"%s\" nie istnieje\n" + +#: initdb.c:770 initdb.c:779 initdb.c:789 +#, c-format +msgid "" +"This might mean you have a corrupted installation or identified\n" +"the wrong directory with the invocation option -L.\n" +msgstr "" +"Oznacza to iż posiadasz uszkodzoną instalację lub wskazałeś\n" +"zły katalog przy użyciu opcji -L.\n" + +#: initdb.c:776 +#, c-format +msgid "%s: could not access file \"%s\": %s\n" +msgstr "%s: nie można uzyskać dostępu do pliku \"%s\": %s\n" + +#: initdb.c:787 +#, c-format +msgid "%s: file \"%s\" is not a regular file\n" +msgstr "%s: plik \"%s\" nie jest zwykłym plikiem\n" + +#: initdb.c:932 +#, c-format +msgid "selecting default max_connections ... " +msgstr "wybieranie domyślnej wartości max_connections ... " + +#: initdb.c:962 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "wybieranie domyślnej wartości shared_buffers ... " + +#: initdb.c:995 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "wybór implementacji dynamicznej pamięci współdzielonej ... " + +#: initdb.c:1013 +msgid "creating configuration files ... " +msgstr "tworzenie plików konfiguracyjnych ... " + +#: initdb.c:1145 initdb.c:1165 initdb.c:1252 initdb.c:1268 +#, c-format +msgid "%s: could not change permissions of \"%s\": %s\n" +msgstr "%s: nie można zmienić uprawnień do \"%s\": %s\n" + +#: initdb.c:1292 +#, c-format +msgid "running bootstrap script ... " +msgstr "wykonywanie skryptu ładowania wstępnego ... " + +#: initdb.c:1308 +#, c-format +msgid "" +"%s: input file \"%s\" does not belong to PostgreSQL %s\n" +"Check your installation or specify the correct path using the option -L.\n" +msgstr "" +"%s: plik wejściowy \"%s\" nie należy do bazy danych PostgreSQL %s\n" +"Sprawdź swoją instalację lub podaj poprawą ścieżkę przy pomocy zmiennej -L.\n" + +#: initdb.c:1418 +msgid "Enter new superuser password: " +msgstr "Podaj hasło superużytkownika: " + +#: initdb.c:1419 +msgid "Enter it again: " +msgstr "Powtórz podane hasło: " + +#: initdb.c:1422 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "Podane hasła różnią się.\n" + +#: initdb.c:1448 +#, c-format +msgid "%s: could not read password from file \"%s\": %s\n" +msgstr "%s: nie można odczytać hasła z pliku \"%s\": %s\n" + +#: initdb.c:1451 +#, c-format +msgid "%s: password file \"%s\" is empty\n" +msgstr "%s: plik hasła \"%s\" jest pusty\n" + +#: initdb.c:2011 +#, c-format +msgid "caught signal\n" +msgstr "sygnał otrzymany\n" + +#: initdb.c:2017 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "nie można zapisać do procesu potomnego: %s\n" + +#: initdb.c:2025 +#, c-format +msgid "ok\n" +msgstr "ok\n" + +#: initdb.c:2115 +#, c-format +msgid "%s: setlocale() failed\n" +msgstr "%s: setlocale() nie powiodła się\n" + +#: initdb.c:2133 +#, c-format +msgid "%s: failed to restore old locale \"%s\"\n" +msgstr "%s: nie udało się odtworzyć poprzedniej lokalizacji \"%s\"\n" + +#: initdb.c:2143 +#, c-format +msgid "%s: invalid locale name \"%s\"\n" +msgstr "%s: błędna nazwa lokalizacji \"%s\"\n" + +#: initdb.c:2155 +#, c-format +msgid "%s: invalid locale settings; check LANG and LC_* environment variables\n" +msgstr "%s: nieprawidłowe ustawienia regionalne; sprawdź zmienne środowiskowe LANG i " +"LC_*\n" + +#: initdb.c:2183 +#, c-format +msgid "%s: encoding mismatch\n" +msgstr "%s: niezgodność kodowania\n" + +#: initdb.c:2185 +#, c-format +msgid "" +"The encoding you selected (%s) and the encoding that the\n" +"selected locale uses (%s) do not match. This would lead to\n" +"misbehavior in various character string processing functions.\n" +"Rerun %s and either do not specify an encoding explicitly,\n" +"or choose a matching combination.\n" +msgstr "" +"Wybrane kodowanie (%s) i kodowanie używane przez\n" +"lokalizację (%s) nie zgadzają się. Może to prowadzić\n" +"do błędów w wielu funkcjach przetwarzających ciągi znaków.\n" +"Aby poprawić ten błąd uruchom ponownie %s i albo nie ustawiaj kodowania\n" +"albo wybierz pasującą kombinację.\n" + +#: initdb.c:2257 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"%s inicjuje klaster bazy danych PostgreSQL.\n" +"\n" + +#: initdb.c:2258 +#, c-format +msgid "Usage:\n" +msgstr "Składnia:\n" + +#: initdb.c:2259 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [OPCJA]... [KATALOG-DOCELOWY]\n" + +#: initdb.c:2260 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"Opcje:\n" + +#: initdb.c:2261 +#, c-format +msgid " -A, --auth=METHOD default authentication method for local connections\n" +msgstr " -A, --auth=METODA podstawowa metoda autoryzacji dla lokalnych " +"połączeń\n" + +#: initdb.c:2262 +#, c-format +msgid " --auth-host=METHOD default authentication method for local TCP/IP connections\n" +msgstr " --auth-host=METODA podstawowa metoda autoryzacji dla lokalnych " +"połączeń TCP/IP\n" + +#: initdb.c:2263 +#, c-format +msgid " --auth-local=METHOD default authentication method for local-socket connections\n" +msgstr " --auth-local=METODA podstawowa metoda autoryzacji dla lokalnych " +"gniazd połączeń\n" + +#: initdb.c:2264 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr " [-D, --pgdata=]KATALOG-DOCELOWY lokalizacja klastra bazy danych\n" + +#: initdb.c:2265 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr " -E, --encoding=KODOWANIE ustawia podstawowe kodowanie dla nowej bazy\n" + +#: initdb.c:2266 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr " --locale=LOKALIZACJA ustawia domyślną lokalizację dla nowych baz " +"danych\n" + +#: initdb.c:2267 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" ustawia domyślną lokalizację w odpowiedniej " +"kategorii\n" +" dla nowych baz danych (domyślnie pobierana ze " +"środowiska)\n" + +#: initdb.c:2271 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale równoważna z opcją --locale=C\n" + +#: initdb.c:2272 +#, c-format +msgid " --pwfile=FILE read password for the new superuser from file\n" +msgstr " --pwfile=PLIK czyta hasło dla właściciela bazy z pliku\n" + +#: initdb.c:2273 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T, --text-search-config=CFG\n" +" domyślna konfiguracja wyszukiwania tekstowego\n" + +#: initdb.c:2275 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=NAZWA superużytkownik bazy danych\n" + +#: initdb.c:2276 +#, c-format +msgid " -W, --pwprompt prompt for a password for the new superuser\n" +msgstr " -W, --pwprompt proś o hasło dla nowego superużytkownika\n" + +#: initdb.c:2277 +#, c-format +msgid " -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr " -X, --waldir=WALDIR umiejscowienie folderu dziennika zapisu z " +"wyprzedzeniem\n" + +#: initdb.c:2278 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"Rzadziej używane opcje:\n" + +#: initdb.c:2279 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr " -d, --debug wyświetlanie informacji debugger'a\n" + +#: initdb.c:2280 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr " -k, --data-checksums użycie sum kontrolnych danych stron\n" + +#: initdb.c:2281 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr " -L KATALOG gdzie szukać plików wejściowych\n" + +#: initdb.c:2282 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr " -n, --no-clean błędy nie będą porządkowane\n" + +#: initdb.c:2283 +#, c-format +msgid " -N, --no-sync do not wait for changes to be written safely to disk\n" +msgstr " -N, --no-sync nie czekać aż zmiany zostaną bezpiecznie " +"zapisane na dysk\n" + +#: initdb.c:2284 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show pokaż wewnętrzne ustawienia\n" + +#: initdb.c:2285 +#, c-format +msgid " -S, --sync-only only sync data directory\n" +msgstr " -S, --sync-only synchronizować tylko katalog danych\n" + +#: initdb.c:2286 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"Pozostałe opcje:\n" + +#: initdb.c:2287 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr " -V, --version pokaż informacje o wersji i zakończ\n" + +#: initdb.c:2288 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr " -?, --help pokaż tą pomoc i zakończ działanie\n" + +#: initdb.c:2289 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"Jeśli katalog nie jest wskazany wtedy używana jest zmienna PGDATA\n" +"do określenia tegoż katalogu.\n" + +#: initdb.c:2291 +#, c-format +msgid "" +"\n" +"Report bugs to <pgsql-bugs@postgresql.org>.\n" +msgstr "" +"\n" +"Błędy proszę przesyłać na adres <pgsql-bugs@postgresql.org>.\n" + +#: initdb.c:2299 +msgid "" +"\n" +"WARNING: enabling \"trust\" authentication for local connections\n" +"You can change this by editing pg_hba.conf or using the option -A, or\n" +"--auth-local and --auth-host, the next time you run initdb.\n" +msgstr "" +"\n" +"OSTRZEŻENIE: metoda autoryzacji ustawiona jako \"trust\" dla połączeń " +"lokalnych\n" +"Można to zmienić edytując plik pg_hba.conf, używając opcji -A, lub\n" +"--auth-local oraz --auth-host przy kolejnym uruchomieniu initdb.\n" + +#: initdb.c:2321 +#, c-format +msgid "%s: invalid authentication method \"%s\" for \"%s\" connections\n" +msgstr "%s: niepoprawna metoda autoryzacji \"%s\" dla połączeń \"%s\"\n" + +#: initdb.c:2337 +#, c-format +msgid "%s: must specify a password for the superuser to enable %s authentication\n" +msgstr "%s: musisz podać hasło superużytkownika aby aktywować %s autoryzację\n" + +#: initdb.c:2365 +#, c-format +msgid "" +"%s: no data directory specified\n" +"You must identify the directory where the data for this database system\n" +"will reside. Do this with either the invocation option -D or the\n" +"environment variable PGDATA.\n" +msgstr "" +"%s: nieustawiony katalog danych\n" +"Musisz podać katalog gdzie będą przechowywane dane bazy danych.\n" +"Możesz tego dokonać używając opcji -D lub przy pomocy\n" +"zmiennej środowiskowej PGDATA.\n" + +#: initdb.c:2403 +#, c-format +msgid "" +"The program \"postgres\" is needed by %s but was not found in the\n" +"same directory as \"%s\".\n" +"Check your installation.\n" +msgstr "" +"Program \"postgres\" jest wymagany przez %s ale nie został znaleziony \n" +"w tym samym folderze co \"%s\".\n" +"Sprawdź instalację.\n" + +#: initdb.c:2410 +#, c-format +msgid "" +"The program \"postgres\" was found by \"%s\"\n" +"but was not the same version as %s.\n" +"Check your installation.\n" +msgstr "" +"Program \"postgres\" został znaleziony przez \"%s\"\n" +"ale nie jest w tej samej wersji co %s.\n" +"Sprawdź instalację.\n" + +#: initdb.c:2429 +#, c-format +msgid "%s: input file location must be an absolute path\n" +msgstr "%s: położenie plików wejściowych musi być ścieżką bezwzględną\n" + +#: initdb.c:2448 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "Klaster bazy zostanie utworzony z zestawem reguł językowych \"%s\".\n" + +#: initdb.c:2451 +#, c-format +msgid "" +"The database cluster will be initialized with locales\n" +" COLLATE: %s\n" +" CTYPE: %s\n" +" MESSAGES: %s\n" +" MONETARY: %s\n" +" NUMERIC: %s\n" +" TIME: %s\n" +msgstr "" +"Klaster bazy danych zostanie utworzony z zestawem reguł językowych\n" +" COLLATE: %s\n" +" CTYPE: %s\n" +" MESSAGES: %s\n" +" MONETARY: %s\n" +" NUMERIC: %s\n" +" TIME: %s\n" + +#: initdb.c:2475 +#, c-format +msgid "%s: could not find suitable encoding for locale \"%s\"\n" +msgstr "%s: nie można znaleźć odpowiedniego kodowania dla lokalizacji \"%s\"\n" + +#: initdb.c:2477 +#, c-format +msgid "Rerun %s with the -E option.\n" +msgstr "Włącz polecenie %s ponownie z opcją -E.\n" + +#: initdb.c:2478 initdb.c:3102 initdb.c:3123 +#, c-format +msgid "Try \"%s --help\" for more information.\n" +msgstr "Spróbuj \"%s --help\" aby uzyskać więcej informacji.\n" + +#: initdb.c:2490 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"Kodowanie \"%s\" określone przez lokalizację jest niedozwolone jako kodowanie " +"po stronie serwera.\n" +"Kodowanie bazy danych będzie zamiast tego ustawiona na \"%s\".\n" + +#: initdb.c:2498 +#, c-format +msgid "%s: locale \"%s\" requires unsupported encoding \"%s\"\n" +msgstr "%s: lokalizacja \"%s\" wymaga nie wspieranego kodowania \"%s\"\n" + +#: initdb.c:2501 +#, c-format +msgid "" +"Encoding \"%s\" is not allowed as a server-side encoding.\n" +"Rerun %s with a different locale selection.\n" +msgstr "" +"Kodowanie \"%s\" jest niedozwolone jako kodowanie po stronie serwera.\n" +"Uruchom ponownie %s z wybraną inną lokalizacją.\n" + +#: initdb.c:2510 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "Podstawowe kodowanie bazy danych zostało ustawione jako \"%s\".\n" + +#: initdb.c:2581 +#, c-format +msgid "%s: could not find suitable text search configuration for locale \"%s\"\n" +msgstr "%s: nie można znaleźć odpowiedniej konfiguracji wyszukiwania tekstowego dla " +"lokalizacji \"%s\"\n" + +#: initdb.c:2592 +#, c-format +msgid "%s: warning: suitable text search configuration for locale \"%s\" is unknown\n" +msgstr "%s: ostrzeżenie: nie jest znana odpowiednia konfiguracja wyszukiwania " +"tekstowego dla lokalizacji \"%s\"\n" + +#: initdb.c:2597 +#, c-format +msgid "%s: warning: specified text search configuration \"%s\" might not match locale \"%s\"\n" +msgstr "%s: ostrzeżenie: wskazana konfiguracja wyszukiwania tekstu \"%s\" może nie " +"pasować do lokalizacji \"%s\"\n" + +#: initdb.c:2602 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "Domyślna konfiguracja wyszukiwania tekstowego zostanie ustawiona na \"%s\".\n" + +#: initdb.c:2646 initdb.c:2732 +#, c-format +msgid "creating directory %s ... " +msgstr "tworzenie katalogu %s ... " + +#: initdb.c:2652 initdb.c:2738 initdb.c:2806 initdb.c:2862 +#, c-format +msgid "%s: could not create directory \"%s\": %s\n" +msgstr "%s: nie można utworzyć katalogu \"%s\": %s\n" + +#: initdb.c:2664 initdb.c:2750 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "ustalanie uprawnień katalogu %s ... " + +#: initdb.c:2670 initdb.c:2756 +#, c-format +msgid "%s: could not change permissions of directory \"%s\": %s\n" +msgstr "%s: nie można zmienić uprawnień katalogu \"%s\": %s\n" + +#: initdb.c:2685 initdb.c:2771 +#, c-format +msgid "%s: directory \"%s\" exists but is not empty\n" +msgstr "%s: folder \"%s\" nie jest pusty\n" + +#: initdb.c:2691 +#, c-format +msgid "" +"If you want to create a new database system, either remove or empty\n" +"the directory \"%s\" or run %s\n" +"with an argument other than \"%s\".\n" +msgstr "" +"Jeśli chcesz utworzyć nową bazę danych, usuń lub wyczyść\n" +"katalog \"%s\" lub uruchom program %s\n" +"z argumentem wskazującym katalog innym niż \"%s\".\n" + +#: initdb.c:2699 initdb.c:2784 initdb.c:3136 +#, c-format +msgid "%s: could not access directory \"%s\": %s\n" +msgstr "%s: brak dostępu do katalogu \"%s\": %s\n" + +#: initdb.c:2723 +#, c-format +msgid "%s: transaction log directory location must be an absolute path\n" +msgstr "%s: położenie folderu dziennika transakcji musi być ścieżką bezwzględną\n" + +#: initdb.c:2777 +#, c-format +msgid "" +"If you want to store the transaction log there, either\n" +"remove or empty the directory \"%s\".\n" +msgstr "" +"Jeśli chcesz tam przechowywać dziennik transakcji, albo\n" +"usuń albo wyczyść zawartość folderu \"%s\".\n" + +#: initdb.c:2792 +#, c-format +msgid "%s: could not create symbolic link \"%s\": %s\n" +msgstr "%s: nie można utworzyć linku symbolicznego \"%s\": %s\n" + +#: initdb.c:2797 +#, c-format +msgid "%s: symlinks are not supported on this platform" +msgstr "%s: linki symb. nie są obsługiwane na tej platformie" + +#: initdb.c:2821 +#, c-format +msgid "It contains a dot-prefixed/invisible file, perhaps due to it being a mount point.\n" +msgstr "Zawiera on tylko zaczynający się kropką/niewidoczny plik, być może dlatego, " +"że był to punkt podłączenia.\n" + +#: initdb.c:2824 +#, c-format +msgid "It contains a lost+found directory, perhaps due to it being a mount point.\n" +msgstr "Zawiera on folder lost+found, być może dlatego, że był to punkt podłączenia.\n" + +#: initdb.c:2827 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point.\n" +msgstr "" +"Użycie punktu zamontowania bezpośrednio jako folderu danych nie jest " +"zalecane.\n" +"Lepiej utworzyć podfolder punktu montowania.\n" + +#: initdb.c:2847 +#, c-format +msgid "creating subdirectories ... " +msgstr "tworzenie podkatalogów ... " + +#: initdb.c:2894 +msgid "performing post-bootstrap initialization ... " +msgstr "wykonywanie inicjacji po ładowaniu wstępnym ... " + +#: initdb.c:3046 +#, c-format +msgid "Running in debug mode.\n" +msgstr "Działanie w trybie debug.\n" + +#: initdb.c:3050 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "Działanie w trybie no-clean. Błędy nie będą porządkowane.\n" + +#: initdb.c:3121 +#, c-format +msgid "%s: too many command-line arguments (first is \"%s\")\n" +msgstr "%s: za duża ilość parametrów (pierwszy to \"%s\")\n" + +#: initdb.c:3141 initdb.c:3207 +msgid "syncing data to disk ... " +msgstr "synchronizacja danych na dysk ... " + +#: initdb.c:3150 +#, c-format +msgid "%s: password prompt and password file cannot be specified together\n" +msgstr "%s: prośba o hasło i plik hasła nie mogą być podane jednocześnie\n" + +#: initdb.c:3174 +#, c-format +msgid "%s: superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"\n" +msgstr "%s: nazwa superużytkownika \"%s\" jest zabroniona; nazwy ról nie mogą zaczynać " +"się od \"pg_\"\n" + +#: initdb.c:3178 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"Właścicielem plików należących do sytemu bazy danych będzie użytkownik \"%s\".\n" +"Ten użytkownik musi jednocześnie być właścicielem procesu serwera.\n" +"\n" + +#: initdb.c:3194 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "Sumy kontrolne stron danych są włączone.\n" + +#: initdb.c:3196 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "Sumy kontrolne stron danych są zablokowane.\n" + +#: initdb.c:3213 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"Pominięto synchronizację na dysk.\n" +"Folder danych może zostać uszkodzona jeśli system operacyjny ulegnie awarii.\n" + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3239 +msgid "logfile" +msgstr "plik dziennika" + +#: initdb.c:3241 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"Sukces. Teraz możesz uruchomić serwer bazy danych używając:\n" +"\n" +" %s\n" +"\n" + +#~ msgid "creating template1 database in %s/base/1 ... " +#~ msgstr "tworzenie bazy template1 w folderze %s/base/1 ... " + +#~ msgid "initializing pg_authid ... " +#~ msgstr "inicjowanie pg_authid ... " + +#~ msgid "setting password ... " +#~ msgstr "ustawianie hasła ... " + +#~ msgid "initializing dependencies ... " +#~ msgstr "inicjowanie powiązań ... " + +#~ msgid "creating system views ... " +#~ msgstr "tworzenie widoków systemowych ... " + +#~ msgid "loading system objects' descriptions ... " +#~ msgstr "wczytywanie opisów obiektów systemowych ... " + +#~ msgid "creating collations ... " +#~ msgstr "tworzenie porównań ... " + +#~ msgid "not supported on this platform\n" +#~ msgstr "nieobsługiwane na tej platformie\n" + +#~ msgid "creating conversions ... " +#~ msgstr "tworzenie konwersji ... " + +#~ msgid "creating dictionaries ... " +#~ msgstr "tworzenie słowników ... " + +#~ msgid "setting privileges on built-in objects ... " +#~ msgstr "ustawianie uprawnień dla wbudowanych obiektów ... " + +#~ msgid "creating information schema ... " +#~ msgstr "tworzenie schematu informacyjnego ... " + +#~ msgid "loading PL/pgSQL server-side language ... " +#~ msgstr "pobieranie języka PL/pgSQL używanego po stronie serwera ... " + +#~ msgid "vacuuming database template1 ... " +#~ msgstr "odkurzanie bazy template1 ... " + +#~ msgid "copying template1 to template0 ... " +#~ msgstr "kopiowanie bazy template1 do bazy template0 ... " + +#~ msgid "copying template1 to postgres ... " +#~ msgstr "kopiowanie bazy template1 do bazy postgres ... " + +#~ msgid "%s: could not obtain information about current user: %s\n" +#~ msgstr "%s: nie można otrzymać informacji o bieżącym użytkowniku: %s\n" + +#~ msgid "%s: could not get current user name: %s\n" +#~ msgstr "%s: nie można otrzymać bieżącej nazwy użytkownika: %s\n" + +#~ msgid "Using the top-level directory of a mount point is not recommended.\n" +#~ msgstr "Używanie folderu głównego punktu podłączenia nie jest zalecane.\n" + +#~ msgid "could not change directory to \"%s\"" +#~ msgstr "nie można zmienić katalogu na \"%s\"" + +#~ msgid "%s: could not to allocate SIDs: error code %lu\n" +#~ msgstr "%s: nie udało się przydzielić SIDów: kod błędu %lu\n" + +#~ msgid "%s: could not close directory \"%s\": %s\n" +#~ msgstr "%s: nie można zamknąć katalogu \"%s\": %s\n" + +#~ msgid "Use the option \"--debug\" to see details.\n" +#~ msgstr "Użyj opcji \"--debug\" by zobaczyć szczegóły.\n" + +#~ msgid "No usable system locales were found.\n" +#~ msgstr "Nie znaleziono lokalizacji systemowej nadającej się do wykorzystania.\n" + +#~ msgid "%s: locale name has non-ASCII characters, skipped: \"%s\"\n" +#~ msgstr "%s: nazwa lokalizacji zawiera znak spoza ASCII, pominięto: \"%s\"\n" + +#~ msgid "%s: locale name too long, skipped: \"%s\"\n" +#~ msgstr "%s: nazwa lokalizacji zbyt długa, pominięto: \"%s\"\n" diff --git a/src/bin/initdb/po/pt_BR.po b/src/bin/initdb/po/pt_BR.po new file mode 100644 index 0000000..fd7d406 --- /dev/null +++ b/src/bin/initdb/po/pt_BR.po @@ -0,0 +1,1053 @@ +# Brazilian Portuguese message translation file for initdb +# +# Copyright (C) 2003-2023 PostgreSQL Global Development Group +# This file is distributed under the same license as the PostgreSQL package. +# +# Euler Taveira <euler@eulerto.com>, 2003-2024. +# +msgid "" +msgstr "" +"Project-Id-Version: PostgreSQL 16\n" +"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" +"POT-Creation-Date: 2024-01-02 12:54-0300\n" +"PO-Revision-Date: 2010-09-25 00:45-0300\n" +"Last-Translator: Euler Taveira <euler@eulerto.com>\n" +"Language-Team: Brazilian Portuguese <pgsql-translators@postgresql.org>\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../../src/common/logging.c:276 +#, c-format +msgid "error: " +msgstr "erro: " + +#: ../../../src/common/logging.c:283 +#, c-format +msgid "warning: " +msgstr "aviso: " + +#: ../../../src/common/logging.c:294 +#, c-format +msgid "detail: " +msgstr "detalhe: " + +#: ../../../src/common/logging.c:301 +#, c-format +msgid "hint: " +msgstr "dica: " + +#: ../../common/exec.c:172 +#, c-format +msgid "invalid binary \"%s\": %m" +msgstr "binário \"%s\" é inválido: %m" + +#: ../../common/exec.c:215 +#, c-format +msgid "could not read binary \"%s\": %m" +msgstr "não pôde ler o binário \"%s\": %m" + +#: ../../common/exec.c:223 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "não pôde encontrar o \"%s\" para executá-lo" + +#: ../../common/exec.c:250 +#, c-format +msgid "could not resolve path \"%s\" to absolute form: %m" +msgstr "não pôde resolver caminho \"%s\" para forma absoluta: %m" + +#: ../../common/exec.c:412 +#, c-format +msgid "%s() failed: %m" +msgstr "%s() falhou: %m" + +#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687 +#: initdb.c:349 +#, c-format +msgid "out of memory" +msgstr "sem memória" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161 +#, c-format +msgid "out of memory\n" +msgstr "sem memória\n" + +#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "não pode duplicar ponteiro nulo (erro interno)\n" + +#: ../../common/file_utils.c:87 ../../common/file_utils.c:447 +#, c-format +msgid "could not stat file \"%s\": %m" +msgstr "não pôde executar stat no arquivo \"%s\": %m" + +#: ../../common/file_utils.c:162 ../../common/pgfnames.c:48 +#: ../../common/rmtree.c:63 +#, c-format +msgid "could not open directory \"%s\": %m" +msgstr "não pôde abrir diretório \"%s\": %m" + +#: ../../common/file_utils.c:196 ../../common/pgfnames.c:69 +#: ../../common/rmtree.c:104 +#, c-format +msgid "could not read directory \"%s\": %m" +msgstr "não pôde ler diretório \"%s\": %m" + +#: ../../common/file_utils.c:228 ../../common/file_utils.c:287 +#: ../../common/file_utils.c:361 +#, c-format +msgid "could not open file \"%s\": %m" +msgstr "não pôde abrir arquivo \"%s\": %m" + +#: ../../common/file_utils.c:299 ../../common/file_utils.c:369 +#, c-format +msgid "could not fsync file \"%s\": %m" +msgstr "não pôde executar fsync no arquivo \"%s\": %m" + +#: ../../common/file_utils.c:379 +#, c-format +msgid "could not rename file \"%s\" to \"%s\": %m" +msgstr "não pôde renomear arquivo \"%s\" para \"%s\": %m" + +#: ../../common/pgfnames.c:74 +#, c-format +msgid "could not close directory \"%s\": %m" +msgstr "não pôde fechar diretório \"%s\": %m" + +#: ../../common/restricted_token.c:60 +#, c-format +msgid "could not open process token: error code %lu" +msgstr "não pôde abrir informação sobre processo: código de erro %lu" + +#: ../../common/restricted_token.c:74 +#, c-format +msgid "could not allocate SIDs: error code %lu" +msgstr "não pôde alocar SIDs: código de erro %lu" + +#: ../../common/restricted_token.c:94 +#, c-format +msgid "could not create restricted token: error code %lu" +msgstr "não pôde criar informação restrita: código de erro %lu" + +#: ../../common/restricted_token.c:115 +#, c-format +msgid "could not start process for command \"%s\": error code %lu" +msgstr "não pôde iniciar processo para comando \"%s\": código de erro %lu" + +#: ../../common/restricted_token.c:153 +#, c-format +msgid "could not re-execute with restricted token: error code %lu" +msgstr "não pôde executar novamente com informação restrita: código de erro %lu" + +#: ../../common/restricted_token.c:168 +#, c-format +msgid "could not get exit code from subprocess: error code %lu" +msgstr "não pôde obter código de saída de subprocesso: código de erro %lu" + +#: ../../common/rmtree.c:95 +#, c-format +msgid "could not remove file \"%s\": %m" +msgstr "não pôde remover arquivo \"%s\": %m" + +#: ../../common/rmtree.c:122 +#, c-format +msgid "could not remove directory \"%s\": %m" +msgstr "não pôde remover diretório \"%s\": %m" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "não pôde encontrar ID de usuário efetivo %ld: %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "usuário não existe" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "falhou ao pesquisar nome de usuário: código de erro %lu" + +#: ../../common/wait_error.c:55 +#, c-format +msgid "command not executable" +msgstr "comando não é executável" + +#: ../../common/wait_error.c:59 +#, c-format +msgid "command not found" +msgstr "comando não encontrado" + +#: ../../common/wait_error.c:64 +#, c-format +msgid "child process exited with exit code %d" +msgstr "processo filho terminou com código de saída %d" + +#: ../../common/wait_error.c:72 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "processo filho foi terminado pela exceção 0x%X" + +#: ../../common/wait_error.c:76 +#, c-format +msgid "child process was terminated by signal %d: %s" +msgstr "processo filho foi terminado pelo sinal %d: %s" + +#: ../../common/wait_error.c:82 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "processo filho terminou com status desconhecido %d" + +#: ../../port/dirmod.c:287 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "não pôde definir junção para \"%s\": %s\n" + +#: ../../port/dirmod.c:367 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "não pôde obter junção para \"%s\": %s\n" + +#: initdb.c:618 initdb.c:1613 +#, c-format +msgid "could not open file \"%s\" for reading: %m" +msgstr "não pôde abrir arquivo \"%s\" para leitura: %m" + +#: initdb.c:662 initdb.c:966 initdb.c:986 +#, c-format +msgid "could not open file \"%s\" for writing: %m" +msgstr "não pôde abrir arquivo \"%s\" para escrita: %m" + +#: initdb.c:666 initdb.c:969 initdb.c:988 +#, c-format +msgid "could not write file \"%s\": %m" +msgstr "não pôde escrever no arquivo \"%s\": %m" + +#: initdb.c:670 +#, c-format +msgid "could not close file \"%s\": %m" +msgstr "não pôde fechar arquivo \"%s\": %m" + +#: initdb.c:686 +#, c-format +msgid "could not execute command \"%s\": %m" +msgstr "não pôde executar comando \"%s\": %m" + +#: initdb.c:704 +#, c-format +msgid "removing data directory \"%s\"" +msgstr "removendo diretório de dados \"%s\"" + +#: initdb.c:706 +#, c-format +msgid "failed to remove data directory" +msgstr "falhou ao remover diretório de dados" + +#: initdb.c:710 +#, c-format +msgid "removing contents of data directory \"%s\"" +msgstr "removendo conteúdo do diretório de dados \"%s\"" + +#: initdb.c:713 +#, c-format +msgid "failed to remove contents of data directory" +msgstr "falhou ao remover conteúdo do diretório de dados" + +#: initdb.c:718 +#, c-format +msgid "removing WAL directory \"%s\"" +msgstr "removendo diretório do WAL \"%s\"" + +#: initdb.c:720 +#, c-format +msgid "failed to remove WAL directory" +msgstr "falhou ao remover diretório do WAL" + +#: initdb.c:724 +#, c-format +msgid "removing contents of WAL directory \"%s\"" +msgstr "removendo conteúdo do diretório do WAL \"%s\"" + +#: initdb.c:726 +#, c-format +msgid "failed to remove contents of WAL directory" +msgstr "falhou ao remover conteúdo do diretório do WAL" + +#: initdb.c:733 +#, c-format +msgid "data directory \"%s\" not removed at user's request" +msgstr "diretório de dados \"%s\" não foi removido a pedido do usuário" + +#: initdb.c:737 +#, c-format +msgid "WAL directory \"%s\" not removed at user's request" +msgstr "diretório do WAL \"%s\" não foi removido a pedido do usuário" + +#: initdb.c:755 +#, c-format +msgid "cannot be run as root" +msgstr "não pode ser executado como root" + +#: initdb.c:756 +#, c-format +msgid "Please log in (using, e.g., \"su\") as the (unprivileged) user that will own the server process." +msgstr "Por favor entre (utilizando, e.g., \"su\") como usuário (sem privilégios) que será o dono do processo do servidor." + +#: initdb.c:788 +#, c-format +msgid "\"%s\" is not a valid server encoding name" +msgstr "\"%s\" não é um nome de codificação do servidor válido" + +#: initdb.c:932 +#, c-format +msgid "file \"%s\" does not exist" +msgstr "arquivo \"%s\" não existe" + +#: initdb.c:933 initdb.c:938 initdb.c:945 +#, c-format +msgid "This might mean you have a corrupted installation or identified the wrong directory with the invocation option -L." +msgstr "Isso significa que você tem uma instalação corrompida ou especificou o diretório errado com a invocação da opção -L." + +#: initdb.c:937 +#, c-format +msgid "could not access file \"%s\": %m" +msgstr "não pôde acessar arquivo \"%s\": %m" + +#: initdb.c:944 +#, c-format +msgid "file \"%s\" is not a regular file" +msgstr "arquivo \"%s\" não é um arquivo regular" + +#: initdb.c:1077 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "selecionando implementação de memória compartilhada dinâmica ... " + +#: initdb.c:1086 +#, c-format +msgid "selecting default max_connections ... " +msgstr "selecionando max_connections padrão ... " + +#: initdb.c:1106 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "selecionando shared_buffers padrão ... " + +#: initdb.c:1129 +#, c-format +msgid "selecting default time zone ... " +msgstr "selecionando fuso horário padrão ... " + +#: initdb.c:1206 +msgid "creating configuration files ... " +msgstr "criando arquivos de configuração ... " + +#: initdb.c:1367 initdb.c:1381 initdb.c:1448 initdb.c:1459 +#, c-format +msgid "could not change permissions of \"%s\": %m" +msgstr "não pôde mudar permissões de \"%s\": %m" + +#: initdb.c:1477 +#, c-format +msgid "running bootstrap script ... " +msgstr "executando script de inicialização ... " + +#: initdb.c:1489 +#, c-format +msgid "input file \"%s\" does not belong to PostgreSQL %s" +msgstr "arquivo de entrada \"%s\" não pertence ao PostgreSQL %s" + +#: initdb.c:1491 +#, c-format +msgid "Specify the correct path using the option -L." +msgstr "Especifique o caminho correto utilizando a opção -L." + +#: initdb.c:1591 +msgid "Enter new superuser password: " +msgstr "Digite nova senha de super-usuário: " + +#: initdb.c:1592 +msgid "Enter it again: " +msgstr "Digite-a novamente: " + +#: initdb.c:1595 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "Senhas não correspondem.\n" + +#: initdb.c:1619 +#, c-format +msgid "could not read password from file \"%s\": %m" +msgstr "não pôde ler senha do arquivo \"%s\": %m" + +#: initdb.c:1622 +#, c-format +msgid "password file \"%s\" is empty" +msgstr "arquivo de senhas \"%s\" está vazio" + +#: initdb.c:2034 +#, c-format +msgid "caught signal\n" +msgstr "sinal foi recebido\n" + +#: initdb.c:2040 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "não pôde escrever em processo filho: %s\n" + +#: initdb.c:2048 +#, c-format +msgid "ok\n" +msgstr "ok\n" + +#: initdb.c:2137 +#, c-format +msgid "setlocale() failed" +msgstr "setlocale() falhou" + +#: initdb.c:2155 +#, c-format +msgid "failed to restore old locale \"%s\"" +msgstr "falhou ao restaurar configuração regional antiga \"%s\"" + +#: initdb.c:2163 +#, c-format +msgid "invalid locale name \"%s\"" +msgstr "nome de configuração regional \"%s\" é inválido" + +#: initdb.c:2164 +#, c-format +msgid "If the locale name is specific to ICU, use --icu-locale." +msgstr "Se o nome da configuração regional é específico do ICU, utilize --icu-locale." + +#: initdb.c:2177 +#, c-format +msgid "invalid locale settings; check LANG and LC_* environment variables" +msgstr "definições de configuração regional inválidas; verifique as variáveis de ambiente LANG e LC_*" + +#: initdb.c:2203 initdb.c:2227 +#, c-format +msgid "encoding mismatch" +msgstr "codificação não corresponde" + +#: initdb.c:2204 +#, c-format +msgid "The encoding you selected (%s) and the encoding that the selected locale uses (%s) do not match. This would lead to misbehavior in various character string processing functions." +msgstr "A codificação que você escolheu (%s) e a codificação que a configuração regional selecionada utiliza (%s) não tem correspondência. Isto pode conduzir a um comportamento inesperado em funções de processamento de cadeia de caracteres." + +#: initdb.c:2209 initdb.c:2230 +#, c-format +msgid "Rerun %s and either do not specify an encoding explicitly, or choose a matching combination." +msgstr "Execute %s novamente e não especifique uma codificação explicitamente ou escolha uma outra combinação." + +#: initdb.c:2228 +#, c-format +msgid "The encoding you selected (%s) is not supported with the ICU provider." +msgstr "A codificação que você selecionou (%s) não é suportada com o provedor ICU." + +#: initdb.c:2279 +#, fuzzy, c-format +msgid "could not convert locale name \"%s\" to language tag: %s" +msgstr "não pôde converter nome de configuração regional \"%s\" para tag da língua: %s" + +#: initdb.c:2285 initdb.c:2337 initdb.c:2416 +#, c-format +msgid "ICU is not supported in this build" +msgstr "ICU não é suportado por essa construção" + +#: initdb.c:2308 +#, c-format +msgid "could not get language from locale \"%s\": %s" +msgstr "não pôde obter língua de configuração regional \"%s\": %s" + +#: initdb.c:2334 +#, c-format +msgid "locale \"%s\" has unknown language \"%s\"" +msgstr "configuração regional \"%s\" tem língua desconhecida \"%s\"" + +#: initdb.c:2400 +#, c-format +msgid "ICU locale must be specified" +msgstr "configuração regional ICU deve ser especificado" + +#: initdb.c:2404 +#, fuzzy, c-format +msgid "Using language tag \"%s\" for ICU locale \"%s\".\n" +msgstr "Utilizando tag da língua \"%s\" para configuração regional ICU \"%s\".\n" + +#: initdb.c:2427 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"%s inicializa um agrupamento de banco de dados PostgreSQL.\n" +"\n" + +#: initdb.c:2428 +#, c-format +msgid "Usage:\n" +msgstr "Uso:\n" + +#: initdb.c:2429 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [OPÇÃO]... [DIRDADOS]\n" + +#: initdb.c:2430 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"Opções:\n" + +#: initdb.c:2431 +#, c-format +msgid " -A, --auth=METHOD default authentication method for local connections\n" +msgstr " -A, --auth=MÉTODO método de autenticação padrão para conexões locais\n" + +#: initdb.c:2432 +#, c-format +msgid " --auth-host=METHOD default authentication method for local TCP/IP connections\n" +msgstr " --auth-host=MÉTODO método de autenticação padrão para conexões TCP/IP locais\n" + +#: initdb.c:2433 +#, c-format +msgid " --auth-local=METHOD default authentication method for local-socket connections\n" +msgstr " --auth-local=MÉTODO método de autenticação padrão para conexões de soquete locais\n" + +#: initdb.c:2434 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr " [-D, --pgdata=]DIRDADOS local do agrupamento de banco de dados\n" + +#: initdb.c:2435 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr " -E, --encoding=CODIFICAÇÃO ajusta a codificação padrão para novos bancos de dados\n" + +#: initdb.c:2436 +#, c-format +msgid " -g, --allow-group-access allow group read/execute on data directory\n" +msgstr " -g, --allow-group-access permite leitura/execução do grupo no diretório de dados\n" + +#: initdb.c:2437 +#, c-format +msgid " --icu-locale=LOCALE set ICU locale ID for new databases\n" +msgstr " --icu-locale=LOCALE ajusta ID de configuração regional ICU para novos bancos de dados\n" + +#: initdb.c:2438 +#, fuzzy, c-format +msgid " --icu-rules=RULES set additional ICU collation rules for new databases\n" +msgstr " --icu-rules=REGRAS ajusta regras adicionais de agregação ICU para novos bancos de dados\n" + +#: initdb.c:2439 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr " -k, --data-checksums verificações de páginas de dados\n" + +#: initdb.c:2440 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr " --locale=LOCALE ajusta configuração regional padrão para novos bancos de dados\n" + +#: initdb.c:2441 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate, --lc-ctype, --lc-messages=LOCALE\n" +" --lc-monetary, --lc-numeric, --lc-time=LOCALE\n" +" ajusta configuração regional padrão na respectiva categoria\n" +" para novos bancos de dados (o ambiente é assumido como padrão)\n" + +#: initdb.c:2445 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale equivalente a --locale=C\n" + +#: initdb.c:2446 +#, c-format +msgid "" +" --locale-provider={libc|icu}\n" +" set default locale provider for new databases\n" +msgstr "" +" --locale-provider={libc|icu}\n" +" ajusta provedor de configuração regional padrão para novos bancos de dados\n" + +#: initdb.c:2448 +#, c-format +msgid " --pwfile=FILE read password for the new superuser from file\n" +msgstr " --pwfile=ARQUIVO lê senha do novo super-usuário a partir do arquivo\n" + +#: initdb.c:2449 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T, --text-search-config=CFG\n" +" configuração de busca textual padrão\n" + +#: initdb.c:2451 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=NOME nome do super-usuário do banco de dados\n" + +#: initdb.c:2452 +#, c-format +msgid " -W, --pwprompt prompt for a password for the new superuser\n" +msgstr " -W, --pwprompt pergunta senha do novo super-usuário\n" + +#: initdb.c:2453 +#, c-format +msgid " -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr " -X, --waldir=DIRWAL local do diretório do log de transação\n" + +#: initdb.c:2454 +#, c-format +msgid " --wal-segsize=SIZE size of WAL segments, in megabytes\n" +msgstr " --wal-segsize=TAMANHO tamanho dos segmentos do WAL, em megabytes\n" + +#: initdb.c:2455 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"Opções utilizadas com menos frequência:\n" + +#: initdb.c:2456 +#, fuzzy, c-format +msgid " -c, --set NAME=VALUE override default setting for server parameter\n" +msgstr " -c, --set NOME=VALOR sobrescreve o valor padrão para parâmetro do servidor\n" + +#: initdb.c:2457 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr " -d, --debug mostra saída da depuração\n" + +#: initdb.c:2458 +#, c-format +msgid " --discard-caches set debug_discard_caches=1\n" +msgstr " --discard-caches define debug_discard_caches=1\n" + +#: initdb.c:2459 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr " -L DIRETÓRIO onde encontrar os arquivos de entrada\n" + +#: initdb.c:2460 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr " -n, --no-clean não remove após erros\n" + +#: initdb.c:2461 +#, c-format +msgid " -N, --no-sync do not wait for changes to be written safely to disk\n" +msgstr " -N, --no-sync não espera mudanças serem escritas com segurança no disco\n" + +#: initdb.c:2462 +#, c-format +msgid " --no-instructions do not print instructions for next steps\n" +msgstr " --no-instructions não mostra instruções para próximos passos\n" + +#: initdb.c:2463 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show mostra definições internas\n" + +#: initdb.c:2464 +#, c-format +msgid " -S, --sync-only only sync database files to disk, then exit\n" +msgstr " -S, --sync-only sincroniza somente os arquivos de banco de dados no disco e termina\n" + +#: initdb.c:2465 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"Outras opções:\n" + +#: initdb.c:2466 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr " -V, --version mostra informação sobre a versão e termina\n" + +#: initdb.c:2467 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr " -?, --help mostra essa ajuda e termina\n" + +#: initdb.c:2468 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"Se o diretório de dados não for especificado, a variável de ambiente PGDATA\n" +"é utilizada.\n" + +#: initdb.c:2470 +#, c-format +msgid "" +"\n" +"Report bugs to <%s>.\n" +msgstr "" +"\n" +"Relate erros a <%s>.\n" + +#: initdb.c:2471 +#, c-format +msgid "%s home page: <%s>\n" +msgstr "página web do %s: <%s>\n" + +#: initdb.c:2499 +#, c-format +msgid "invalid authentication method \"%s\" for \"%s\" connections" +msgstr "método de autenticação \"%s\" é inválido para conexões \"%s\"" + +#: initdb.c:2513 +#, c-format +msgid "must specify a password for the superuser to enable password authentication" +msgstr "você precisa especificar uma senha para o super-usuário para habilitar a autenticação password" + +#: initdb.c:2532 +#, c-format +msgid "no data directory specified" +msgstr "nenhum diretório de dados foi especificado" + +#: initdb.c:2533 +#, c-format +msgid "You must identify the directory where the data for this database system will reside. Do this with either the invocation option -D or the environment variable PGDATA." +msgstr "Você deve identificar o diretório onde os dados para esse sistema de banco de dados irá residir. Faça isso especificando a opção -D ou definindo a variável de ambiente PGDATA." + +#: initdb.c:2550 +#, c-format +msgid "could not set environment" +msgstr "não pôde definir variável de ambiente" + +#: initdb.c:2568 +#, c-format +msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"" +msgstr "O programa \"%s\" é requerido pelo %s mas não foi encontrado no mesmo diretório que \"%s\"" + +#: initdb.c:2571 +#, c-format +msgid "program \"%s\" was found by \"%s\" but was not the same version as %s" +msgstr "O programa \"%s\" foi encontrado pelo \"%s\" mas não tem a mesma versão que %s" + +#: initdb.c:2586 +#, c-format +msgid "input file location must be an absolute path" +msgstr "local do arquivo de entrada deve ser um caminho absoluto" + +#: initdb.c:2603 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "O agrupamento de banco de dados será inicializado com configuração regional \"%s\".\n" + +#: initdb.c:2606 +#, c-format +msgid "The database cluster will be initialized with this locale configuration:\n" +msgstr "O agrupamento de banco de dados será inicializado com essa configuração regional:\n" + +#: initdb.c:2607 +#, c-format +msgid " provider: %s\n" +msgstr " provedor: %s\n" + +#: initdb.c:2609 +#, c-format +msgid " ICU locale: %s\n" +msgstr " configuração regional ICU: %s\n" + +#: initdb.c:2610 +#, c-format +msgid "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" +msgstr "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" + +#: initdb.c:2640 +#, c-format +msgid "could not find suitable encoding for locale \"%s\"" +msgstr "não pôde encontrar codificação ideal para configuração regional \"%s\"" + +#: initdb.c:2642 +#, c-format +msgid "Rerun %s with the -E option." +msgstr "Execute novamente %s com a opção -E." + +#: initdb.c:2643 initdb.c:3176 initdb.c:3284 initdb.c:3304 +#, c-format +msgid "Try \"%s --help\" for more information." +msgstr "Tente \"%s --help\" para obter informações adicionais." + +#: initdb.c:2655 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"Codificação \"%s\" sugerida pela configuração regional não é permitida como uma codificação do servidor.\n" +"A codificação do banco de dados padrão será definida como \"%s\".\n" + +#: initdb.c:2660 +#, c-format +msgid "locale \"%s\" requires unsupported encoding \"%s\"" +msgstr "configuração regional \"%s\" requer codificação \"%s\" que não é suportada" + +#: initdb.c:2662 +#, c-format +msgid "Encoding \"%s\" is not allowed as a server-side encoding." +msgstr "Codificação \"%s\" não é permitida como uma codificação do servidor." + +#: initdb.c:2664 +#, c-format +msgid "Rerun %s with a different locale selection." +msgstr "Execute novamente %s com uma seleção de configuração regional diferente." + +#: initdb.c:2672 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "A codificação padrão do banco de dados foi definida para \"%s\".\n" + +#: initdb.c:2741 +#, c-format +msgid "could not find suitable text search configuration for locale \"%s\"" +msgstr "não pôde encontrar configuração de busca textual ideal para configuração regional \"%s\"" + +#: initdb.c:2752 +#, c-format +msgid "suitable text search configuration for locale \"%s\" is unknown" +msgstr "configuração de busca textual ideal para configuração regional \"%s\" é desconhecida" + +#: initdb.c:2757 +#, c-format +msgid "specified text search configuration \"%s\" might not match locale \"%s\"" +msgstr "configuração de busca textual especificada \"%s\" pode não corresponder a configuração regional \"%s\"" + +#: initdb.c:2762 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "A configuração de busca textual padrão será definida como \"%s\".\n" + +#: initdb.c:2805 initdb.c:2876 +#, c-format +msgid "creating directory %s ... " +msgstr "criando diretório %s ... " + +#: initdb.c:2810 initdb.c:2881 initdb.c:2929 initdb.c:2985 +#, c-format +msgid "could not create directory \"%s\": %m" +msgstr "não pôde criar diretório \"%s\": %m" + +#: initdb.c:2819 initdb.c:2891 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "alterando permissões no diretório existente %s ... " + +#: initdb.c:2824 initdb.c:2896 +#, c-format +msgid "could not change permissions of directory \"%s\": %m" +msgstr "não pôde mudar permissões do diretório \"%s\": %m" + +#: initdb.c:2836 initdb.c:2908 +#, c-format +msgid "directory \"%s\" exists but is not empty" +msgstr "diretório \"%s\" existe mas não está vazio" + +#: initdb.c:2840 +#, c-format +msgid "If you want to create a new database system, either remove or empty the directory \"%s\" or run %s with an argument other than \"%s\"." +msgstr "Se você quer criar um novo sistema de banco de dados, remova ou esvazie o diretório \"%s\" ou execute %s com um argumento ao invés de \"%s\"." + +#: initdb.c:2848 initdb.c:2918 initdb.c:3325 +#, c-format +msgid "could not access directory \"%s\": %m" +msgstr "não pôde acessar diretório \"%s\": %m" + +#: initdb.c:2869 +#, c-format +msgid "WAL directory location must be an absolute path" +msgstr "local do diretório do WAL deve ser um caminho absoluto" + +#: initdb.c:2912 +#, c-format +msgid "If you want to store the WAL there, either remove or empty the directory \"%s\"." +msgstr "Se você quer armazenar o WAL no mesmo, remova ou esvazie o diretório \"%s\"." + +#: initdb.c:2922 +#, c-format +msgid "could not create symbolic link \"%s\": %m" +msgstr "não pôde criar link simbólico \"%s\": %m" + +#: initdb.c:2941 +#, c-format +msgid "It contains a dot-prefixed/invisible file, perhaps due to it being a mount point." +msgstr "Ele contém um arquivo iniciado por ponto/invisível, talvez por ser um ponto de montagem." + +#: initdb.c:2943 +#, c-format +msgid "It contains a lost+found directory, perhaps due to it being a mount point." +msgstr "Ele contém um diretório lost+found, talvez por ser um ponto de montagem." + +#: initdb.c:2945 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point." +msgstr "" +"Utilizar um ponto de montagem diretamente como diretório de dados não é recomendado.\n" +"Crie um subdiretório no ponto de montagem." + +#: initdb.c:2971 +#, c-format +msgid "creating subdirectories ... " +msgstr "criando subdiretórios ... " + +#: initdb.c:3014 +msgid "performing post-bootstrap initialization ... " +msgstr "executando pós-inicialização ... " + +#: initdb.c:3175 +#, c-format +msgid "-c %s requires a value" +msgstr "-c %s requer um valor" + +#: initdb.c:3200 +#, c-format +msgid "Running in debug mode.\n" +msgstr "Executando no modo de depuração.\n" + +#: initdb.c:3204 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "Executando no modo sem limpeza. Erros não serão removidos.\n" + +#: initdb.c:3274 +#, c-format +msgid "unrecognized locale provider: %s" +msgstr "provedor de configuração regional é desconhecido: %s" + +#: initdb.c:3302 +#, c-format +msgid "too many command-line arguments (first is \"%s\")" +msgstr "muitos argumentos de linha de comando (primeiro é \"%s\")" + +#: initdb.c:3309 initdb.c:3313 +#, c-format +msgid "%s cannot be specified unless locale provider \"%s\" is chosen" +msgstr "%s não pode ser especificado a não ser que o provedor de configuração regional \"%s\" seja escolhido" + +#: initdb.c:3327 initdb.c:3404 +msgid "syncing data to disk ... " +msgstr "sincronizando dados no disco ... " + +#: initdb.c:3335 +#, c-format +msgid "password prompt and password file cannot be specified together" +msgstr "opção para perguntar a senha e um arquivo de senhas não podem ser especificados juntos" + +#: initdb.c:3357 +#, c-format +msgid "argument of --wal-segsize must be a number" +msgstr "argumento de --wal-segsize deve ser um número" + +#: initdb.c:3359 +#, fuzzy, c-format +#| msgid "argument of --wal-segsize must be a power of 2 between 1 and 1024" +msgid "argument of --wal-segsize must be a power of two between 1 and 1024" +msgstr "argumento de --wal-segsize deve ser uma potência de 2 entre 1 e 1024" + +#: initdb.c:3373 +#, c-format +msgid "superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"" +msgstr "nome de super-usuário \"%s\" não é permitido; nomes de roles não podem começar com \"pg_\"" + +#: initdb.c:3375 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"Os arquivos deste sistema de banco de dados pertencerão ao usuário \"%s\".\n" +"Esse usuário deve ser o dono do processo do servidor também.\n" +"\n" + +#: initdb.c:3391 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "Verificações de páginas de dados estão habilitadas.\n" + +#: initdb.c:3393 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "Verificações de páginas de dados estão desabilitadas.\n" + +#: initdb.c:3410 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"Sincronização com o disco foi ignorada.\n" +"O diretório de dados pode ser danificado se houver uma queda do sistema operacional.\n" + +#: initdb.c:3415 +#, c-format +msgid "enabling \"trust\" authentication for local connections" +msgstr "habilitando autenticação \"trust\" para conexões locais" + +#: initdb.c:3416 +#, c-format +msgid "You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb." +msgstr "Você pode mudá-lo editando o pg_hba.conf ou utilizando a opção -A, ou --auth-local e --auth-host, na próxima vez que você executar o initdb." + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3446 +msgid "logfile" +msgstr "arquivolog" + +#: initdb.c:3448 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"Sucesso. Você pode iniciar o servidor de banco de dados utilizando:\n" +"\n" +" %s\n" +"\n" diff --git a/src/bin/initdb/po/ru.po b/src/bin/initdb/po/ru.po new file mode 100644 index 0000000..d05b42c --- /dev/null +++ b/src/bin/initdb/po/ru.po @@ -0,0 +1,1295 @@ +# Russian message translation file for initdb +# Copyright (C) 2004-2016 PostgreSQL Global Development Group +# This file is distributed under the same license as the PostgreSQL package. +# Serguei A. Mokhov <mokhov@cs.concordia.ca>, 2004-2005. +# Oleg Bartunov <oleg@sai.msu.su>, 2004. +# Sergey Burladyan <eshkinkot@gmail.com>, 2009. +# Andrey Sudnik <sudnikand@yandex.ru>, 2010. +# Dmitriy Olshevskiy <olshevskiy87@bk.ru>, 2014. +# Alexander Lakhin <exclusion@gmail.com>, 2012-2017, 2018, 2019, 2020, 2021, 2022, 2023. +msgid "" +msgstr "" +"Project-Id-Version: initdb (PostgreSQL current)\n" +"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" +"POT-Creation-Date: 2024-02-02 18:10+0300\n" +"PO-Revision-Date: 2023-09-11 16:13+0300\n" +"Last-Translator: Alexander Lakhin <exclusion@gmail.com>\n" +"Language-Team: Russian <pgsql-ru-general@postgresql.org>\n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: ../../../src/common/logging.c:276 +#, c-format +msgid "error: " +msgstr "ошибка: " + +#: ../../../src/common/logging.c:283 +#, c-format +msgid "warning: " +msgstr "предупреждение: " + +#: ../../../src/common/logging.c:294 +#, c-format +msgid "detail: " +msgstr "подробности: " + +#: ../../../src/common/logging.c:301 +#, c-format +msgid "hint: " +msgstr "подсказка: " + +#: ../../common/exec.c:172 +#, c-format +msgid "invalid binary \"%s\": %m" +msgstr "неверный исполняемый файл \"%s\": %m" + +#: ../../common/exec.c:215 +#, c-format +msgid "could not read binary \"%s\": %m" +msgstr "не удалось прочитать исполняемый файл \"%s\": %m" + +#: ../../common/exec.c:223 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "не удалось найти запускаемый файл \"%s\"" + +#: ../../common/exec.c:250 +#, c-format +msgid "could not resolve path \"%s\" to absolute form: %m" +msgstr "не удалось преобразовать относительный путь \"%s\" в абсолютный: %m" + +#: ../../common/exec.c:412 +#, c-format +msgid "%s() failed: %m" +msgstr "ошибка в %s(): %m" + +#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687 +#: initdb.c:349 +#, c-format +msgid "out of memory" +msgstr "нехватка памяти" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161 +#, c-format +msgid "out of memory\n" +msgstr "нехватка памяти\n" + +#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "попытка дублирования нулевого указателя (внутренняя ошибка)\n" + +#: ../../common/file_utils.c:87 ../../common/file_utils.c:447 +#, c-format +msgid "could not stat file \"%s\": %m" +msgstr "не удалось получить информацию о файле \"%s\": %m" + +#: ../../common/file_utils.c:162 ../../common/pgfnames.c:48 +#: ../../common/rmtree.c:63 +#, c-format +msgid "could not open directory \"%s\": %m" +msgstr "не удалось открыть каталог \"%s\": %m" + +#: ../../common/file_utils.c:196 ../../common/pgfnames.c:69 +#: ../../common/rmtree.c:104 +#, c-format +msgid "could not read directory \"%s\": %m" +msgstr "не удалось прочитать каталог \"%s\": %m" + +#: ../../common/file_utils.c:228 ../../common/file_utils.c:287 +#: ../../common/file_utils.c:361 +#, c-format +msgid "could not open file \"%s\": %m" +msgstr "не удалось открыть файл \"%s\": %m" + +#: ../../common/file_utils.c:299 ../../common/file_utils.c:369 +#, c-format +msgid "could not fsync file \"%s\": %m" +msgstr "не удалось синхронизировать с ФС файл \"%s\": %m" + +#: ../../common/file_utils.c:379 +#, c-format +msgid "could not rename file \"%s\" to \"%s\": %m" +msgstr "не удалось переименовать файл \"%s\" в \"%s\": %m" + +#: ../../common/pgfnames.c:74 +#, c-format +msgid "could not close directory \"%s\": %m" +msgstr "не удалось закрыть каталог \"%s\": %m" + +#: ../../common/restricted_token.c:60 +#, c-format +msgid "could not open process token: error code %lu" +msgstr "не удалось открыть маркер процесса (код ошибки: %lu)" + +#: ../../common/restricted_token.c:74 +#, c-format +msgid "could not allocate SIDs: error code %lu" +msgstr "не удалось подготовить структуры SID (код ошибки: %lu)" + +#: ../../common/restricted_token.c:94 +#, c-format +msgid "could not create restricted token: error code %lu" +msgstr "не удалось создать ограниченный маркер (код ошибки: %lu)" + +#: ../../common/restricted_token.c:115 +#, c-format +msgid "could not start process for command \"%s\": error code %lu" +msgstr "не удалось запустить процесс для команды \"%s\" (код ошибки: %lu)" + +#: ../../common/restricted_token.c:153 +#, c-format +msgid "could not re-execute with restricted token: error code %lu" +msgstr "не удалось перезапуститься с ограниченным маркером (код ошибки: %lu)" + +#: ../../common/restricted_token.c:168 +#, c-format +msgid "could not get exit code from subprocess: error code %lu" +msgstr "не удалось получить код выхода от подпроцесса (код ошибки: %lu)" + +#: ../../common/rmtree.c:95 +#, c-format +msgid "could not remove file \"%s\": %m" +msgstr "не удалось стереть файл \"%s\": %m" + +#: ../../common/rmtree.c:122 +#, c-format +msgid "could not remove directory \"%s\": %m" +msgstr "ошибка при удалении каталога \"%s\": %m" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "выяснить эффективный идентификатор пользователя (%ld) не удалось: %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "пользователь не существует" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "распознать имя пользователя не удалось (код ошибки: %lu)" + +#: ../../common/wait_error.c:55 +#, c-format +msgid "command not executable" +msgstr "неисполняемая команда" + +#: ../../common/wait_error.c:59 +#, c-format +msgid "command not found" +msgstr "команда не найдена" + +#: ../../common/wait_error.c:64 +#, c-format +msgid "child process exited with exit code %d" +msgstr "дочерний процесс завершился с кодом возврата %d" + +#: ../../common/wait_error.c:72 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "дочерний процесс прерван исключением 0x%X" + +#: ../../common/wait_error.c:76 +#, c-format +msgid "child process was terminated by signal %d: %s" +msgstr "дочерний процесс завершён по сигналу %d: %s" + +#: ../../common/wait_error.c:82 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "дочерний процесс завершился с нераспознанным состоянием %d" + +#: ../../port/dirmod.c:287 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "не удалось создать связь для каталога \"%s\": %s\n" + +#: ../../port/dirmod.c:367 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "не удалось получить связь для каталога \"%s\": %s\n" + +#: initdb.c:618 initdb.c:1605 +#, c-format +msgid "could not open file \"%s\" for reading: %m" +msgstr "не удалось открыть файл \"%s\" для чтения: %m" + +#: initdb.c:662 initdb.c:966 initdb.c:986 +#, c-format +msgid "could not open file \"%s\" for writing: %m" +msgstr "не удалось открыть файл \"%s\" для записи: %m" + +#: initdb.c:666 initdb.c:969 initdb.c:988 +#, c-format +msgid "could not write file \"%s\": %m" +msgstr "не удалось записать файл \"%s\": %m" + +#: initdb.c:670 +#, c-format +msgid "could not close file \"%s\": %m" +msgstr "не удалось закрыть файл \"%s\": %m" + +#: initdb.c:686 +#, c-format +msgid "could not execute command \"%s\": %m" +msgstr "не удалось выполнить команду \"%s\": %m" + +#: initdb.c:704 +#, c-format +msgid "removing data directory \"%s\"" +msgstr "удаление каталога данных \"%s\"" + +#: initdb.c:706 +#, c-format +msgid "failed to remove data directory" +msgstr "ошибка при удалении каталога данных" + +#: initdb.c:710 +#, c-format +msgid "removing contents of data directory \"%s\"" +msgstr "удаление содержимого каталога данных \"%s\"" + +#: initdb.c:713 +#, c-format +msgid "failed to remove contents of data directory" +msgstr "ошибка при удалении содержимого каталога данных" + +#: initdb.c:718 +#, c-format +msgid "removing WAL directory \"%s\"" +msgstr "удаление каталога WAL \"%s\"" + +#: initdb.c:720 +#, c-format +msgid "failed to remove WAL directory" +msgstr "ошибка при удалении каталога WAL" + +#: initdb.c:724 +#, c-format +msgid "removing contents of WAL directory \"%s\"" +msgstr "удаление содержимого каталога WAL \"%s\"" + +#: initdb.c:726 +#, c-format +msgid "failed to remove contents of WAL directory" +msgstr "ошибка при удалении содержимого каталога WAL" + +#: initdb.c:733 +#, c-format +msgid "data directory \"%s\" not removed at user's request" +msgstr "каталог данных \"%s\" не был удалён по запросу пользователя" + +#: initdb.c:737 +#, c-format +msgid "WAL directory \"%s\" not removed at user's request" +msgstr "каталог WAL \"%s\" не был удалён по запросу пользователя" + +#: initdb.c:755 +#, c-format +msgid "cannot be run as root" +msgstr "программу не должен запускать root" + +#: initdb.c:756 +#, c-format +msgid "" +"Please log in (using, e.g., \"su\") as the (unprivileged) user that will own " +"the server process." +msgstr "" +"Пожалуйста, переключитесь на обычного пользователя (например, используя " +"\"su\"), которому будет принадлежать серверный процесс." + +#: initdb.c:788 +#, c-format +msgid "\"%s\" is not a valid server encoding name" +msgstr "\"%s\" — некорректное имя серверной кодировки" + +#: initdb.c:932 +#, c-format +msgid "file \"%s\" does not exist" +msgstr "файл \"%s\" не существует" + +#: initdb.c:933 initdb.c:938 initdb.c:945 +#, c-format +msgid "" +"This might mean you have a corrupted installation or identified the wrong " +"directory with the invocation option -L." +msgstr "" +"Это означает, что ваша установка PostgreSQL испорчена или в параметре -L " +"задан неправильный каталог." + +#: initdb.c:937 +#, c-format +msgid "could not access file \"%s\": %m" +msgstr "нет доступа к файлу \"%s\": %m" + +#: initdb.c:944 +#, c-format +msgid "file \"%s\" is not a regular file" +msgstr "\"%s\" — не обычный файл" + +#: initdb.c:1077 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "выбирается реализация динамической разделяемой памяти... " + +#: initdb.c:1086 +#, c-format +msgid "selecting default max_connections ... " +msgstr "выбирается значение max_connections по умолчанию... " + +#: initdb.c:1106 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "выбирается значение shared_buffers по умолчанию... " + +#: initdb.c:1129 +#, c-format +msgid "selecting default time zone ... " +msgstr "выбирается часовой пояс по умолчанию... " + +#: initdb.c:1206 +msgid "creating configuration files ... " +msgstr "создание конфигурационных файлов... " + +#: initdb.c:1359 initdb.c:1373 initdb.c:1440 initdb.c:1451 +#, c-format +msgid "could not change permissions of \"%s\": %m" +msgstr "не удалось поменять права для \"%s\": %m" + +#: initdb.c:1469 +#, c-format +msgid "running bootstrap script ... " +msgstr "выполняется подготовительный скрипт... " + +#: initdb.c:1481 +#, c-format +msgid "input file \"%s\" does not belong to PostgreSQL %s" +msgstr "входной файл \"%s\" не принадлежит PostgreSQL %s" + +#: initdb.c:1483 +#, c-format +msgid "Specify the correct path using the option -L." +msgstr "Укажите корректный путь в параметре -L." + +#: initdb.c:1583 +msgid "Enter new superuser password: " +msgstr "Введите новый пароль суперпользователя: " + +#: initdb.c:1584 +msgid "Enter it again: " +msgstr "Повторите его: " + +#: initdb.c:1587 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "Пароли не совпадают.\n" + +#: initdb.c:1611 +#, c-format +msgid "could not read password from file \"%s\": %m" +msgstr "не удалось прочитать пароль из файла \"%s\": %m" + +#: initdb.c:1614 +#, c-format +msgid "password file \"%s\" is empty" +msgstr "файл пароля \"%s\" пуст" + +#: initdb.c:2026 +#, c-format +msgid "caught signal\n" +msgstr "получен сигнал\n" + +#: initdb.c:2032 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "не удалось записать в поток дочернего процесса: %s\n" + +#: initdb.c:2040 +#, c-format +msgid "ok\n" +msgstr "ок\n" + +#: initdb.c:2129 +#, c-format +msgid "setlocale() failed" +msgstr "ошибка в setlocale()" + +#: initdb.c:2147 +#, c-format +msgid "failed to restore old locale \"%s\"" +msgstr "не удалось восстановить старую локаль \"%s\"" + +#: initdb.c:2155 +#, c-format +msgid "invalid locale name \"%s\"" +msgstr "ошибочное имя локали \"%s\"" + +#: initdb.c:2156 +#, c-format +msgid "If the locale name is specific to ICU, use --icu-locale." +msgstr "Если эта локаль свойственна ICU, укажите --icu-locale." + +#: initdb.c:2169 +#, c-format +msgid "invalid locale settings; check LANG and LC_* environment variables" +msgstr "неверные установки локали; проверьте переменные окружения LANG и LC_*" + +#: initdb.c:2195 initdb.c:2219 +#, c-format +msgid "encoding mismatch" +msgstr "несоответствие кодировки" + +#: initdb.c:2196 +#, c-format +msgid "" +"The encoding you selected (%s) and the encoding that the selected locale " +"uses (%s) do not match. This would lead to misbehavior in various character " +"string processing functions." +msgstr "" +"Выбранная вами кодировка (%s) не совпадает с кодировкой локали (%s). Это " +"может привести к неправильной работе различных функций обработки текстовых " +"строк." + +#: initdb.c:2201 initdb.c:2222 +#, c-format +msgid "" +"Rerun %s and either do not specify an encoding explicitly, or choose a " +"matching combination." +msgstr "" +"Для исправления перезапустите %s, не указывая кодировку явно, либо выберите " +"подходящее сочетание параметров локализации." + +#: initdb.c:2220 +#, c-format +msgid "The encoding you selected (%s) is not supported with the ICU provider." +msgstr "Выбранная вами кодировка (%s) не поддерживается провайдером ICU." + +#: initdb.c:2271 +#, c-format +msgid "could not convert locale name \"%s\" to language tag: %s" +msgstr "не удалось получить из названия локали \"%s\" метку языка: %s" + +#: initdb.c:2277 initdb.c:2329 initdb.c:2408 +#, c-format +msgid "ICU is not supported in this build" +msgstr "ICU не поддерживается в данной сборке" + +#: initdb.c:2300 +#, c-format +msgid "could not get language from locale \"%s\": %s" +msgstr "не удалось определить язык для локали \"%s\": %s" + +#: initdb.c:2326 +#, c-format +msgid "locale \"%s\" has unknown language \"%s\"" +msgstr "для локали \"%s\" получен неизвестный язык \"%s\"" + +#: initdb.c:2392 +#, c-format +msgid "ICU locale must be specified" +msgstr "необходимо задать локаль ICU" + +#: initdb.c:2396 +#, c-format +msgid "Using language tag \"%s\" for ICU locale \"%s\".\n" +msgstr "Для локали ICU \"%s\" используется метка языка \"%s\".\n" + +#: initdb.c:2419 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"%s инициализирует кластер PostgreSQL.\n" +"\n" + +#: initdb.c:2420 +#, c-format +msgid "Usage:\n" +msgstr "Использование:\n" + +#: initdb.c:2421 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [ПАРАМЕТР]... [КАТАЛОГ]\n" + +#: initdb.c:2422 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"Параметры:\n" + +#: initdb.c:2423 +#, c-format +msgid "" +" -A, --auth=METHOD default authentication method for local " +"connections\n" +msgstr "" +" -A, --auth=МЕТОД метод проверки подлинности по умолчанию\n" +" для локальных подключений\n" + +#: initdb.c:2424 +#, c-format +msgid "" +" --auth-host=METHOD default authentication method for local TCP/IP " +"connections\n" +msgstr "" +" --auth-host=МЕТОД метод проверки подлинности по умолчанию\n" +" для локальных TCP/IP-подключений\n" + +#: initdb.c:2425 +#, c-format +msgid "" +" --auth-local=METHOD default authentication method for local-socket " +"connections\n" +msgstr "" +" --auth-local=МЕТОД метод проверки подлинности по умолчанию\n" +" для локальных подключений через сокет\n" + +#: initdb.c:2426 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr " [-D, --pgdata=]КАТАЛОГ расположение данных этого кластера БД\n" + +#: initdb.c:2427 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr " -E, --encoding=КОДИРОВКА кодировка по умолчанию для новых баз\n" + +#: initdb.c:2428 +#, c-format +msgid "" +" -g, --allow-group-access allow group read/execute on data directory\n" +msgstr "" +" -g, --allow-group-access разрешить чтение/выполнение в каталоге данных " +"для\n" +" группы\n" + +#: initdb.c:2429 +#, c-format +msgid " --icu-locale=LOCALE set ICU locale ID for new databases\n" +msgstr " --icu-locale=ЛОКАЛЬ идентификатор локали ICU для новых баз\n" + +#: initdb.c:2430 +#, c-format +msgid "" +" --icu-rules=RULES set additional ICU collation rules for new " +"databases\n" +msgstr "" +" --icu-rules=ПРАВИЛА дополнительные правила сортировки ICU для новых " +"баз\n" + +#: initdb.c:2431 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr " -k, --data-checksums включить контроль целостности страниц\n" + +#: initdb.c:2432 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr " --locale=ЛОКАЛЬ локаль по умолчанию для новых баз\n" + +#: initdb.c:2433 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category " +"for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate=, --lc-ctype=, --lc-messages=ЛОКАЛЬ\n" +" --lc-monetary=, --lc-numeric=, --lc-time=ЛОКАЛЬ\n" +" установить соответствующий параметр локали\n" +" для новых баз (вместо значения из окружения)\n" + +#: initdb.c:2437 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale эквивалентно --locale=C\n" + +#: initdb.c:2438 +#, c-format +msgid "" +" --locale-provider={libc|icu}\n" +" set default locale provider for new databases\n" +msgstr "" +" --locale-provider={libc|icu}\n" +" провайдер основной локали для новых баз\n" + +#: initdb.c:2440 +#, c-format +msgid "" +" --pwfile=FILE read password for the new superuser from file\n" +msgstr "" +" --pwfile=ФАЙЛ прочитать пароль суперпользователя из файла\n" + +#: initdb.c:2441 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T, --text-search-config=КОНФИГУРАЦИЯ\n" +" конфигурация текстового поиска по умолчанию\n" + +#: initdb.c:2443 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=ИМЯ имя суперпользователя БД\n" + +#: initdb.c:2444 +#, c-format +msgid "" +" -W, --pwprompt prompt for a password for the new superuser\n" +msgstr " -W, --pwprompt запросить пароль суперпользователя\n" + +#: initdb.c:2445 +#, c-format +msgid "" +" -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr " -X, --waldir=КАТАЛОГ расположение журнала предзаписи\n" + +#: initdb.c:2446 +#, c-format +msgid " --wal-segsize=SIZE size of WAL segments, in megabytes\n" +msgstr " --wal-segsize=РАЗМЕР размер сегментов WAL (в мегабайтах)\n" + +#: initdb.c:2447 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"Редко используемые параметры:\n" + +#: initdb.c:2448 +#, c-format +msgid "" +" -c, --set NAME=VALUE override default setting for server parameter\n" +msgstr "" +" -c, --set ИМЯ=ЗНАЧЕНИЕ переопределить значение серверного параметра по\n" +" умолчанию\n" + +#: initdb.c:2449 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr " -d, --debug выдавать много отладочных сообщений\n" + +#: initdb.c:2450 +#, c-format +msgid " --discard-caches set debug_discard_caches=1\n" +msgstr " --discard-caches установить debug_discard_caches=1\n" + +#: initdb.c:2451 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr " -L КАТАЛОГ расположение входных файлов\n" + +#: initdb.c:2452 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr " -n, --no-clean не очищать после ошибок\n" + +#: initdb.c:2453 +#, c-format +msgid "" +" -N, --no-sync do not wait for changes to be written safely to " +"disk\n" +msgstr "" +" -N, --no-sync не ждать завершения сохранения данных на диске\n" + +#: initdb.c:2454 +#, c-format +msgid " --no-instructions do not print instructions for next steps\n" +msgstr "" +" --no-instructions не выводить инструкции для дальнейших действий\n" + +#: initdb.c:2455 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show показать внутренние установки\n" + +#: initdb.c:2456 +#, c-format +msgid "" +" -S, --sync-only only sync database files to disk, then exit\n" +msgstr "" +" -S, --sync-only только синхронизировать с ФС файлы базы и " +"завершиться\n" + +#: initdb.c:2457 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"Другие параметры:\n" + +#: initdb.c:2458 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr " -V, --version показать версию и выйти\n" + +#: initdb.c:2459 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr " -?, --help показать эту справку и выйти\n" + +#: initdb.c:2460 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"Если каталог данных не указан, используется переменная окружения PGDATA.\n" + +#: initdb.c:2462 +#, c-format +msgid "" +"\n" +"Report bugs to <%s>.\n" +msgstr "" +"\n" +"Об ошибках сообщайте по адресу <%s>.\n" + +#: initdb.c:2463 +#, c-format +msgid "%s home page: <%s>\n" +msgstr "Домашняя страница %s: <%s>\n" + +#: initdb.c:2491 +#, c-format +msgid "invalid authentication method \"%s\" for \"%s\" connections" +msgstr "" +"нераспознанный метод проверки подлинности \"%s\" для подключений \"%s\"" + +#: initdb.c:2505 +#, c-format +msgid "" +"must specify a password for the superuser to enable password authentication" +msgstr "" +"для включения аутентификации по паролю необходимо указать пароль " +"суперпользователя" + +#: initdb.c:2524 +#, c-format +msgid "no data directory specified" +msgstr "каталог данных не указан" + +#: initdb.c:2525 +#, c-format +msgid "" +"You must identify the directory where the data for this database system will " +"reside. Do this with either the invocation option -D or the environment " +"variable PGDATA." +msgstr "" +"Вы должны указать каталог, в котором будут располагаться данные этой СУБД. " +"Это можно сделать, добавив ключ -D или установив переменную окружения PGDATA." + +#: initdb.c:2542 +#, c-format +msgid "could not set environment" +msgstr "не удалось задать переменную окружения" + +#: initdb.c:2560 +#, c-format +msgid "" +"program \"%s\" is needed by %s but was not found in the same directory as " +"\"%s\"" +msgstr "программа \"%s\" нужна для %s, но она не найдена в каталоге \"%s\"" + +#: initdb.c:2563 +#, c-format +msgid "program \"%s\" was found by \"%s\" but was not the same version as %s" +msgstr "" +"программа \"%s\" найдена программой \"%s\", но её версия отличается от " +"версии %s" + +#: initdb.c:2578 +#, c-format +msgid "input file location must be an absolute path" +msgstr "расположение входных файлов должно задаваться абсолютным путём" + +#: initdb.c:2595 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "Кластер баз данных будет инициализирован с локалью \"%s\".\n" + +#: initdb.c:2598 +#, c-format +msgid "" +"The database cluster will be initialized with this locale configuration:\n" +msgstr "" +"Кластер баз данных будет инициализирован со следующими параметрами локали:\n" + +#: initdb.c:2599 +#, c-format +msgid " provider: %s\n" +msgstr " провайдер: %s\n" + +#: initdb.c:2601 +#, c-format +msgid " ICU locale: %s\n" +msgstr " локаль ICU: %s\n" + +#: initdb.c:2602 +#, c-format +msgid "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" +msgstr "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" + +#: initdb.c:2632 +#, c-format +msgid "could not find suitable encoding for locale \"%s\"" +msgstr "не удалось найти подходящую кодировку для локали \"%s\"" + +#: initdb.c:2634 +#, c-format +msgid "Rerun %s with the -E option." +msgstr "Перезапустите %s с параметром -E." + +#: initdb.c:2635 initdb.c:3168 initdb.c:3276 initdb.c:3296 +#, c-format +msgid "Try \"%s --help\" for more information." +msgstr "Для дополнительной информации попробуйте \"%s --help\"." + +#: initdb.c:2647 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"Кодировка \"%s\", подразумеваемая локалью, не годится для сервера.\n" +"Вместо неё в качестве кодировки БД по умолчанию будет выбрана \"%s\".\n" + +#: initdb.c:2652 +#, c-format +msgid "locale \"%s\" requires unsupported encoding \"%s\"" +msgstr "для локали \"%s\" требуется неподдерживаемая кодировка \"%s\"" + +#: initdb.c:2654 +#, c-format +msgid "Encoding \"%s\" is not allowed as a server-side encoding." +msgstr "Кодировка \"%s\" недопустима в качестве серверной кодировки." + +#: initdb.c:2656 +#, c-format +msgid "Rerun %s with a different locale selection." +msgstr "Перезапустите %s, выбрав другую локаль." + +#: initdb.c:2664 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "" +"Кодировка БД по умолчанию, выбранная в соответствии с настройками: \"%s\".\n" + +#: initdb.c:2733 +#, c-format +msgid "could not find suitable text search configuration for locale \"%s\"" +msgstr "" +"не удалось найти подходящую конфигурацию текстового поиска для локали \"%s\"" + +#: initdb.c:2744 +#, c-format +msgid "suitable text search configuration for locale \"%s\" is unknown" +msgstr "" +"внимание: для локали \"%s\" нет известной конфигурации текстового поиска" + +#: initdb.c:2749 +#, c-format +msgid "" +"specified text search configuration \"%s\" might not match locale \"%s\"" +msgstr "" +"указанная конфигурация текстового поиска \"%s\" может не соответствовать " +"локали \"%s\"" + +#: initdb.c:2754 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "Выбрана конфигурация текстового поиска по умолчанию \"%s\".\n" + +#: initdb.c:2797 initdb.c:2868 +#, c-format +msgid "creating directory %s ... " +msgstr "создание каталога %s... " + +#: initdb.c:2802 initdb.c:2873 initdb.c:2921 initdb.c:2977 +#, c-format +msgid "could not create directory \"%s\": %m" +msgstr "не удалось создать каталог \"%s\": %m" + +#: initdb.c:2811 initdb.c:2883 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "исправление прав для существующего каталога %s... " + +#: initdb.c:2816 initdb.c:2888 +#, c-format +msgid "could not change permissions of directory \"%s\": %m" +msgstr "не удалось поменять права для каталога \"%s\": %m" + +#: initdb.c:2828 initdb.c:2900 +#, c-format +msgid "directory \"%s\" exists but is not empty" +msgstr "каталог \"%s\" существует, но он не пуст" + +#: initdb.c:2832 +#, c-format +msgid "" +"If you want to create a new database system, either remove or empty the " +"directory \"%s\" or run %s with an argument other than \"%s\"." +msgstr "" +"Если вы хотите создать новую систему баз данных, удалите или очистите " +"каталог \"%s\", либо при запуске %s в качестве пути укажите не \"%s\"." + +#: initdb.c:2840 initdb.c:2910 initdb.c:3317 +#, c-format +msgid "could not access directory \"%s\": %m" +msgstr "ошибка доступа к каталогу \"%s\": %m" + +#: initdb.c:2861 +#, c-format +msgid "WAL directory location must be an absolute path" +msgstr "расположение каталога WAL должно определяться абсолютным путём" + +#: initdb.c:2904 +#, c-format +msgid "" +"If you want to store the WAL there, either remove or empty the directory " +"\"%s\"." +msgstr "Если вы хотите хранить WAL здесь, удалите или очистите каталог \"%s\"." + +#: initdb.c:2914 +#, c-format +msgid "could not create symbolic link \"%s\": %m" +msgstr "не удалось создать символическую ссылку \"%s\": %m" + +#: initdb.c:2933 +#, c-format +msgid "" +"It contains a dot-prefixed/invisible file, perhaps due to it being a mount " +"point." +msgstr "" +"Он содержит файл с точкой (невидимый), возможно, это точка монтирования." + +#: initdb.c:2935 +#, c-format +msgid "" +"It contains a lost+found directory, perhaps due to it being a mount point." +msgstr "Он содержит подкаталог lost+found, возможно, это точка монтирования." + +#: initdb.c:2937 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point." +msgstr "" +"Использовать в качестве каталога данных точку монтирования не " +"рекомендуется.\n" +"Создайте в монтируемом ресурсе подкаталог и используйте его." + +#: initdb.c:2963 +#, c-format +msgid "creating subdirectories ... " +msgstr "создание подкаталогов... " + +#: initdb.c:3006 +msgid "performing post-bootstrap initialization ... " +msgstr "выполняется заключительная инициализация... " + +#: initdb.c:3167 +#, c-format +msgid "-c %s requires a value" +msgstr "для -c %s требуется значение" + +#: initdb.c:3192 +#, c-format +msgid "Running in debug mode.\n" +msgstr "Программа запущена в режиме отладки.\n" + +#: initdb.c:3196 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "" +"Программа запущена в режиме 'no-clean' - очистки и исправления ошибок не " +"будет.\n" + +#: initdb.c:3266 +#, c-format +msgid "unrecognized locale provider: %s" +msgstr "нераспознанный провайдер локали: %s" + +#: initdb.c:3294 +#, c-format +msgid "too many command-line arguments (first is \"%s\")" +msgstr "слишком много аргументов командной строки (первый: \"%s\")" + +#: initdb.c:3301 initdb.c:3305 +#, c-format +msgid "%s cannot be specified unless locale provider \"%s\" is chosen" +msgstr "%s можно указать, только если выбран провайдер локали \"%s\"" + +#: initdb.c:3319 initdb.c:3396 +msgid "syncing data to disk ... " +msgstr "сохранение данных на диске... " + +#: initdb.c:3327 +#, c-format +msgid "password prompt and password file cannot be specified together" +msgstr "нельзя одновременно запросить пароль и прочитать пароль из файла" + +#: initdb.c:3349 +#, c-format +msgid "argument of --wal-segsize must be a number" +msgstr "аргументом --wal-segsize должно быть число" + +#: initdb.c:3351 +#, c-format +msgid "argument of --wal-segsize must be a power of two between 1 and 1024" +msgstr "аргументом --wal-segsize должна быть степень двух от 1 до 1024" + +#: initdb.c:3365 +#, c-format +msgid "" +"superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"" +msgstr "" +"имя \"%s\" для суперпользователя не допускается; имена ролей не могут " +"начинаться с \"pg_\"" + +#: initdb.c:3367 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"Файлы, относящиеся к этой СУБД, будут принадлежать пользователю \"%s\".\n" +"От его имени также будет запускаться процесс сервера.\n" +"\n" + +#: initdb.c:3383 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "Контроль целостности страниц данных включён.\n" + +#: initdb.c:3385 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "Контроль целостности страниц данных отключён.\n" + +#: initdb.c:3402 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"Сохранение данных на диск пропускается.\n" +"Каталог данных может повредиться при сбое операционной системы.\n" + +#: initdb.c:3407 +#, c-format +msgid "enabling \"trust\" authentication for local connections" +msgstr "включение метода аутентификации \"trust\" для локальных подключений" + +#: initdb.c:3408 +#, c-format +msgid "" +"You can change this by editing pg_hba.conf or using the option -A, or --auth-" +"local and --auth-host, the next time you run initdb." +msgstr "" +"Другой метод можно выбрать, отредактировав pg_hba.conf или ещё раз запустив " +"initdb с ключом -A, --auth-local или --auth-host." + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3438 +msgid "logfile" +msgstr "файл_журнала" + +#: initdb.c:3440 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"Готово. Теперь вы можете запустить сервер баз данных:\n" +"\n" +" %s\n" +"\n" + +#, c-format +#~ msgid "could not identify current directory: %m" +#~ msgstr "не удалось определить текущий каталог: %m" + +#, c-format +#~ msgid "could not change directory to \"%s\": %m" +#~ msgstr "не удалось перейти в каталог \"%s\": %m" + +#, c-format +#~ msgid "could not read symbolic link \"%s\": %m" +#~ msgstr "не удалось прочитать символическую ссылку \"%s\": %m" + +#, c-format +#~ msgid "could not load library \"%s\": error code %lu" +#~ msgstr "не удалось загрузить библиотеку \"%s\" (код ошибки: %lu)" + +#, c-format +#~ msgid "cannot create restricted tokens on this platform: error code %lu" +#~ msgstr "в этой ОС нельзя создавать ограниченные маркеры (код ошибки: %lu)" + +#, c-format +#~ msgid "could not stat file or directory \"%s\": %m" +#~ msgstr "не удалось получить информацию о файле или каталоге \"%s\": %m" + +#, c-format +#~ msgid "could not remove file or directory \"%s\": %m" +#~ msgstr "ошибка при удалении файла или каталога \"%s\": %m" + +#, c-format +#~ msgid "The default database encoding has been set to \"%s\".\n" +#~ msgstr "В качестве кодировки БД по умолчанию установлена \"%s\".\n" + +#, c-format +#~ msgid "symlinks are not supported on this platform" +#~ msgstr "символические ссылки не поддерживаются в этой ОС" + +#~ msgid "fatal: " +#~ msgstr "важно: " + +#~ msgid "" +#~ "\n" +#~ "Report bugs to <pgsql-bugs@lists.postgresql.org>.\n" +#~ msgstr "" +#~ "\n" +#~ "Об ошибках сообщайте по адресу <pgsql-bugs@lists.postgresql.org>.\n" + +#~ msgid "%s: could not open directory \"%s\": %s\n" +#~ msgstr "%s: не удалось открыть каталог \"%s\": %s\n" + +#~ msgid "%s: could not read directory \"%s\": %s\n" +#~ msgstr "%s: не удалось прочитать каталог \"%s\": %s\n" + +#~ msgid "child process was terminated by signal %s" +#~ msgstr "дочерний процесс завершён по сигналу %s" + +#~ msgid "%s: out of memory\n" +#~ msgstr "%s: нехватка памяти\n" + +#~ msgid "%s: removing transaction log directory \"%s\"\n" +#~ msgstr "%s: удаление каталога журнала транзакций \"%s\"\n" + +#~ msgid "%s: failed to remove transaction log directory\n" +#~ msgstr "%s: ошибка при удалении каталога журнала транзакций\n" + +#~ msgid "%s: removing contents of transaction log directory \"%s\"\n" +#~ msgstr "%s: очистка каталога журнала транзакций \"%s\"\n" + +#~ msgid "%s: failed to remove contents of transaction log directory\n" +#~ msgstr "%s: ошибка при очистке каталога журнала транзакций\n" + +#~ msgid "%s: transaction log directory \"%s\" not removed at user's request\n" +#~ msgstr "" +#~ "%s: каталог журнала транзакций \"%s\" не был удалён по запросу " +#~ "пользователя\n" + +#~ msgid "%s: locale name too long, skipped: \"%s\"\n" +#~ msgstr "%s: слишком длинное имя локали, пропущено: \"%s\"\n" + +#~ msgid "%s: locale name has non-ASCII characters, skipped: \"%s\"\n" +#~ msgstr "%s: имя локали содержит не ASCII-символы, пропущено: \"%s\"\n" + +#~ msgid "No usable system locales were found.\n" +#~ msgstr "Пригодные локали в системе не найдены.\n" + +#~ msgid "Use the option \"--debug\" to see details.\n" +#~ msgstr "Добавьте параметр \"--debug\", чтобы узнать подробности.\n" + +#~ msgid "creating template1 database in %s/base/1 ... " +#~ msgstr "создание базы template1 в %s/base/1... " + +#~ msgid "initializing pg_authid ... " +#~ msgstr "инициализация pg_authid... " + +#~ msgid "setting password ... " +#~ msgstr "установка пароля... " + +#~ msgid "initializing dependencies ... " +#~ msgstr "инициализация зависимостей... " + +#~ msgid "creating system views ... " +#~ msgstr "создание системных представлений... " + +#~ msgid "loading system objects' descriptions ... " +#~ msgstr "загрузка описаний системных объектов... " + +#~ msgid "creating collations ... " +#~ msgstr "создание правил сортировки... " + +#~ msgid "creating conversions ... " +#~ msgstr "создание преобразований... " + +#~ msgid "creating dictionaries ... " +#~ msgstr "создание словарей... " + +#~ msgid "setting privileges on built-in objects ... " +#~ msgstr "установка прав для встроенных объектов... " + +#~ msgid "creating information schema ... " +#~ msgstr "создание информационной схемы... " + +#~ msgid "loading PL/pgSQL server-side language ... " +#~ msgstr "загрузка серверного языка PL/pgSQL... " + +#~ msgid "vacuuming database template1 ... " +#~ msgstr "очистка базы данных template1... " + +#~ msgid "copying template1 to template0 ... " +#~ msgstr "копирование template1 в template0... " + +#~ msgid "copying template1 to postgres ... " +#~ msgstr "копирование template1 в postgres... " + +#~ msgid "%s: could not close directory \"%s\": %s\n" +#~ msgstr "%s: не удалось закрыть каталог \"%s\": %s\n" + +#~ msgid "%s: could not obtain information about current user: %s\n" +#~ msgstr "%s: не удалось получить информацию о текущем пользователе: %s\n" + +#~ msgid "%s: could not get current user name: %s\n" +#~ msgstr "%s: не удалось узнать имя текущего пользователя: %s\n" + +#~ msgid "Using the top-level directory of a mount point is not recommended.\n" +#~ msgstr "" +#~ "Использовать в качестве основного каталога точку монтирования не " +#~ "рекомендуется.\n" diff --git a/src/bin/initdb/po/sv.po b/src/bin/initdb/po/sv.po new file mode 100644 index 0000000..dc5e8fd --- /dev/null +++ b/src/bin/initdb/po/sv.po @@ -0,0 +1,1093 @@ +# Swedish message translation file for initdb +# Dennis Björklund <db@zigo.dhs.org>, 2004, 2005, 2006, 2017, 2018, 2019, 2020, 2021, 2022, 2023. +# Magnus Hagander <magnus@hagander.net>, 2007. +# Peter Eisentraut <peter_e@gmx.net>, 2009. +# Mats Erik Andersson <bsd@gisladisker.se>, 2014. +# +# Use these quotes: "%s" +# +msgid "" +msgstr "" +"Project-Id-Version: PostgreSQL 16\n" +"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" +"POT-Creation-Date: 2023-08-31 19:50+0000\n" +"PO-Revision-Date: 2023-08-31 21:59+0200\n" +"Last-Translator: Dennis Björklund <db@zigo.dhs.org>\n" +"Language-Team: Swedish <pgsql-translators@postgresql.org>\n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#: ../../../src/common/logging.c:276 +#, c-format +msgid "error: " +msgstr "fel: " + +#: ../../../src/common/logging.c:283 +#, c-format +msgid "warning: " +msgstr "varning: " + +#: ../../../src/common/logging.c:294 +#, c-format +msgid "detail: " +msgstr "detalj: " + +#: ../../../src/common/logging.c:301 +#, c-format +msgid "hint: " +msgstr "tips: " + +#: ../../common/exec.c:172 +#, c-format +msgid "invalid binary \"%s\": %m" +msgstr "ogiltig binär \"%s\": %m" + +#: ../../common/exec.c:215 +#, c-format +msgid "could not read binary \"%s\": %m" +msgstr "kunde inte läsa binär \"%s\": %m" + +#: ../../common/exec.c:223 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "kunde inte hitta en \"%s\" att köra" + +#: ../../common/exec.c:250 +#, c-format +msgid "could not resolve path \"%s\" to absolute form: %m" +msgstr "kunde inte konvertera sökvägen \"%s\" till en absolut sökväg: %m" + +#: ../../common/exec.c:412 +#, c-format +msgid "%s() failed: %m" +msgstr "%s() misslyckades: %m" + +#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687 +#: initdb.c:349 +#, c-format +msgid "out of memory" +msgstr "slut på minne" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161 +#, c-format +msgid "out of memory\n" +msgstr "slut på minne\n" + +#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "kan inte duplicera null-pekare (internt fel)\n" + +#: ../../common/file_utils.c:87 ../../common/file_utils.c:447 +#, c-format +msgid "could not stat file \"%s\": %m" +msgstr "kunde inte göra stat() på fil \"%s\": %m" + +#: ../../common/file_utils.c:162 ../../common/pgfnames.c:48 +#: ../../common/rmtree.c:63 +#, c-format +msgid "could not open directory \"%s\": %m" +msgstr "kunde inte öppna katalog \"%s\": %m" + +#: ../../common/file_utils.c:196 ../../common/pgfnames.c:69 +#: ../../common/rmtree.c:104 +#, c-format +msgid "could not read directory \"%s\": %m" +msgstr "kunde inte läsa katalog \"%s\": %m" + +#: ../../common/file_utils.c:228 ../../common/file_utils.c:287 +#: ../../common/file_utils.c:361 +#, c-format +msgid "could not open file \"%s\": %m" +msgstr "kunde inte öppna fil \"%s\": %m" + +#: ../../common/file_utils.c:299 ../../common/file_utils.c:369 +#, c-format +msgid "could not fsync file \"%s\": %m" +msgstr "kunde inte fsync:a fil \"%s\": %m" + +#: ../../common/file_utils.c:379 +#, c-format +msgid "could not rename file \"%s\" to \"%s\": %m" +msgstr "kunde inte döpa om fil \"%s\" till \"%s\": %m" + +#: ../../common/pgfnames.c:74 +#, c-format +msgid "could not close directory \"%s\": %m" +msgstr "kunde inte stänga katalog \"%s\": %m" + +#: ../../common/restricted_token.c:60 +#, c-format +msgid "could not open process token: error code %lu" +msgstr "kunde inte öppna process-token: felkod %lu" + +#: ../../common/restricted_token.c:74 +#, c-format +msgid "could not allocate SIDs: error code %lu" +msgstr "kunde inte allokera SID: felkod %lu" + +#: ../../common/restricted_token.c:94 +#, c-format +msgid "could not create restricted token: error code %lu" +msgstr "kunde inte skapa token för begränsad åtkomst: felkod %lu" + +#: ../../common/restricted_token.c:115 +#, c-format +msgid "could not start process for command \"%s\": error code %lu" +msgstr "kunde inte starta process för kommando \"%s\": felkod %lu" + +#: ../../common/restricted_token.c:153 +#, c-format +msgid "could not re-execute with restricted token: error code %lu" +msgstr "kunde inte köra igen med token för begränsad åtkomst: felkod %lu" + +#: ../../common/restricted_token.c:168 +#, c-format +msgid "could not get exit code from subprocess: error code %lu" +msgstr "kunde inte hämta statuskod för underprocess: felkod %lu" + +#: ../../common/rmtree.c:95 +#, c-format +msgid "could not remove file \"%s\": %m" +msgstr "kunde inte ta bort fil \"%s\": %m" + +#: ../../common/rmtree.c:122 +#, c-format +msgid "could not remove directory \"%s\": %m" +msgstr "kunde inte ta bort katalog \"%s\": %m" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "kunde inte slå upp effektivt användar-id %ld: %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "användaren finns inte" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "misslyckad sökning efter användarnamn: felkod %lu" + +#: ../../common/wait_error.c:55 +#, c-format +msgid "command not executable" +msgstr "kommandot är inte körbart" + +#: ../../common/wait_error.c:59 +#, c-format +msgid "command not found" +msgstr "kommandot kan ej hittas" + +#: ../../common/wait_error.c:64 +#, c-format +msgid "child process exited with exit code %d" +msgstr "barnprocess avslutade med kod %d" + +#: ../../common/wait_error.c:72 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "barnprocess terminerades med avbrott 0x%X" + +#: ../../common/wait_error.c:76 +#, c-format +msgid "child process was terminated by signal %d: %s" +msgstr "barnprocess terminerades av signal %d: %s" + +#: ../../common/wait_error.c:82 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "barnprocess avslutade med okänd statuskod %d" + +#: ../../port/dirmod.c:287 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "kunde inte sätta en knutpunkt (junction) för \"%s\": %s\n" + +#: ../../port/dirmod.c:367 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "kunde inte få en knutpunkt (junction) för \"%s\": %s\n" + +#: initdb.c:618 initdb.c:1613 +#, c-format +msgid "could not open file \"%s\" for reading: %m" +msgstr "kunde inte öppna filen \"%s\" för läsning: %m" + +#: initdb.c:662 initdb.c:966 initdb.c:986 +#, c-format +msgid "could not open file \"%s\" for writing: %m" +msgstr "kunde inte öppna fil \"%s\" för skrivning: %m" + +#: initdb.c:666 initdb.c:969 initdb.c:988 +#, c-format +msgid "could not write file \"%s\": %m" +msgstr "kunde inte skriva fil \"%s\": %m" + +#: initdb.c:670 +#, c-format +msgid "could not close file \"%s\": %m" +msgstr "kunde inte stänga fil \"%s\": %m" + +#: initdb.c:686 +#, c-format +msgid "could not execute command \"%s\": %m" +msgstr "kunde inte köra kommandot \"%s\": %m" + +#: initdb.c:704 +#, c-format +msgid "removing data directory \"%s\"" +msgstr "tar bort datakatalog \"%s\"" + +#: initdb.c:706 +#, c-format +msgid "failed to remove data directory" +msgstr "misslyckades med att ta bort datakatalog" + +#: initdb.c:710 +#, c-format +msgid "removing contents of data directory \"%s\"" +msgstr "tar bort innehållet i datakatalog \"%s\"" + +#: initdb.c:713 +#, c-format +msgid "failed to remove contents of data directory" +msgstr "misslyckades med att ta bort innehållet i datakatalogen" + +#: initdb.c:718 +#, c-format +msgid "removing WAL directory \"%s\"" +msgstr "tar bort WAL-katalog \"%s\"" + +#: initdb.c:720 +#, c-format +msgid "failed to remove WAL directory" +msgstr "misslyckades med att ta bort WAL-katalog" + +#: initdb.c:724 +#, c-format +msgid "removing contents of WAL directory \"%s\"" +msgstr "tar bort innehållet i WAL-katalog \"%s\"" + +#: initdb.c:726 +#, c-format +msgid "failed to remove contents of WAL directory" +msgstr "misslyckades med att ta bort innehållet i WAL-katalogen" + +#: initdb.c:733 +#, c-format +msgid "data directory \"%s\" not removed at user's request" +msgstr "datakatalog \"%s\" är ej borttagen på användares begäran" + +#: initdb.c:737 +#, c-format +msgid "WAL directory \"%s\" not removed at user's request" +msgstr "WAL-katalog \"%s\" är ej borttagen på användares begäran" + +#: initdb.c:755 +#, c-format +msgid "cannot be run as root" +msgstr "kan inte köras som root" + +#: initdb.c:756 +#, c-format +msgid "Please log in (using, e.g., \"su\") as the (unprivileged) user that will own the server process." +msgstr "Logga in (t.ex. med \"su\") som den (opriviligerade) användare som skall äga serverprocessen." + +#: initdb.c:788 +#, c-format +msgid "\"%s\" is not a valid server encoding name" +msgstr "\"%s\" är inte en giltig teckenkodning för servern" + +#: initdb.c:932 +#, c-format +msgid "file \"%s\" does not exist" +msgstr "filen \"%s\" finns inte" + +#: initdb.c:933 initdb.c:938 initdb.c:945 +#, c-format +msgid "This might mean you have a corrupted installation or identified the wrong directory with the invocation option -L." +msgstr "Detta kan betyda att du har en korrupt installation eller att du har angivit felaktig katalog till flaggan -L." + +#: initdb.c:937 +#, c-format +msgid "could not access file \"%s\": %m" +msgstr "kunde inte komma åt filen \"%s\": %m" + +#: initdb.c:944 +#, c-format +msgid "file \"%s\" is not a regular file" +msgstr "filen \"%s\" är inte en normal fil" + +#: initdb.c:1077 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "väljer mekanism för dynamiskt, delat minne ... " + +#: initdb.c:1086 +#, c-format +msgid "selecting default max_connections ... " +msgstr "sätter förvalt värde för max_connections ... " + +#: initdb.c:1106 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "sätter förvalt värde för shared_buffers ... " + +#: initdb.c:1129 +#, c-format +msgid "selecting default time zone ... " +msgstr "sätter förvalt värde för tidszon ... " + +#: initdb.c:1206 +msgid "creating configuration files ... " +msgstr "skapar konfigurationsfiler ... " + +#: initdb.c:1367 initdb.c:1381 initdb.c:1448 initdb.c:1459 +#, c-format +msgid "could not change permissions of \"%s\": %m" +msgstr "kunde inte ändra rättigheter på \"%s\": %m" + +#: initdb.c:1477 +#, c-format +msgid "running bootstrap script ... " +msgstr "kör uppsättningsskript..." + +#: initdb.c:1489 +#, c-format +msgid "input file \"%s\" does not belong to PostgreSQL %s" +msgstr "indatafil \"%s\" tillhör inte PostgreSQL %s" + +# The expected string length of bki_file (for the first "%s") +# with a standard directory "/usr/local/pgsql", is such that +# the translated message string produces a reasonable output. +# +#: initdb.c:1491 +#, c-format +msgid "Specify the correct path using the option -L." +msgstr "Ange korrekt sökväg med flaggan -L." + +#: initdb.c:1591 +msgid "Enter new superuser password: " +msgstr "Mata in ett nytt lösenord för superuser: " + +#: initdb.c:1592 +msgid "Enter it again: " +msgstr "Mata in det igen: " + +#: initdb.c:1595 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "Lösenorden stämde inte överens.\n" + +#: initdb.c:1619 +#, c-format +msgid "could not read password from file \"%s\": %m" +msgstr "kunde inte läsa lösenord i filen \"%s\": %m" + +#: initdb.c:1622 +#, c-format +msgid "password file \"%s\" is empty" +msgstr "lösenordsfilen \"%s\" är tom" + +#: initdb.c:2034 +#, c-format +msgid "caught signal\n" +msgstr "mottog signal\n" + +#: initdb.c:2040 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "kunde inte skriva till barnprocess: %s\n" + +#: initdb.c:2048 +#, c-format +msgid "ok\n" +msgstr "ok\n" + +#: initdb.c:2137 +#, c-format +msgid "setlocale() failed" +msgstr "setlocale() misslyckades" + +#: initdb.c:2155 +#, c-format +msgid "failed to restore old locale \"%s\"" +msgstr "misslyckades med att återställa gamla lokalen \"%s\"" + +#: initdb.c:2163 +#, c-format +msgid "invalid locale name \"%s\"" +msgstr "ogiltigt lokalnamn \"%s\"" + +#: initdb.c:2164 +#, c-format +msgid "If the locale name is specific to ICU, use --icu-locale." +msgstr "Om lokalnamnet är specifikt för ICU, använd --icu-locale." + +#: initdb.c:2177 +#, c-format +msgid "invalid locale settings; check LANG and LC_* environment variables" +msgstr "ogiltig lokalinställning. Kontrollera miljövariablerna LANG och LC_*" + +#: initdb.c:2203 initdb.c:2227 +#, c-format +msgid "encoding mismatch" +msgstr "teckenkodning matchar inte" + +#: initdb.c:2204 +#, c-format +msgid "The encoding you selected (%s) and the encoding that the selected locale uses (%s) do not match. This would lead to misbehavior in various character string processing functions." +msgstr "Teckenkodningen du har valt (%s) och teckenkodningen som valda lokalen använder (%s) passar inte ihop. Detta kommer leda till problem för funktioner som arbetar med strängar." + +#: initdb.c:2209 initdb.c:2230 +#, c-format +msgid "Rerun %s and either do not specify an encoding explicitly, or choose a matching combination." +msgstr "Kör %s igen och ange antingen ingen explicit kodning eller välj en matchande kombination." + +#: initdb.c:2228 +#, c-format +msgid "The encoding you selected (%s) is not supported with the ICU provider." +msgstr "Den valda teckenkodningen (%s) stöds inte av ICU." + +#: initdb.c:2279 +#, c-format +msgid "could not convert locale name \"%s\" to language tag: %s" +msgstr "kunde inte konvertera lokalnamn \"%s\" till språktagg: %s" + +#: initdb.c:2285 initdb.c:2337 initdb.c:2416 +#, c-format +msgid "ICU is not supported in this build" +msgstr "ICU stöds inte av detta bygge" + +#: initdb.c:2308 +#, c-format +msgid "could not get language from locale \"%s\": %s" +msgstr "kunde inte härleda språk från lokalen \"%s\": %s" + +#: initdb.c:2334 +#, c-format +msgid "locale \"%s\" has unknown language \"%s\"" +msgstr "lokalen \"%s\" har ett okänt språk \"%s\"" + +#: initdb.c:2400 +#, c-format +msgid "ICU locale must be specified" +msgstr "ICU-lokal måste anges" + +#: initdb.c:2404 +#, c-format +msgid "Using language tag \"%s\" for ICU locale \"%s\".\n" +msgstr "Använder språktagg \"%s\" för ICU-lokal \"%s\".\n" + +#: initdb.c:2427 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"%s initierar ett databaskluster för PostgreSQL.\n" +"\n" + +#: initdb.c:2428 +#, c-format +msgid "Usage:\n" +msgstr "Användning:\n" + +#: initdb.c:2429 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [FLAGGA]... [DATAKATALOG]\n" + +#: initdb.c:2430 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"Flaggor:\n" + +#: initdb.c:2431 +#, c-format +msgid " -A, --auth=METHOD default authentication method for local connections\n" +msgstr " -A, --auth=METOD förvald autentiseringsmetod för alla anslutningar\n" + +#: initdb.c:2432 +#, c-format +msgid " --auth-host=METHOD default authentication method for local TCP/IP connections\n" +msgstr " --auth-host=METOD autentiseringsmetod för TCP/IP-anslutningar\n" + +#: initdb.c:2433 +#, c-format +msgid " --auth-local=METHOD default authentication method for local-socket connections\n" +msgstr " --auth-local=METOD autentiseringsmetod för anslutningar via unix-uttag\n" + +#: initdb.c:2434 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr " [-D, --pgdata=]DATAKATALOG läge för detta databaskluster\n" + +#: initdb.c:2435 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr " -E, --encoding=KODNING sätter teckenkodning för nya databaser\n" + +#: initdb.c:2436 +#, c-format +msgid " -g, --allow-group-access allow group read/execute on data directory\n" +msgstr " -g, --allow-group-access tillåt läs/kör för grupp på datakatalogen\n" + +#: initdb.c:2437 +#, c-format +msgid " --icu-locale=LOCALE set ICU locale ID for new databases\n" +msgstr " --icu-locale=LOKAL sätt ID för ICU-lokal för nya databaser\n" + +#: initdb.c:2438 +#, c-format +msgid " --icu-rules=RULES set additional ICU collation rules for new databases\n" +msgstr " --icu-rules=REGLER sätt ytterligare ICU-jämförelseregler för nya databaser\n" + +#: initdb.c:2439 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr " -k, --data-checksums använd checksummor på datablock\n" + +#: initdb.c:2440 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr " --locale=LOKAL sätt standardlokal för nya databaser\n" + +#: initdb.c:2441 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOKAL\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOKAL\n" +" sätter standardlokal i utvald kategori för\n" +" nya databaser (förval hämtas ur omgivningen)\n" + +#: initdb.c:2445 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale samma som --locale=C\n" + +#: initdb.c:2446 +#, c-format +msgid "" +" --locale-provider={libc|icu}\n" +" set default locale provider for new databases\n" +msgstr "" +" --locale-provider={libc|icu}\n" +" sätt standard lokalleverantör för nya databaser\n" + +#: initdb.c:2448 +#, c-format +msgid " --pwfile=FILE read password for the new superuser from file\n" +msgstr " --pwfile=FIL läser lösenord för superuser från fil\n" + +#: initdb.c:2449 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T, --text-search-config=CFG\n" +" standardkonfiguration för textsökning\n" + +#: initdb.c:2451 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=NAMN namn på databasens superuser\n" + +#: initdb.c:2452 +#, c-format +msgid " -W, --pwprompt prompt for a password for the new superuser\n" +msgstr " -W, --pwprompt efterfråga lösenord för superuser\n" + +#: initdb.c:2453 +#, c-format +msgid " -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr " -X, --waldir=WALDIR katalog för write-ahead-log (WAL)\n" + +#: initdb.c:2454 +#, c-format +msgid " --wal-segsize=SIZE size of WAL segments, in megabytes\n" +msgstr " --wal-segsize=STORLEK storlek på WAL-segment i megabyte\n" + +#: initdb.c:2455 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"Mindre vanliga flaggor:\n" + +#: initdb.c:2456 +#, c-format +msgid " -c, --set NAME=VALUE override default setting for server parameter\n" +msgstr " -c, --set NAMN=VÄRDE ersätt standardinställning för serverparameter\n" + +#: initdb.c:2457 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr " -d, --debug generera massor med debug-utskrifter\n" + +#: initdb.c:2458 +#, c-format +msgid " --discard-caches set debug_discard_caches=1\n" +msgstr " --discard-caches sätt debug_discard_caches=1\n" + +#: initdb.c:2459 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr " -L KATALOG katalog där indatafiler skall sökas\n" + +#: initdb.c:2460 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr " -n, --no-clean städa inte upp efter fel\n" + +#: initdb.c:2461 +#, c-format +msgid " -N, --no-sync do not wait for changes to be written safely to disk\n" +msgstr " -N, --no-sync vänta inte på att ändingar säkert skrivits till disk\n" + +#: initdb.c:2462 +#, c-format +msgid " --no-instructions do not print instructions for next steps\n" +msgstr " --no-instructions skriv inte instruktioner för nästa steg\n" + +#: initdb.c:2463 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show visa interna inställningar\n" + +#: initdb.c:2464 +#, c-format +msgid " -S, --sync-only only sync database files to disk, then exit\n" +msgstr " -S, --sync-only synka bara databasfiler till disk, avsluta seden\n" + +#: initdb.c:2465 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"Andra flaggor:\n" + +#: initdb.c:2466 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr " -V, --version visa versionsinformation, avsluta sedan\n" + +#: initdb.c:2467 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr " -?, --help visa denna hjälp, avsluta sedan\n" + +#: initdb.c:2468 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"Om datakatalogen inte anges så tas den från omgivningsvariabeln PGDATA.\n" + +#: initdb.c:2470 +#, c-format +msgid "" +"\n" +"Report bugs to <%s>.\n" +msgstr "" +"\n" +"Rapportera fel till <%s>.\n" + +#: initdb.c:2471 +#, c-format +msgid "%s home page: <%s>\n" +msgstr "hemsida för %s: <%s>\n" + +#: initdb.c:2499 +#, c-format +msgid "invalid authentication method \"%s\" for \"%s\" connections" +msgstr "ogiltig autentiseringsmetod \"%s\" för anslutning av typen \"%s\"" + +#: initdb.c:2513 +#, c-format +msgid "must specify a password for the superuser to enable password authentication" +msgstr "du måste ange ett lösenord för superuser för att kunna slå på lösenordsautentisering" + +#: initdb.c:2532 +#, c-format +msgid "no data directory specified" +msgstr "ingen datakatalog angiven" + +#: initdb.c:2533 +#, c-format +msgid "You must identify the directory where the data for this database system will reside. Do this with either the invocation option -D or the environment variable PGDATA." +msgstr "Du måste uppge den katalog där data för detta databassystem skall lagras. Gör det antingen med flaggan -D eller genom att sätta omgivningsvariabeln PGDATA." + +#: initdb.c:2550 +#, c-format +msgid "could not set environment" +msgstr "kunde inte sätta omgivningen" + +#: initdb.c:2568 +#, c-format +msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"" +msgstr "programmet \"%s\" behövs av %s men hittades inte i samma katalog som \"%s\"" + +#: initdb.c:2571 +#, c-format +msgid "program \"%s\" was found by \"%s\" but was not the same version as %s" +msgstr "programmet \"%s\" hittades av \"%s\" men är inte av samma version som %s" + +#: initdb.c:2586 +#, c-format +msgid "input file location must be an absolute path" +msgstr "plats för indatafiler måste vara en absolut sökväg" + +#: initdb.c:2603 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "Databasklustret kommer att skapas med lokalnamn \"%s\".\n" + +#: initdb.c:2606 +#, c-format +msgid "The database cluster will be initialized with this locale configuration:\n" +msgstr "Databasklustret kommer att initieras med denna lokalkonfiguration:\n" + +#: initdb.c:2607 +#, c-format +msgid " provider: %s\n" +msgstr " leverantör: %s\n" + +#: initdb.c:2609 +#, c-format +msgid " ICU locale: %s\n" +msgstr " ICU-lokal: %s\n" + +#: initdb.c:2610 +#, c-format +msgid "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" +msgstr "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" + +#: initdb.c:2640 +#, c-format +msgid "could not find suitable encoding for locale \"%s\"" +msgstr "kunde inte välja en lämplig kodning för lokal \"%s\"" + +#: initdb.c:2642 +#, c-format +msgid "Rerun %s with the -E option." +msgstr "Kör %s igen men med flaggan -E." + +#: initdb.c:2643 initdb.c:3176 initdb.c:3284 initdb.c:3304 +#, c-format +msgid "Try \"%s --help\" for more information." +msgstr "Försök med \"%s --help\" för mer information." + +#: initdb.c:2655 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"Teckenkodning \"%s\", tagen ur lokalnamnet, är inte godtagbar för servern.\n" +"I dess ställe sättes databasens förvalda teckenkodning till \"%s\".\n" + +#: initdb.c:2660 +#, c-format +msgid "locale \"%s\" requires unsupported encoding \"%s\"" +msgstr "lokalen \"%s\" kräver ej supportad teckenkodning \"%s\"" + +#: initdb.c:2662 +#, c-format +msgid "Encoding \"%s\" is not allowed as a server-side encoding." +msgstr "Teckenkodning \"%s\" tillåts inte som serverteckenkodning." + +#: initdb.c:2664 +#, c-format +msgid "Rerun %s with a different locale selection." +msgstr "Kör %s igen men välj en annan lokal." + +#: initdb.c:2672 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "Förvald teckenkodning för databaser är satt till \"%s\".\n" + +#: initdb.c:2741 +#, c-format +msgid "could not find suitable text search configuration for locale \"%s\"" +msgstr "kunde inte hitta en lämplig textsökningskonfiguration för lokalnamn \"%s\"" + +#: initdb.c:2752 +#, c-format +msgid "suitable text search configuration for locale \"%s\" is unknown" +msgstr "ingen lämplig textsökningskonfiguration för lokalnamn \"%s\"" + +#: initdb.c:2757 +#, c-format +msgid "specified text search configuration \"%s\" might not match locale \"%s\"" +msgstr "uppgiven textsökningskonfiguration \"%s\" passar kanske inte till lokalnamn \"%s\"" + +#: initdb.c:2762 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "Förvald textsökningskonfiguration för databaser är satt till \"%s\".\n" + +#: initdb.c:2805 initdb.c:2876 +#, c-format +msgid "creating directory %s ... " +msgstr "skapar katalog %s ... " + +#: initdb.c:2810 initdb.c:2881 initdb.c:2929 initdb.c:2985 +#, c-format +msgid "could not create directory \"%s\": %m" +msgstr "kunde inte skapa katalog \"%s\": %m" + +#: initdb.c:2819 initdb.c:2891 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "sätter rättigheter på existerande katalog %s ... " + +#: initdb.c:2824 initdb.c:2896 +#, c-format +msgid "could not change permissions of directory \"%s\": %m" +msgstr "kunde inte ändra rättigheter på katalogen \"%s\": %m" + +#: initdb.c:2836 initdb.c:2908 +#, c-format +msgid "directory \"%s\" exists but is not empty" +msgstr "katalogen \"%s\" existerar men är inte tom" + +#: initdb.c:2840 +#, c-format +msgid "If you want to create a new database system, either remove or empty the directory \"%s\" or run %s with an argument other than \"%s\"." +msgstr "Om du vill skapa ett nytt databassystem, tag då antingen bort eller töm katalogen \"%s\" eller kör %s med annat argument än \"%s\"." + +#: initdb.c:2848 initdb.c:2918 initdb.c:3325 +#, c-format +msgid "could not access directory \"%s\": %m" +msgstr "kunde inte komma åt katalog \"%s\": %m" + +#: initdb.c:2869 +#, c-format +msgid "WAL directory location must be an absolute path" +msgstr "WAL-katalogen måste vara en absolut sökväg" + +#: initdb.c:2912 +#, c-format +msgid "If you want to store the WAL there, either remove or empty the directory \"%s\"." +msgstr "Om du vill spara WAL där, antingen radera eller töm katalogen \"%s\"." + +#: initdb.c:2922 +#, c-format +msgid "could not create symbolic link \"%s\": %m" +msgstr "kan inte skapa symbolisk länk \"%s\": %m" + +#: initdb.c:2941 +#, c-format +msgid "It contains a dot-prefixed/invisible file, perhaps due to it being a mount point." +msgstr "Den innehåller en gömd fil, med inledande punkt i namnet; kanske är detta en monteringspunkt." + +#: initdb.c:2943 +#, c-format +msgid "It contains a lost+found directory, perhaps due to it being a mount point." +msgstr "Den innehåller \"lost+found\"; kanske är detta en monteringspunkt." + +#: initdb.c:2945 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point." +msgstr "" +"Att använda en monteringspunkt som datakatalog rekommenderas inte.\n" +"Skapa först en underkatalog under monteringspunkten." + +#: initdb.c:2971 +#, c-format +msgid "creating subdirectories ... " +msgstr "Skapar underkataloger ... " + +#: initdb.c:3014 +msgid "performing post-bootstrap initialization ... " +msgstr "utför initiering efter uppstättning..." + +#: initdb.c:3175 +#, c-format +msgid "-c %s requires a value" +msgstr "-c %s kräver ett värde" + +#: initdb.c:3200 +#, c-format +msgid "Running in debug mode.\n" +msgstr "Kör i debug-läge.\n" + +#: initdb.c:3204 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "Kör i no-clean-läge. Misstag kommer inte städas bort.\n" + +#: initdb.c:3274 +#, c-format +msgid "unrecognized locale provider: %s" +msgstr "okänd lokalleverantör: %s" + +#: initdb.c:3302 +#, c-format +msgid "too many command-line arguments (first is \"%s\")" +msgstr "för många kommandoradsargument (första är \"%s\")" + +#: initdb.c:3309 initdb.c:3313 +#, c-format +msgid "%s cannot be specified unless locale provider \"%s\" is chosen" +msgstr "%s kan inte anges om inte lokalleverantör \"%s\" valts" + +#: initdb.c:3327 initdb.c:3404 +msgid "syncing data to disk ... " +msgstr "synkar data till disk ... " + +#: initdb.c:3335 +#, c-format +msgid "password prompt and password file cannot be specified together" +msgstr "lösenordsfråga och lösenordsfil kan inte anges samtidigt" + +#: initdb.c:3357 +#, c-format +msgid "argument of --wal-segsize must be a number" +msgstr "argumentet till --wal-segsize måste vara ett tal" + +#: initdb.c:3359 +#, c-format +msgid "argument of --wal-segsize must be a power of two between 1 and 1024" +msgstr "argumentet till --wal-segsize måste vara en tvåpotens mellan 1 och 1024" + +#: initdb.c:3373 +#, c-format +msgid "superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"" +msgstr "superuser-namn \"%s\" tillåts inte; rollnamn får inte börja på \"pg_\"" + +#: initdb.c:3375 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"Filer tillhörande databasen kommer att ägas av användaren \"%s\".\n" +"Denna användare måste också vara ägare av server-processen.\n" +"\n" + +#: initdb.c:3391 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "Checksummor för datablock är aktiva.\n" + +#: initdb.c:3393 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "Checksummor för datablock är avstängda.\n" + +#: initdb.c:3410 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"Avstod från synkning mot lagringsmedium.\n" +"Datakatalogen kan komma att fördärvas om operativsystemet störtar.\n" + +#: initdb.c:3415 +#, c-format +msgid "enabling \"trust\" authentication for local connections" +msgstr "slår på autentiseringsmetod \"trust\" för lokala anslutningar" + +#: initdb.c:3416 +#, c-format +msgid "You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb." +msgstr "Du kan ändra detta genom att redigera pg_hba.conf eller genom att sätta flaggor -A eller --auth-local och --auth-host nästa gång du kör initdb." + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3446 +msgid "logfile" +msgstr "loggfil" + +#: initdb.c:3448 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"Lyckades. Du kan nu starta databasservern med:\n" +"\n" +" %s\n" +"\n" + +#, c-format +#~ msgid "The default database encoding has been set to \"%s\".\n" +#~ msgstr "Förvald teckenkodning för databaser är satt till \"%s\".\n" + +#, c-format +#~ msgid "cannot create restricted tokens on this platform: error code %lu" +#~ msgstr "kan inte skapa token för begränsad åtkomst på denna plattorm: felkod %lu" + +#, c-format +#~ msgid "could not change directory to \"%s\": %m" +#~ msgstr "kunde inte byta katalog till \"%s\": %m" + +#, c-format +#~ msgid "could not identify current directory: %m" +#~ msgstr "kunde inte identifiera aktuell katalog: %m" + +#, c-format +#~ msgid "could not load library \"%s\": error code %lu" +#~ msgstr "kunde inte ladda länkbibliotek \"%s\": felkod %lu" + +#, c-format +#~ msgid "could not read symbolic link \"%s\": %m" +#~ msgstr "kan inte läsa symbolisk länk \"%s\": %m" + +#, c-format +#~ msgid "could not remove file or directory \"%s\": %m" +#~ msgstr "kunde inte ta bort fil eller katalog \"%s\": %m" + +#, c-format +#~ msgid "could not stat file or directory \"%s\": %m" +#~ msgstr "kunde inte ta status på fil eller katalog \"%s\": %m" + +#, c-format +#~ msgid "symlinks are not supported on this platform" +#~ msgstr "symboliska länkar stöds inte på denna plattform" diff --git a/src/bin/initdb/po/tr.po b/src/bin/initdb/po/tr.po new file mode 100644 index 0000000..c26ab1a --- /dev/null +++ b/src/bin/initdb/po/tr.po @@ -0,0 +1,1159 @@ +# translation of initdb.po to Turkish +# Devrim GUNDUZ <devrim@CommandPrompt.com>, 2004, 2005, 2006, 2007. +# Nicolai Tufar <ntufar@gmail.com>, 2004, 2005, 2006, 2007. +# Abdullah GÜLNER <agulne@gmail.com>, 2018, 2019. +# +msgid "" +msgstr "" +"Project-Id-Version: initdb-tr\n" +"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" +"POT-Creation-Date: 2019-06-17 21:44+0000\n" +"PO-Revision-Date: 2019-06-18 09:56+0300\n" +"Last-Translator: Abdullah Gülner\n" +"Language-Team: Turkish <ceviri@postgresql.org.tr>\n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.7.1\n" +"X-Poedit-Basepath: ../postgresql-8.0.3/src\n" + +#: ../../../src/common/logging.c:188 +#, c-format +msgid "fatal: " +msgstr "ölümcül (fatal): " + +#: ../../../src/common/logging.c:195 +#, c-format +msgid "error: " +msgstr "hata: " + +#: ../../../src/common/logging.c:202 +#, c-format +msgid "warning: " +msgstr "uyarı: " + +#: ../../common/exec.c:138 ../../common/exec.c:255 ../../common/exec.c:301 +#, c-format +msgid "could not identify current directory: %m" +msgstr "geçerli dizin tespit edilemedi: %m" + +#: ../../common/exec.c:157 +#, c-format +msgid "invalid binary \"%s\"" +msgstr "geçersiz ikili (binary) \"%s\"" + +#: ../../common/exec.c:207 +#, c-format +msgid "could not read binary \"%s\"" +msgstr "\"%s\" ikili (binary) dosyası okunamadı" + +#: ../../common/exec.c:215 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "\"%s\" çalıştırmak için bulunamadı" + +#: ../../common/exec.c:271 ../../common/exec.c:310 +#, c-format +msgid "could not change directory to \"%s\": %m" +msgstr "çalışma dizini \"%s\" olarak değiştirilemedi: %m" + +#: ../../common/exec.c:288 +#, c-format +msgid "could not read symbolic link \"%s\": %m" +msgstr "symbolic link \"%s\" okuma hatası: %m" + +#: ../../common/exec.c:541 +#, c-format +msgid "pclose failed: %m" +msgstr "pclose başarısız oldu: %m" + +#: ../../common/exec.c:670 ../../common/exec.c:715 ../../common/exec.c:807 +#: initdb.c:339 +#, c-format +msgid "out of memory" +msgstr "yetersiz bellek" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 +#, c-format +msgid "out of memory\n" +msgstr "bellek yetersiz\n" + +#: ../../common/fe_memutils.c:92 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "null pointer duplicate edilemiyor (iç hata)\n" + +#: ../../common/file_utils.c:81 ../../common/file_utils.c:183 +#, c-format +msgid "could not stat file \"%s\": %m" +msgstr "\"%s\" dosyası durumlanamadı: %m" + +#: ../../common/file_utils.c:160 ../../common/pgfnames.c:48 +#, c-format +msgid "could not open directory \"%s\": %m" +msgstr "\"%s\" dizini açılamıyor: %m" + +#: ../../common/file_utils.c:194 ../../common/pgfnames.c:69 +#, c-format +msgid "could not read directory \"%s\": %m" +msgstr "\"%s\" dizini okunamıyor: %m" + +#: ../../common/file_utils.c:226 ../../common/file_utils.c:285 +#: ../../common/file_utils.c:359 +#, c-format +msgid "could not open file \"%s\": %m" +msgstr "\"%s\" dosyası açılamıyor: %m" + +#: ../../common/file_utils.c:297 ../../common/file_utils.c:367 +#, c-format +msgid "could not fsync file \"%s\": %m" +msgstr "\"%s\" dosyası fsync hatası: %m" + +#: ../../common/file_utils.c:377 +#, c-format +msgid "could not rename file \"%s\" to \"%s\": %m" +msgstr "\"%s\" -- \"%s\" ad değiştirme hatası: %m" + +#: ../../common/pgfnames.c:74 +#, c-format +msgid "could not close directory \"%s\": %m" +msgstr "\"%s\" dizini kapatılamadı: %m" + +#: ../../common/restricted_token.c:69 +#, c-format +msgid "cannot create restricted tokens on this platform" +msgstr "bu platformda kısıtlı andaç (restricted token) oluşturulamıyor" + +#: ../../common/restricted_token.c:78 +#, c-format +msgid "could not open process token: error code %lu" +msgstr "process token açma başarısız: hata kodu %lu" + +#: ../../common/restricted_token.c:91 +#, c-format +msgid "could not allocate SIDs: error code %lu" +msgstr "SIDler ayrılamadı: hata kodu %lu" + +#: ../../common/restricted_token.c:110 +#, c-format +msgid "could not create restricted token: error code %lu" +msgstr "kısıtlı andaç (restricted token) oluşturulamadı: hata kodu %lu" + +#: ../../common/restricted_token.c:131 +#, c-format +msgid "could not start process for command \"%s\": error code %lu" +msgstr "\"%s\" komutu için işlem (process) başlatılamadı: hata kodu %lu" + +#: ../../common/restricted_token.c:169 +#, c-format +msgid "could not re-execute with restricted token: error code %lu" +msgstr "kısıtlı andaç (restricted token) ile tekrar çalıştırılamadı: hata kodu %lu" + +#: ../../common/restricted_token.c:185 +#, c-format +msgid "could not get exit code from subprocess: error code %lu" +msgstr "alt-işlemden çıkış kodu alınamadı: hata kodu %lu" + +#: ../../common/rmtree.c:79 +#, c-format +msgid "could not stat file or directory \"%s\": %m" +msgstr "\"%s\" dosya ya da dizininin durumu görüntülenemedi (stat): %m" + +#: ../../common/rmtree.c:101 ../../common/rmtree.c:113 +#, c-format +msgid "could not remove file or directory \"%s\": %m" +msgstr "\"%s\" dosyası ya da dizini silinemedi: %m" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "geçerli kullanıcı ID si bulunamadı %ld: %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "kullanıcı mevcut değil" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "kullanıcı adı arama başarısız: hata kodu %lu" + +#: ../../common/wait_error.c:45 +#, c-format +msgid "command not executable" +msgstr "komut çalıştırılabilir değil" + +#: ../../common/wait_error.c:49 +#, c-format +msgid "command not found" +msgstr "komut bulunamadı" + +#: ../../common/wait_error.c:54 +#, c-format +msgid "child process exited with exit code %d" +msgstr "alt süreç %d çıkış koduyla sonuçlandırılmıştır" + +#: ../../common/wait_error.c:62 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "alt süreç 0x%X exception tarafından sonlandırılmıştır" + +#: ../../common/wait_error.c:66 +#, c-format +msgid "child process was terminated by signal %d: %s" +msgstr "alt süreç %d sinyali tarafından sonlandırılmıştır: %s" + +#: ../../common/wait_error.c:72 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "alt süreç %d bilinmeyen durumu ile sonlandırılmıştır" + +#: ../../port/dirmod.c:221 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "\"%s\" için junction ayarlanamadı: %s\n" + +#: ../../port/dirmod.c:298 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "\"%s\" için junction bulunamadı: %s\n" + +#: initdb.c:495 initdb.c:1534 +#, c-format +msgid "could not open file \"%s\" for reading: %m" +msgstr "\"%s\" dosyası, okunmak için açılamadı: %m" + +#: initdb.c:550 initdb.c:858 initdb.c:884 +#, c-format +msgid "could not open file \"%s\" for writing: %m" +msgstr "\"%s\" dosyası, yazmak için açılamadı: %m" + +#: initdb.c:557 initdb.c:564 initdb.c:864 initdb.c:889 +#, c-format +msgid "could not write file \"%s\": %m" +msgstr "\"%s\" dosyasına yazma hatası: %m" + +#: initdb.c:582 +#, c-format +msgid "could not execute command \"%s\": %m" +msgstr "\"%s\" komutu yürütülemedi: %m" + +#: initdb.c:600 +#, c-format +msgid "removing data directory \"%s\"" +msgstr "\"%s\" veri dizini siliniyor" + +#: initdb.c:602 +#, c-format +msgid "failed to remove data directory" +msgstr "veri dizini silme başarısız" + +#: initdb.c:606 +#, c-format +msgid "removing contents of data directory \"%s\"" +msgstr "\"%s\" veri dizininin içindekiler siliniyor" + +#: initdb.c:609 +#, c-format +msgid "failed to remove contents of data directory" +msgstr "veri dizininin içindekileri silme işlemi başarısız" + +#: initdb.c:614 +#, c-format +msgid "removing WAL directory \"%s\"" +msgstr "\"%s\" WAL dizini siliniyor" + +#: initdb.c:616 +#, c-format +msgid "failed to remove WAL directory" +msgstr "WAL dizini silme başarısız" + +#: initdb.c:620 +#, c-format +msgid "removing contents of WAL directory \"%s\"" +msgstr "\"%s\" WAL dizininin içindekiler siliniyor" + +#: initdb.c:622 +#, c-format +msgid "failed to remove contents of WAL directory" +msgstr "WAL dizininin içeriğini silme işlemi başarısız" + +#: initdb.c:629 +#, c-format +msgid "data directory \"%s\" not removed at user's request" +msgstr "\"%s\" veri dizini kullanıcının isteği üzerine silinmedi" + +#: initdb.c:633 +#, c-format +msgid "WAL directory \"%s\" not removed at user's request" +msgstr "\"%s\" WAL dizini kullanıcının isteği üzerine silinmedi" + +#: initdb.c:651 +#, c-format +msgid "cannot be run as root" +msgstr "root kullanıcısıyla çalıştırılamaz" + +#: initdb.c:653 +#, c-format +msgid "" +"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n" +"own the server process.\n" +msgstr "" +"Lütfen (örneğin \"su\" kullanarak ) sunucu sürecinin sahibi olacak\n" +"(ayrıcalıksız) bir kullanıcıyla giriş yapın.\n" + +#: initdb.c:686 +#, c-format +msgid "\"%s\" is not a valid server encoding name" +msgstr "\"%s\" geçerli bir sunucu dil kodlaması adı değil" + +#: initdb.c:817 +#, c-format +msgid "file \"%s\" does not exist" +msgstr "\"%s\" dosyası mevcut değil" + +#: initdb.c:819 initdb.c:826 initdb.c:835 +#, c-format +msgid "" +"This might mean you have a corrupted installation or identified\n" +"the wrong directory with the invocation option -L.\n" +msgstr "" +"Bu durum, bozulmus bir kurulumunuz olduğu ya da\n" +"-L parametresi ile yanlış dizin belirttiğiniz anlamına gelir.\n" + +#: initdb.c:824 +#, c-format +msgid "could not access file \"%s\": %m" +msgstr "\"%s\" dosyası erişim hatası: %m" + +#: initdb.c:833 +#, c-format +msgid "file \"%s\" is not a regular file" +msgstr "\"%s\" düzgün bir dosya değildir" + +#: initdb.c:978 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "dinamik paylaşılan bellek (shared memory) uygulaması seçimi ... " + +#: initdb.c:987 +#, c-format +msgid "selecting default max_connections ... " +msgstr "ön tanımlı max_connections seçiliyor ... " + +#: initdb.c:1018 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "öntanımlı shared_buffers değeri seçiliyor ... " + +#: initdb.c:1052 +#, c-format +msgid "selecting default timezone ... " +msgstr "ön tanımlı saat dilimi (timezone) seçiliyor ... " + +#: initdb.c:1086 +msgid "creating configuration files ... " +msgstr "yapılandırma dosyaları yaratılıyor ... " + +#: initdb.c:1239 initdb.c:1258 initdb.c:1344 initdb.c:1359 +#, c-format +msgid "could not change permissions of \"%s\": %m" +msgstr "\"%s\" için erişim hakları değiştirilemdi: %m" + +#: initdb.c:1381 +#, c-format +msgid "running bootstrap script ... " +msgstr "önyükleme komut dosyası çalıştırılıyor ..." + +#: initdb.c:1393 +#, c-format +msgid "input file \"%s\" does not belong to PostgreSQL %s" +msgstr "\"%s\" girdi dosyası PostgreSQL'e ait değil %s" + +#: initdb.c:1396 +#, c-format +msgid "Check your installation or specify the correct path using the option -L.\n" +msgstr "Kurulumunuzu kontrol edin ya da -L seçeneği ile doğru dizini belirtin.\n" + +#: initdb.c:1511 +msgid "Enter new superuser password: " +msgstr "Yeni superuser parolasını giriniz: " + +#: initdb.c:1512 +msgid "Enter it again: " +msgstr "Bir kez daha giriniz: " + +#: initdb.c:1515 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "Parolalar uyuşmadı.\n" + +#: initdb.c:1541 +#, c-format +msgid "could not read password from file \"%s\": %m" +msgstr "\"%s\" dosyasından parola okunamadı: %m" + +#: initdb.c:1544 +#, c-format +msgid "password file \"%s\" is empty" +msgstr "\"%s\" parola dosyası boş" + +#: initdb.c:2107 +#, c-format +msgid "caught signal\n" +msgstr "sinyal yakalandı\n" + +#: initdb.c:2113 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "alt (child) sürece yazılamadı: %s\n" + +#: initdb.c:2121 +#, c-format +msgid "ok\n" +msgstr "tamam\n" + +#: initdb.c:2211 +#, c-format +msgid "setlocale() failed" +msgstr "setlocale() başarısız" + +#: initdb.c:2232 +#, c-format +msgid "failed to restore old locale \"%s\"" +msgstr "Eski \"%s\" yerel ayarlarını (locale) geri yükleme başarısız oldu" + +#: initdb.c:2241 +#, c-format +msgid "invalid locale name \"%s\"" +msgstr "geçersiz yerel ayar (locale) adı \"%s\"" + +#: initdb.c:2252 +#, c-format +msgid "invalid locale settings; check LANG and LC_* environment variables" +msgstr "geçersiz yerel ayarlar; LANG ve LC_ * ortam değişkenlerini kontrol edin" + +#: initdb.c:2279 +#, c-format +msgid "encoding mismatch" +msgstr "dil kodlaması uyuşmazlığı" + +#: initdb.c:2281 +#, c-format +msgid "" +"The encoding you selected (%s) and the encoding that the\n" +"selected locale uses (%s) do not match. This would lead to\n" +"misbehavior in various character string processing functions.\n" +"Rerun %s and either do not specify an encoding explicitly,\n" +"or choose a matching combination.\n" +msgstr "" +"Seçtiğiniz (%s) dil kodlaması ve seçilen yerelin kullandığı dil \n" +"kodlaması (%s) uyuşmamaktadır. Bu durum, çeşitli metin işleme \n" +" fonksiyonlarının yanlış çalışmasına neden olabilir. Bu durumu \n" +" düzeltebilmek için %s komutunu yeniden çalıştırın ve de ya kodlama \n" +" belirtmeyin ya da eşleştirilebilir bir kodlama seçin.\n" + +#: initdb.c:2353 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"%sbir PostgreSQL Veritabanı kümesini ilklendirir.\n" +"\n" + +#: initdb.c:2354 +#, c-format +msgid "Usage:\n" +msgstr "Kullanımı:\n" + +#: initdb.c:2355 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [SEÇENEK]... [DATADIR]\n" + +#: initdb.c:2356 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"Seçenekler:\n" + +#: initdb.c:2357 +#, c-format +msgid " -A, --auth=METHOD default authentication method for local connections\n" +msgstr " -A, --auth=METHOD yerel bağlantılar için ön tanımlı kimlik doğrulama yöntemi\n" + +#: initdb.c:2358 +#, c-format +msgid " --auth-host=METHOD default authentication method for local TCP/IP connections\n" +msgstr " --auth-host=METHOD yerel TCP/IP bağlantıları için ön tanımlı kimlik doğrulama yöntemi\n" + +#: initdb.c:2359 +#, c-format +msgid " --auth-local=METHOD default authentication method for local-socket connections\n" +msgstr " --auth-local=METHOD yerel soket bağlantıları için ön tanımlı kimlik doğrulama yöntemi\n" + +#: initdb.c:2360 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr "[-D, --pgdata=]DATADIR bu veritabanı kümesi için yer\n" + +#: initdb.c:2361 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr " -E, --encoding=ENCODING yeni veritabanları için öntanımlı dil kodlamasını ayarlar\n" + +#: initdb.c:2362 +#, c-format +msgid " -g, --allow-group-access allow group read/execute on data directory\n" +msgstr " -g, --allow-group-access veri dizininde grup erişimine (okuma/yürütme) izin ver\n" + +#: initdb.c:2363 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr " --locale=LOCALE yeni veritabanı için öntanımlı yerel\n" + +#: initdb.c:2364 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" yeni veritabanları için ilgili kategorideki öntanımlı yerel bilgisini\n" +" çevre değişkenlerinden al\n" + +#: initdb.c:2368 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale --locale=C'ye eşdeğer\n" + +#: initdb.c:2369 +#, c-format +msgid " --pwfile=FILE read password for the new superuser from file\n" +msgstr " --pwfile=DOSYA yeni superuser için parolayı dosyadan oku\n" + +#: initdb.c:2370 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T, --text-search-config=CFG\n" +" öntanımlı metin arama yapılandırması\n" + +#: initdb.c:2372 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=NAME veritabanı superuser kullanıcısı adı\n" + +#: initdb.c:2373 +#, c-format +msgid " -W, --pwprompt prompt for a password for the new superuser\n" +msgstr " -W, --pwprompt yeni superuser için parola sorar\n" + +#: initdb.c:2374 +#, c-format +msgid " -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr " -X, --waldir=WALDIR transaction log dizininin yeri\n" + +#: initdb.c:2375 +#, c-format +msgid " --wal-segsize=SIZE size of WAL segments, in megabytes\n" +msgstr " --wal-segsize=SIZE WAL segmentlerinin boyutu, megabayt olarak\n" + +#: initdb.c:2376 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"Daha az kullanılan seçenekler:\n" + +#: initdb.c:2377 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr " -d, --debug bol miktarda debug çıktısı üretir\n" + +#: initdb.c:2378 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr " -k, --data-checksums veri sayfası (data page) doğrulamasını kullan\n" + +#: initdb.c:2379 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr " -L DIRECTORY girdi dosyalarının nerede bulunacağını belirtir\n" + +#: initdb.c:2380 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr " -n, --no-clean hatalardan sonra temizlik yapma\n" + +#: initdb.c:2381 +#, c-format +msgid " -N, --no-sync do not wait for changes to be written safely to disk\n" +msgstr " -N, --no-sync değişikliklerin diske yazılmasını bekleme\n" + +#: initdb.c:2382 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show dahili ayarları gösterir\n" + +#: initdb.c:2383 +#, c-format +msgid " -S, --sync-only only sync data directory\n" +msgstr " -S, --sync-only sadece veri dizinini sync et\n" + +#: initdb.c:2384 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"Diğer seçenekler:\n" + +#: initdb.c:2385 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr " -V, --version sürüm bilgisini gösterir ve sonra çıkar\n" + +#: initdb.c:2386 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr " -?, --help bu yardımı gösterir ve sonra çıkar\n" + +#: initdb.c:2387 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"Eğer veri dizini belirtilmezse, PGDATA çevresel değişkeni kullanılacaktır\n" + +#: initdb.c:2389 +#, c-format +msgid "" +"\n" +"Report bugs to <pgsql-bugs@lists.postgresql.org>.\n" +msgstr "" +"\n" +"Hataları <pgsql-bugs@lists.postgresql.org> adresine bildirebilirsiniz.\n" + +#: initdb.c:2417 +#, c-format +msgid "invalid authentication method \"%s\" for \"%s\" connections" +msgstr "\"%2$s\"bağlantıları için geçersiz kimlik doğrulama yöntemi \"%1$s\"" + +#: initdb.c:2433 +#, c-format +msgid "must specify a password for the superuser to enable %s authentication" +msgstr "%s kimlik doğrulamasını etkinleştirmek için superuser'a parola atamanız gerekmektedir." + +#: initdb.c:2460 +#, c-format +msgid "no data directory specified" +msgstr "hiçbir veri dizini belirtilmedi" + +#: initdb.c:2462 +#, c-format +msgid "" +"You must identify the directory where the data for this database system\n" +"will reside. Do this with either the invocation option -D or the\n" +"environment variable PGDATA.\n" +msgstr "" +"Bu veritabanı sistemi için verinin hangi dizinde duracağını belirtmeniz\n" +"gerekmektedir. Bunu ya -D komut satırı seçeneği ile ya da \n" +"PGDATA çevresel değişkeni ile yapabilirsiniz.\n" + +#: initdb.c:2497 +#, c-format +msgid "" +"The program \"postgres\" is needed by %s but was not found in the\n" +"same directory as \"%s\".\n" +"Check your installation." +msgstr "" +"%s, \"postgres\" programına gereksinim duymaktadır, ancak bu program \"%s\"\n" +"ile aynı dizinde bulunamadı.\n" +"Kurulumunuzu kontrol ediniz." + +#: initdb.c:2502 +#, c-format +msgid "" +"The program \"postgres\" was found by \"%s\"\n" +"but was not the same version as %s.\n" +"Check your installation." +msgstr "" +"\"postgres\" programı \"%s\" tarafından bulundu; ancak bu program\n" +"%s ile aynı sürüm numarasına sahip değil.\n" +"Kurulumunuzu kontrol ediniz." + +#: initdb.c:2521 +#, c-format +msgid "input file location must be an absolute path" +msgstr "girdi dosyasının yeri mutlak bir yol olarak verilmeli" + +#: initdb.c:2538 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "Veritabanı kümesi \"%s\" yerel ayarları ile oluşturulacak.\n" + +#: initdb.c:2541 +#, c-format +msgid "" +"The database cluster will be initialized with locales\n" +" COLLATE: %s\n" +" CTYPE: %s\n" +" MESSAGES: %s\n" +" MONETARY: %s\n" +" NUMERIC: %s\n" +" TIME: %s\n" +msgstr "" +"Veritabanı kümesi aşağıdaki yerellerle ilklendirilecek:\n" +" COLLATE: %s\n" +" CTYPE: %s\n" +" MESSAGES: %s\n" +" MONETARY: %s\n" +" NUMERIC: %s\n" +" TIME: %s\n" + +#: initdb.c:2565 +#, c-format +msgid "could not find suitable encoding for locale \"%s\"" +msgstr "\"%s\" yerel ayarları için uygun dil kodlaması bulunamadı" + +#: initdb.c:2567 +#, c-format +msgid "Rerun %s with the -E option.\n" +msgstr "%s komutunu -E seçeneği ile yeniden çalıştırın.\n" + +#: initdb.c:2568 initdb.c:3196 initdb.c:3217 +#, c-format +msgid "Try \"%s --help\" for more information.\n" +msgstr "Ayrıntılı bilgi için \"%s --help\" komutunu deneyebilirsiniz.\n" + +#: initdb.c:2581 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"\"%s\" dil kodlaması sunucu tarafında izin verilen bir dil kodlaması değildir\n" +"Bunun yerine, öntanımlı veritabanı dil kodlaması \"%s\" olacaktır.\n" + +#: initdb.c:2586 +#, c-format +msgid "locale \"%s\" requires unsupported encoding \"%s\"" +msgstr "\"%s\" yereli desteklenmeyen \"%s\" dil kodlamasını gerektirir" + +#: initdb.c:2589 +#, c-format +msgid "" +"Encoding \"%s\" is not allowed as a server-side encoding.\n" +"Rerun %s with a different locale selection.\n" +msgstr "" +"\"%s\" dil kodlaması sunucu tarafında izin verilen bir dil kodlaması değildir\n" +" %s değişik bir yerel ayar (locale) ile tekrar çalıştırılmalı.\n" + +#: initdb.c:2598 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "Öntanımlı veritabanı dil kodlaması buna göre \"%s\" olarak ayarlandı.\n" + +#: initdb.c:2666 +#, c-format +msgid "%s: could not find suitable text search configuration for locale \"%s\"\n" +msgstr "%s: \"%s\" yereli için uygun metin arama yapılandırması bulunamadı\n" + +#: initdb.c:2677 +#, c-format +msgid "%s: warning: suitable text search configuration for locale \"%s\" is unknown\n" +msgstr "%s: uyarı: \"%s\" yereli için uygun metin arama yapılandırması bilinmiyor.\n" + +#: initdb.c:2682 +#, c-format +msgid "%s: warning: specified text search configuration \"%s\" might not match locale \"%s\"\n" +msgstr "%s: uyarı: belirtilen metin arama yapılandırması \"%s\", \"%s\" yereli ile eşleşmeyebilir\n" + +#: initdb.c:2687 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "Öntanımlı metin arama yapılandırması \"%s\" olarak ayarlanacak.\n" + +#: initdb.c:2731 initdb.c:2813 +#, c-format +msgid "creating directory %s ... " +msgstr "%s dizini yaratılıyor ... " + +#: initdb.c:2737 initdb.c:2819 initdb.c:2884 initdb.c:2946 +#, c-format +msgid "could not create directory \"%s\": %m" +msgstr "\"%s\" dizini oluşturulamadı: %m" + +#: initdb.c:2748 initdb.c:2831 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "mevcut %s dizininin izinleri düzeltiliyor ... " + +#: initdb.c:2754 initdb.c:2837 +#, c-format +msgid "could not change permissions of directory \"%s\": %m" +msgstr "\"%s\" dizininin erişim hakları değiştirilemedi: %m" + +#: initdb.c:2768 initdb.c:2851 +#, c-format +msgid "directory \"%s\" exists but is not empty" +msgstr "\"%s\" dizini mevcut, ama boş değil" + +#: initdb.c:2773 +#, c-format +msgid "" +"If you want to create a new database system, either remove or empty\n" +"the directory \"%s\" or run %s\n" +"with an argument other than \"%s\".\n" +msgstr "" +"Yeni bir veritabanı sistemi yaratmak istiyorsanız, ya \"%s\" dizinini \n" +"kaldırın, ya boşaltın ya da %s 'i \n" +"\"%s\" argümanından başka bir argüman ile çalıştırın.\n" + +#: initdb.c:2781 initdb.c:2863 initdb.c:3232 +#, c-format +msgid "could not access directory \"%s\": %m" +msgstr "\"%s\" dizine erişim hatası: %m" + +#: initdb.c:2804 +#, c-format +msgid "WAL directory location must be an absolute path" +msgstr "WAL dizininin yeri mutlak bir yol olarak verilmeli" + +#: initdb.c:2856 +#, c-format +msgid "" +"If you want to store the WAL there, either remove or empty the directory\n" +"\"%s\".\n" +msgstr "" +"Eğer transaction kayıt dosyasını saklamak istiyorsanız, \n" +"\"%s\" dizinini kaldırın ya da boşaltın\n" + +#: initdb.c:2870 +#, c-format +msgid "could not create symbolic link \"%s\": %m" +msgstr "symbolic link \"%s\" oluşturma hatası: %m" + +#: initdb.c:2875 +#, c-format +msgid "symlinks are not supported on this platform" +msgstr "bu platformda sembolik bağlantı (symlink) desteklenmemektedir" + +#: initdb.c:2899 +#, c-format +msgid "It contains a dot-prefixed/invisible file, perhaps due to it being a mount point.\n" +msgstr " noktayla başlayan/gizli dosya içeriyor, muhtemelen bu bir bağlanma noktası (mount point) .\n" + +#: initdb.c:2902 +#, c-format +msgid "It contains a lost+found directory, perhaps due to it being a mount point.\n" +msgstr "" +"lost+found klasörü içeriyor, muhtemelen bu bir bağlanma noktası (mount point) .\n" +"\n" + +#: initdb.c:2905 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point.\n" +msgstr "" +"Bir bağlama noktasının doğrudan veri dizini olarak kullanılması önerilmez.\n" +"Bağlama noktası altında bir alt dizin oluşturun.\n" + +#: initdb.c:2931 +#, c-format +msgid "creating subdirectories ... " +msgstr "alt dizinler oluşturuluyor ... " + +#: initdb.c:2977 +msgid "performing post-bootstrap initialization ... " +msgstr "önyükleme sonrası başlatmayı gerçekleştirme ..." + +#: initdb.c:3134 +#, c-format +msgid "Running in debug mode.\n" +msgstr "Debug modunda çalışıyor.\n" + +#: initdb.c:3138 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "noclean modunda çalışıyor. Hatalar temizlenmeyecektir.\n" + +#: initdb.c:3215 +#, c-format +msgid "too many command-line arguments (first is \"%s\")" +msgstr "çok fazla komut satırı girdisi var (ilki \"%s\")" + +#: initdb.c:3236 initdb.c:3325 +msgid "syncing data to disk ... " +msgstr "veriyi diske senkronize etme ..." + +#: initdb.c:3245 +#, c-format +msgid "password prompt and password file cannot be specified together" +msgstr "parola istemi (prompt) ve parola dosyası birlikte belirtilemez" + +#: initdb.c:3270 +#, c-format +msgid "argument of --wal-segsize must be a number" +msgstr "--wal-segsize'ın argümanı bir sayı olmalıdır" + +#: initdb.c:3275 +#, c-format +msgid "argument of --wal-segsize must be a power of 2 between 1 and 1024" +msgstr "--wal-segsize'ın argümanı 2'nin 1 ve 1024 arasındaki bir üssü olmalıdır" + +#: initdb.c:3292 +#, c-format +msgid "superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"" +msgstr "superuser adı \"%s\"e izin verilmiyor; rol adları \"pg_\" ile başlayamaz" + +#: initdb.c:3296 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"Bu veritabanı sistemine ait olan dosyaların sahibi \"%s\" kullanıcısı olacaktır.\n" +"Bu kullanıcı aynı zamanda sunucu sürecinin de sahibi olmalıdır.\n" +"\n" + +#: initdb.c:3312 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "Veri sayfası (data page) doğrulama etkinleştirilmiştir.\n" + +#: initdb.c:3314 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "Veri sayfası (data page) doğrulama devre dışı bırakılmıştır.\n" + +#: initdb.c:3331 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"Diske senkronizasyon atlandı.\n" +"İşletim sistemi çökerse veri dizini bozulabilir.\n" + +#: initdb.c:3336 +#, c-format +msgid "enabling \"trust\" authentication for local connections" +msgstr "yerel bağlantıları için \"trust\" kimlik doğrulaması etkinleştiriliyor" + +#: initdb.c:3337 +#, c-format +msgid "" +"You can change this by editing pg_hba.conf or using the option -A, or\n" +"--auth-local and --auth-host, the next time you run initdb.\n" +msgstr "" +"Bunu, pg_hba.conf dosyasını düzenleyerek ya da initdb'yi yeniden çalıştırdığınızda\n" +" -A parametresi ile veya --auth-local ve --auth-host ile değiştirebilirsiniz..\n" + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3362 +msgid "logfile" +msgstr "logfile" + +#: initdb.c:3364 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"İşlem başarılı. Veritabanı sunucusunu aşağıdaki gibi başlatabilirsiniz:\n" +"\n" +" %s\n" +"\n" +"\n" + +#~ msgid "could not change directory to \"%s\": %s" +#~ msgstr "çalışma dizini \"%s\" olarak değiştirilemedi: %s" + +#~ msgid "could not read symbolic link \"%s\"" +#~ msgstr "\"%s\" sembolik linki okunamadı" + +#~ msgid "%s: could not stat file \"%s\": %s\n" +#~ msgstr "%s: \"%s\" dosyasının durumu görüntülenemedi (stat): %s\n" + +#~ msgid "%s: could not open directory \"%s\": %s\n" +#~ msgstr "%s: \"%s\" dizini açılamadı: %s\n" + +#~ msgid "%s: could not read directory \"%s\": %s\n" +#~ msgstr "%s: \"%s\" dizini okunamadı: %s\n" + +#~ msgid "%s: could not open file \"%s\": %s\n" +#~ msgstr "%s: \"%s\" dosyası açılamadı: %s\n" + +#~ msgid "%s: could not fsync file \"%s\": %s\n" +#~ msgstr "%s: \"%s\" dosyası fsync işlemi başarısız: %s\n" + +#~ msgid "%s: could not rename file \"%s\" to \"%s\": %s\n" +#~ msgstr "\"%s\": \"%s\" dosyasının adı \"%s\" olarak değiştirilemedi: %s\n" + +#~ msgid "could not open directory \"%s\": %s\n" +#~ msgstr "\"%s\" dizini açma başarısız: %s\n" + +#~ msgid "could not read directory \"%s\": %s\n" +#~ msgstr "\"%s\" dizini okuma başarısız: %s\n" + +#~ msgid "%s: could not open process token: error code %lu\n" +#~ msgstr "%s: process token açma başarısız: hata kodu %lu\n" + +#~ msgid "could not stat file or directory \"%s\": %s\n" +#~ msgstr "\"%s\" dosya ya da dizini bulunamadı: %s\n" + +#~ msgid "child process was terminated by signal %s" +#~ msgstr "alt süreç %s sinyali tarafından sonlandırılmıştır" + +#~ msgid "%s: out of memory\n" +#~ msgstr "%s: yetersiz bellek\n" + +#~ msgid "%s: could not open file \"%s\" for reading: %s\n" +#~ msgstr "%s: \"%s\" dosyası, okunmak için açılamadı: %s\n" + +#~ msgid "%s: could not open file \"%s\" for writing: %s\n" +#~ msgstr "%s: \"%s\" dosyası, yazılmak için açılamadı: %s\n" + +#~ msgid "%s: could not write file \"%s\": %s\n" +#~ msgstr "%s: \"%s\" dosyasına yazılamadı: %s\n" + +#~ msgid "%s: could not execute command \"%s\": %s\n" +#~ msgstr "%s: \"%s\" komutu yürütme başlatma hatası: %s\n" + +#~ msgid "%s: file \"%s\" does not exist\n" +#~ msgstr "%s: \"%s\" dosyası mevcut değil\n" + +#~ msgid "%s: could not access file \"%s\": %s\n" +#~ msgstr "%s: \"%s\" dosyasına erişim hatası: %s\n" + +#~ msgid "%s: failed to restore old locale \"%s\"\n" +#~ msgstr "%s: \"%s\" eski yerel ayar (locale) dosyasının geri yüklenmesi başarısız\n" + +#~ msgid "%s: invalid locale name \"%s\"\n" +#~ msgstr "%s: geçersiz yerel ayar (locale) adı \"%s\"\n" + +#~ msgid "%s: could not create directory \"%s\": %s\n" +#~ msgstr "%s: \"%s\" dizini oluşturma başarısız: %s\n" + +#~ msgid "%s: could not access directory \"%s\": %s\n" +#~ msgstr "%s: \"%s\" dizine erişim hatası: %s\n" + +#~ msgid "%s: could not create symbolic link \"%s\": %s\n" +#~ msgstr "%s: symbolic link \"%s\" oluşturma hatası: %s\n" + +#~ msgid "%s: symlinks are not supported on this platform\n" +#~ msgstr "%s: bu platformda sembolik bağlantı (symlink) desteklenmemektedir\n" + +#~ msgid "%s: removing transaction log directory \"%s\"\n" +#~ msgstr "%s: transaction log dizini siliniyor \"%s\"\n" + +#~ msgid "%s: failed to remove transaction log directory\n" +#~ msgstr "%s: transaction log dizini silme başarısız\n" + +#~ msgid "%s: removing contents of transaction log directory \"%s\"\n" +#~ msgstr "%s: transaction log dizininin içindekileri siliniyor \"%s\"\n" + +#~ msgid "%s: failed to remove contents of transaction log directory\n" +#~ msgstr "%s: transaction log dizininin içindekilerinin silme işlemini başarısız\n" + +#~ msgid "%s: transaction log directory \"%s\" not removed at user's request\n" +#~ msgstr "%s: \"%s\" transaction log dizini kullanıcının isteği üzerine silinmedi\n" + +#~ msgid "%s: could not obtain information about current user: %s\n" +#~ msgstr "%s: geçerli kullanıcı hakkında bilgi alınamadı: %s\n" + +#~ msgid "%s: could not get current user name: %s\n" +#~ msgstr "%s: geçerli kullanıcı adı alınamadı: %s\n" + +#~ msgid "creating template1 database in %s/base/1 ... " +#~ msgstr "%s/base/1 içinde template1 veritabanı yaratılıyor." + +#~ msgid "initializing pg_authid ... " +#~ msgstr "pg_authid ilklendiriliyor ... " + +#~ msgid "setting password ... " +#~ msgstr "şifre ayarlanıyor ... " + +#~ msgid "initializing dependencies ... " +#~ msgstr "bağlılıklar ilklendiriliyor ... " + +#~ msgid "creating system views ... " +#~ msgstr "sistem viewları yaratılıyor ... " + +#~ msgid "loading system objects' descriptions ... " +#~ msgstr "sistem nesnelerinin açıklamaları yükleniyor ... " + +#~ msgid "creating collations ... " +#~ msgstr "dönüşümler yükleniyor ..." + +#~ msgid "%s: locale name too long, skipped: %s\n" +#~ msgstr "%s:yerel adı çok uzun,: %s atlandı\n" + +#~ msgid "%s: locale name has non-ASCII characters, skipped: %s\n" +#~ msgstr "%s:yerel adı ASCII olmayan karakterler içeriyor, atlanan: %s\n" + +#~ msgid "No usable system locales were found.\n" +#~ msgstr "Kullanılabilir sistem yerelleri bulunamadı. \n" + +#~ msgid "Use the option \"--debug\" to see details.\n" +#~ msgstr "Ayrıntıları görmek için \"--debug\" seçeneğini kullanınız. \n" + +#~ msgid "not supported on this platform\n" +#~ msgstr "bu platformda desteklenmiyor\n" + +#~ msgid "creating conversions ... " +#~ msgstr "dönüşümler yükleniyor ... " + +#~ msgid "creating dictionaries ... " +#~ msgstr "sözlükler oluşturuluyor ... " + +#~ msgid "setting privileges on built-in objects ... " +#~ msgstr "gömülü nesnelerdeki izinler ayarlanıyor ... " + +#~ msgid "creating information schema ... " +#~ msgstr "information schema yaratılıyor ... " + +#~ msgid "loading PL/pgSQL server-side language ... " +#~ msgstr "PL/pgSQL sunucu tarafı dili yükleniyor ... " + +#~ msgid "vacuuming database template1 ... " +#~ msgstr "template1 veritabanı vakumlanıyor ... " + +#~ msgid "copying template1 to template0 ... " +#~ msgstr "template1 template0'a kopyalanıyor ... " + +#~ msgid "copying template1 to postgres ... " +#~ msgstr "template1, postgres'e kopyalanıyor ... " + +#~ msgid "%s: unrecognized authentication method \"%s\"\n" +#~ msgstr "%s: bilinmeyen yetkilendirme yöntemi\"%s\".\n" + +#~ msgid "could not change directory to \"%s\"" +#~ msgstr "çalışma dizini \"%s\" olarak değiştirilemedi" diff --git a/src/bin/initdb/po/uk.po b/src/bin/initdb/po/uk.po new file mode 100644 index 0000000..bcda4ce --- /dev/null +++ b/src/bin/initdb/po/uk.po @@ -0,0 +1,1053 @@ +msgid "" +msgstr "" +"Project-Id-Version: postgresql\n" +"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" +"POT-Creation-Date: 2023-12-17 22:19+0000\n" +"PO-Revision-Date: 2023-12-19 16:43+0100\n" +"Last-Translator: \n" +"Language-Team: Ukrainian\n" +"Language: uk_UA\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=4; plural=((n%10==1 && n%100!=11) ? 0 : ((n%10 >= 2 && n%10 <=4 && (n%100 < 12 || n%100 > 14)) ? 1 : ((n%10 == 0 || (n%10 >= 5 && n%10 <=9)) || (n%100 >= 11 && n%100 <= 14)) ? 2 : 3));\n" +"X-Crowdin-Project: postgresql\n" +"X-Crowdin-Project-ID: 324573\n" +"X-Crowdin-Language: uk\n" +"X-Crowdin-File: /REL_16_STABLE/initdb.pot\n" +"X-Crowdin-File-ID: 943\n" +"X-Generator: Poedit 3.4.1\n" + +#: ../../../src/common/logging.c:276 +#, c-format +msgid "error: " +msgstr "помилка: " + +#: ../../../src/common/logging.c:283 +#, c-format +msgid "warning: " +msgstr "попередження: " + +#: ../../../src/common/logging.c:294 +#, c-format +msgid "detail: " +msgstr "деталі: " + +#: ../../../src/common/logging.c:301 +#, c-format +msgid "hint: " +msgstr "підказка: " + +#: ../../common/exec.c:172 +#, c-format +msgid "invalid binary \"%s\": %m" +msgstr "невірний бінарний файл \"%s\": %m" + +#: ../../common/exec.c:215 +#, c-format +msgid "could not read binary \"%s\": %m" +msgstr "не вдалося прочитати бінарний файл \"%s\": %m" + +#: ../../common/exec.c:223 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "неможливо знайти \"%s\" для виконання" + +#: ../../common/exec.c:250 +#, c-format +msgid "could not resolve path \"%s\" to absolute form: %m" +msgstr "не вдалося знайти абсолютний шлях \"%s\": %m" + +#: ../../common/exec.c:412 +#, c-format +msgid "%s() failed: %m" +msgstr "%s() помилка: %m" + +#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687 +#: initdb.c:349 +#, c-format +msgid "out of memory" +msgstr "недостатньо пам'яті" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161 +#, c-format +msgid "out of memory\n" +msgstr "недостатньо пам'яті\n" + +#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "неможливо дублювати нульовий покажчик (внутрішня помилка)\n" + +#: ../../common/file_utils.c:87 ../../common/file_utils.c:447 +#, c-format +msgid "could not stat file \"%s\": %m" +msgstr "не вдалося отримати інформацію від файлу \"%s\": %m" + +#: ../../common/file_utils.c:162 ../../common/pgfnames.c:48 +#: ../../common/rmtree.c:63 +#, c-format +msgid "could not open directory \"%s\": %m" +msgstr "не вдалося відкрити каталог \"%s\": %m" + +#: ../../common/file_utils.c:196 ../../common/pgfnames.c:69 +#: ../../common/rmtree.c:104 +#, c-format +msgid "could not read directory \"%s\": %m" +msgstr "не вдалося прочитати каталог \"%s\": %m" + +#: ../../common/file_utils.c:228 ../../common/file_utils.c:287 +#: ../../common/file_utils.c:361 +#, c-format +msgid "could not open file \"%s\": %m" +msgstr "не можливо відкрити файл \"%s\": %m" + +#: ../../common/file_utils.c:299 ../../common/file_utils.c:369 +#, c-format +msgid "could not fsync file \"%s\": %m" +msgstr "не вдалося fsync файл \"%s\": %m" + +#: ../../common/file_utils.c:379 +#, c-format +msgid "could not rename file \"%s\" to \"%s\": %m" +msgstr "не вдалося перейменувати файл \"%s\" на \"%s\": %m" + +#: ../../common/pgfnames.c:74 +#, c-format +msgid "could not close directory \"%s\": %m" +msgstr "не вдалося закрити каталог \"%s\": %m" + +#: ../../common/restricted_token.c:60 +#, c-format +msgid "could not open process token: error code %lu" +msgstr "не вдалося відкрити токен процесу: код помилки %lu" + +#: ../../common/restricted_token.c:74 +#, c-format +msgid "could not allocate SIDs: error code %lu" +msgstr "не вдалося виділити SID: код помилки %lu" + +#: ../../common/restricted_token.c:94 +#, c-format +msgid "could not create restricted token: error code %lu" +msgstr "не вдалося створити обмежений токен: код помилки %lu" + +#: ../../common/restricted_token.c:115 +#, c-format +msgid "could not start process for command \"%s\": error code %lu" +msgstr "не вдалося запустити процес для команди \"%s\": код помилки %lu" + +#: ../../common/restricted_token.c:153 +#, c-format +msgid "could not re-execute with restricted token: error code %lu" +msgstr "не вдалося перезапустити з обмеженим токеном: код помилки %lu" + +#: ../../common/restricted_token.c:168 +#, c-format +msgid "could not get exit code from subprocess: error code %lu" +msgstr "не вдалося отримати код завершення підпроцесу: код помилки %lu" + +#: ../../common/rmtree.c:95 +#, c-format +msgid "could not remove file \"%s\": %m" +msgstr "не можливо видалити файл \"%s\": %m" + +#: ../../common/rmtree.c:122 +#, c-format +msgid "could not remove directory \"%s\": %m" +msgstr "не вдалося видалити каталог \"%s\": %m" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "не можу знайти користувача з ефективним ID %ld: %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "користувача не існує" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "невдала підстановка імені користувача: код помилки %lu" + +#: ../../common/wait_error.c:55 +#, c-format +msgid "command not executable" +msgstr "неможливо виконати команду" + +#: ../../common/wait_error.c:59 +#, c-format +msgid "command not found" +msgstr "команду не знайдено" + +#: ../../common/wait_error.c:64 +#, c-format +msgid "child process exited with exit code %d" +msgstr "дочірній процес завершився з кодом виходу %d" + +#: ../../common/wait_error.c:72 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "дочірній процес перервано через помилку 0х%X" + +#: ../../common/wait_error.c:76 +#, c-format +msgid "child process was terminated by signal %d: %s" +msgstr "дочірній процес перервано через сигнал %d: %s" + +#: ../../common/wait_error.c:82 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "дочірній процес завершився з невизнаним статусом %d" + +#: ../../port/dirmod.c:287 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "не вдалося встановити сполучення для \"%s\": %s\n" + +#: ../../port/dirmod.c:367 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "не вдалося встановити сполучення для \"%s\": %s\n" + +#: initdb.c:618 initdb.c:1613 +#, c-format +msgid "could not open file \"%s\" for reading: %m" +msgstr "не вдалося відкрити файл \"%s\" для читання: %m" + +#: initdb.c:662 initdb.c:966 initdb.c:986 +#, c-format +msgid "could not open file \"%s\" for writing: %m" +msgstr "не вдалося відкрити файл \"%s\" для запису: %m" + +#: initdb.c:666 initdb.c:969 initdb.c:988 +#, c-format +msgid "could not write file \"%s\": %m" +msgstr "не вдалося записати файл \"%s\": %m" + +#: initdb.c:670 +#, c-format +msgid "could not close file \"%s\": %m" +msgstr "неможливо закрити файл \"%s\": %m" + +#: initdb.c:686 +#, c-format +msgid "could not execute command \"%s\": %m" +msgstr "не вдалося виконати команду \"%s\": %m" + +#: initdb.c:704 +#, c-format +msgid "removing data directory \"%s\"" +msgstr "видалення даних з директорії \"%s\"" + +#: initdb.c:706 +#, c-format +msgid "failed to remove data directory" +msgstr "не вдалося видалити дані директорії" + +#: initdb.c:710 +#, c-format +msgid "removing contents of data directory \"%s\"" +msgstr "видалення даних з директорії \"%s\"" + +#: initdb.c:713 +#, c-format +msgid "failed to remove contents of data directory" +msgstr "не вдалося видалити дані директорії" + +#: initdb.c:718 +#, c-format +msgid "removing WAL directory \"%s\"" +msgstr "видалення WAL директорії \"%s\"" + +#: initdb.c:720 +#, c-format +msgid "failed to remove WAL directory" +msgstr "не вдалося видалити директорію WAL" + +#: initdb.c:724 +#, c-format +msgid "removing contents of WAL directory \"%s\"" +msgstr "видалення даних з директорії WAL \"%s\"" + +#: initdb.c:726 +#, c-format +msgid "failed to remove contents of WAL directory" +msgstr "не вдалося видалити дані директорії WAL" + +#: initdb.c:733 +#, c-format +msgid "data directory \"%s\" not removed at user's request" +msgstr "директорія даних \"%s\" не видалена за запитом користувача" + +#: initdb.c:737 +#, c-format +msgid "WAL directory \"%s\" not removed at user's request" +msgstr "директорія WAL \"%s\" не видалена за запитом користувача" + +#: initdb.c:755 +#, c-format +msgid "cannot be run as root" +msgstr "не може виконуватись як root" + +#: initdb.c:756 +#, c-format +msgid "Please log in (using, e.g., \"su\") as the (unprivileged) user that will own the server process." +msgstr "Будь ласка, увійдіть (за допомогою, наприклад, \"su\") як (непривілейований) користувач, від імені якого буде запущено серверний процес." + +#: initdb.c:788 +#, c-format +msgid "\"%s\" is not a valid server encoding name" +msgstr "\"%s\" невірне ім'я серверного кодування" + +#: initdb.c:932 +#, c-format +msgid "file \"%s\" does not exist" +msgstr "файл \"%s\" не існує" + +#: initdb.c:933 initdb.c:938 initdb.c:945 +#, c-format +msgid "This might mean you have a corrupted installation or identified the wrong directory with the invocation option -L." +msgstr "Це означає, що ваша інсталяція пошкоджена або в параметрі -L задана неправильна директорія." + +#: initdb.c:937 +#, c-format +msgid "could not access file \"%s\": %m" +msgstr "немає доступу до файлу \"%s\": %m" + +#: initdb.c:944 +#, c-format +msgid "file \"%s\" is not a regular file" +msgstr "файл \"%s\" не є звичайним файлом" + +#: initdb.c:1077 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "обирається реалізація динамічної спільної пам'яті ... " + +#: initdb.c:1086 +#, c-format +msgid "selecting default max_connections ... " +msgstr "" +"обирається значення max_connections ... \n" +" " + +#: initdb.c:1106 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "обирається значення shared_buffers... " + +#: initdb.c:1129 +#, c-format +msgid "selecting default time zone ... " +msgstr "обирається часовий пояс за замовчуванням ... " + +#: initdb.c:1206 +msgid "creating configuration files ... " +msgstr "створення конфігураційних файлів... " + +#: initdb.c:1367 initdb.c:1381 initdb.c:1448 initdb.c:1459 +#, c-format +msgid "could not change permissions of \"%s\": %m" +msgstr "неможливо змінити дозволи \"%s\": %m" + +#: initdb.c:1477 +#, c-format +msgid "running bootstrap script ... " +msgstr "виконуємо сценарій ініціалізації ... " + +#: initdb.c:1489 +#, c-format +msgid "input file \"%s\" does not belong to PostgreSQL %s" +msgstr "вхідний файл \"%s\" не належить PostgreSQL %s" + +#: initdb.c:1491 +#, c-format +msgid "Specify the correct path using the option -L." +msgstr "Вкажіть правильний шлях за допомогою параметру -L." + +#: initdb.c:1591 +msgid "Enter new superuser password: " +msgstr "Введіть новий пароль для superuser: " + +#: initdb.c:1592 +msgid "Enter it again: " +msgstr "Введіть знову: " + +#: initdb.c:1595 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "Паролі не співпадають.\n" + +#: initdb.c:1619 +#, c-format +msgid "could not read password from file \"%s\": %m" +msgstr "не вдалося прочитати пароль з файлу \"%s\": %m" + +#: initdb.c:1622 +#, c-format +msgid "password file \"%s\" is empty" +msgstr "файл з паролями \"%s\" є порожнім" + +#: initdb.c:2034 +#, c-format +msgid "caught signal\n" +msgstr "отримано сигнал\n" + +#: initdb.c:2040 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "не вдалося написати у дочірній процес: %s\n" + +#: initdb.c:2048 +#, c-format +msgid "ok\n" +msgstr "ok\n" + +#: initdb.c:2137 +#, c-format +msgid "setlocale() failed" +msgstr "setlocale() завершився невдало" + +#: initdb.c:2155 +#, c-format +msgid "failed to restore old locale \"%s\"" +msgstr "не вдалося відновити стару локаль \"%s\"" + +#: initdb.c:2163 +#, c-format +msgid "invalid locale name \"%s\"" +msgstr "не допустиме ім'я локалі \"%s\"" + +#: initdb.c:2164 +#, c-format +msgid "If the locale name is specific to ICU, use --icu-locale." +msgstr "Якщо ім'я локалі характерне для ICU, використовуйте --icu-locale." + +#: initdb.c:2177 +#, c-format +msgid "invalid locale settings; check LANG and LC_* environment variables" +msgstr "неприпустимі параметри локалі; перевірте LANG та LC_* змінні середовища" + +#: initdb.c:2203 initdb.c:2227 +#, c-format +msgid "encoding mismatch" +msgstr "невідповідність кодування" + +#: initdb.c:2204 +#, c-format +msgid "The encoding you selected (%s) and the encoding that the selected locale uses (%s) do not match. This would lead to misbehavior in various character string processing functions." +msgstr "Вибране вами кодування (%s) і кодування, яке використовує обрана локаль (%s) не збігаються. Це призведе до неправильної поведінки у різних функціях обробки символьних рядків." + +#: initdb.c:2209 initdb.c:2230 +#, c-format +msgid "Rerun %s and either do not specify an encoding explicitly, or choose a matching combination." +msgstr "Перезапустіть %s і або не вказуйте кодування прямо або виберіть відповідну комбінацію." + +#: initdb.c:2228 +#, c-format +msgid "The encoding you selected (%s) is not supported with the ICU provider." +msgstr "Обране вами кодування (%s) не підтримується провайдером ICU." + +#: initdb.c:2279 +#, c-format +msgid "could not convert locale name \"%s\" to language tag: %s" +msgstr "не вдалося перетворити локальну назву \"%s\" на мітку мови: %s" + +#: initdb.c:2285 initdb.c:2337 initdb.c:2416 +#, c-format +msgid "ICU is not supported in this build" +msgstr "ICU не підтримується в цій збірці" + +#: initdb.c:2308 +#, c-format +msgid "could not get language from locale \"%s\": %s" +msgstr "не вдалося отримати мову з локалі \"%s\": %s" + +#: initdb.c:2334 +#, c-format +msgid "locale \"%s\" has unknown language \"%s\"" +msgstr "locale \"%s\" має невідому мову \"%s\"" + +#: initdb.c:2400 +#, c-format +msgid "ICU locale must be specified" +msgstr "Необхідно вказати локаль ICU" + +#: initdb.c:2404 +#, c-format +msgid "Using language tag \"%s\" for ICU locale \"%s\".\n" +msgstr "Використання мітки мови \"%s\" для локалі ICU \"%s\".\n" + +#: initdb.c:2427 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"%s ініціалізує кластер баз даних PostgreSQL.\n" +"\n" + +#: initdb.c:2428 +#, c-format +msgid "Usage:\n" +msgstr "Використання:\n" + +#: initdb.c:2429 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [OPTION]... [DATADIR]\n" + +#: initdb.c:2430 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"Параметри:\n" + +#: initdb.c:2431 +#, c-format +msgid " -A, --auth=METHOD default authentication method for local connections\n" +msgstr " -A, -- auth=METHOD метод аутентифікації за замовчуванням для локальних підключень\n" + +#: initdb.c:2432 +#, c-format +msgid " --auth-host=METHOD default authentication method for local TCP/IP connections\n" +msgstr " --auth-host=METHOD метод аутентифікації за замовчуванням для локального TCP/IP підключення\n" + +#: initdb.c:2433 +#, c-format +msgid " --auth-local=METHOD default authentication method for local-socket connections\n" +msgstr " --auth-local=METHOD метод аутентифікації за замовчуванням для локального під'єднання через сокет\n" + +#: initdb.c:2434 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr " [-D - pgdata =] DATADIR розташування кластеру цієї бази даних\n" + +#: initdb.c:2435 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr " -E, --encoding=ENCODING встановлення кодування за замовчуванням для нової бази даних\n" + +#: initdb.c:2436 +#, c-format +msgid " -g, --allow-group-access allow group read/execute on data directory\n" +msgstr " -g, --allow-group-access дозволити читати/виконувати у каталозі даних для групи\n" + +#: initdb.c:2437 +#, c-format +msgid " --icu-locale=LOCALE set ICU locale ID for new databases\n" +msgstr " --icu-locale=LOCALE встановлює ідентифікатор мови ICU для нових баз даних\n" + +#: initdb.c:2438 +#, c-format +msgid " --icu-rules=RULES set additional ICU collation rules for new databases\n" +msgstr " --icu-rules=RULES встановити додаткові правила сортування в ICU для нових баз даних\n" + +#: initdb.c:2439 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr " -k, --data-checksums використовувати контрольні суми сторінок\n" + +#: initdb.c:2440 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr " --locale=LOCALE встановлює локаль за замовчуванням для нових баз даних\n" + +#: initdb.c:2441 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" встановлення локалі за замовчуванням для відповідної категорії в\n" +" нових базах даних (замість значення з середовища)\n" + +#: initdb.c:2445 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale еквівалентно --locale=C\n" + +#: initdb.c:2446 +#, c-format +msgid "" +" --locale-provider={libc|icu}\n" +" set default locale provider for new databases\n" +msgstr "" +" --locale-provider={libc|icu}\n" +" встановлює провайдер локалі за замовченням для нових баз даних\n" + +#: initdb.c:2448 +#, c-format +msgid " --pwfile=FILE read password for the new superuser from file\n" +msgstr " --pwfile=FILE прочитати пароль для нового суперкористувача з файлу\n" + +#: initdb.c:2449 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr " -T, --text-search-config=CFG конфігурація текстового пошуку за замовчуванням\n" + +#: initdb.c:2451 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=NAME ім'я суперкористувача бази даних\n" + +#: initdb.c:2452 +#, c-format +msgid " -W, --pwprompt prompt for a password for the new superuser\n" +msgstr " -W, --pwprompt запитувати пароль нового суперкористувача\n" + +#: initdb.c:2453 +#, c-format +msgid " -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr " -X, --waldir=WALDIR розташування журналу попереднього запису\n" + +#: initdb.c:2454 +#, c-format +msgid " --wal-segsize=SIZE size of WAL segments, in megabytes\n" +msgstr " --wal-segsize=SIZE розмір сегментів WAL у мегабайтах\n" + +#: initdb.c:2455 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"Рідковживані параметри:\n" + +#: initdb.c:2456 +#, c-format +msgid " -c, --set NAME=VALUE override default setting for server parameter\n" +msgstr " -c, --set NAME=VALUE перевизначити параметр за замовчуванням для параметра сервера\n" + +#: initdb.c:2457 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr " -d, --debug генерувати багато налагоджувальних повідомлень\n" + +#: initdb.c:2458 +#, c-format +msgid " --discard-caches set debug_discard_caches=1\n" +msgstr " --discard-caches встановити debug_discard_caches=1\n" + +#: initdb.c:2459 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr " -L DIRECTORY розташування вхідних файлів\n" + +#: initdb.c:2460 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr "" +" -n, --no-clean не очищувати після помилок\n" +" \n" + +#: initdb.c:2461 +#, c-format +msgid " -N, --no-sync do not wait for changes to be written safely to disk\n" +msgstr " -N, --no-sync не чекати на безпечний запис змін на диск\n" + +#: initdb.c:2462 +#, c-format +msgid " --no-instructions do not print instructions for next steps\n" +msgstr " --no-instructions не друкувати інструкції для наступних кроків\n" + +#: initdb.c:2463 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show показати внутрішні налаштування\n" + +#: initdb.c:2464 +#, c-format +msgid " -S, --sync-only only sync database files to disk, then exit\n" +msgstr " -S, --sync-only лише синхронізувати файли бази даних на диск, потім вийти\n" + +#: initdb.c:2465 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"Інші параметри:\n" + +#: initdb.c:2466 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr " -V, --version вивести інформацію про версію і вийти\n" + +#: initdb.c:2467 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr " -?, --help показати цю довідку, потім вийти\n" + +#: initdb.c:2468 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"Якщо каталог даних не вказано, використовується змінна середовища PGDATA.\n" + +#: initdb.c:2470 +#, c-format +msgid "" +"\n" +"Report bugs to <%s>.\n" +msgstr "" +"\n" +"Повідомляти про помилки на <%s>.\n" + +#: initdb.c:2471 +#, c-format +msgid "%s home page: <%s>\n" +msgstr "Домашня сторінка %s: <%s>\n" + +#: initdb.c:2499 +#, c-format +msgid "invalid authentication method \"%s\" for \"%s\" connections" +msgstr "неприпустимий спосіб автентифікації \"%s\" для \"%s\" підключення" + +#: initdb.c:2513 +#, c-format +msgid "must specify a password for the superuser to enable password authentication" +msgstr "необхідно вказати пароль суперкористувача для активації автентифікації за допомогою пароля" + +#: initdb.c:2532 +#, c-format +msgid "no data directory specified" +msgstr "каталог даних не вказано" + +#: initdb.c:2533 +#, c-format +msgid "You must identify the directory where the data for this database system will reside. Do this with either the invocation option -D or the environment variable PGDATA." +msgstr "Ви повинні зазначити каталог, де будуть зберігатися дані цієї системи баз даних. Зробіть це або параметром -D, або змінною середовища PGDATA." + +#: initdb.c:2550 +#, c-format +msgid "could not set environment" +msgstr "не вдалося встановити середовище" + +#: initdb.c:2568 +#, c-format +msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"" +msgstr "програма \"%s\" потрібна для %s, але не знайдена в тому ж каталозі, що й \"%s\"" + +#: initdb.c:2571 +#, c-format +msgid "program \"%s\" was found by \"%s\" but was not the same version as %s" +msgstr "програма \"%s\" знайдена для \"%s\", але має відмінну версію від %s" + +#: initdb.c:2586 +#, c-format +msgid "input file location must be an absolute path" +msgstr "розташування вхідного файлу має бути абсолютним шляхом" + +#: initdb.c:2603 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "Кластер бази даних буде ініціалізовано з локалізацією \"%s\".\n" + +#: initdb.c:2606 +#, c-format +msgid "The database cluster will be initialized with this locale configuration:\n" +msgstr "Кластер бази даних буде ініціалізовано з локалізацією:\n" + +#: initdb.c:2607 +#, c-format +msgid " provider: %s\n" +msgstr " постачальник: %s\n" + +#: initdb.c:2609 +#, c-format +msgid " ICU locale: %s\n" +msgstr " Локаль ICU: %s\n" + +#: initdb.c:2610 +#, c-format +msgid "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" +msgstr "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" + +#: initdb.c:2640 +#, c-format +msgid "could not find suitable encoding for locale \"%s\"" +msgstr "не вдалося знайти відповідне кодування для локалі \"%s\"" + +#: initdb.c:2642 +#, c-format +msgid "Rerun %s with the -E option." +msgstr "Перезапустіть %s з параметром -E." + +#: initdb.c:2643 initdb.c:3176 initdb.c:3284 initdb.c:3304 +#, c-format +msgid "Try \"%s --help\" for more information." +msgstr "Спробуйте \"%s --help\" для додаткової інформації." + +#: initdb.c:2655 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"Кодування \"%s\", що очікується локалізацією, не дозволено у якості кодування сервера.\n" +"Замість нього буде встановлене кодування \"%s\" за замовчуванням.\n" + +#: initdb.c:2660 +#, c-format +msgid "locale \"%s\" requires unsupported encoding \"%s\"" +msgstr "локалізація \"%s\" потребує кодування \"%s\", що не підтримується" + +#: initdb.c:2662 +#, c-format +msgid "Encoding \"%s\" is not allowed as a server-side encoding." +msgstr "Кодування \"%s\" не допускається як кодування сервера." + +#: initdb.c:2664 +#, c-format +msgid "Rerun %s with a different locale selection." +msgstr "Перезапустіть %s з іншим вибором локалі." + +#: initdb.c:2672 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "Кодування бази даних за замовчуванням встановлено: \"%s\".\n" + +#: initdb.c:2741 +#, c-format +msgid "could not find suitable text search configuration for locale \"%s\"" +msgstr "не вдалося знайти відповідну конфігурацію текстового пошуку для локалі\"%s\"" + +#: initdb.c:2752 +#, c-format +msgid "suitable text search configuration for locale \"%s\" is unknown" +msgstr "відповідна конфігурація текстового пошуку для локалі \"%s\" невідома" + +#: initdb.c:2757 +#, c-format +msgid "specified text search configuration \"%s\" might not match locale \"%s\"" +msgstr "вказана конфігурація текстового пошуку \"%s\" може не підходити локалі \"%s\"" + +#: initdb.c:2762 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "Конфігурація текстового пошуку за замовчуванням буде встановлена в \"%s\".\n" + +#: initdb.c:2805 initdb.c:2876 +#, c-format +msgid "creating directory %s ... " +msgstr "створення каталогу %s... " + +#: initdb.c:2810 initdb.c:2881 initdb.c:2929 initdb.c:2985 +#, c-format +msgid "could not create directory \"%s\": %m" +msgstr "не вдалося створити каталог \"%s\": %m" + +#: initdb.c:2819 initdb.c:2891 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "виправляю дозволи для створеного каталогу %s... " + +#: initdb.c:2824 initdb.c:2896 +#, c-format +msgid "could not change permissions of directory \"%s\": %m" +msgstr "не вдалося змінити дозволи каталогу \"%s\": %m" + +#: initdb.c:2836 initdb.c:2908 +#, c-format +msgid "directory \"%s\" exists but is not empty" +msgstr "каталог \"%s\" існує, але він не порожній" + +#: initdb.c:2840 +#, c-format +msgid "If you want to create a new database system, either remove or empty the directory \"%s\" or run %s with an argument other than \"%s\"." +msgstr "Якщо ви хочете створити нову систему бази даних, видаліть або очистіть каталог \"%s\", або запустіть %s з аргументом, відмінним від \"%s\"." + +#: initdb.c:2848 initdb.c:2918 initdb.c:3325 +#, c-format +msgid "could not access directory \"%s\": %m" +msgstr "немає доступу до каталогу \"%s\": %m" + +#: initdb.c:2869 +#, c-format +msgid "WAL directory location must be an absolute path" +msgstr "розташування WAL каталогу має бути абсолютним шляхом" + +#: initdb.c:2912 +#, c-format +msgid "If you want to store the WAL there, either remove or empty the directory \"%s\"." +msgstr "Якщо ви хочете зберігати дані з WAL там, потрібно видалити або очистити директорію \"%s\"." + +#: initdb.c:2922 +#, c-format +msgid "could not create symbolic link \"%s\": %m" +msgstr "не вдалося створити символічне послання \"%s\": %m" + +#: initdb.c:2941 +#, c-format +msgid "It contains a dot-prefixed/invisible file, perhaps due to it being a mount point." +msgstr "Він містить файл з крапкою або невидимий файл, можливо це точка під'єднання." + +#: initdb.c:2943 +#, c-format +msgid "It contains a lost+found directory, perhaps due to it being a mount point." +msgstr "Він містить каталог lost+found, можливо це точка під'єднання." + +#: initdb.c:2945 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point." +msgstr "" +"Не рекомендується використовувати точку під'єднання у якості каталогу даних.\n" +"Створіть підкаталог і використайте його." + +#: initdb.c:2971 +#, c-format +msgid "creating subdirectories ... " +msgstr "створення підкаталогів... " + +#: initdb.c:3014 +msgid "performing post-bootstrap initialization ... " +msgstr "виконується кінцева фаза ініціалізації ... " + +#: initdb.c:3175 +#, c-format +msgid "-c %s requires a value" +msgstr "-c %s необхідне значення" + +#: initdb.c:3200 +#, c-format +msgid "Running in debug mode.\n" +msgstr "Виконується у режимі налагодження.\n" + +#: initdb.c:3204 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "Виконується у режимі 'no-clean'. Помилки не будуть виправлені.\n" + +#: initdb.c:3274 +#, c-format +msgid "unrecognized locale provider: %s" +msgstr "нерозпізнаний постачальник локалів: %s" + +#: initdb.c:3302 +#, c-format +msgid "too many command-line arguments (first is \"%s\")" +msgstr "забагато аргументів у командному рядку (перший \"%s\")" + +#: initdb.c:3309 initdb.c:3313 +#, c-format +msgid "%s cannot be specified unless locale provider \"%s\" is chosen" +msgstr "%s не може бути вказано, поки не буде обрано постачальник локалі \"%s\"" + +#: initdb.c:3327 initdb.c:3404 +msgid "syncing data to disk ... " +msgstr "синхронізація даних з диском ... " + +#: initdb.c:3335 +#, c-format +msgid "password prompt and password file cannot be specified together" +msgstr "неможливо вказати одночасно пароль і файл паролю" + +#: initdb.c:3357 +#, c-format +msgid "argument of --wal-segsize must be a number" +msgstr "аргумент --wal-segsize повинен бути числом" + +#: initdb.c:3359 +#, c-format +msgid "argument of --wal-segsize must be a power of two between 1 and 1024" +msgstr "аргумент --wal-segsize повинен бути ступенем 2 між 1 і 1024" + +#: initdb.c:3373 +#, c-format +msgid "superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"" +msgstr "неприпустиме ім'я суперкористувача \"%s\"; імена ролей не можуть починатися на \"pg_\"" + +#: initdb.c:3375 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"Файли цієї бази даних будуть належати користувачеві \"%s\".\n" +"Від імені цього користувача повинен запускатися процес сервера.\n" +"\n" + +#: initdb.c:3391 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "Контроль цілісності сторінок даних увімкнено.\n" + +#: initdb.c:3393 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "Контроль цілісності сторінок даних вимкнено.\n" + +#: initdb.c:3410 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"Синхронізація з диском пропущена.\n" +"Каталог з даними може бути пошкоджено під час аварійного завершення роботи операційної системи.\n" + +#: initdb.c:3415 +#, c-format +msgid "enabling \"trust\" authentication for local connections" +msgstr "увімкнення автентифікації \"довіри\" для локальних підключень" + +#: initdb.c:3416 +#, c-format +msgid "You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb." +msgstr "Ви можете змінити це, змінивши pg_hba.conf або скориставшись опцією -A, або --auth-local і --auth-host, наступного разу, коли ви запускаєте initdb." + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3446 +msgid "logfile" +msgstr "logfile" + +#: initdb.c:3448 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"Готово. Тепер ви можете запустити сервер бази даних командою:\n" +"\n" +" %s\n" +"\n" diff --git a/src/bin/initdb/po/vi.po b/src/bin/initdb/po/vi.po new file mode 100644 index 0000000..0a9875f --- /dev/null +++ b/src/bin/initdb/po/vi.po @@ -0,0 +1,1044 @@ +# LANGUAGE message translation file for initdb +# Copyright (C) 2018 PostgreSQL Global Development Group +# This file is distributed under the same license as the initdb (PostgreSQL) package. +# FIRST AUTHOR <kakalot49@gmail.com>, 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: initdb (PostgreSQL) 11\n" +"Report-Msgid-Bugs-To: pgsql-bugs@postgresql.org\n" +"POT-Creation-Date: 2018-04-22 12:17+0000\n" +"PO-Revision-Date: 2018-04-29 00:02+0900\n" +"Language-Team: <pgvn_translators@postgresql.vn>\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 <kakalot49@gmail.com>\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Language: vi_VN\n" + +#: ../../common/exec.c:127 ../../common/exec.c:241 ../../common/exec.c:284 +#, c-format +msgid "could not identify current directory: %s" +msgstr "không thể xác định thư mục hiện tại: %s" + +#: ../../common/exec.c:146 +#, c-format +msgid "invalid binary \"%s\"" +msgstr "tệp nhị phân không hợp lệ \"%s\"" + +#: ../../common/exec.c:195 +#, c-format +msgid "could not read binary \"%s\"" +msgstr "không thể đọc tệp nhị phân \"%s\"" + +#: ../../common/exec.c:202 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "không thể tìm thấy file \"%s\" để thực thi" + +#: ../../common/exec.c:257 ../../common/exec.c:293 +#, c-format +msgid "could not change directory to \"%s\": %s" +msgstr "không thể thay đổi thư mục thành \"%s\": %s" + +#: ../../common/exec.c:272 +#, c-format +msgid "could not read symbolic link \"%s\"" +msgstr "không thể đọc symbolic link \"%s\"" + +#: ../../common/exec.c:523 +#, c-format +msgid "pclose failed: %s" +msgstr "pclose lỗi: %s" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 +#, c-format +msgid "out of memory\n" +msgstr "hết bộ nhớ\n" + +#: ../../common/fe_memutils.c:92 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "không thể nhân đôi con trỏ null (lỗi nội bộ)\n" + +#: ../../common/file_utils.c:82 ../../common/file_utils.c:186 +#, c-format +msgid "%s: could not stat file \"%s\": %s\n" +msgstr "%s: không thể hiện thị trạng thái tệp \"%s\": %s\n" + +#: ../../common/file_utils.c:162 +#, c-format +msgid "%s: could not open directory \"%s\": %s\n" +msgstr "%s: không thể mở thư mục \"%s\": %s\n" + +#: ../../common/file_utils.c:198 +#, c-format +msgid "%s: could not read directory \"%s\": %s\n" +msgstr "%s: không thể đọc thư mục \"%s\": %s\n" + +#: ../../common/file_utils.c:231 ../../common/file_utils.c:291 +#: ../../common/file_utils.c:367 +#, c-format +msgid "%s: could not open file \"%s\": %s\n" +msgstr "%s: không thể mở tệp \"%s\": %s\n" + +#: ../../common/file_utils.c:304 ../../common/file_utils.c:376 +#, c-format +msgid "%s: could not fsync file \"%s\": %s\n" +msgstr "%s: không thể đồng bộ tệp \"%s\": %s\n" + +#: ../../common/file_utils.c:387 +#, c-format +msgid "%s: could not rename file \"%s\" to \"%s\": %s\n" +msgstr "%s: không thể đổi tên tệp \"%s\" thành \"%s\": %s\n" + +#: ../../common/pgfnames.c:45 +#, c-format +msgid "could not open directory \"%s\": %s\n" +msgstr "không thể mở thư mục \"%s\": %s\n" + +#: ../../common/pgfnames.c:72 +#, c-format +msgid "could not read directory \"%s\": %s\n" +msgstr "không thể đọc thư mục \"%s\": %s\n" + +#: ../../common/pgfnames.c:84 +#, c-format +msgid "could not close directory \"%s\": %s\n" +msgstr "không thể đóng thư mục \"%s\": %s\n" + +#: ../../common/restricted_token.c:68 +#, c-format +msgid "%s: WARNING: cannot create restricted tokens on this platform\n" +msgstr "" +"%s: CẢNH BÁO: không thể tạo restricted tokens trên hệ điều hành hiện tại\n" + +#: ../../common/restricted_token.c:77 +#, c-format +msgid "%s: could not open process token: error code %lu\n" +msgstr "%s: không thể mở process token: mã lỗi %lu\n" + +#: ../../common/restricted_token.c:90 +#, c-format +msgid "%s: could not allocate SIDs: error code %lu\n" +msgstr "%s: không thể cấp phát SIDs: mã lỗi %lu\n" + +#: ../../common/restricted_token.c:110 +#, c-format +msgid "%s: could not create restricted token: error code %lu\n" +msgstr "%s: không thể tạo restricted token: mã lỗi %lu\n" + +#: ../../common/restricted_token.c:132 +#, c-format +msgid "%s: could not start process for command \"%s\": error code %lu\n" +msgstr "%s: không thể khởi động tiến trình cho câu lệnh \"%s\": mã lỗi %lu\n" + +#: ../../common/restricted_token.c:170 +#, c-format +msgid "%s: could not re-execute with restricted token: error code %lu\n" +msgstr "%s: không thể thực thi lại với restricted token: mã lỗi %lu\n" + +#: ../../common/restricted_token.c:186 +#, c-format +msgid "%s: could not get exit code from subprocess: error code %lu\n" +msgstr "%s: không thể lấy giá trị trả về của tiến trình con: mã lỗi %lu\n" + +#: ../../common/rmtree.c:77 +#, c-format +msgid "could not stat file or directory \"%s\": %s\n" +msgstr "không thể hiển thị trạng thái tệp hoặc thư mục \"%s\": %s\n" + +#: ../../common/rmtree.c:104 ../../common/rmtree.c:121 +#, c-format +msgid "could not remove file or directory \"%s\": %s\n" +msgstr "không thể xóa tệp hoặc thư mục \"%s\": %s\n" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "không thể tra cứu được ID của người dùng có hiệu lực %ld: %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "người dùng không tồn tại" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "lỗi tra cứu tên người dùng: mã lỗi %lu" + +#: ../../common/wait_error.c:45 +#, c-format +msgid "command not executable" +msgstr "câu lệnh không thể thực thi" + +#: ../../common/wait_error.c:49 +#, c-format +msgid "command not found" +msgstr "không tìm thấy lệnh" + +#: ../../common/wait_error.c:54 +#, c-format +msgid "child process exited with exit code %d" +msgstr "tiến trình con đã thoát với giá trị trả về %d" + +#: ../../common/wait_error.c:61 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "tiến trình con đã bị kết thúc bởi exception 0x%X" + +#: ../../common/wait_error.c:71 +#, c-format +msgid "child process was terminated by signal %s" +msgstr "tiến trình con đã bị kết thúc bởi tín hiệu %s" + +#: ../../common/wait_error.c:75 +#, c-format +msgid "child process was terminated by signal %d" +msgstr "child process was terminated by signal %d" + +#: ../../common/wait_error.c:80 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "tiến trình con đã kết thúc với trạng thái không xác định %d" + +#: ../../port/dirmod.c:221 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "không thể thiết lập junction cho \"%s\": %s\n" + +#: ../../port/dirmod.c:298 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "không thể lấy được junction cho \"%s\": %s\n" + +#: initdb.c:339 +#, c-format +msgid "%s: out of memory\n" +msgstr "%s: hết bộ nhớ\n" + +#: initdb.c:495 initdb.c:1538 +#, c-format +msgid "%s: could not open file \"%s\" for reading: %s\n" +msgstr "%s: không thể mở tệp \"%s\" để đọc: %s\n" + +#: initdb.c:551 initdb.c:867 initdb.c:895 +#, c-format +msgid "%s: could not open file \"%s\" for writing: %s\n" +msgstr "%s: không thể mở tệp \"%s\" để ghi: %s\n" + +#: initdb.c:559 initdb.c:567 initdb.c:874 initdb.c:901 +#, c-format +msgid "%s: could not write file \"%s\": %s\n" +msgstr "%s: không thể ghi tệp \"%s\": %s\n" + +#: initdb.c:586 +#, c-format +msgid "%s: could not execute command \"%s\": %s\n" +msgstr "%s: không thể thực hiện lệnh \"%s\": %s\n" + +#: initdb.c:602 +#, c-format +msgid "%s: removing data directory \"%s\"\n" +msgstr "%s: đang xoá thư mục dữ liệu \"%s\"\n" + +#: initdb.c:605 +#, c-format +msgid "%s: failed to remove data directory\n" +msgstr "%s: không thể xóa thư mục dữ liệu\n" + +#: initdb.c:611 +#, c-format +msgid "%s: removing contents of data directory \"%s\"\n" +msgstr "%s: đang xóa nội dung của thư mục dữ liệu \"%s\"\n" + +#: initdb.c:614 +#, c-format +msgid "%s: failed to remove contents of data directory\n" +msgstr "%s: không thể xóa nội dung của thư mục dữ liệu\n" + +#: initdb.c:620 +#, c-format +msgid "%s: removing WAL directory \"%s\"\n" +msgstr "%s: đang xóa thư mục WAL \"%s\"\n" + +#: initdb.c:623 +#, c-format +msgid "%s: failed to remove WAL directory\n" +msgstr "%s: không thể xóa thư mục WAL\n" + +#: initdb.c:629 +#, c-format +msgid "%s: removing contents of WAL directory \"%s\"\n" +msgstr "%s: đang xóa nội dung của thư mục WAL \"%s\"\n" + +#: initdb.c:632 +#, c-format +msgid "%s: failed to remove contents of WAL directory\n" +msgstr "%s: không thể xóa nội dung của thư mục WAL\n" + +#: initdb.c:641 +#, c-format +msgid "%s: data directory \"%s\" not removed at user's request\n" +msgstr "%s: thư mục dữ liệu \"%s\" không bị xóa theo yêu cầu của người dùng\n" + +#: initdb.c:646 +#, c-format +msgid "%s: WAL directory \"%s\" not removed at user's request\n" +msgstr "%s: thư mục WAL \"%s\" không bị xóa theo yêu cầu của người dùng\n" + +#: initdb.c:667 +#, c-format +msgid "" +"%s: cannot be run as root\n" +"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n" +"own the server process.\n" +msgstr "" +"%s: không thể chạy dưới quyền root\n" +"Vui lòng đăng nhập (sử dụng, ví dụ: \"su\") bằng người dùng không có đặc " +"quyền,\n" +"người dùng này sẽ sở hữu tiến trình server.\n" + +#: initdb.c:703 +#, c-format +msgid "%s: \"%s\" is not a valid server encoding name\n" +msgstr "%s: \"%s\" không phải là server encoding hợp lệ\n" + +#: initdb.c:823 +#, c-format +msgid "%s: file \"%s\" does not exist\n" +msgstr "%s: tệp \"%s\" không tồn tại\n" + +#: initdb.c:825 initdb.c:834 initdb.c:844 +#, c-format +msgid "" +"This might mean you have a corrupted installation or identified\n" +"the wrong directory with the invocation option -L.\n" +msgstr "" +"Điều này có nghĩa là bạn đã bị lỗi trong quá trình cài đặt hoặc \n" +"chỉ định sai thư mục trong tùy chọn -L.\n" + +#: initdb.c:831 +#, c-format +msgid "%s: could not access file \"%s\": %s\n" +msgstr "%s: không thể truy cập tệp \"%s\": %s\n" + +#: initdb.c:842 +#, c-format +msgid "%s: file \"%s\" is not a regular file\n" +msgstr "%s: tệp \"%s\" không phải là tệp thông thường\n" + +#: initdb.c:987 +#, c-format +msgid "selecting default max_connections ... " +msgstr "đang chọn giá trị mặc định cho max_connections ... " + +#: initdb.c:1017 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "đang chọn giá trị mặc định cho shared_buffers ... " + +#: initdb.c:1050 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "đang chọn triển khai bộ nhớ chia sẻ động (DSM) ... " + +#: initdb.c:1085 +msgid "creating configuration files ... " +msgstr "đang tạo tệp cấu hình ... " + +#: initdb.c:1239 initdb.c:1259 initdb.c:1346 initdb.c:1362 +#, c-format +msgid "%s: could not change permissions of \"%s\": %s\n" +msgstr "%s: không thể thay đổi quyền của \"%s\": %s\n" + +#: initdb.c:1385 +#, c-format +msgid "running bootstrap script ... " +msgstr "đang chạy tập lệnh khởi động ... " + +#: initdb.c:1398 +#, c-format +msgid "" +"%s: input file \"%s\" does not belong to PostgreSQL %s\n" +"Check your installation or specify the correct path using the option -L.\n" +msgstr "" +"%s: tệp đầu vào \"%s\" không thuộc về PostgreSQL %s\n" +"Kiểm tra cài đặt của bạn hoặc chỉ định đường dẫn đúng bằng tùy chọn -L.\n" + +#: initdb.c:1515 +msgid "Enter new superuser password: " +msgstr "Nhập mật khẩu cho superuser mới: " + +#: initdb.c:1516 +msgid "Enter it again: " +msgstr "Nhập lại: " + +#: initdb.c:1519 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "Mật khẩu không khớp.\n" + +#: initdb.c:1545 +#, c-format +msgid "%s: could not read password from file \"%s\": %s\n" +msgstr "%s: không thể đọc mật khẩu từ tệp \"%s\": %s\n" + +#: initdb.c:1548 +#, c-format +msgid "%s: password file \"%s\" is empty\n" +msgstr "%s: tệp mật khẩu \"%s\" trống\n" + +#: initdb.c:2123 +#, c-format +msgid "caught signal\n" +msgstr "nhận được tín hiệu\n" + +#: initdb.c:2129 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "không thể ghi tới tiến trình con: %s\n" + +#: initdb.c:2137 +#, c-format +msgid "ok\n" +msgstr "ok\n" + +#: initdb.c:2227 +#, c-format +msgid "%s: setlocale() failed\n" +msgstr "%s: setlocale() lỗi\n" + +#: initdb.c:2249 +#, c-format +msgid "%s: failed to restore old locale \"%s\"\n" +msgstr "%s: lỗi khi khôi phục ngôn ngữ cũ \"%s\"\n" + +#: initdb.c:2259 +#, c-format +msgid "%s: invalid locale name \"%s\"\n" +msgstr "%s: tên ngôn ngữ không hợp lệ \"%s\"\n" + +#: initdb.c:2271 +#, c-format +msgid "" +"%s: invalid locale settings; check LANG and LC_* environment variables\n" +msgstr "" +"%s: cài đặt ngôn ngữ không hợp lệ; kiểm tra biến môi trường LANG và LC_ *\n" + +#: initdb.c:2299 +#, c-format +msgid "%s: encoding mismatch\n" +msgstr "%s: mã hóa không khớp\n" + +#: initdb.c:2301 +#, c-format +msgid "" +"The encoding you selected (%s) and the encoding that the\n" +"selected locale uses (%s) do not match. This would lead to\n" +"misbehavior in various character string processing functions.\n" +"Rerun %s and either do not specify an encoding explicitly,\n" +"or choose a matching combination.\n" +msgstr "" +"Mã hóa bạn đã chọn (%s) và mã hóa mà ngôn ngữ được chọn \n" +"sử dụng (%s) không khớp. Điều này có thể dãn đến xử lý không \n" +"đúng trong các hàm xử lý chuỗi ký tự. Chạy lại lệnh %s và không \n" +"chỉ định mã hóa, hoặc chọn mã hóa phù hợp.\n" + +#: initdb.c:2373 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"%s khởi tạo thư mục dữ liệu cho PostgreSQL.\n" +"\n" + +#: initdb.c:2374 +#, c-format +msgid "Usage:\n" +msgstr "Cách sử dụng:\n" + +#: initdb.c:2375 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [OPTION]... [DATADIR]\n" + +#: initdb.c:2376 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"Tùy chọn:\n" + +#: initdb.c:2377 +#, c-format +msgid "" +" -A, --auth=METHOD default authentication method for local " +"connections\n" +msgstr "" +" -A, --auth=METHOD phương pháp xác thực mặc định cho kết nối cục " +"bộ\n" + +#: initdb.c:2378 +#, c-format +msgid "" +" --auth-host=METHOD default authentication method for local TCP/IP " +"connections\n" +msgstr "" +" --auth-host=METHOD phương thức xác thực mặc định cho các kết nối " +"TCP/IP cục bộ\n" + +#: initdb.c:2379 +#, c-format +msgid "" +" --auth-local=METHOD default authentication method for local-socket " +"connections\n" +msgstr "" +" --auth-local=METHOD phương thức xác thực mặc định cho các kết nối " +"socket cục bộ\n" + +#: initdb.c:2380 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr " [-D, --pgdata=]DATADIR vị trí cho thư mục cơ sở dữ liệu này\n" + +#: initdb.c:2381 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr "" +" -E, --encoding=ENCODING đặt mã hóa mặc định cho cơ sở dữ liệu mới\n" + +#: initdb.c:2382 +#, c-format +msgid "" +" -g, --allow-group-access allow group read/execute on data directory\n" +msgstr "" +" -g, --allow-group-access cho phép đọc/thực thi theo nhóm trên thư mục dữ " +"liệu\n" + +#: initdb.c:2383 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr "" +" --locale=LOCALE đặt ngôn ngữ mặc định cho cơ sở dữ liệu mới\n" + +#: initdb.c:2384 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category " +"for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" đặt ngôn ngữ mặc định trong danh mục tương " +"ứng \n" +" cho sở dữ liệu mới (mặc định được lấy từ môi " +"trường)\n" + +#: initdb.c:2388 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale tương đương với --locale=C\n" + +#: initdb.c:2389 +#, c-format +msgid "" +" --pwfile=FILE read password for the new superuser from file\n" +msgstr " --pwfile=FILE đặt mật khẩu cho superuser mới từ tệp\n" + +#: initdb.c:2390 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T, --text-search-config=CFG\n" +" cấu hình tìm kiếm văn bản mặc định\n" + +#: initdb.c:2392 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=NAME tên superuser cơ sở dữ liệu\n" + +#: initdb.c:2393 +#, c-format +msgid "" +" -W, --pwprompt prompt for a password for the new superuser\n" +msgstr " -W, --pwprompt yêu cầu nhập mật khẩu cho superuser mới\n" + +#: initdb.c:2394 +#, c-format +msgid "" +" -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr "" +" -X, --waldir=WALDIR chỉ định vị trí cho thư mục write-ahead log " +"(WAL)\n" + +#: initdb.c:2395 +#, c-format +msgid " --wal-segsize=SIZE size of WAL segments, in megabytes\n" +msgstr "" +" --wal-segsize=SIZE kích thước của từng tệp WAL, tính bằng " +"megabyte\n" + +#: initdb.c:2396 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"Các tùy chọn ít được sử dụng hơn:\n" + +#: initdb.c:2397 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr "" +" -d, --debug xuất nhiều thông tin debug\n" +" \n" + +#: initdb.c:2398 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr " -k, --data-checksums sử dụng checksums cho page dữ liệu\n" + +#: initdb.c:2399 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr " -L DIRECTORY nơi để tìm các tập tin đầu vào\n" + +#: initdb.c:2400 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr " -n, --no-clean không dọn dẹp sau khi lỗi\n" + +#: initdb.c:2401 +#, c-format +msgid "" +" -N, --no-sync do not wait for changes to be written safely to " +"disk\n" +msgstr "" +" -N, --no-sync không thực hiện đồng bộ (sync) dữ liệu xuống " +"đĩa luôn\n" + +#: initdb.c:2402 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show hiển thị thiết lập nội bộ\n" + +#: initdb.c:2403 +#, c-format +msgid " -S, --sync-only only sync data directory\n" +msgstr " -S, --sync-only chỉ đồng bộ thư mục cơ sở dữ liệu\n" + +#: initdb.c:2404 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"Các tùy chọn khác:\n" + +#: initdb.c:2405 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr "" +" -V, --version hiển thị thông tin phiên bản, sau đó thoát\n" + +#: initdb.c:2406 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr "" +" -?, --help hiển thị nội dung hướng dẫn này, sau đó thoát\n" + +#: initdb.c:2407 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"Nếu thư mục dữ liệu không được chỉ định, thì biến môi trường PGDATA\n" +"sẽ được sử dụng.\n" + +#: initdb.c:2409 +#, c-format +msgid "" +"\n" +"Report bugs to <pgsql-bugs@postgresql.org>.\n" +msgstr "" +"\n" +"Báo cáo bugs qua email <pgsql-bugs@postgresql.org>.\n" + +#: initdb.c:2417 +msgid "" +"\n" +"WARNING: enabling \"trust\" authentication for local connections\n" +"You can change this by editing pg_hba.conf or using the option -A, or\n" +"--auth-local and --auth-host, the next time you run initdb.\n" +msgstr "" +"\n" +"CẢNH BÁO: đã thiết lập xác thực \"trust\" cho kết nối cục bộ\n" +"Bạn có thể thay đổi điều này bằng cách chỉnh sửa pg_hba.conf hoặc sử dụng " +"tùy chọn -A,\n" +"hoặc --auth-local và --auth-host cho lần chạy initdb sau.\n" + +#: initdb.c:2439 +#, c-format +msgid "%s: invalid authentication method \"%s\" for \"%s\" connections\n" +msgstr "%s: phương pháp xác thực không hợp lệ \"%s\" cho kết nối \"%s\"\n" + +#: initdb.c:2455 +#, c-format +msgid "" +"%s: must specify a password for the superuser to enable %s authentication\n" +msgstr "%s: phải chỉ định mật khẩu cho superuser để thiết lập xác thực %s\n" + +#: initdb.c:2483 +#, c-format +msgid "" +"%s: no data directory specified\n" +"You must identify the directory where the data for this database system\n" +"will reside. Do this with either the invocation option -D or the\n" +"environment variable PGDATA.\n" +msgstr "" +"%s: không có thư mục dữ liệu nào được chỉ định\n" +"Bạn phải xác định thư mục nơi chứa dữ liệu cho hệ thống cơ sở dữ liệu này.\n" +"Bạn có thể làm điều này với tùy chọn gọi -D hoặc\n" +"biến môi trường PGDATA.\n" + +#: initdb.c:2521 +#, c-format +msgid "" +"The program \"postgres\" is needed by %s but was not found in the\n" +"same directory as \"%s\".\n" +"Check your installation.\n" +msgstr "" +"Chương trình \"postgres\" là cần thiết bởi %s nhưng không được tìm thấy\n" +"trong cùng thư mục với \"%s\".\n" +"Xin vui lòng kiểm tra cài đặt của bạn.\n" + +#: initdb.c:2528 +#, c-format +msgid "" +"The program \"postgres\" was found by \"%s\"\n" +"but was not the same version as %s.\n" +"Check your installation.\n" +msgstr "" +"Chương trình \"postgres\" được tìm thấy bởi \"%s\"\n" +"nhưng không cùng phiên bản với %s.\n" +"Xin vui lòng kiểm tra cài đặt của bạn.\n" + +#: initdb.c:2547 +#, c-format +msgid "%s: input file location must be an absolute path\n" +msgstr "%s: vị trí tệp đầu vào phải là đường dẫn tuyệt đối\n" + +#: initdb.c:2564 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "database cluster sẽ được khởi tạo với ngôn ngữ \"%s\".\n" + +#: initdb.c:2567 +#, c-format +msgid "" +"The database cluster will be initialized with locales\n" +" COLLATE: %s\n" +" CTYPE: %s\n" +" MESSAGES: %s\n" +" MONETARY: %s\n" +" NUMERIC: %s\n" +" TIME: %s\n" +msgstr "" +"database cluster sẽ được khởi tạo bằng ngôn ngữ\n" +" COLLATE: %s\n" +" CTYPE: %s\n" +" MESSAGES: %s\n" +" MONETARY: %s\n" +" NUMERIC: %s\n" +" TIME: %s\n" + +#: initdb.c:2591 +#, c-format +msgid "%s: could not find suitable encoding for locale \"%s\"\n" +msgstr "%s: không thể tìm thấy encoding phù hợp cho ngôn ngữ \"%s\"\n" + +#: initdb.c:2593 +#, c-format +msgid "Rerun %s with the -E option.\n" +msgstr "Chạy lại %s với tùy chọn -E.\n" + +#: initdb.c:2594 initdb.c:3235 initdb.c:3256 +#, c-format +msgid "Try \"%s --help\" for more information.\n" +msgstr "Hãy thử \"%s --help\" để biết thêm thông tin.\n" + +#: initdb.c:2607 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side " +"encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"Encoding \"%s\" được ngụ ý bởi ngôn ngữ không được phép làm encoding cho " +"server.\n" +"Thay vào đó, mặc định encoding cho cơ sở dữ liệu sẽ được đặt thành \"%s\".\n" + +#: initdb.c:2613 +#, c-format +msgid "%s: locale \"%s\" requires unsupported encoding \"%s\"\n" +msgstr "%s: ngôn ngữ \"%s\" yêu cầu encoding không được hỗ trợ \"%s\"\n" + +#: initdb.c:2616 +#, c-format +msgid "" +"Encoding \"%s\" is not allowed as a server-side encoding.\n" +"Rerun %s with a different locale selection.\n" +msgstr "" +"Encoding \"%s\" không được cho phép làm encoding cho server.\n" +"Chạy lại %s với một lựa chọn ngôn ngữ khác.\n" + +#: initdb.c:2625 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "Mặc định encoding cho cơ sở dữ liệu đã được đặt thành \"%s\".\n" + +#: initdb.c:2695 +#, c-format +msgid "" +"%s: could not find suitable text search configuration for locale \"%s\"\n" +msgstr "" +"%s: không thể tìm thấy cấu hình tìm kiếm văn bản phù hợp cho ngôn ngữ \"%s" +"\"\n" + +#: initdb.c:2706 +#, c-format +msgid "" +"%s: warning: suitable text search configuration for locale \"%s\" is " +"unknown\n" +msgstr "" +"%s: cảnh báo: cấu hình tìm kiếm văn bản phù hợp cho ngôn ngữ \"%s\" không " +"xác định\n" + +#: initdb.c:2711 +#, c-format +msgid "" +"%s: warning: specified text search configuration \"%s\" might not match " +"locale \"%s\"\n" +msgstr "" +"%s: cảnh báo: cấu hình tìm kiếm văn bản được chỉ định \"%s\" có thể không " +"khớp với ngôn ngữ \"%s\"\n" + +#: initdb.c:2716 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "Cấu hình tìm kiếm văn bản mặc định sẽ được đặt thành \"%s\".\n" + +#: initdb.c:2760 initdb.c:2846 +#, c-format +msgid "creating directory %s ... " +msgstr "đang tạo thư mục %s ... " + +#: initdb.c:2766 initdb.c:2852 initdb.c:2920 initdb.c:2982 +#, c-format +msgid "%s: could not create directory \"%s\": %s\n" +msgstr "%s: không thể tạo thư mục \"%s\": %s\n" + +#: initdb.c:2778 initdb.c:2864 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "đang sửa các quyền trên thư mục hiện tại %s ... " + +#: initdb.c:2784 initdb.c:2870 +#, c-format +msgid "%s: could not change permissions of directory \"%s\": %s\n" +msgstr "%s: không thể thay đổi quyền của thư mục \"%s\": %s\n" + +#: initdb.c:2799 initdb.c:2885 +#, c-format +msgid "%s: directory \"%s\" exists but is not empty\n" +msgstr "%s: thư mục \"%s\" tồn tại nhưng không trống\n" + +#: initdb.c:2805 +#, c-format +msgid "" +"If you want to create a new database system, either remove or empty\n" +"the directory \"%s\" or run %s\n" +"with an argument other than \"%s\".\n" +msgstr "" +"Nếu bạn muốn tạo hệ thống cơ sở dữ liệu mới, hãy xóa hoặc làm trống\n" +"thư mục \"%s\" hoặc chạy %s\n" +"với một đối số khác với \"%s\".\n" + +#: initdb.c:2813 initdb.c:2898 initdb.c:3269 +#, c-format +msgid "%s: could not access directory \"%s\": %s\n" +msgstr "%s: không thể truy cập thư mục \"%s\": %s\n" + +#: initdb.c:2837 +#, c-format +msgid "%s: WAL directory location must be an absolute path\n" +msgstr "%s: Vị trí thư mục WAL phải là đường dẫn tuyệt đối\n" + +#: initdb.c:2891 +#, c-format +msgid "" +"If you want to store the WAL there, either remove or empty the directory\n" +"\"%s\".\n" +msgstr "" +"Nếu bạn muốn lưu trữ WAL ở thư mục đã chỉ định, hãy xóa hoặc làm trống thư " +"mục\n" +"\"%s\".\n" + +#: initdb.c:2906 +#, c-format +msgid "%s: could not create symbolic link \"%s\": %s\n" +msgstr "%s: không thể tạo symbolic link \"%s\": %s\n" + +#: initdb.c:2911 +#, c-format +msgid "%s: symlinks are not supported on this platform" +msgstr "%s: symlinks không được hỗ trợ trên hệ điều hành này" + +#: initdb.c:2935 +#, c-format +msgid "" +"It contains a dot-prefixed/invisible file, perhaps due to it being a mount " +"point.\n" +msgstr "" +"Đường dẫn chứa tập tin có tiền tố . hoặc vô hình, có lẽ do nó là một mount " +"point.\n" + +#: initdb.c:2938 +#, c-format +msgid "" +"It contains a lost+found directory, perhaps due to it being a mount point.\n" +msgstr "Đường dẫn chứa thư mục lost+found, có lẽ do nó là một mount point.\n" + +#: initdb.c:2941 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point.\n" +msgstr "" +"Sử dụng trực tiếp mount point cho thư mục dữ liệu là không được khuyến " +"nghị.\n" +"Tạo một thư mục con dưới mount point.\n" + +#: initdb.c:2967 +#, c-format +msgid "creating subdirectories ... " +msgstr "tạo thư mục con ... " + +#: initdb.c:3014 +msgid "performing post-bootstrap initialization ... " +msgstr "thực hiện khởi tạo sau-bootstrap ... " + +#: initdb.c:3173 +#, c-format +msgid "Running in debug mode.\n" +msgstr "Chạy trong chế độ debug.\n" + +#: initdb.c:3177 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "Chạy ở chế độ không dọn dẹp. lỗi xảy ra sẽ khộng được dọn dẹp.\n" + +#: initdb.c:3254 +#, c-format +msgid "%s: too many command-line arguments (first is \"%s\")\n" +msgstr "%s: quá nhiều đối số cho câu lệnh (đầu tiên là \"%s\")\n" + +#: initdb.c:3274 initdb.c:3367 +msgid "syncing data to disk ... " +msgstr "đồng bộ dữ liệu xuống đĩa cứng ... " + +#: initdb.c:3283 +#, c-format +msgid "%s: password prompt and password file cannot be specified together\n" +msgstr "%s: không thể chỉ định yêu cầu mật khẩu và tệp mật khẩu cùng lúc\n" + +#: initdb.c:3309 +#, c-format +msgid "%s: argument of --wal-segsize must be a number\n" +msgstr "%s: đối số của --wal-segsize phải là một số\n" + +#: initdb.c:3316 +#, c-format +msgid "" +"%s: argument of --wal-segsize must be a power of 2 between 1 and 1024\n" +msgstr "%s: đối số của --wal-segsize phải là lũy thừa của 2 từ 1 đến 1024\n" + +#: initdb.c:3334 +#, c-format +msgid "" +"%s: superuser name \"%s\" is disallowed; role names cannot begin with \"pg_" +"\"\n" +msgstr "" +"%s: tên superuser \"%s\" không được phép, tên role không thể bắt đầu bằng " +"\"pg_\"\n" + +#: initdb.c:3338 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"Các tệp thuộc hệ thống cơ sở dữ liệu này sẽ được sở hữu bởi người dùng \"%s" +"\".\n" +"Người dùng này cũng phải sở hữu tiến trình server.\n" +"\n" + +#: initdb.c:3354 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "Checksums cho page dữ liệu đã được thiết lập.\n" + +#: initdb.c:3356 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "Thiết lập checksums cho page dữ liệu đã bị hủy.\n" + +#: initdb.c:3373 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"Đồng bộ hóa xuống đĩa cứng bị bỏ qua.\n" +"Thư mục dữ liệu có thể bị hỏng nếu hệ điều hành bị sự cố.\n" + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3399 +msgid "logfile" +msgstr "logfile" + +#: initdb.c:3401 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"Thành công. Bây giờ bạn có thể khởi động hệ thống cơ sở dữ liệu bằng cách " +"sử dụng:\n" +"\n" +" %s\n" +"\n" diff --git a/src/bin/initdb/po/zh_CN.po b/src/bin/initdb/po/zh_CN.po new file mode 100644 index 0000000..9876679 --- /dev/null +++ b/src/bin/initdb/po/zh_CN.po @@ -0,0 +1,1004 @@ +# SOME DESCRIPTIVE TITLE. +# This file is put in the public domain. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: initdb (PostgreSQL) 14\n" +"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" +"POT-Creation-Date: 2021-08-14 05:47+0000\n" +"PO-Revision-Date: 2021-08-15 18:00+0800\n" +"Last-Translator: Jie Zhang <zhangjie2@fujitsu.com>\n" +"Language-Team: Chinese (Simplified) <zhangjie2@fujitsu.com>\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.5.7\n" + +#: ../../../src/common/logging.c:259 +#, c-format +msgid "fatal: " +msgstr "致命的: " + +#: ../../../src/common/logging.c:266 +#, c-format +msgid "error: " +msgstr "错误: " + +#: ../../../src/common/logging.c:273 +#, c-format +msgid "warning: " +msgstr "警告: " + +#: ../../common/exec.c:136 ../../common/exec.c:253 ../../common/exec.c:299 +#, c-format +msgid "could not identify current directory: %m" +msgstr "无法确认当前目录: %m" + +#: ../../common/exec.c:155 +#, c-format +msgid "invalid binary \"%s\"" +msgstr "无效的二进制码 \"%s\"" + +#: ../../common/exec.c:205 +#, c-format +msgid "could not read binary \"%s\"" +msgstr "无法读取二进制码 \"%s\"" + +#: ../../common/exec.c:213 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "未能找到一个 \"%s\" 来执行" + +#: ../../common/exec.c:269 ../../common/exec.c:308 +#, c-format +msgid "could not change directory to \"%s\": %m" +msgstr "无法跳转到目录 \"%s\" 中: %m" + +#: ../../common/exec.c:286 +#, c-format +msgid "could not read symbolic link \"%s\": %m" +msgstr "无法读取符号链接 \"%s\": %m" + +#: ../../common/exec.c:409 +msgid "%s() failed: %m" +msgstr "%s()失败: %m" + +#: ../../common/exec.c:522 ../../common/exec.c:567 ../../common/exec.c:659 +#: initdb.c:331 +#, c-format +msgid "out of memory" +msgstr "内存不足" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:162 +#, c-format +msgid "out of memory\n" +msgstr "内存不足\n" + +#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:154 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "无法复制空指针 (内部错误)\n" + +#: ../../common/file_utils.c:87 ../../common/file_utils.c:451 +#, c-format +msgid "could not stat file \"%s\": %m" +msgstr "无法取文件 \"%s\" 的状态: %m" + +#: ../../common/file_utils.c:166 ../../common/pgfnames.c:48 +#, c-format +msgid "could not open directory \"%s\": %m" +msgstr "无法打开目录 \"%s\": %m" + +#: ../../common/file_utils.c:200 ../../common/pgfnames.c:69 +#, c-format +msgid "could not read directory \"%s\": %m" +msgstr "无法读取目录 \"%s\": %m" + +#: ../../common/file_utils.c:232 ../../common/file_utils.c:291 +#: ../../common/file_utils.c:365 +#, c-format +msgid "could not open file \"%s\": %m" +msgstr "无法打开文件 \"%s\": %m" + +#: ../../common/file_utils.c:303 ../../common/file_utils.c:373 +#, c-format +msgid "could not fsync file \"%s\": %m" +msgstr "无法 fsync 文件 \"%s\": %m" + +#: ../../common/file_utils.c:383 +#, c-format +msgid "could not rename file \"%s\" to \"%s\": %m" +msgstr "无法把文件 \"%s\" 重命名为 \"%s\": %m" + +#: ../../common/pgfnames.c:74 +#, c-format +msgid "could not close directory \"%s\": %m" +msgstr "无法关闭目录 \"%s\": %m" + +#: ../../common/restricted_token.c:64 +#, c-format +msgid "could not load library \"%s\": error code %lu" +msgstr "无法加载库 \"%s\": 错误码 %lu" + +#: ../../common/restricted_token.c:73 +#, c-format +msgid "cannot create restricted tokens on this platform: error code %lu" +msgstr "无法为该平台创建受限制的令牌:错误码 %lu" + +#: ../../common/restricted_token.c:82 +#, c-format +msgid "could not open process token: error code %lu" +msgstr "无法打开进程令牌 (token): 错误码 %lu" + +#: ../../common/restricted_token.c:97 +#, c-format +msgid "could not allocate SIDs: error code %lu" +msgstr "无法分配SID: 错误码 %lu" + +#: ../../common/restricted_token.c:119 +#, c-format +msgid "could not create restricted token: error code %lu" +msgstr "无法创建受限令牌: 错误码为 %lu" + +#: ../../common/restricted_token.c:140 +#, c-format +msgid "could not start process for command \"%s\": error code %lu" +msgstr "无法为命令 \"%s\"创建进程: 错误码 %lu" + +#: ../../common/restricted_token.c:178 +#, c-format +msgid "could not re-execute with restricted token: error code %lu" +msgstr "无法使用受限令牌再次执行: 错误码 %lu" + +#: ../../common/restricted_token.c:194 +#, c-format +msgid "could not get exit code from subprocess: error code %lu" +msgstr "无法从子进程得到退出码: 错误码 %lu" + +#: ../../common/rmtree.c:79 +#, c-format +msgid "could not stat file or directory \"%s\": %m" +msgstr "无法统计文件或目录\"%s\": %m" + +#: ../../common/rmtree.c:101 ../../common/rmtree.c:113 +#, c-format +msgid "could not remove file or directory \"%s\": %m" +msgstr "无法删除文件或目录 \"%s\": %m" + +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "无法找到有效的用户ID %ld: %s" + +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "用户不存在" + +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "用户名查找失败:错误代码%lu" + +#: ../../common/wait_error.c:45 +#, c-format +msgid "command not executable" +msgstr "无法执行命令" + +#: ../../common/wait_error.c:49 +#, c-format +msgid "command not found" +msgstr "命令没有找到" + +#: ../../common/wait_error.c:54 +#, c-format +msgid "child process exited with exit code %d" +msgstr "子进程已退出, 退出码为 %d" + +#: ../../common/wait_error.c:62 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "子进程被例外(exception) 0x%X 终止" + +#: ../../common/wait_error.c:66 +#, c-format +msgid "child process was terminated by signal %d: %s" +msgstr "子进程被信号 %d 终止: %s" + +#: ../../common/wait_error.c:72 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "子进程已退出, 未知状态 %d" + +#: ../../port/dirmod.c:221 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "无法为 \"%s\"设置连接: %s\n" + +#: ../../port/dirmod.c:298 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "无法为\"%s\"得到连接: %s\n" + +#: initdb.c:464 initdb.c:1496 +#, c-format +msgid "could not open file \"%s\" for reading: %m" +msgstr "为了读取, 无法打开文件 \"%s\": %m" + +#: initdb.c:508 initdb.c:830 initdb.c:856 +#, c-format +msgid "could not open file \"%s\" for writing: %m" +msgstr "为了写入, 无法打开文件 \"%s\": %m" + +#: initdb.c:515 initdb.c:522 initdb.c:836 initdb.c:861 +#, c-format +msgid "could not write file \"%s\": %m" +msgstr "无法写入文件 \"%s\": %m" + +#: initdb.c:540 +#, c-format +msgid "could not execute command \"%s\": %m" +msgstr "无法执行命令 \"%s\": %m" + +#: initdb.c:558 +#, c-format +msgid "removing data directory \"%s\"" +msgstr "删除数据目录 \"%s\"" + +#: initdb.c:560 +#, c-format +msgid "failed to remove data directory" +msgstr "删除数据目录失败" + +#: initdb.c:564 +#, c-format +msgid "removing contents of data directory \"%s\"" +msgstr "删除数据目录 \"%s\" 的内容" + +#: initdb.c:567 +#, c-format +msgid "failed to remove contents of data directory" +msgstr "删除数据目录内容失败" + +#: initdb.c:572 +#, c-format +msgid "removing WAL directory \"%s\"" +msgstr "正在删除WAL目录\"%s\"" + +#: initdb.c:574 +#, c-format +msgid "failed to remove WAL directory" +msgstr "删除WAL目录失败" + +#: initdb.c:578 +#, c-format +msgid "removing contents of WAL directory \"%s\"" +msgstr "正在删除WAL目录 \"%s\" 的内容" + +#: initdb.c:580 +#, c-format +msgid "failed to remove contents of WAL directory" +msgstr "删除WAL目录内容失败" + +#: initdb.c:587 +#, c-format +msgid "data directory \"%s\" not removed at user's request" +msgstr "在用户的要求下数据库目录 \"%s\" 不被删除" + +#: initdb.c:591 +#, c-format +msgid "WAL directory \"%s\" not removed at user's request" +msgstr "在用户的要求下WAL目录 \"%s\" 不被删除" + +#: initdb.c:609 +#, c-format +msgid "cannot be run as root" +msgstr "不能使用root用户运行" + +#: initdb.c:611 +#, c-format +msgid "" +"Please log in (using, e.g., \"su\") as the (unprivileged) user that will\n" +"own the server process.\n" +msgstr "" +"请以服务器进程所有者的用户 (无特权) 身份\n" +"登陆 (使用, e.g., \"su\").\n" + +#: initdb.c:644 +#, c-format +msgid "\"%s\" is not a valid server encoding name" +msgstr "\"%s\" 不是一个有效的服务器编码名字" + +#: initdb.c:789 +#, c-format +msgid "file \"%s\" does not exist" +msgstr "文件 \"%s\" 不存在" + +#: initdb.c:791 initdb.c:798 initdb.c:807 +#, c-format +msgid "" +"This might mean you have a corrupted installation or identified\n" +"the wrong directory with the invocation option -L.\n" +msgstr "" +"这意味着您的安装发生了错误或\n" +"使用 -L 选项指定了错误的路径.\n" + +#: initdb.c:796 +#, c-format +msgid "could not access file \"%s\": %m" +msgstr "无法访问文件 \"%s\": %m" + +#: initdb.c:805 +#, c-format +msgid "file \"%s\" is not a regular file" +msgstr "文件 \"%s\" 不是常规文件" + +#: initdb.c:950 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "选择动态共享内存实现 ......" + +#: initdb.c:959 +#, c-format +msgid "selecting default max_connections ... " +msgstr "选择默认最大联接数 (max_connections) ... " + +#: initdb.c:990 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "选择默认共享缓冲区大小 (shared_buffers) ... " + +#: initdb.c:1024 +msgid "selecting default time zone ... " +msgstr "选择默认时区 ... " + +#: initdb.c:1058 +msgid "creating configuration files ... " +msgstr "创建配置文件 ... " + +#: initdb.c:1217 initdb.c:1236 initdb.c:1322 initdb.c:1337 +#, c-format +msgid "could not change permissions of \"%s\": %m" +msgstr "无法改变\"%s\"的权限: %m" + +#: initdb.c:1359 +#, c-format +msgid "running bootstrap script ... " +msgstr "正在运行自举脚本 ..." + +#: initdb.c:1371 +#, c-format +msgid "input file \"%s\" does not belong to PostgreSQL %s" +msgstr "输入文件 \"%s\" 不属于PostgreSQL %s" + +#: initdb.c:1374 +#, c-format +msgid "Check your installation or specify the correct path using the option -L.\n" +msgstr "检查你的安装或使用 -L 选项指定正确的路径.\n" + +#: initdb.c:1473 +msgid "Enter new superuser password: " +msgstr "输入新的超级用户口令: " + +#: initdb.c:1474 +msgid "Enter it again: " +msgstr "再输入一遍: " + +#: initdb.c:1477 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "口令不匹配.\n" + +#: initdb.c:1504 +#, c-format +msgid "could not read password from file \"%s\": %m" +msgstr "无法从文件 \"%s\" 读取口令: %m" + +#: initdb.c:1507 +#, c-format +msgid "password file \"%s\" is empty" +msgstr "口令文件\"%s\"为空" + +#: initdb.c:1998 +#, c-format +msgid "caught signal\n" +msgstr "捕获信号\n" + +#: initdb.c:2004 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "无法写到子进程: %s\n" + +#: initdb.c:2012 +#, c-format +msgid "ok\n" +msgstr "成功\n" + +#: initdb.c:2102 +#, c-format +msgid "setlocale() failed" +msgstr "setlocale()调用失败" + +#: initdb.c:2123 +#, c-format +msgid "failed to restore old locale \"%s\"" +msgstr "还原旧区域\"%s\"失败" + +#: initdb.c:2132 +#, c-format +msgid "invalid locale name \"%s\"" +msgstr "无效的语言环境名称 \"%s\"" + +#: initdb.c:2143 +#, c-format +msgid "invalid locale settings; check LANG and LC_* environment variables" +msgstr "无效的本地化设置; 请检查环境变量LANG和LC_*的值" + +#: initdb.c:2170 +#, c-format +msgid "encoding mismatch" +msgstr "编码不匹配" + +#: initdb.c:2172 +#, c-format +msgid "" +"The encoding you selected (%s) and the encoding that the\n" +"selected locale uses (%s) do not match. This would lead to\n" +"misbehavior in various character string processing functions.\n" +"Rerun %s and either do not specify an encoding explicitly,\n" +"or choose a matching combination.\n" +msgstr "" +"您选择的编码 (%s) 和所选择的语言环境使用的编码 (%s) 不匹配的.\n" +"这样将导致处理不同字符串的函数时产生错误.\n" +"要修复此问题, 重新运行 %s 并且不要明确指定编码, 或者先选择一个匹配\n" +"组合类型.\n" +"\n" + +#: initdb.c:2244 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"%s 初始化一个 PostgreSQL 数据库簇.\n" +"\n" + +#: initdb.c:2245 +#, c-format +msgid "Usage:\n" +msgstr "使用方法:\n" + +#: initdb.c:2246 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [选项]... [DATADIR]\n" + +#: initdb.c:2247 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"选项:\n" + +#: initdb.c:2248 +#, c-format +msgid " -A, --auth=METHOD default authentication method for local connections\n" +msgstr " -A, --auth=METHOD 本地连接的默认认证方法\n" + +#: initdb.c:2249 +#, c-format +msgid " --auth-host=METHOD default authentication method for local TCP/IP connections\n" +msgstr " --auth-host=METHOD 本地的TCP/IP连接的默认认证方法\n" + +#: initdb.c:2250 +#, c-format +msgid " --auth-local=METHOD default authentication method for local-socket connections\n" +msgstr " --auth-local=METHOD 本地socket连接的默认认证方法\n" + +#: initdb.c:2251 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr " -D, --pgdata=DATADIR 当前数据库簇的位置\n" + +#: initdb.c:2252 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr " -E, --encoding=ENCODING 为新数据库设置默认编码\n" + +#: initdb.c:2253 +#, c-format +msgid " -g, --allow-group-access allow group read/execute on data directory\n" +msgstr " -g, --allow-group-access 允许组对数据目录进行读/执行\n" + +#: initdb.c:2254 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr " -k, --data-checksums 使用数据页产生效验和\n" + +#: initdb.c:2255 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr " --locale=LOCALE 为新数据库设置默认语言环境\n" + +#: initdb.c:2256 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate, --lc-ctype, --lc-messages=LOCALE\n" +" --lc-monetary, --lc-numeric, --lc-time=LOCALE\n" +" 为新的数据库簇在各自的目录中分别\n" +" 设定缺省语言环境(默认使用环境变量)\n" + +#: initdb.c:2260 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale 等同于 --locale=C\n" + +#: initdb.c:2261 +#, c-format +msgid " --pwfile=FILE read password for the new superuser from file\n" +msgstr " --pwfile=FILE 对于新的超级用户从文件读取口令\n" + +#: initdb.c:2262 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T, --text-search-config=CFG\n" +" 缺省的文本搜索配置\n" + +#: initdb.c:2264 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=NAME 数据库超级用户名\n" + +#: initdb.c:2265 +#, c-format +msgid " -W, --pwprompt prompt for a password for the new superuser\n" +msgstr " -W, --pwprompt 对于新的超级用户提示输入口令\n" + +#: initdb.c:2266 +#, c-format +msgid " -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr " -X, --waldir=WALDIR 预写日志目录的位置\n" + +#: initdb.c:2267 +#, c-format +msgid " --wal-segsize=SIZE size of WAL segments, in megabytes\n" +msgstr " --wal-segsize=SIZE WAL段的大小(兆字节)\n" + +#: initdb.c:2268 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"非普通使用选项:\n" + +#: initdb.c:2269 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr " -d, --debug 产生大量的除错信息\n" + +#: initdb.c:2270 +#, c-format +msgid " --discard-caches set debug_discard_caches=1\n" +msgstr " --discard-caches 设置debug_discard_caches=1\n" + +#: initdb.c:2271 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr " -L DIRECTORY 输入文件的位置\n" + +#: initdb.c:2272 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr " -n, --no-clean 出错后不清理\n" + +#: initdb.c:2273 +#, c-format +msgid " -N, --no-sync do not wait for changes to be written safely to disk\n" +msgstr " -N, --no-sync 不用等待变化安全写入磁盘\n" + +#: initdb.c:2274 +msgid " --no-instructions do not print instructions for next steps\n" +msgstr " --no-instructions 不要打印后续步骤的说明\n" + +#: initdb.c:2275 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show 显示内部设置\n" + +#: initdb.c:2276 +#, c-format +msgid " -S, --sync-only only sync data directory\n" +msgstr " -S, --sync-only 只同步数据目录\n" + +#: initdb.c:2277 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"其它选项:\n" + +#: initdb.c:2278 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr " -V, --version 输出版本信息, 然后退出\n" + +#: initdb.c:2279 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr " -?, --help 显示此帮助, 然后退出\n" + +#: initdb.c:2280 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"如果没有指定数据目录, 将使用环境变量 PGDATA\n" + +#: initdb.c:2282 +#, c-format +msgid "" +"\n" +"Report bugs to <%s>.\n" +msgstr "" +"\n" +"臭虫报告至<%s>.\n" + +#: initdb.c:2283 +#, c-format +msgid "%s home page: <%s>\n" +msgstr "%s 主页: <%s>\n" + +#: initdb.c:2311 +#, c-format +msgid "invalid authentication method \"%s\" for \"%s\" connections" +msgstr "无效认证方法 \"%s\" 用于 \"%s\" 连接" + +#: initdb.c:2327 +msgid "must specify a password for the superuser to enable password authentication" +msgstr "为了启动密码认证, 你需要为超级用户指定一个口令" + +#: initdb.c:2348 +#, c-format +msgid "no data directory specified" +msgstr "没有指定数据目录" + +#: initdb.c:2350 +#, c-format +msgid "" +"You must identify the directory where the data for this database system\n" +"will reside. Do this with either the invocation option -D or the\n" +"environment variable PGDATA.\n" +msgstr "" +"您必须确认此数据库系统的数据所在目录\n" +"存在. 使用 -D 选项或者\n" +"环境变量 PGDATA.\n" + +#: initdb.c:2368 +msgid "could not set environment" +msgstr "无法设置环境" + +#: initdb.c:2388 +#, c-format +msgid "" +"The program \"%s\" is needed by %s but was not found in the\n" +"same directory as \"%s\".\n" +"Check your installation." +msgstr "" +"%2$s需要程序\"%1$s\"\n" +"但在与\"%3$s\"相同的目录中找不到该程序.\n" +"检查您的安装." + +#: initdb.c:2393 +#, c-format +msgid "" +"The program \"%s\" was found by \"%s\"\n" +"but was not the same version as %s.\n" +"Check your installation." +msgstr "" +"程序\"%s\"是由\"%s\"找到的\n" +"但与%s的版本不同.\n" +"检查您的安装." + +#: initdb.c:2412 +#, c-format +msgid "input file location must be an absolute path" +msgstr "输入文件位置必须为绝对路径" + +#: initdb.c:2429 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "数据库簇将使用本地化语言 \"%s\"进行初始化.\n" + +#: initdb.c:2432 +#, c-format +msgid "" +"The database cluster will be initialized with locales\n" +" COLLATE: %s\n" +" CTYPE: %s\n" +" MESSAGES: %s\n" +" MONETARY: %s\n" +" NUMERIC: %s\n" +" TIME: %s\n" +msgstr "" +"数据库簇将带有一下 locales 初始化\n" +" COLLATE: %s\n" +" CTYPE: %s\n" +" MESSAGES: %s\n" +" MONETARY: %s\n" +" NUMERIC: %s\n" +" TIME: %s\n" + +#: initdb.c:2456 +#, c-format +msgid "could not find suitable encoding for locale \"%s\"" +msgstr "无法为locale(本地化语言)\"%s\"找到合适的编码" + +#: initdb.c:2458 +#, c-format +msgid "Rerun %s with the -E option.\n" +msgstr "带 -E 选项重新运行 %s.\n" + +#: initdb.c:2459 initdb.c:3099 initdb.c:3120 +#, c-format +msgid "Try \"%s --help\" for more information.\n" +msgstr "请用 \"%s --help\" 获取更多的信息.\n" + +#: initdb.c:2472 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"本地化隐含的编码 \"%s\" 不允许作为服务器端的编码.\n" +"默认的数据库编码将采用 \"%s\" 作为代替.\n" + +#: initdb.c:2477 +#, c-format +msgid "locale \"%s\" requires unsupported encoding \"%s\"" +msgstr "本地化语言环境 \"%s\"要求使用不支持的编码\"%s\"" + +#: initdb.c:2480 +#, c-format +msgid "" +"Encoding \"%s\" is not allowed as a server-side encoding.\n" +"Rerun %s with a different locale selection.\n" +msgstr "" +"不允许将编码\"%s\"作为服务器端编码.\n" +"使用一个不同的本地化语言环境重新运行%s.\n" + +#: initdb.c:2489 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "默认的数据库编码已经相应的设置为 \"%s\".\n" + +#: initdb.c:2555 +msgid "could not find suitable text search configuration for locale \"%s\"" +msgstr "无法为本地化语言环境\"%s\"找到合适的文本搜索配置" + +#: initdb.c:2566 +msgid "suitable text search configuration for locale \"%s\" is unknown" +msgstr "对于本地化语言环境\"%s\"合适的文本搜索配置未知" + +#: initdb.c:2571 +msgid "specified text search configuration \"%s\" might not match locale \"%s\"" +msgstr "所指定的文本搜索配置\"%s\"可能与本地语言环境\"%s\"不匹配" + +#: initdb.c:2576 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "缺省的文本搜索配置将会被设置到\"%s\"\n" + +#: initdb.c:2620 initdb.c:2702 +#, c-format +msgid "creating directory %s ... " +msgstr "创建目录 %s ... " + +#: initdb.c:2626 initdb.c:2708 initdb.c:2773 initdb.c:2835 +#, c-format +msgid "could not create directory \"%s\": %m" +msgstr "无法创建目录 \"%s\": %m" + +#: initdb.c:2637 initdb.c:2720 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "修复已存在目录 %s 的权限 ... " + +#: initdb.c:2643 initdb.c:2726 +#, c-format +msgid "could not change permissions of directory \"%s\": %m" +msgstr "无法改变目录 \"%s\" 的权限: %m" + +#: initdb.c:2657 initdb.c:2740 +#, c-format +msgid "directory \"%s\" exists but is not empty" +msgstr "目录\"%s\"已存在,但不是空的" + +#: initdb.c:2662 +#, c-format +msgid "" +"If you want to create a new database system, either remove or empty\n" +"the directory \"%s\" or run %s\n" +"with an argument other than \"%s\".\n" +msgstr "" +"如果您想创建一个新的数据库系统, 请删除或清空\n" +"目录 \"%s\" 或者运行带参数的 %s\n" +"而不是 \"%s\".\n" + +#: initdb.c:2670 initdb.c:2752 initdb.c:3135 +#, c-format +msgid "could not access directory \"%s\": %m" +msgstr "无法访问目录 \"%s\": %m" + +#: initdb.c:2693 +#, c-format +msgid "WAL directory location must be an absolute path" +msgstr "WAL目录的位置必须为绝对路径" + +#: initdb.c:2745 +#, c-format +msgid "" +"If you want to store the WAL there, either remove or empty the directory\n" +"\"%s\".\n" +msgstr "如果您要存储WAL日志,需要删除或者清空目录\"%s\".\n" + +#: initdb.c:2759 +#, c-format +msgid "could not create symbolic link \"%s\": %m" +msgstr "无法创建符号链接 \"%s\": %m" + +#: initdb.c:2764 +#, c-format +msgid "symlinks are not supported on this platform" +msgstr "在这个平台上不支持符号链接" + +#: initdb.c:2788 +#, c-format +msgid "It contains a dot-prefixed/invisible file, perhaps due to it being a mount point.\n" +msgstr "它包含一个不可见的带固定点的文件,可能因为它是一个装载点。\n" + +#: initdb.c:2791 +#, c-format +msgid "It contains a lost+found directory, perhaps due to it being a mount point.\n" +msgstr "它包含名为lost+found的目录,可能因为它是一个加载点.\n" + +#: initdb.c:2794 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point.\n" +msgstr "" +"不推荐将加载点作为数据目录.\n" +"通常在加载点下边创建一个子目录.\n" + +#: initdb.c:2820 +#, c-format +msgid "creating subdirectories ... " +msgstr "正在创建子目录 ... " + +#: initdb.c:2866 +msgid "performing post-bootstrap initialization ... " +msgstr "正在执行自举后初始化 ..." + +#: initdb.c:3029 +#, c-format +msgid "Running in debug mode.\n" +msgstr "运行在除错模式中. \n" + +#: initdb.c:3033 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "运行在 no-clean 模式中. 错误将不被清理.\n" + +#: initdb.c:3118 +#, c-format +msgid "too many command-line arguments (first is \"%s\")" +msgstr "命令行参数太多 (第一个是 \"%s\")" + +#: initdb.c:3139 initdb.c:3228 +msgid "syncing data to disk ... " +msgstr "同步数据到磁盘..." + +#: initdb.c:3148 +#, c-format +msgid "password prompt and password file cannot be specified together" +msgstr "口令提示和口令文件不能同时都指定" + +#: initdb.c:3173 +#, c-format +msgid "argument of --wal-segsize must be a number" +msgstr "--wal-segsize的参数必须是一个数字" + +#: initdb.c:3178 +#, c-format +msgid "argument of --wal-segsize must be a power of 2 between 1 and 1024" +msgstr "--wal-segsize的参数必须是2的幂次方(在1和1024之间)" + +#: initdb.c:3195 +#, c-format +msgid "superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"" +msgstr "超级用户名\"%s\"是不允许的;角色名称不能以\"pg_\"开始" + +#: initdb.c:3199 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"属于此数据库系统的文件宿主为用户 \"%s\".\n" +"此用户也必须为服务器进程的宿主.\n" + +#: initdb.c:3215 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "允许生成数据页校验和.\n" + +#: initdb.c:3217 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "禁止为数据页生成校验和.\n" + +#: initdb.c:3234 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"跳过同步到磁盘操作.\n" +"如果操作系统宕机,数据目录可能会毁坏.\n" + +#: initdb.c:3239 +#, c-format +msgid "enabling \"trust\" authentication for local connections" +msgstr "为本地连接启用\"trust\"身份验证" + +#: initdb.c:3240 +#, c-format +msgid "" +"You can change this by editing pg_hba.conf or using the option -A, or\n" +"--auth-local and --auth-host, the next time you run initdb.\n" +msgstr "" +"你可以通过编辑 pg_hba.conf 更改或你下次\n" +"执行 initdb 时使用 -A或者--auth-local和--auth-host选项.\n" + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3270 +msgid "logfile" +msgstr "日志文件" + +#: initdb.c:3272 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"成功。您现在可以用下面的命令开启数据库服务器:\n" +"\n" +" %s\n" +"\n" + diff --git a/src/bin/initdb/po/zh_TW.po b/src/bin/initdb/po/zh_TW.po new file mode 100644 index 0000000..b350093 --- /dev/null +++ b/src/bin/initdb/po/zh_TW.po @@ -0,0 +1,1369 @@ +# Traditional Chinese message translation file for initdb +# Copyright (C) 2023 PostgreSQL Global Development Group +# This file is distributed under the same license as the initdb (PostgreSQL) package. +# 2004-12-13 Zhenbang Wei <znbang@gmail.com> +# +msgid "" +msgstr "" +"Project-Id-Version: initdb (PostgreSQL) 16\n" +"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n" +"POT-Creation-Date: 2023-09-05 20:50+0000\n" +"PO-Revision-Date: 2023-11-06 08:49+0800\n" +"Last-Translator: Zhenbang Wei <znbang@gmail.com>\n" +"Language-Team: \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 3.4.1\n" + +# libpq/be-secure.c:294 libpq/be-secure.c:387 +#: ../../../src/common/logging.c:276 +#, c-format +msgid "error: " +msgstr "錯誤: " + +#: ../../../src/common/logging.c:283 +#, c-format +msgid "warning: " +msgstr "警告: " + +#: ../../../src/common/logging.c:294 +#, c-format +msgid "detail: " +msgstr "詳細內容: " + +#: ../../../src/common/logging.c:301 +#, c-format +msgid "hint: " +msgstr "提示: " + +# command.c:122 +#: ../../common/exec.c:172 +#, c-format +msgid "invalid binary \"%s\": %m" +msgstr "無效的執行檔 \"%s\": %m" + +# command.c:1103 +#: ../../common/exec.c:215 +#, c-format +msgid "could not read binary \"%s\": %m" +msgstr "無法讀取執行檔 \"%s\": %m" + +#: ../../common/exec.c:223 +#, c-format +msgid "could not find a \"%s\" to execute" +msgstr "找不到可執行的 \"%s\"" + +# utils/error/elog.c:1128 +#: ../../common/exec.c:250 +#, c-format +msgid "could not resolve path \"%s\" to absolute form: %m" +msgstr "無法將路徑 \"%s\" 解析為絕對路徑: %m" + +# fe-misc.c:991 +#: ../../common/exec.c:412 +#, c-format +msgid "%s() failed: %m" +msgstr "%s() 失敗: %m" + +# commands/sequence.c:798 executor/execGrouping.c:328 +# executor/execGrouping.c:388 executor/nodeIndexscan.c:1051 lib/dllist.c:43 +# lib/dllist.c:88 libpq/auth.c:637 postmaster/pgstat.c:1006 +# postmaster/pgstat.c:1023 postmaster/pgstat.c:2452 postmaster/pgstat.c:2527 +# postmaster/pgstat.c:2572 postmaster/pgstat.c:2623 +# postmaster/postmaster.c:755 postmaster/postmaster.c:1625 +# postmaster/postmaster.c:2344 storage/buffer/localbuf.c:139 +# storage/file/fd.c:587 storage/file/fd.c:620 storage/file/fd.c:766 +# storage/ipc/sinval.c:789 storage/lmgr/lock.c:497 storage/smgr/md.c:138 +# storage/smgr/md.c:848 storage/smgr/smgr.c:213 utils/adt/cash.c:297 +# utils/adt/cash.c:312 utils/adt/oracle_compat.c:73 +# utils/adt/oracle_compat.c:124 utils/adt/regexp.c:191 +# utils/adt/ri_triggers.c:3471 utils/cache/relcache.c:164 +# utils/cache/relcache.c:178 utils/cache/relcache.c:1130 +# utils/cache/typcache.c:165 utils/cache/typcache.c:487 +# utils/fmgr/dfmgr.c:127 utils/fmgr/fmgr.c:521 utils/fmgr/fmgr.c:532 +# utils/init/miscinit.c:213 utils/init/miscinit.c:234 +# utils/init/miscinit.c:244 utils/misc/guc.c:1898 utils/misc/guc.c:1911 +# utils/misc/guc.c:1924 utils/mmgr/aset.c:337 utils/mmgr/aset.c:503 +# utils/mmgr/aset.c:700 utils/mmgr/aset.c:893 utils/mmgr/portalmem.c:75 +#: ../../common/exec.c:550 ../../common/exec.c:595 ../../common/exec.c:687 +#: initdb.c:349 +#, c-format +msgid "out of memory" +msgstr "記憶體不足" + +#: ../../common/fe_memutils.c:35 ../../common/fe_memutils.c:75 +#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:161 +#, c-format +msgid "out of memory\n" +msgstr "記憶體不足\n" + +# common.c:78 +#: ../../common/fe_memutils.c:92 ../../common/fe_memutils.c:153 +#, c-format +msgid "cannot duplicate null pointer (internal error)\n" +msgstr "無法複製 null 指標(內部錯誤)\n" + +# access/transam/xlog.c:1936 access/transam/xlog.c:2038 +# access/transam/xlog.c:5291 +#: ../../common/file_utils.c:87 ../../common/file_utils.c:447 +#, c-format +msgid "could not stat file \"%s\": %m" +msgstr "無法取得檔案 \"%s\" 的狀態: %m" + +# access/transam/slru.c:930 commands/tablespace.c:529 +# commands/tablespace.c:694 utils/adt/misc.c:174 +#: ../../common/file_utils.c:162 ../../common/pgfnames.c:48 +#: ../../common/rmtree.c:63 +#, c-format +msgid "could not open directory \"%s\": %m" +msgstr "無法開啟目錄 \"%s\": %m" + +# access/transam/slru.c:967 commands/tablespace.c:577 +# commands/tablespace.c:721 +#: ../../common/file_utils.c:196 ../../common/pgfnames.c:69 +#: ../../common/rmtree.c:104 +#, c-format +msgid "could not read directory \"%s\": %m" +msgstr "無法讀取目錄 \"%s\": %m" + +# access/transam/slru.c:638 access/transam/xlog.c:1631 +# access/transam/xlog.c:2742 access/transam/xlog.c:2832 +# access/transam/xlog.c:2930 libpq/hba.c:911 libpq/hba.c:935 +# utils/error/elog.c:1118 utils/init/miscinit.c:783 utils/init/miscinit.c:889 +# utils/misc/database.c:68 +#: ../../common/file_utils.c:228 ../../common/file_utils.c:287 +#: ../../common/file_utils.c:361 +#, c-format +msgid "could not open file \"%s\": %m" +msgstr "無法開啟檔案 \"%s\": %m" + +# access/transam/slru.c:673 access/transam/xlog.c:1562 +# access/transam/xlog.c:1686 access/transam/xlog.c:3008 +#: ../../common/file_utils.c:299 ../../common/file_utils.c:369 +#, c-format +msgid "could not fsync file \"%s\": %m" +msgstr "無法 fsync 檔案 \"%s\": %m" + +# access/transam/xlog.c:3037 access/transam/xlog.c:3819 +# access/transam/xlog.c:3862 commands/user.c:282 commands/user.c:412 +# postmaster/pgarch.c:597 +#: ../../common/file_utils.c:379 +#, c-format +msgid "could not rename file \"%s\" to \"%s\": %m" +msgstr "無法將檔案 \"%s\" 更名為 \"%s\": %m" + +# access/transam/slru.c:930 commands/tablespace.c:529 +# commands/tablespace.c:694 utils/adt/misc.c:174 +#: ../../common/pgfnames.c:74 +#, c-format +msgid "could not close directory \"%s\": %m" +msgstr "無法關閉目錄 \"%s\": %m" + +# port/win32/security.c:39 +#: ../../common/restricted_token.c:60 +#, c-format +msgid "could not open process token: error code %lu" +msgstr "無法開啟行程 token: 錯誤碼 %lu" + +# port/pg_sema.c:117 port/sysv_sema.c:117 +#: ../../common/restricted_token.c:74 +#, c-format +msgid "could not allocate SIDs: error code %lu" +msgstr "無法配置 SID: 錯誤碼 %lu" + +# port/win32/signal.c:239 +#: ../../common/restricted_token.c:94 +#, c-format +msgid "could not create restricted token: error code %lu" +msgstr "無法建立受限 token: 錯誤碼 %lu" + +#: ../../common/restricted_token.c:115 +#, c-format +msgid "could not start process for command \"%s\": error code %lu" +msgstr "無法為指令 \"%s\" 啟動行程: 錯誤碼 %lu" + +# port/win32/signal.c:239 +#: ../../common/restricted_token.c:153 +#, c-format +msgid "could not re-execute with restricted token: error code %lu" +msgstr "無法使用受限 token 重新執行: 錯誤碼 %lu" + +#: ../../common/restricted_token.c:168 +#, c-format +msgid "could not get exit code from subprocess: error code %lu" +msgstr "無法從子行程取得結束碼: 錯誤碼 %lu" + +# access/transam/xlog.c:1944 access/transam/xlog.c:5453 +# access/transam/xlog.c:5607 postmaster/postmaster.c:3504 +#: ../../common/rmtree.c:95 +#, c-format +msgid "could not remove file \"%s\": %m" +msgstr "無法刪除檔案 \"%s\": %m" + +# commands/tablespace.c:610 +#: ../../common/rmtree.c:122 +#, c-format +msgid "could not remove directory \"%s\": %m" +msgstr "無法刪除目錄 \"%s\": %m" + +# libpq/be-secure.c:689 +#: ../../common/username.c:43 +#, c-format +msgid "could not look up effective user ID %ld: %s" +msgstr "找不到有效的使用者 ID %ld: %s" + +# commands/user.c:899 commands/user.c:1012 commands/user.c:1104 +# commands/user.c:1233 commands/variable.c:664 utils/cache/lsyscache.c:2064 +# utils/init/miscinit.c:335 +#: ../../common/username.c:45 +msgid "user does not exist" +msgstr "使用者不存在" + +# port/win32/security.c:39 +#: ../../common/username.c:60 +#, c-format +msgid "user name lookup failure: error code %lu" +msgstr "找不到使用者名稱: 錯誤碼 %lu" + +#: ../../common/wait_error.c:55 +#, c-format +msgid "command not executable" +msgstr "無法執行指令" + +#: ../../common/wait_error.c:59 +#, c-format +msgid "command not found" +msgstr "找不到指令" + +#: ../../common/wait_error.c:64 +#, c-format +msgid "child process exited with exit code %d" +msgstr "子行程結束,結束碼 %d" + +#: ../../common/wait_error.c:72 +#, c-format +msgid "child process was terminated by exception 0x%X" +msgstr "子行程因異常 0x%X 而停止" + +#: ../../common/wait_error.c:76 +#, c-format +msgid "child process was terminated by signal %d: %s" +msgstr "子行程因信號 %d 而停止: %s" + +#: ../../common/wait_error.c:82 +#, c-format +msgid "child process exited with unrecognized status %d" +msgstr "子行程因不明狀態 %d 而停止" + +#: ../../port/dirmod.c:287 +#, c-format +msgid "could not set junction for \"%s\": %s\n" +msgstr "無法設置 junction 至 \"%s\": %s\n" + +#: ../../port/dirmod.c:367 +#, c-format +msgid "could not get junction for \"%s\": %s\n" +msgstr "無法取得 \"%s\" 的 junction: %s\n" + +# commands/copy.c:1031 +#: initdb.c:618 initdb.c:1613 +#, c-format +msgid "could not open file \"%s\" for reading: %m" +msgstr "無法開啟檔案 \"%s\" 以進行讀取: %m" + +# commands/copy.c:1094 +#: initdb.c:662 initdb.c:966 initdb.c:986 +#, c-format +msgid "could not open file \"%s\" for writing: %m" +msgstr "無法開啟檔案 \"%s\" 以進行寫入: %m" + +# access/transam/xlog.c:5319 access/transam/xlog.c:5439 +#: initdb.c:666 initdb.c:969 initdb.c:988 +#, c-format +msgid "could not write file \"%s\": %m" +msgstr "無法寫入檔案 \"%s\": %m" + +# access/transam/slru.c:680 access/transam/xlog.c:1567 +# access/transam/xlog.c:1691 access/transam/xlog.c:3013 +#: initdb.c:670 +#, c-format +msgid "could not close file \"%s\": %m" +msgstr "無法關閉檔案 \"%s\": %m" + +#: initdb.c:686 +#, c-format +msgid "could not execute command \"%s\": %m" +msgstr "無法執行指令 \"%s\": %m" + +#: initdb.c:704 +#, c-format +msgid "removing data directory \"%s\"" +msgstr "刪除資料目錄 \"%s\"" + +#: initdb.c:706 +#, c-format +msgid "failed to remove data directory" +msgstr "無法刪除資料目錄" + +#: initdb.c:710 +#, c-format +msgid "removing contents of data directory \"%s\"" +msgstr "刪除資料目錄 \"%s\" 的內容" + +#: initdb.c:713 +#, c-format +msgid "failed to remove contents of data directory" +msgstr "無法刪除資料目錄的內容" + +#: initdb.c:718 +#, c-format +msgid "removing WAL directory \"%s\"" +msgstr "刪除 WAL 目錄 \"%s\"" + +#: initdb.c:720 +#, c-format +msgid "failed to remove WAL directory" +msgstr "無法刪除 WAL 目錄" + +#: initdb.c:724 +#, c-format +msgid "removing contents of WAL directory \"%s\"" +msgstr "刪除 WAL 目錄 \"%s\" 的內容" + +#: initdb.c:726 +#, c-format +msgid "failed to remove contents of WAL directory" +msgstr "無法刪除 WAL 目錄的內容" + +#: initdb.c:733 +#, c-format +msgid "data directory \"%s\" not removed at user's request" +msgstr "根據使用者要求,未刪除資料目錄 \"%s\"" + +#: initdb.c:737 +#, c-format +msgid "WAL directory \"%s\" not removed at user's request" +msgstr "根據使用者要求,未刪除WAL目錄 \"%s\"" + +# translator: %s represents an SQL statement name +# access/transam/xact.c:2195 +#: initdb.c:755 +#, c-format +msgid "cannot be run as root" +msgstr "無法以 root 執行" + +#: initdb.c:756 +#, c-format +msgid "Please log in (using, e.g., \"su\") as the (unprivileged) user that will own the server process." +msgstr "請以擁有伺服器行程的(非特權)使用者身分登入(例如用 \"su\" 命令)。" + +#: initdb.c:788 +#, c-format +msgid "\"%s\" is not a valid server encoding name" +msgstr "\"%s\" 不是有效的伺服器編碼名稱" + +# commands/comment.c:582 +#: initdb.c:932 +#, c-format +msgid "file \"%s\" does not exist" +msgstr "檔案 \"%s\" 不存在" + +#: initdb.c:933 initdb.c:938 initdb.c:945 +#, c-format +msgid "This might mean you have a corrupted installation or identified the wrong directory with the invocation option -L." +msgstr "這可能表示您的安裝損壞或使用錯誤的目錄選項 -L。" + +# utils/fmgr/dfmgr.c:107 utils/fmgr/dfmgr.c:209 utils/fmgr/dfmgr.c:263 +#: initdb.c:937 +#, c-format +msgid "could not access file \"%s\": %m" +msgstr "無法存取檔案 \"%s\": %m" + +#: initdb.c:944 +#, c-format +msgid "file \"%s\" is not a regular file" +msgstr "檔案 \"%s\" 不是一般檔案" + +#: initdb.c:1077 +#, c-format +msgid "selecting dynamic shared memory implementation ... " +msgstr "選擇動態共享記憶體實作方式… " + +#: initdb.c:1086 +#, c-format +msgid "selecting default max_connections ... " +msgstr "選擇預設 max_connections … " + +#: initdb.c:1106 +#, c-format +msgid "selecting default shared_buffers ... " +msgstr "選擇預設 shared_buffers … " + +#: initdb.c:1129 +#, c-format +msgid "selecting default time zone ... " +msgstr "選擇預設時區 … " + +#: initdb.c:1206 +msgid "creating configuration files ... " +msgstr "建立組態檔… " + +# libpq/pqcomm.c:520 +#: initdb.c:1367 initdb.c:1381 initdb.c:1448 initdb.c:1459 +#, c-format +msgid "could not change permissions of \"%s\": %m" +msgstr "無法修改檔案 \"%s\" 的權限: %m" + +#: initdb.c:1477 +#, c-format +msgid "running bootstrap script ... " +msgstr "執行啟動腳本… " + +# tcop/utility.c:92 +#: initdb.c:1489 +#, c-format +msgid "input file \"%s\" does not belong to PostgreSQL %s" +msgstr "輸入檔 \"%s\" 不屬於 PostgreSQL %s" + +#: initdb.c:1491 +#, c-format +msgid "Specify the correct path using the option -L." +msgstr "使用選項 -L 指定正確的路徑。" + +#: initdb.c:1591 +msgid "Enter new superuser password: " +msgstr "輸入超級使用者的新密碼: " + +#: initdb.c:1592 +msgid "Enter it again: " +msgstr "請重新輸入: " + +#: initdb.c:1595 +#, c-format +msgid "Passwords didn't match.\n" +msgstr "密碼不一致。\n" + +#: initdb.c:1619 +#, c-format +msgid "could not read password from file \"%s\": %m" +msgstr "無法從檔案 \"%s\" 讀取密碼: %m" + +# commands/tablespace.c:334 +#: initdb.c:1622 +#, c-format +msgid "password file \"%s\" is empty" +msgstr "密碼檔 \"%s\" 是空的" + +#: initdb.c:2034 +#, c-format +msgid "caught signal\n" +msgstr "捕捉到信號\n" + +#: initdb.c:2040 +#, c-format +msgid "could not write to child process: %s\n" +msgstr "無法寫入至子行程: %s\n" + +#: initdb.c:2048 +#, c-format +msgid "ok\n" +msgstr "" + +# fe-misc.c:991 +#: initdb.c:2137 +#, c-format +msgid "setlocale() failed" +msgstr "setlocale() 失敗" + +# utils/init/miscinit.c:648 +#: initdb.c:2155 +#, c-format +msgid "failed to restore old locale \"%s\"" +msgstr "無法還原舊的區域設定 \"%s\"" + +#: initdb.c:2163 +#, c-format +msgid "invalid locale name \"%s\"" +msgstr "無效的區域名稱 \"%s\"" + +#: initdb.c:2164 +#, c-format +msgid "If the locale name is specific to ICU, use --icu-locale." +msgstr "如果區域名稱是 ICU 專用的,請使用 --icu-locale。" + +#: initdb.c:2177 +#, c-format +msgid "invalid locale settings; check LANG and LC_* environment variables" +msgstr "無效的區域設定;請檢查 LANG 和 LC_* 環境變數" + +#: initdb.c:2203 initdb.c:2227 +#, c-format +msgid "encoding mismatch" +msgstr "編碼不一致" + +#: initdb.c:2204 +#, c-format +msgid "The encoding you selected (%s) and the encoding that the selected locale uses (%s) do not match. This would lead to misbehavior in various character string processing functions." +msgstr "您選擇的編碼方式(%s)和所選的區域使用的編碼方式(%s)不一致,這可能會導致各種字串處理函數的不正常行為。" + +#: initdb.c:2209 initdb.c:2230 +#, c-format +msgid "Rerun %s and either do not specify an encoding explicitly, or choose a matching combination." +msgstr "重新執行 %s 且不明確指定編碼或選擇一個相符的組合。" + +#: initdb.c:2228 +#, c-format +msgid "The encoding you selected (%s) is not supported with the ICU provider." +msgstr "您所選擇的編碼方式(%s)不受 ICU 提供者支援。" + +# rewrite/rewriteDefine.c:421 +#: initdb.c:2279 +#, c-format +msgid "could not convert locale name \"%s\" to language tag: %s" +msgstr "無法將區域名稱 \"%s\" 轉換為語言標籤: %s" + +# input.c:213 +#: initdb.c:2285 initdb.c:2337 initdb.c:2416 +#, c-format +msgid "ICU is not supported in this build" +msgstr "此版本不支援 ICU" + +# utils/init/miscinit.c:792 utils/misc/guc.c:5074 +#: initdb.c:2308 +#, c-format +msgid "could not get language from locale \"%s\": %s" +msgstr "無法從區域設定 \"%s\" 獲得語言: %s" + +#: initdb.c:2334 +#, c-format +msgid "locale \"%s\" has unknown language \"%s\"" +msgstr "區域設定 \"%s\" 具有未知的語言 \"%s\"" + +# commands/aggregatecmds.c:111 +#: initdb.c:2400 +#, c-format +msgid "ICU locale must be specified" +msgstr "必須指定 ICU 區域設定" + +#: initdb.c:2404 +#, c-format +msgid "Using language tag \"%s\" for ICU locale \"%s\".\n" +msgstr "使用語言標籤 \"%s\" 來設定 ICU 區域 \"%s\"。\n" + +#: initdb.c:2427 +#, c-format +msgid "" +"%s initializes a PostgreSQL database cluster.\n" +"\n" +msgstr "" +"%s 初始化 PostgreSQL 資料庫叢集。\n" +"\n" + +#: initdb.c:2428 +#, c-format +msgid "Usage:\n" +msgstr "用法:\n" + +#: initdb.c:2429 +#, c-format +msgid " %s [OPTION]... [DATADIR]\n" +msgstr " %s [OPTION]... [DATADIR]\n" + +#: initdb.c:2430 +#, c-format +msgid "" +"\n" +"Options:\n" +msgstr "" +"\n" +"選項:\n" + +#: initdb.c:2431 +#, c-format +msgid " -A, --auth=METHOD default authentication method for local connections\n" +msgstr " -A, --auth=METHOD 本機連線的預設驗證方法\n" + +#: initdb.c:2432 +#, c-format +msgid " --auth-host=METHOD default authentication method for local TCP/IP connections\n" +msgstr " --auth-host=METHOD 本機 TCP/IP 連線的預設驗證方法\n" + +#: initdb.c:2433 +#, c-format +msgid " --auth-local=METHOD default authentication method for local-socket connections\n" +msgstr " --auth-local=METHOD 本機 socket 連線的預設驗證方法\n" + +#: initdb.c:2434 +#, c-format +msgid " [-D, --pgdata=]DATADIR location for this database cluster\n" +msgstr " [-D, --pgdata=]DATADIR 資料庫叢集的位置\n" + +#: initdb.c:2435 +#, c-format +msgid " -E, --encoding=ENCODING set default encoding for new databases\n" +msgstr " -E, --encoding=ENCODING 設定新資料庫的預設編碼\n" + +#: initdb.c:2436 +#, c-format +msgid " -g, --allow-group-access allow group read/execute on data directory\n" +msgstr " -g, --allow-group-access 允許群組對數據目錄進行讀取和執行操作\n" + +#: initdb.c:2437 +#, c-format +msgid " --icu-locale=LOCALE set ICU locale ID for new databases\n" +msgstr " --icu-locale=LOCALE 設定新資料庫的 ICU 區域識別碼\n" + +#: initdb.c:2438 +#, c-format +msgid " --icu-rules=RULES set additional ICU collation rules for new databases\n" +msgstr " --icu-rules=RULES 設定新資料庫的額外 ICU 排序規則\n" + +#: initdb.c:2439 +#, c-format +msgid " -k, --data-checksums use data page checksums\n" +msgstr " -k, --data-checksums 使用資料頁檢查\n" + +#: initdb.c:2440 +#, c-format +msgid " --locale=LOCALE set default locale for new databases\n" +msgstr " --locale=LOCALE 定新資料庫的預設區域\n" + +#: initdb.c:2441 +#, c-format +msgid "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" set default locale in the respective category for\n" +" new databases (default taken from environment)\n" +msgstr "" +" --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n" +" --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n" +" 設定新資料庫相應類別的預設區域(預設值取自環境)\n" + +#: initdb.c:2445 +#, c-format +msgid " --no-locale equivalent to --locale=C\n" +msgstr " --no-locale 同 --locale=C\n" + +#: initdb.c:2446 +#, c-format +msgid "" +" --locale-provider={libc|icu}\n" +" set default locale provider for new databases\n" +msgstr "" +" --locale-provider={libc|icu}\n" +" 設定新資料庫的預設域提供者\n" + +#: initdb.c:2448 +#, c-format +msgid " --pwfile=FILE read password for the new superuser from file\n" +msgstr " --pwfile=FILE 從檔案中讀取新超級使用者的密碼\n" + +#: initdb.c:2449 +#, c-format +msgid "" +" -T, --text-search-config=CFG\n" +" default text search configuration\n" +msgstr "" +" -T, --text-search-config=CFG\n" +" 預設文字搜尋配置\n" + +#: initdb.c:2451 +#, c-format +msgid " -U, --username=NAME database superuser name\n" +msgstr " -U, --username=NAME 資料庫超級使用者名稱\n" + +#: initdb.c:2452 +#, c-format +msgid " -W, --pwprompt prompt for a password for the new superuser\n" +msgstr " -W, --pwprompt 提示輸入新超級使用者的密碼\n" + +#: initdb.c:2453 +#, c-format +msgid " -X, --waldir=WALDIR location for the write-ahead log directory\n" +msgstr " -X, --waldir=WALDIR write-ahead 日誌目錄的位置\n" + +#: initdb.c:2454 +#, c-format +msgid " --wal-segsize=SIZE size of WAL segments, in megabytes\n" +msgstr " --wal-segsize=SIZE WAL 片段的大小,單位是 MB\n" + +#: initdb.c:2455 +#, c-format +msgid "" +"\n" +"Less commonly used options:\n" +msgstr "" +"\n" +"較少使用的選項:\n" + +# postmaster/postmaster.c:1022 tcop/postgres.c:2120 +#: initdb.c:2456 +#, c-format +msgid " -c, --set NAME=VALUE override default setting for server parameter\n" +msgstr " -c, --set NAME=VALUE 覆寫伺服器參數的預設設定\n" + +#: initdb.c:2457 +#, c-format +msgid " -d, --debug generate lots of debugging output\n" +msgstr " -d, --debug 產生大量的除錯訊息\n" + +#: initdb.c:2458 +#, c-format +msgid " --discard-caches set debug_discard_caches=1\n" +msgstr " --discard-caches 設定 debug_discard_caches=1\n" + +#: initdb.c:2459 +#, c-format +msgid " -L DIRECTORY where to find the input files\n" +msgstr " -L DIRECTORY 指定尋找輸入檔案的路徑\n" + +#: initdb.c:2460 +#, c-format +msgid " -n, --no-clean do not clean up after errors\n" +msgstr " -n, --no-clean 錯誤發生後不執行清理動作\n" + +#: initdb.c:2461 +#, c-format +msgid " -N, --no-sync do not wait for changes to be written safely to disk\n" +msgstr " -N, --no-sync 不等待將被安全地寫入磁碟的資料\n" + +#: initdb.c:2462 +#, c-format +msgid " --no-instructions do not print instructions for next steps\n" +msgstr " --no-instructions 不顯示下一步操作的指示\n" + +#: initdb.c:2463 +#, c-format +msgid " -s, --show show internal settings\n" +msgstr " -s, --show 顯示內部設定\n" + +#: initdb.c:2464 +#, c-format +msgid " -S, --sync-only only sync database files to disk, then exit\n" +msgstr " -S, --sync-only 只同步資料庫檔案至磁碟,然後結束\n" + +#: initdb.c:2465 +#, c-format +msgid "" +"\n" +"Other options:\n" +msgstr "" +"\n" +"其他選項:\n" + +#: initdb.c:2466 +#, c-format +msgid " -V, --version output version information, then exit\n" +msgstr " -V, --version 顯示版本,然後結束\n" + +#: initdb.c:2467 +#, c-format +msgid " -?, --help show this help, then exit\n" +msgstr " -?, --help 顯示說明,然後結束\n" + +#: initdb.c:2468 +#, c-format +msgid "" +"\n" +"If the data directory is not specified, the environment variable PGDATA\n" +"is used.\n" +msgstr "" +"\n" +"如果未指定資料目錄,則將使用環境變數 PGDATA。\n" + +#: initdb.c:2470 +#, c-format +msgid "" +"\n" +"Report bugs to <%s>.\n" +msgstr "" +"\n" +"回報錯誤至 <%s>。\n" + +#: initdb.c:2471 +#, c-format +msgid "%s home page: <%s>\n" +msgstr "%s 網站: <%s>\n" + +#: initdb.c:2499 +#, c-format +msgid "invalid authentication method \"%s\" for \"%s\" connections" +msgstr "無效的身份驗證方法 \"%s\" 用於 \"%s\" 連線" + +#: initdb.c:2513 +#, c-format +msgid "must specify a password for the superuser to enable password authentication" +msgstr "必須為超級使用者指定密碼以啟用密碼驗證" + +#: initdb.c:2532 +#, c-format +msgid "no data directory specified" +msgstr "未指定資料目錄" + +#: initdb.c:2533 +#, c-format +msgid "You must identify the directory where the data for this database system will reside. Do this with either the invocation option -D or the environment variable PGDATA." +msgstr "您必須確認資料庫系統存放資料的目錄。您可以使用 -D 選項或是環境變數 PGDATA。" + +#: initdb.c:2550 +#, c-format +msgid "could not set environment" +msgstr "無法設定環境" + +#: initdb.c:2568 +#, c-format +msgid "program \"%s\" is needed by %s but was not found in the same directory as \"%s\"" +msgstr "程式 \"%s\" 為 %s 所需,但未在同一目錄中找到 \"%s\"" + +#: initdb.c:2571 +#, c-format +msgid "program \"%s\" was found by \"%s\" but was not the same version as %s" +msgstr "程式 \"%s\" 被 \"%s\" 找到,但版本不同於 %s" + +#: initdb.c:2586 +#, c-format +msgid "input file location must be an absolute path" +msgstr "輸入檔案的位置必須是絕對路徑" + +#: initdb.c:2603 +#, c-format +msgid "The database cluster will be initialized with locale \"%s\".\n" +msgstr "資料庫叢集將以區域 \"%s\" 進行初始化。\n" + +#: initdb.c:2606 +#, c-format +msgid "The database cluster will be initialized with this locale configuration:\n" +msgstr "資料庫叢集將以此語言環境設定進行初始化:\n" + +#: initdb.c:2607 +#, c-format +msgid " provider: %s\n" +msgstr " 提供者: %s\n" + +#: initdb.c:2609 +#, c-format +msgid " ICU locale: %s\n" +msgstr " ICU 區域: %s\n" + +#: initdb.c:2610 +#, c-format +msgid "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" +msgstr "" +" LC_COLLATE: %s\n" +" LC_CTYPE: %s\n" +" LC_MESSAGES: %s\n" +" LC_MONETARY: %s\n" +" LC_NUMERIC: %s\n" +" LC_TIME: %s\n" + +#: initdb.c:2640 +#, c-format +msgid "could not find suitable encoding for locale \"%s\"" +msgstr "找不到適合區域 \"%s\" 的編碼" + +#: initdb.c:2642 +#, c-format +msgid "Rerun %s with the -E option." +msgstr "以 -E 選項重新執行 %s。" + +# tcop/postgres.c:2636 tcop/postgres.c:2652 +#: initdb.c:2643 initdb.c:3176 initdb.c:3284 initdb.c:3304 +#, c-format +msgid "Try \"%s --help\" for more information." +msgstr "用 \"%s --help\" 取得更多資訊。" + +#: initdb.c:2655 +#, c-format +msgid "" +"Encoding \"%s\" implied by locale is not allowed as a server-side encoding.\n" +"The default database encoding will be set to \"%s\" instead.\n" +msgstr "" +"由區域隱含的編碼 \"%s\" 不被允許作為伺服器端的編碼。\n" +"預設的資料庫編碼將設定為 \"%s\"。\n" + +#: initdb.c:2660 +#, c-format +msgid "locale \"%s\" requires unsupported encoding \"%s\"" +msgstr "區域 \"%s\" 需要不支援的編碼 \"%s\"。" + +#: initdb.c:2662 +#, c-format +msgid "Encoding \"%s\" is not allowed as a server-side encoding." +msgstr "編碼 \"%s\" 不允許作為伺服器端編碼。" + +#: initdb.c:2664 +#, c-format +msgid "Rerun %s with a different locale selection." +msgstr "以不同的區域重新執行 %s。" + +#: initdb.c:2672 +#, c-format +msgid "The default database encoding has accordingly been set to \"%s\".\n" +msgstr "預設資料庫編碼已被設為 \"%s\"。\n" + +#: initdb.c:2741 +#, c-format +msgid "could not find suitable text search configuration for locale \"%s\"" +msgstr "無法找到適用於區域 \"%s\" 的文字搜尋配置" + +# utils/misc/guc.c:2507 +#: initdb.c:2752 +#, c-format +msgid "suitable text search configuration for locale \"%s\" is unknown" +msgstr "無法確定適用於區域 \"%s\" 的文字搜尋配置" + +#: initdb.c:2757 +#, c-format +msgid "specified text search configuration \"%s\" might not match locale \"%s\"" +msgstr "指定的文字搜尋配置 \"%s\" 可能與區域 \"%s\" 不相符" + +#: initdb.c:2762 +#, c-format +msgid "The default text search configuration will be set to \"%s\".\n" +msgstr "預設文字搜尋配置將被設為 \"%s\"。\n" + +#: initdb.c:2805 initdb.c:2876 +#, c-format +msgid "creating directory %s ... " +msgstr "建立目錄 %s… " + +# commands/tablespace.c:154 commands/tablespace.c:162 +# commands/tablespace.c:168 +#: initdb.c:2810 initdb.c:2881 initdb.c:2929 initdb.c:2985 +#, c-format +msgid "could not create directory \"%s\": %m" +msgstr "無法建立目錄 \"%s\": %m" + +#: initdb.c:2819 initdb.c:2891 +#, c-format +msgid "fixing permissions on existing directory %s ... " +msgstr "修復現有目錄 %s 的權限… " + +#: initdb.c:2824 initdb.c:2896 +#, c-format +msgid "could not change permissions of directory \"%s\": %m" +msgstr "無法變更目錄 \"%s\" 的權限: %m" + +# commands/tablespace.c:334 +#: initdb.c:2836 initdb.c:2908 +#, c-format +msgid "directory \"%s\" exists but is not empty" +msgstr "目錄 \"%s\" 已存在,但不是空目錄。" + +#: initdb.c:2840 +#, c-format +msgid "If you want to create a new database system, either remove or empty the directory \"%s\" or run %s with an argument other than \"%s\"." +msgstr "若要建立新的資料庫系統,請刪除或清空目錄 \"%s\",或執行 %s 並使用 \"%s\" 以外的參數。" + +# utils/init/postinit.c:283 +#: initdb.c:2848 initdb.c:2918 initdb.c:3325 +#, c-format +msgid "could not access directory \"%s\": %m" +msgstr "無法存取目錄 \"%s\": %m" + +#: initdb.c:2869 +#, c-format +msgid "WAL directory location must be an absolute path" +msgstr "WAL 目錄的位置必須是絕對路徑" + +#: initdb.c:2912 +#, c-format +msgid "If you want to store the WAL there, either remove or empty the directory \"%s\"." +msgstr "如果您想將 WAL 存儲在這個位置,請刪除或清空目錄 \"%s\"。" + +# commands/tablespace.c:355 commands/tablespace.c:984 +#: initdb.c:2922 +#, c-format +msgid "could not create symbolic link \"%s\": %m" +msgstr "無法建立符號連結 \"%s\": %m" + +#: initdb.c:2941 +#, c-format +msgid "It contains a dot-prefixed/invisible file, perhaps due to it being a mount point." +msgstr "其中包含一個以點號開頭的隱藏檔案,可能是因為它是一個掛載點。" + +#: initdb.c:2943 +#, c-format +msgid "It contains a lost+found directory, perhaps due to it being a mount point." +msgstr "這包含一個 lost+found 目錄,可能是因為它是一個掛載點。" + +#: initdb.c:2945 +#, c-format +msgid "" +"Using a mount point directly as the data directory is not recommended.\n" +"Create a subdirectory under the mount point." +msgstr "" +"不建議直接使用掛載點作為資料目錄。\n" +"請在掛載點下建立一個子目錄。" + +#: initdb.c:2971 +#, c-format +msgid "creating subdirectories ... " +msgstr "建立子目錄… " + +#: initdb.c:3014 +msgid "performing post-bootstrap initialization ... " +msgstr "執行啟動後的初始化程序… " + +# bootstrap/bootstrap.c:304 postmaster/postmaster.c:500 tcop/postgres.c:2507 +#: initdb.c:3175 +#, c-format +msgid "-c %s requires a value" +msgstr "-c %s 需要提供一個值" + +#: initdb.c:3200 +#, c-format +msgid "Running in debug mode.\n" +msgstr "以除錯模式執行。\n" + +#: initdb.c:3204 +#, c-format +msgid "Running in no-clean mode. Mistakes will not be cleaned up.\n" +msgstr "以不清理模式執行,錯誤將不會被清除。\n" + +#: initdb.c:3274 +#, c-format +msgid "unrecognized locale provider: %s" +msgstr "未能識別的區域提供者: %s" + +#: initdb.c:3302 +#, c-format +msgid "too many command-line arguments (first is \"%s\")" +msgstr "命令列參數過多(第一個是 \"%s\")" + +#: initdb.c:3309 initdb.c:3313 +#, c-format +msgid "%s cannot be specified unless locale provider \"%s\" is chosen" +msgstr "除非選擇了語言提供者 \"%2$s\",否則不能指定 %1$s" + +#: initdb.c:3327 initdb.c:3404 +msgid "syncing data to disk ... " +msgstr "同步資料到磁碟… " + +#: initdb.c:3335 +#, c-format +msgid "password prompt and password file cannot be specified together" +msgstr "不能同時指定密碼提示和密碼檔案" + +# commands/define.c:197 +#: initdb.c:3357 +#, c-format +msgid "argument of --wal-segsize must be a number" +msgstr "--wal-segsize 的參數必須是數字" + +#: initdb.c:3359 +#, c-format +msgid "argument of --wal-segsize must be a power of two between 1 and 1024" +msgstr "--wal-segsize 的參數必須是1和1024之間的二的次方數" + +#: initdb.c:3373 +#, c-format +msgid "superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"" +msgstr "不允許使用超級使用者名稱 \"%s\",角色名稱不能以 \"pg_\" 開頭" + +#: initdb.c:3375 +#, c-format +msgid "" +"The files belonging to this database system will be owned by user \"%s\".\n" +"This user must also own the server process.\n" +"\n" +msgstr "" +"資料庫系統的檔案屬於使用者 \"%s\",該使用者也必須擁有伺服器行程。\n" +"\n" + +#: initdb.c:3391 +#, c-format +msgid "Data page checksums are enabled.\n" +msgstr "已啟動資料頁檢查。\n" + +#: initdb.c:3393 +#, c-format +msgid "Data page checksums are disabled.\n" +msgstr "已停用資料頁檢查。\n" + +#: initdb.c:3410 +#, c-format +msgid "" +"\n" +"Sync to disk skipped.\n" +"The data directory might become corrupt if the operating system crashes.\n" +msgstr "" +"\n" +"已略過同步至磁碟。\n" +"如果作業系統當機,資料目錄可能會損壞。\n" + +# libpq/auth.c:465 +#: initdb.c:3415 +#, c-format +msgid "enabling \"trust\" authentication for local connections" +msgstr "啟動本機連線的 \"trust\" 身份驗證" + +#: initdb.c:3416 +#, c-format +msgid "You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb." +msgstr "您可以在下次執行 initdb 時透過編輯 pg_hba.conf 或用選項 -A 或 --auth-local 和 --auth-host 來變更這個設定。" + +#. translator: This is a placeholder in a shell command. +#: initdb.c:3446 +msgid "logfile" +msgstr "logfile" + +#: initdb.c:3448 +#, c-format +msgid "" +"\n" +"Success. You can now start the database server using:\n" +"\n" +" %s\n" +"\n" +msgstr "" +"\n" +"成功,您現在可以用下列命令啟動資料庫伺服器:\n" +"\n" +" %s\n" +"\n" + +#~ msgid " --locale=LOCALE initialize database cluster with given locale\n" +#~ msgstr " --locale=LOCALE 以指定的locale初始化資料庫cluster\n" + +#~ msgid "%s: The password file was not generated. Please report this problem.\n" +#~ msgstr "%s:無法產生密碼檔,請回報這個錯誤。\n" + +#, c-format +#~ msgid "%s: could not access directory \"%s\": %s\n" +#~ msgstr "%s: 無法存取目錄 \"%s\": %s\n" + +# utils/fmgr/dfmgr.c:107 utils/fmgr/dfmgr.c:209 utils/fmgr/dfmgr.c:263 +#, c-format +#~ msgid "%s: could not access file \"%s\": %s\n" +#~ msgstr "%s: 無法存取檔案 \"%s\":%s\n" + +#, c-format +#~ msgid "%s: could not create directory \"%s\": %s\n" +#~ msgstr "%s: 無法建立目錄\"%s\": %s\n" + +# commands/tablespace.c:355 commands/tablespace.c:984 +#, c-format +#~ msgid "%s: could not create symbolic link \"%s\": %s\n" +#~ msgstr "%s: 無法建立符號連結 \"%s\":%s\n" + +#~ msgid "%s: could not determine valid short version string\n" +#~ msgstr "%s:無法取得短版本字串\n" + +#, c-format +#~ msgid "%s: could not get current user name: %s\n" +#~ msgstr "%s: 無法取得目前使用者名稱: %s\n" + +#, c-format +#~ msgid "%s: could not obtain information about current user: %s\n" +#~ msgstr "%s: 無法取得目前使用者資訊; %s\n" + +#, c-format +#~ msgid "%s: could not open file \"%s\" for reading: %s\n" +#~ msgstr "%s: 無法開啟檔案\"%s\"讀取資料: %s\n" + +#, c-format +#~ msgid "%s: could not open file \"%s\" for writing: %s\n" +#~ msgstr "%s: 無法開啟檔案\"%s\"寫入資料: %s\n" + +#, c-format +#~ msgid "%s: could not write file \"%s\": %s\n" +#~ msgstr "%s: 無法寫入檔案\"%s\"; %s\n" + +#~ msgid "%s: failed\n" +#~ msgstr "%s:失敗\n" + +#, c-format +#~ msgid "%s: failed to remove contents of transaction log directory\n" +#~ msgstr "%s: 無法移除交易日誌目錄的內容\n" + +#, c-format +#~ msgid "%s: failed to remove transaction log directory\n" +#~ msgstr "%s: 無法移除交易日誌目錄\n" + +#, c-format +#~ msgid "%s: file \"%s\" does not exist\n" +#~ msgstr "%s: 檔案 \"%s\" 不存在\n" + +#, c-format +#~ msgid "" +#~ "%s: input file \"%s\" does not belong to PostgreSQL %s\n" +#~ "Check your installation or specify the correct path using the option -L.\n" +#~ msgstr "" +#~ "%s: 輸入檔 \"%s\" 不屬於 PostgreSQL %s\n" +#~ "請檢查你的安裝或用 -L 選項指定正確的路徑。\n" + +#, c-format +#~ msgid "%s: invalid locale name \"%s\"\n" +#~ msgstr "%s: 無效的區域名稱 \"%s\"\n" + +#, c-format +#~ msgid "%s: locale name has non-ASCII characters, skipped: %s\n" +#~ msgstr "%s: 區域名稱有非ASCII字元,忽略: %s\n" + +#, c-format +#~ msgid "%s: locale name too long, skipped: %s\n" +#~ msgstr "%s: 區域名稱太長,忽略: %s\n" + +#, c-format +#~ msgid "%s: out of memory\n" +#~ msgstr "%s: 記憶體用盡\n" + +#, c-format +#~ msgid "%s: removing contents of transaction log directory \"%s\"\n" +#~ msgstr "%s: 正在移除交易日誌目錄的內容 \"%s\"\n" + +# access/transam/xlog.c:2163 +#, c-format +#~ msgid "%s: removing transaction log directory \"%s\"\n" +#~ msgstr "%s: 正在移除交易日誌目錄 \"%s\"\n" + +# commands/tablespace.c:386 commands/tablespace.c:483 +#, c-format +#~ msgid "%s: symlinks are not supported on this platform" +#~ msgstr "%s: 此平台不支援符號連結" + +#, c-format +#~ msgid "%s: transaction log directory \"%s\" not removed at user's request\n" +#~ msgstr "%s: 無法依使用者要求刪除交易日誌目錄 \"%s\"\n" + +#, c-format +#~ msgid "%s: unrecognized authentication method \"%s\"\n" +#~ msgstr "%s: 無法辨認的驗證方式\"%s\"\n" + +# describe.c:1542 +#, c-format +#~ msgid "No usable system locales were found.\n" +#~ msgstr "找不到可用的系統區域。\n" + +#, c-format +#~ msgid "" +#~ "The program \"postgres\" is needed by %s but was not found in the\n" +#~ "same directory as \"%s\".\n" +#~ "Check your installation.\n" +#~ msgstr "" +#~ "%s 需要程式 \"postgres\",但是在與\"%s\"相同的目錄中找不到。\n" +#~ "請檢查你的安裝。\n" + +#, c-format +#~ msgid "" +#~ "The program \"postgres\" was found by \"%s\"\n" +#~ "but was not the same version as %s.\n" +#~ "Check your installation.\n" +#~ msgstr "" +#~ "\"%s\" 已找到程式 \"postgres\",但是與 %s 的版本不符。\n" +#~ "請檢查你的安裝。\n" + +#, c-format +#~ msgid "Try \"%s --help\" for more information.\n" +#~ msgstr "執行\"%s --help\"取得更多資訊。\n" + +#, c-format +#~ msgid "Use the option \"--debug\" to see details.\n" +#~ msgstr "用 \"--debug\" 選項取得詳細資訊。\n" + +#, c-format +#~ msgid "child process was terminated by signal %s" +#~ msgstr "子行程被信號 %s 終止" + +#~ msgid "copying template1 to postgres ... " +#~ msgstr "複製 template1 到 postgres..." + +#~ msgid "copying template1 to template0 ... " +#~ msgstr "複製 template1 到 template0 ..." + +#, c-format +#~ msgid "could not change directory to \"%s\"" +#~ msgstr "無法切換目錄至\"%s\"" + +#, c-format +#~ msgid "could not identify current directory: %s" +#~ msgstr "無法識別目前的目錄:%s" + +# access/transam/slru.c:930 commands/tablespace.c:529 +# commands/tablespace.c:694 utils/adt/misc.c:174 +#, c-format +#~ msgid "could not open directory \"%s\": %s\n" +#~ msgstr "無法開啟目錄 \"%s\":%s\n" + +# access/transam/slru.c:967 commands/tablespace.c:577 +# commands/tablespace.c:721 +#, c-format +#~ msgid "could not read directory \"%s\": %s\n" +#~ msgstr "無法讀取目錄 \"%s\":%s\n" + +#, c-format +#~ msgid "could not read symbolic link \"%s\"" +#~ msgstr "無法讀取符號連結\"%s\"" + +# commands/tablespace.c:610 +#, c-format +#~ msgid "could not remove file or directory \"%s\": %s\n" +#~ msgstr "無法移除檔案或目錄 \"%s\":%s\n" + +# access/transam/slru.c:967 commands/tablespace.c:577 +# commands/tablespace.c:721 +#, c-format +#~ msgid "could not stat file or directory \"%s\": %s\n" +#~ msgstr "無法對檔案或目錄 \"%s\" 執行 stat 函式:%s\n" + +#~ msgid "creating collations ... " +#~ msgstr "建立定序 ... " + +#~ msgid "creating conversions ... " +#~ msgstr "建立轉換 ... " + +#~ msgid "creating dictionaries ... " +#~ msgstr "建立字典..." + +#~ msgid "creating directory %s/%s ... " +#~ msgstr "建立目錄 %s/%s ..." + +#~ msgid "creating information schema ... " +#~ msgstr "建立information schema ... " + +#~ msgid "creating system views ... " +#~ msgstr "建立系統views..." + +#, c-format +#~ msgid "creating template1 database in %s/base/1 ... " +#~ msgstr "建立 template1 資料庫於 %s/base/1 ... " + +#~ msgid "enabling unlimited row size for system tables ... " +#~ msgstr "啟用系統資料表的無資料筆數限制 ..." + +#~ msgid "initializing dependencies ... " +#~ msgstr "初始化相依性..." + +#~ msgid "initializing pg_authid ... " +#~ msgstr "初始化 pg_authid..." + +#~ msgid "loading PL/pgSQL server-side language ... " +#~ msgstr "載入 PL/pgSQL 伺服器端語言 ..." + +#~ msgid "loading system objects' descriptions ... " +#~ msgstr "正在載入系統物件的描述..." + +# commands/tablespace.c:386 commands/tablespace.c:483 +#, c-format +#~ msgid "not supported on this platform\n" +#~ msgstr "在此平台不支援\n" + +#, c-format +#~ msgid "setting password ... " +#~ msgstr "設定密碼..." + +#~ msgid "setting privileges on built-in objects ... " +#~ msgstr "設定內建物件的權限 ... " + +#~ msgid "vacuuming database template1 ... " +#~ msgstr "重整資料庫template1 ..." diff --git a/src/bin/initdb/t/001_initdb.pl b/src/bin/initdb/t/001_initdb.pl new file mode 100644 index 0000000..2d7469d --- /dev/null +++ b/src/bin/initdb/t/001_initdb.pl @@ -0,0 +1,190 @@ + +# Copyright (c) 2021-2023, PostgreSQL Global Development Group + +# To test successful data directory creation with an additional feature, first +# try to elaborate the "successful creation" test instead of adding a test. +# Successful initdb consumes much time and I/O. + +use strict; +use warnings; +use Fcntl ':mode'; +use File::stat qw{lstat}; +use PostgreSQL::Test::Cluster; +use PostgreSQL::Test::Utils; +use Test::More; + +my $tempdir = PostgreSQL::Test::Utils::tempdir; +my $xlogdir = "$tempdir/pgxlog"; +my $datadir = "$tempdir/data"; + +program_help_ok('initdb'); +program_version_ok('initdb'); +program_options_handling_ok('initdb'); + +command_fails([ 'initdb', '-S', "$tempdir/nonexistent" ], + 'sync missing data directory'); + +mkdir $xlogdir; +mkdir "$xlogdir/lost+found"; +command_fails( + [ 'initdb', '-X', $xlogdir, $datadir ], + 'existing nonempty xlog directory'); +rmdir "$xlogdir/lost+found"; +command_fails( + [ 'initdb', '-X', 'pgxlog', $datadir ], + 'relative xlog directory not allowed'); + +command_fails( + [ 'initdb', '-U', 'pg_test', $datadir ], + 'role names cannot begin with "pg_"'); + +mkdir $datadir; + +# make sure we run one successful test without a TZ setting so we test +# initdb's time zone setting code +{ + + # delete local only works from perl 5.12, so use the older way to do this + local (%ENV) = %ENV; + delete $ENV{TZ}; + + # while we are here, also exercise -T and -c options + command_ok( + [ + 'initdb', '-N', '-T', 'german', '-c', + 'default_text_search_config=german', + '-X', $xlogdir, $datadir + ], + 'successful creation'); + + # Permissions on PGDATA should be default + SKIP: + { + skip "unix-style permissions not supported on Windows", 1 + if ($windows_os); + + ok(check_mode_recursive($datadir, 0700, 0600), + "check PGDATA permissions"); + } +} + +# Control file should tell that data checksums are disabled by default. +command_like( + [ 'pg_controldata', $datadir ], + qr/Data page checksum version:.*0/, + 'checksums are disabled in control file'); +# pg_checksums fails with checksums disabled by default. This is +# not part of the tests included in pg_checksums to save from +# the creation of an extra instance. +command_fails([ 'pg_checksums', '-D', $datadir ], + "pg_checksums fails with data checksum disabled"); + +command_ok([ 'initdb', '-S', $datadir ], 'sync only'); +command_fails([ 'initdb', $datadir ], 'existing data directory'); + +# Check group access on PGDATA +SKIP: +{ + skip "unix-style permissions not supported on Windows", 2 + if ($windows_os); + + # Init a new db with group access + my $datadir_group = "$tempdir/data_group"; + + command_ok( + [ 'initdb', '-g', $datadir_group ], + 'successful creation with group access'); + + ok(check_mode_recursive($datadir_group, 0750, 0640), + 'check PGDATA permissions'); +} + +# Locale provider tests + +if ($ENV{with_icu} eq 'yes') +{ + command_fails_like( + [ 'initdb', '--no-sync', '--locale-provider=icu', "$tempdir/data2" ], + qr/initdb: error: ICU locale must be specified/, + 'locale provider ICU requires --icu-locale'); + + command_ok( + [ + 'initdb', '--no-sync', + '--locale-provider=icu', '--icu-locale=en', + "$tempdir/data3" + ], + 'option --icu-locale'); + + command_like( + [ + 'initdb', '--no-sync', + '-A', 'trust', + '--locale-provider=icu', '--locale=und', + '--lc-collate=C', '--lc-ctype=C', + '--lc-messages=C', '--lc-numeric=C', + '--lc-monetary=C', '--lc-time=C', + "$tempdir/data4" + ], + qr/^\s+ICU locale:\s+und\n/ms, + 'options --locale-provider=icu --locale=und --lc-*=C'); + + command_fails_like( + [ + 'initdb', '--no-sync', + '--locale-provider=icu', '--icu-locale=@colNumeric=lower', + "$tempdir/dataX" + ], + qr/could not open collator for locale/, + 'fails for invalid ICU locale'); + + command_fails_like( + [ + 'initdb', '--no-sync', + '--locale-provider=icu', '--encoding=SQL_ASCII', + '--icu-locale=en', "$tempdir/dataX" + ], + qr/error: encoding mismatch/, + 'fails for encoding not supported by ICU'); + + command_fails_like( + [ + 'initdb', '--no-sync', + '--locale-provider=icu', '--icu-locale=nonsense-nowhere', + "$tempdir/dataX" + ], + qr/error: locale "nonsense-nowhere" has unknown language "nonsense"/, + 'fails for nonsense language'); + + command_fails_like( + [ + 'initdb', '--no-sync', + '--locale-provider=icu', '--icu-locale=@colNumeric=lower', + "$tempdir/dataX" + ], + qr/could not open collator for locale "und-u-kn-lower": U_ILLEGAL_ARGUMENT_ERROR/, + 'fails for invalid collation argument'); +} +else +{ + command_fails( + [ 'initdb', '--no-sync', '--locale-provider=icu', "$tempdir/data2" ], + 'locale provider ICU fails since no ICU support'); +} + +command_fails( + [ 'initdb', '--no-sync', '--locale-provider=xyz', "$tempdir/dataX" ], + 'fails for invalid locale provider'); + +command_fails( + [ + 'initdb', '--no-sync', + '--locale-provider=libc', '--icu-locale=en', + "$tempdir/dataX" + ], + 'fails for invalid option combination'); + +command_fails([ 'initdb', '--no-sync', '--set', 'foo=bar', "$tempdir/dataX" ], + 'fails for invalid --set option'); + +done_testing(); |