Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1giQeg-0004cZ-52 for pgsql-docs@arkaria.postgresql.org; Sat, 12 Jan 2019 21:17:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1giQed-00029i-Kt for pgsql-docs@arkaria.postgresql.org; Sat, 12 Jan 2019 21:17:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1giQed-00029b-BU for pgsql-docs@lists.postgresql.org; Sat, 12 Jan 2019 21:17:19 +0000 Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1giQeV-0006bx-TU for pgsql-docs@postgresql.org; Sat, 12 Jan 2019 21:17:17 +0000 Received: by mail-lj1-x242.google.com with SMTP id x85-v6so15853753ljb.2 for ; Sat, 12 Jan 2019 13:17:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:message-id:date:user-agent:mime-version :content-language; bh=OUhpbh41fuD0MN7Yu5SyH1WBV2nbIyVIXQndHKjC5vk=; b=FLEHSO0oBy3gd9RYCJdQSyO+cUqnDsyEhPJDDLmfhd0X0c9BQXVbyIs80akcjf0/i3 fd18Y0z87QdPNd5wxBsK2z0iFN9fHVpiprs8p2SzQh3Byns2N6RJvFOtVssfu3Bl2MAE XTCVq61gl8XMQFJWKHfSn8x2+E3/AM4Dhm6O9fTxjir52qcZOndwSp8V3IcK6grMW+TQ RuHfr/0pkFCDpUqrUxkRdUu159nj/2uvlQ09oieSeh+rUWGsZeORIpzetHxbnk9nY7gd tNJ8C/HBQIEZffuoqKdznmmDKL5twhCAA62BRI8RJkrCCZMeYwbbwRpzbbuNfntknSeo vqxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-language; bh=OUhpbh41fuD0MN7Yu5SyH1WBV2nbIyVIXQndHKjC5vk=; b=rp/g7cfmm7RMCKcUoTfWBWv/qsX0rqMoCKtZMEsoE1jn2ZNyS4DsmI7kbCHzsomoKD b9CkRuw58ItAON3ugXg7qc6okaumLQCEUtsdZGFz7Sn4o6aXejXRzcWMVthbrVHfculq 6U0OGqBUGDkUFh3Vl1kT26KKQg9vVIXlZiPlAGy6NWbs1CppPjVHkpzGQVCUo0GRMeOT ZtaliRdkbr+9QI4PpKg1guVok3smhv5X9DZ2ibF2MHhs179sjWGsLlUTNyAl/9BuXn8M Ng+bZ8qppr2GuSZTQTpwjeHcQ2AhTkdbeRvibQlWyamSvvUBF5cTBvxU4jwEUf+N0SsL oNoA== X-Gm-Message-State: AJcUukdgiIkB+n96LCQghrqqudNcmzL+ik4NWsj5EWjdGNDF1whScrXL xlcVPVzIg1Ejqp6yAIw6olY= X-Google-Smtp-Source: ALg8bN4awoSjEyAhdDHyp1urVZXFIKVu6ksxJ2apo8onntr9Pch0XRBj19SyALdXbPSWK4fvJbz3dA== X-Received: by 2002:a2e:4942:: with SMTP id b2-v6mr10992135ljd.168.1547327828966; Sat, 12 Jan 2019 13:17:08 -0800 (PST) Received: from [1.0.0.7] ([178.155.4.147]) by smtp.gmail.com with ESMTPSA id r29-v6sm16263651ljd.44.2019.01.12.13.17.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Jan 2019 13:17:08 -0800 (PST) From: Alexander Lakhin Subject: Some typos in documentation To: "pgsql-docs@postgresql.org" Message-ID: <9b5a3a85-899a-ae62-dbab-1e7943aa5ab1@gmail.com> Date: Sun, 13 Jan 2019 00:17:07 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------610F644C5485D8A04F256AAE" Content-Language: ru-RU List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------610F644C5485D8A04F256AAE Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hello, While cross-checking the unique words in doc/ I found a few typos. REL9_6_STABLE transcations (Also there are two 'transcation's in src/bin/psql/po/tr.po, probably these are typos too.) REL_10_STABLE+ PQencryptPasswodConn pg_current_logfiles -- there is only the "pg_current_logfile" function. NOCONNECT -- this option was replaced with "connect = false" by commit b807f5982. LockFileCreateWrite -- Should be spelled as LockFileCreateWRITE (as in pgstat.c) or LockFileCreateWRITE in pg.stat.s should use CamelCase in whole. I don't find any dependencies so I would prefer the latter. REL_11_STABLE+ pg_execute_server_programs -- I could find only the pg_execute_server_program role in pg_authid.dat. All the corresponding patches are attached. Best regards, Alexander --------------610F644C5485D8A04F256AAE Content-Type: text/x-patch; name="transcations.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="transcations.patch" diff --git a/doc/src/sgml/maintenance.sgml b/doc/src/sgml/maintenance.sgml index da3a900dc1..5f3adc98c9 100644 --- a/doc/src/sgml/maintenance.sgml +++ b/doc/src/sgml/maintenance.sgml @@ -594,7 +594,7 @@ SELECT datname, age(datfrozenxid) FROM pg_database; scans every page in the table that is not already all-frozen, it should set age(relfrozenxid) to a value just a little more than the vacuum_freeze_min_age setting - that was used (more by the number of transcations started since the + that was used (more by the number of transactions started since the VACUUM started). If no relfrozenxid-advancing VACUUM is issued on the table until autovacuum_freeze_max_age is reached, an autovacuum will soon --------------610F644C5485D8A04F256AAE Content-Type: text/x-patch; name="PQencryptPasswodConn.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="PQencryptPasswodConn.patch" diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index e8ec495d03..ad2e3a4466 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -6106,7 +6106,7 @@ char *PQencryptPasswordConn(PGconn *conn, const char *passwd, const char *user, char *PQencryptPassword(const char *passwd, const char *user); PQencryptPassword is an older, deprecated version of - PQencryptPasswodConn. The difference is that + PQencryptPasswordConn. The difference is that PQencryptPassword does not require a connection object, and md5 is always used as the encryption algorithm. --------------610F644C5485D8A04F256AAE Content-Type: text/x-patch; name="pg_current_logfiles.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="pg_current_logfiles.patch" diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 0915be0d6d..8fd1288dca 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -16153,7 +16153,7 @@ SET search_path TO schema , schema, .. optional parameter. The return value is NULL when the log format requested is not a configured . The - pg_current_logfiles reflects the contents of the + pg_current_logfile reflects the contents of the current_logfiles file. --------------610F644C5485D8A04F256AAE Content-Type: text/x-patch; name="NOCONNECT.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="NOCONNECT.patch" diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index 4c63ebb7b0..c221d2a080 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -1246,7 +1246,7 @@ CREATE DATABASE foo WITH TEMPLATE template0; When dumping logical replication subscriptions, pg_dump will generate CREATE - SUBSCRIPTION commands that use the NOCONNECT + SUBSCRIPTION commands that use the connect = false option, so that restoring the subscription does not make remote connections for creating a replication slot or for initial table copy. That way, the dump can be restored without requiring network access to the remote --------------610F644C5485D8A04F256AAE Content-Type: text/x-patch; name="LockFileCreateWRITE.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="LockFileCreateWRITE.patch" diff --git a/src/backend/postmaster/pgstat.c b/src/backend/postmaster/pgstat.c index 302c331c49..ac658dcb24 100644 --- a/src/backend/postmaster/pgstat.c +++ b/src/backend/postmaster/pgstat.c @@ -3745,7 +3745,7 @@ pgstat_get_wait_io(WaitEventIO w) event_name = "LockFileCreateSync"; break; case WAIT_EVENT_LOCK_FILE_CREATE_WRITE: - event_name = "LockFileCreateWRITE"; + event_name = "LockFileCreateWrite"; break; case WAIT_EVENT_LOCK_FILE_RECHECKDATADIR_READ: event_name = "LockFileReCheckDataDirRead"; --------------610F644C5485D8A04F256AAE Content-Type: text/x-patch; name="pg_execute_server_programs.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="pg_execute_server_programs.patch" diff --git a/doc/src/sgml/file-fdw.sgml b/doc/src/sgml/file-fdw.sgml index 955a13ab7d..d80142b4fd 100644 --- a/doc/src/sgml/file-fdw.sgml +++ b/doc/src/sgml/file-fdw.sgml @@ -188,7 +188,7 @@ Changing table-level options requires being a superuser or having the privileges of the default role pg_read_server_files (to use a filename) or - the default role pg_execute_server_programs (to use a program), + the default role pg_execute_server_program (to use a program), for security reasons: only certain users should be able to control which file is read or which program is run. In principle regular users could be allowed to change the other options, but that's not supported at present. --------------610F644C5485D8A04F256AAE--