Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1negzM-000735-Rk for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Apr 2022 17:41:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1negzL-00026E-RG for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Apr 2022 17:41:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1negzL-000265-A2 for pgsql-hackers@lists.postgresql.org; Wed, 13 Apr 2022 17:41:07 +0000 Received: from mail-io1-xd30.google.com ([2607:f8b0:4864:20::d30]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1negzD-00028D-NY for pgsql-hackers@postgresql.org; Wed, 13 Apr 2022 17:41:06 +0000 Received: by mail-io1-xd30.google.com with SMTP id x4so2703708iop.7 for ; Wed, 13 Apr 2022 10:40:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3GHYa29jjpAb6GSDgexj1xEMbjXwliHsZ3W4sRzTGsI=; b=fU9oN39g/YnJq62WFUT9pQqL0ms7Dhqx+ygJIWB/5Qk7P0YDw93hLJnPs6l5jjjFPu VtRu66Tag4LnVHWbmwlzoAnVnJFqghIsWUdRgOXMdy7NesHnsLDGq1Xo11vI3RkQRo5S zXPDE0OBTEBIq/t3Y1YYg7BWs1UAwwjArTchx3fErJhu/pSdT/XUwc3maLTP70TqVFPH 7eRy9IpYtPceKoA5Ctzq2HAHxlVAlQbm/pUQzWR62cWxy0lgjoBq/ZLlv0MuQk9IGH+/ JIpQp7J6N6E/pqBUsA68f0guY8dikXAJc0RXJ1cGx/48o7l8iQdQemhwKDOHb+j3yFx6 FODg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3GHYa29jjpAb6GSDgexj1xEMbjXwliHsZ3W4sRzTGsI=; b=EcczCTNUjcR3O4BuDLxGYxA6sDzowY9FRptCgBuCk+ZheEFaa1YcOSiS3awBXLQQ+c qdVAw7fLVgeL59WJX8asRnzUx9QQczUnlHE5ogJdeM6eTX3BJTsAcKVfl8SQzAeazxlQ eOAmWxzrmBI5WtiSRMqNoGpiPg5kbkSm/LUCX1B5JZwi2XI60gZS9Ye83e9Iup5rXict 4Sn0sZSvyaYRCGMjVIFo3uWuRaFTogrKMzokGMa5vkswx9f4KCZyaldlX+oQ05CCeNW+ Z4ijo1iTXJ3vMpDZfHWpQknFmqBoBNt02FvcHw8mTE3OiTVDxWxCw4YN4ZftOJVVSj0Z nPxg== X-Gm-Message-State: AOAM530Z5zh6YvSxy2A7NNfHpt6p6z1vOtoykZJhvVwPeuQ9ErAtI/Fd PdX88TOY3lhPkIGb90DaVpF0vw== X-Google-Smtp-Source: ABdhPJzVcGEJ5xjJh88voXA/spFlq0W78cPIHKY3rN4b9STNQ2KV7oHizYhADxcM2PfblAZUouNZ4Q== X-Received: by 2002:a05:6638:3713:b0:326:29e2:7516 with SMTP id k19-20020a056638371300b0032629e27516mr10197428jav.191.1649871658971; Wed, 13 Apr 2022 10:40:58 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id f9-20020a5ec709000000b00645ec64112asm290757iop.42.2022.04.13.10.40.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Apr 2022 10:40:58 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 3EDDA80140C; Wed, 13 Apr 2022 12:40:57 -0500 (CDT) Date: Wed, 13 Apr 2022 12:40:56 -0500 From: Justin Pryzby To: Alvaro Herrera Cc: David Rowley , pgsql-hackers@postgresql.org, Fabien COELHO Subject: Re: typos Message-ID: <20220413174056.GQ26620@telsasoft.com> References: <202204131729.g27uwttzzgao@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="6b3yLyRKT1M6kiA0" Content-Disposition: inline In-Reply-To: <202204131729.g27uwttzzgao@alvherre.pgsql> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --6b3yLyRKT1M6kiA0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Apr 13, 2022 at 07:29:34PM +0200, Alvaro Herrera wrote: > On 2022-Apr-11, David Rowley wrote: > > > and also skipped: > > 0016 (unsure if we should change these of pgindent is not touching it) > > 0017 (unsure if we should change these of pgindent is not touching it) > > I verified that pgindent will indeed not touch these changes by running > before and after. (I accepted one comment placement from that run that > touched a neighboring line.) > > I think pgindent is right not to modify vertical space very much, since > in many cases it amounts to a subjective decision. The patch seemed a > (small) improvement, and it seems hard to make too much of a fuss about > such things. Pushed them as a single commit. > > I hadn't noticed that Justin had posted a refreshed patch series, so I > don't know if the new ones match what I pushed. There were no changes - I had resent the patches that removed blank lines so it was apparent that they were "outstanding" / under discussion. There's (only) a few remaining. --6b3yLyRKT1M6kiA0 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-comment-spaces.patch" From 543b9d77763da814cf1a99938252eb16a0a7d131 Mon Sep 17 00:00:00 2001 From: Justin Pryzby Date: Sat, 12 Mar 2022 14:55:18 -0600 Subject: [PATCH 1/4] comment spaces --- src/backend/storage/file/fd.c | 2 +- src/include/replication/message.h | 2 +- src/include/tsearch/ts_type.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c index 14b77f28617..24704b6a023 100644 --- a/src/backend/storage/file/fd.c +++ b/src/backend/storage/file/fd.c @@ -912,7 +912,7 @@ InitFileAccess(void) void InitTemporaryFileAccess(void) { - Assert(SizeVfdCache != 0); /* InitFileAccess() needs to have run*/ + Assert(SizeVfdCache != 0); /* InitFileAccess() needs to have run */ Assert(!temporary_files_allowed); /* call me only once */ /* diff --git a/src/include/replication/message.h b/src/include/replication/message.h index 7d7785292f1..b9686c28550 100644 --- a/src/include/replication/message.h +++ b/src/include/replication/message.h @@ -32,7 +32,7 @@ typedef struct xl_logical_message extern XLogRecPtr LogLogicalMessage(const char *prefix, const char *message, size_t size, bool transactional); -/* RMGR API*/ +/* RMGR API */ #define XLOG_LOGICAL_MESSAGE 0x00 void logicalmsg_redo(XLogReaderState *record); void logicalmsg_desc(StringInfo buf, XLogReaderState *record); diff --git a/src/include/tsearch/ts_type.h b/src/include/tsearch/ts_type.h index a2008f5504b..689b2d1cfb6 100644 --- a/src/include/tsearch/ts_type.h +++ b/src/include/tsearch/ts_type.h @@ -171,7 +171,7 @@ typedef struct extern PGDLLIMPORT const int tsearch_op_priority[OP_COUNT]; -/* get operation priority by its code*/ +/* get operation priority by its code */ #define OP_PRIORITY(x) ( tsearch_op_priority[(x) - 1] ) /* get QueryOperator priority */ #define QO_PRIORITY(x) OP_PRIORITY(((QueryOperator *) (x))->oper) -- 2.17.1 --6b3yLyRKT1M6kiA0 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0002-doc-review-locales.patch" From e84373bd78d6634781536a96a083cf26c87aa53e Mon Sep 17 00:00:00 2001 From: Justin Pryzby Date: Fri, 25 Mar 2022 13:04:48 -0500 Subject: [PATCH 3/4] doc review: locales f2553d43060edb210b36c63187d52a632448e1d2 --- doc/src/sgml/charset.sgml | 12 ++++++------ doc/src/sgml/ref/initdb.sgml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/src/sgml/charset.sgml b/doc/src/sgml/charset.sgml index d60d3207fd4..b95303fb893 100644 --- a/doc/src/sgml/charset.sgml +++ b/doc/src/sgml/charset.sgml @@ -314,7 +314,7 @@ initdb --locale=sv_SE A locale can be selected separately for each database. The SQL command CREATE DATABASE and its command-line equivalent createdb have options for that. Use this for example - if a database cluster houses databases for multiple tennants with + if a database cluster houses databases for multiple tenants with different requirements. @@ -346,7 +346,7 @@ initdb --locale=sv_SE providers. This specifies which library supplies the locale data. One standard provider name is libc, which uses the locales provided by the operating system C library. These are the - locales that most tools provided by the operating system use. Another + locales used by most tools provided by the operating system. Another provider is icu, which uses the external ICUICU library. ICU locales can only be used if support for ICU was configured when PostgreSQL was built. @@ -361,8 +361,8 @@ initdb --locale=sv_SE initdb --locale-provider=icu --icu-locale=en - See the description of the respective commands and programs for the - respective details. Note that you can mix locale providers on different + See the description of the respective commands and programs for + details. Note that you can mix locale providers at different granularities, for example use libc by default for the cluster but have one database that uses the icu provider, and then have collation objects using either provider within @@ -610,8 +610,8 @@ SELECT * FROM test1 ORDER BY a || b COLLATE "fr_FR"; definition has a provider that specifies which library supplies the locale data. One standard provider name is libc, which uses the locales provided by the - operating system C library. These are the locales that most tools - provided by the operating system use. Another provider + operating system C library. These are the locales used by most tools + provided by the operating system. Another provider is icu, which uses the external ICUICU library. ICU locales can only be used if support for ICU was configured when PostgreSQL was built. diff --git a/doc/src/sgml/ref/initdb.sgml b/doc/src/sgml/ref/initdb.sgml index f5d633b0afa..c9ffaaecfb9 100644 --- a/doc/src/sgml/ref/initdb.sgml +++ b/doc/src/sgml/ref/initdb.sgml @@ -108,7 +108,7 @@ PostgreSQL documentation Alternatively, the ICU library can be used to provide locale services. (Again, this only sets the default for subsequently created databases.) To select this option, specify --locale-provider=icu. - To chose the specific ICU locale ID to apply, use the option + To choose the specific ICU locale ID to apply, use the option . Note that for implementation reasons and to support legacy code, initdb will still select and initialize libc locale -- 2.17.1 --6b3yLyRKT1M6kiA0 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0003-doc-review-row-filters-for-logical-replication.patch" From 7ebb9ee1761df8a9379e128e2d899a75d28ad2a7 Mon Sep 17 00:00:00 2001 From: Justin Pryzby Date: Fri, 25 Mar 2022 12:22:58 -0500 Subject: [PATCH 4/4] doc review: row filters for logical replication 52e4f0cd472d39d07732b99559989ea3b615be78 --- doc/src/sgml/ref/create_publication.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/ref/create_publication.sgml b/doc/src/sgml/ref/create_publication.sgml index fb2d013393b..f4b44d99a88 100644 --- a/doc/src/sgml/ref/create_publication.sgml +++ b/doc/src/sgml/ref/create_publication.sgml @@ -252,8 +252,8 @@ CREATE PUBLICATION name system columns. If your publication contains a partitioned table, the publication parameter publish_via_partition_root determines if it uses the - partition's row filter (if the parameter is false, the default) or the root - partitioned table's row filter. + partition's row filter (when the parameter is false, which is the default) + or the root partitioned table's row filter. -- 2.17.1 --6b3yLyRKT1M6kiA0--