Fix out-of-date comment on makeRangeConstructors

From: Paul A Jungwirth <pj(at)illuminatedcomputing(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Fix out-of-date comment on makeRangeConstructors
Date: 2025-12-04 22:34:17
Message-ID: CA+renyVQti3iC7LE4UxtQb4ROLYMs6+u-d4LrN5U4idH1Ghx6Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Hackers,

I noticed that makeRangeConstructors (in commands/typecmds.c) says:

> We actually define 4 functions, with 0 through 3 arguments.

But that hasn't been true since 2011 (df73584431). We only have 2-arg
and 3-arg functions. Here is a quick patch to update the comment.

Yours,

--
Paul ~{:-)
pj(at)illuminatedcomputing(dot)com

Attachment Content-Type Size
v1-0001-Fix-out-of-date-comment-on-makeRangeConstructors.patch text/x-patch 1.1 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Mihail Nikalayeu 2025-12-04 22:35:00 Re: making tid and HOTness of UPDATE available to logical decoding plugins
Previous Message Tom Lane 2025-12-04 22:09:30 More const-marking cleanup