pgsql: Refactor ObjectAddress field assignments in more places

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Refactor ObjectAddress field assignments in more places
Дата
Msg-id E1jqXss-0007DA-9D@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Refactor ObjectAddress field assignments in more places

This is a follow-up commit similar to 68de144, with more places in the
backend code simplified with the macros able to assign values to the
fields of ObjectAddress.  The code paths changed here could be
transitioned later into using more grouping when inserting dependency
records, simplifying this future work.

Author: Daniel Gustafsson, Michael Paquier
Discussion: https://postgr.es/m/20190213182737.mxn6hkdxwrzgxk35@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4315e8c23b9a897e12fcf91de7bfd734621096bf

Modified Files
--------------
src/backend/catalog/heap.c          | 12 +++---------
src/backend/catalog/index.c         | 39 +++++++++++--------------------------
src/backend/catalog/pg_aggregate.c  | 36 +++++++++-------------------------
src/backend/catalog/pg_constraint.c | 36 ++++++++++------------------------
src/backend/catalog/pg_operator.c   | 32 ++++++++----------------------
src/backend/catalog/pg_proc.c       | 32 ++++++++----------------------
6 files changed, 49 insertions(+), 138 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: pgsql: Improve vacuum error context handling.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Move description of libpqwalreceiver hooks out of the replicatio