remove unnecessary table_open/close from makeArrayTypeName

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: remove unnecessary table_open/close from makeArrayTypeName
Date: 2019-12-18 22:13:26
Message-ID: 20191218221326.GA25537@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Commit bc8036fc666a (12 years ago) seems to have introduced an
unnecessary catalog heap_open/close in order to do syscache accesses.
I presume a preliminary version of the patch used sysscans or something.
I don't think that's necessary, so this patch removes it.

(I noticed while reading Paul Jungwirth's patch that changes how this
works.)

--
Álvaro Herrera Developer, https://www.PostgreSQL.org/

Attachment Content-Type Size
dont-open.patch text/x-diff 811 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2019-12-18 22:17:05 Re: Read Uncommitted regression test coverage
Previous Message Mark Dilger 2019-12-18 22:05:11 Read Uncommitted regression test coverage