Re: fix typos
John Naylor <john.naylor@enterprisedb.com>
From: John Naylor <john.naylor@enterprisedb.com>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: Erik Rijkers <er@xs4all.nl>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-08-04T10:21:38Z
Lists: pgsql-hackers
On Tue, Aug 2, 2022 at 1:11 AM Justin Pryzby <pryzby@telsasoft.com> wrote:
>
> On Mon, Aug 01, 2022 at 08:04:54PM +0200, Erik Rijkers wrote:
> > Recent typos...
>
> LGTM, thanks.
>
> Here are some others I've been sitting on, mostly in .c files.
I pushed Robert's suggestion, then pushed the rest of Erik's changes and
two of Justin's. For Justin's 0004:
--- a/src/backend/replication/logical/origin.c
+++ b/src/backend/replication/logical/origin.c
@@ -364,7 +364,7 @@ restart:
if (nowait)
ereport(ERROR,
(errcode(ERRCODE_OBJECT_IN_USE),
- errmsg("could not drop replication origin with OID %d, in use by PID %d",
+ errmsg("could not drop replication origin with OID %u, in use by PID %d",
RepOriginId is a typedef for uint16, so this can't print the wrong answer,
but it is inconsistent with other uses. So it seems we don't need to
backpatch this one?
For patch 0002, the whitespace issue in the top comment in inval.c, I'm
inclined to just change all the out-of-place tabs in a single commit, so we
can add that to the list of whitespace commits.
--
John Naylor
EDB: http://www.enterprisedb.com
Commits
-
Fix formatting and comment typos
- bcabbfc6a94b 16.0 landed
-
Fix assorted doc typos
- 120e159b7d93 14.5 landed
- b25566ab3c65 15.0 landed
- 9f08803828d7 16.0 landed
-
Clarify DROP EXTENSION docs regarding explicitly dependent routines
- d107e73fa8b5 14.5 landed
- 0436f34d406a 15.0 landed
- f217d093fd61 16.0 landed
-
doc: clarify how dropping of extensions affects dependent objs.
- 5fe2d4c56edd 16.0 cited
-
Move remaining code from tqual.[ch] to heapam.h / heapam_visibility.c.
- c91560defc57 12.0 cited