Re: some namespace.c refactoring

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: some namespace.c refactoring
Дата
Msg-id 2003699.1676437442@sss.pgh.pa.us
обсуждение исходный текст
Ответ на some namespace.c refactoring  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Ответы Re: some namespace.c refactoring  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Re: some namespace.c refactoring  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: "Ryo Matsumura (Fujitsu)"
Дата:
Сообщение: DDL result is lost by CREATE DATABASE with WAL_LOG strategy
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Support logical replication of DDLs