Re: [HACKERS] Cache lookup errors with functions manipulation object addresses
Michael Paquier <michael.paquier@gmail.com>
From: Michael Paquier <michael.paquier@gmail.com>
To: Aleksander Alekseev <a.alekseev@postgrespro.ru>,
Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2017-11-24T12:13:01Z
Lists: pgsql-hackers
Attachments
- 0001-Refactor-syscache-routines-to-get-attribute-name.patch (application/octet-stream) patch 0001
- 0002-Extend-lookup-routines-for-FDW-and-foreign-server-wi.patch (application/octet-stream) patch 0002
- 0003-Refactor-routines-for-subscription-and-publication-l.patch (application/octet-stream) patch 0003
- 0004-Eliminate-user-visible-cache-lookup-errors-for-objad.patch (application/octet-stream) patch 0004
On Thu, Aug 10, 2017 at 9:48 AM, Michael Paquier <michael.paquier@gmail.com> wrote: > On Wed, Aug 9, 2017 at 2:47 PM, Aleksander Alekseev > <a.alekseev@postgrespro.ru> wrote: >> I believe this patch is "Ready for Committer". >> >> The new status of this patch is: Ready for Committer > > Thanks for the lookup, but I think that this is still hasty as no > discussion has happened about a couple of APIs to get object names. > Types, operators and functions have no "cache lookup" and prefer > producing names like "???" or "-". We may want to change that. Or not. > The current patch keeps existing interfaces as much as possible but > those existing caveats remain. Attached is a rebased patch set. Álvaro, as you have introduced most of the problems with 4464303 & friends dated of 2015 when you introduced get_object_address(), could you look at this patch set? -- Michael
Commits
-
Eliminate cache lookup errors in SQL functions for object addresses
- 2a10fdc4307a 14.0 landed
-
Refactor routines for name lookups of procedures and operators
- aa38434824c4 14.0 landed
-
Add new flag to format_type_extended() to get NULL for undefined type
- 1185c782943c 14.0 landed
-
Introduce new extended routines for FDW and foreign server lookups
- 8fb569e978af 12.0 landed
-
Refactor routines for subscription and publication lookups
- 1d6fbc38d9ed 12.0 landed
-
get_relid_attribute_name is dead, long live get_attname
- 8237f27b504f 11.0 landed
-
Tweak parser so that there is a defined representation for datatypes
- a585c20d12d0 7.2.1 cited