From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Pg Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: remove unnecessary table_open/close from makeArrayTypeName
Date: Wed, 18 Dec 2019 17:22:06 -0500
Message-ID: <28036.1576707726@sss.pgh.pa.us> (raw)
In-Reply-To: <20191218221326.GA25537@alvherre.pgsql>
References: <20191218221326.GA25537@alvherre.pgsql>
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Commit bc8036fc666a (12 years ago) seems to have introduced an
> unnecessary catalog heap_open/close in order to do syscache accesses.
Huh. Not sure how that got past me, but I agree it's bogus.
> I presume a preliminary version of the patch used sysscans or something.
> I don't think that's necessary, so this patch removes it.
+1, but please collapse up the whitespace too.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com
Subject: Re: remove unnecessary table_open/close from makeArrayTypeName
In-Reply-To: <28036.1576707726@sss.pgh.pa.us>
References: <20191218221326.GA25537@alvherre.pgsql> <28036.1576707726@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox