Re: some namespace.c refactoring - Mailing list pgsql-hackers

From Tom Lane
Subject Re: some namespace.c refactoring
Date
Msg-id 2003699.1676437442@sss.pgh.pa.us
Whole thread Raw
In response to some namespace.c refactoring  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Responses Re: some namespace.c refactoring
Re: some namespace.c refactoring
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> Here are two patches that refactor the mostly repetitive "${object} is 
> visible" and get_${object}_oid() functions in namespace.c.  This uses 
> the functions in objectaddress.c to look up the appropriate per-catalog 
> system caches and attribute numbers, similar to other refactoring 
> patches I have posted recently.

This does not look like a simple refactoring patch to me.  I have
very serious concerns first about whether it even preserves the
existing semantics, and second about whether there is a performance
penalty.

            regards, tom lane



pgsql-hackers by date:

Previous
From: "Ryo Matsumura (Fujitsu)"
Date:
Subject: DDL result is lost by CREATE DATABASE with WAL_LOG strategy
Next
From: Amit Kapila
Date:
Subject: Re: Support logical replication of DDLs