typcache.c typos

Started by David Rowleyabout 8 years ago8 messageshackers
Beta feature

Hackorum builds and tests every patch posted to the lists, not only commitfest submissions. This is Hackorum's own CI rather than the PostgreSQL project's, and it is still under testing - please report anything that looks wrong.

appliessuccessCI history

You can run a PostgreSQL built from this patch straight from Docker, with no checkout and no build:

docker run --rm -p 5432:5432 ghcr.io/hackorum-dev/postgres-patch:t39265
psql -h localhost -U postgres

Built from patchset v2 (message #2), September 20, 2026 at 12:54 PM.

Every patchset is also pushed to a branch of our PostgreSQL fork, so you can check out the same tree CI built. Without a PostgreSQL checkout:

git clone --branch t39265_2 https://github.com/hackorum-dev/postgres.git

In a checkout you already have, add the fork once:

git remote add hackorum https://github.com/hackorum-dev/postgres.git

then, for this patchset and every later one:

git fetch hackorum t39265_2 && git checkout t39265_2

Patchset v2 (message #2) is on t39265_2

Jump to latest
#1David Rowley
dgrowleyml@gmail.com

I've attached a patch to fix a typo in typcache.c. I ended up also
rephrasing the sentence since "information about data types that is",
almost made me also want to change "is" to "are", since "types" is
plural. That would have been a mistake since it's talking about the
information and not the types.

--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Attachments:

typcache_typos.patchapplication/octet-stream; name=typcache_typos.patchDownload+2-2
#2David Rowley
dgrowleyml@gmail.com
In reply to: David Rowley (#1)
Re: typcache.c typos

On 28 August 2018 at 16:40, David Rowley <david.rowley@2ndquadrant.com> wrote:

I've attached a patch to fix a typo in typcache.c. I ended up also
rephrasing the sentence since "information about data types that is",
almost made me also want to change "is" to "are", since "types" is
plural. That would have been a mistake since it's talking about the
information and not the types.

Opps. I mistakenly attached the incorrect patch. The correct one is
attached to this email.

--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Attachments:

t39265_2
typcache_typos_v2.patchapplication/octet-stream; name=typcache_typos_v2.patchDownload+5-5
#3Amit Langote
Langote_Amit_f8@lab.ntt.co.jp
In reply to: David Rowley (#2)
Re: typcache.c typos

Hi,

On 2018/08/28 13:42, David Rowley wrote:

On 28 August 2018 at 16:40, David Rowley <david.rowley@2ndquadrant.com> wrote:

I've attached a patch to fix a typo in typcache.c. I ended up also
rephrasing the sentence since "information about data types that is",
almost made me also want to change "is" to "are", since "types" is
plural. That would have been a mistake since it's talking about the
information and not the types.

Opps. I mistakenly attached the incorrect patch. The correct one is
attached to this email.

- * The type cache exists to speed lookup of certain information about data

[ ... ]

+ * The type cache exists to speedup lookups of certain data type information

Sorry if I'm being ignorant, but shouldn't it be "to speed up or to
speed-up" instead of "to speedup?

Thanks,
Amit

#4Michael Paquier
michael@paquier.xyz
In reply to: Amit Langote (#3)
Re: typcache.c typos

On Tue, Aug 28, 2018 at 01:57:12PM +0900, Amit Langote wrote:

On 2018/08/28 13:42, David Rowley wrote:

On 28 August 2018 at 16:40, David Rowley <david.rowley@2ndquadrant.com> wrote:

I've attached a patch to fix a typo in typcache.c. I ended up also
rephrasing the sentence since "information about data types that is",
almost made me also want to change "is" to "are", since "types" is
plural. That would have been a mistake since it's talking about the
information and not the types.

Your new phrasing looks correct to me, as information about the type is
what is referenced, and not the data type itself.

- * The type cache exists to speed lookup of certain information about data

[ ... ]

+ * The type cache exists to speedup lookups of certain data type information

Sorry if I'm being ignorant, but shouldn't it be "to speed up or to
speed-up" instead of "to speedup?

I know "speed up" as a correct verb, and speedup can be used as a noun.
I don't know about "speed-up" though.
--
Michael

#5Tom Lane
tgl@sss.pgh.pa.us
In reply to: David Rowley (#2)
Re: typcache.c typos

David Rowley <david.rowley@2ndquadrant.com> writes:

On 28 August 2018 at 16:40, David Rowley <david.rowley@2ndquadrant.com> wrote:

I've attached a patch to fix a typo in typcache.c. I ended up also
rephrasing the sentence since "information about data types that is",
almost made me also want to change "is" to "are", since "types" is
plural. That would have been a mistake since it's talking about the
information and not the types.

Opps. I mistakenly attached the incorrect patch. The correct one is
attached to this email.

I don't see any typos here; it looks to me more like a difference of
opinion about whether "information" is singular or plural. I don't
really feel a need to change the existing wording.

regards, tom lane

#6Chapman Flack
chap@anastigmatix.net
In reply to: Michael Paquier (#4)
Re: typcache.c typos

On 08/28/18 09:21, Michael Paquier wrote:

On Tue, Aug 28, 2018 at 01:57:12PM +0900, Amit Langote wrote:

- * The type cache exists to speed lookup of certain information about data
[ ... ]
+ * The type cache exists to speedup lookups of certain data type information

Sorry if I'm being ignorant, but shouldn't it be "to speed up or to
speed-up" instead of "to speedup?

I know "speed up" as a correct verb, and speedup can be used as a noun.
I don't know about "speed-up" though.

Merriam-Webster has no problem with the original "to speed" (transitive
verb : to increase the speed of : accelerate), and it didn't bother me
either.

-Chap

#7Robert Haas
robertmhaas@gmail.com
In reply to: Tom Lane (#5)
Re: typcache.c typos

On Tue, Aug 28, 2018 at 9:39 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

Opps. I mistakenly attached the incorrect patch. The correct one is
attached to this email.

I don't see any typos here; it looks to me more like a difference of
opinion about whether "information" is singular or plural. I don't
really feel a need to change the existing wording.

+1. "To speed up lookup" would be OK but I don't think "to speed
lookup" is wrong, and "to speedup lookup" does sound wrong.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

#8David Rowley
dgrowleyml@gmail.com
In reply to: Robert Haas (#7)
Re: typcache.c typos

On 3 September 2018 at 10:24, Robert Haas <robertmhaas@gmail.com> wrote:

On Tue, Aug 28, 2018 at 9:39 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

I don't see any typos here; it looks to me more like a difference of
opinion about whether "information" is singular or plural. I don't
really feel a need to change the existing wording.

+1. "To speed up lookup" would be OK but I don't think "to speed
lookup" is wrong, and "to speedup lookup" does sound wrong.

Not sure where changing it to "to speedup lookup" was proposed. In
any case, it seems most people are happy the way it is. That's fine
for me.

--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services