Defining dedicated macro to grab a relation's persistence

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Defining dedicated macro to grab a relation's persistence
Дата
Msg-id CAB7nPqSEB+HwiTXfWKQyPA7+9bjoLNxiO47QSrO3HCBSoQ0qFA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Defining dedicated macro to grab a relation's persistence  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Hi all,

After looking at a patch of this commit fest using
rd_rel->relpersistence, I got a look at how many times this expression
was being used directly in the backend code and wondered if it would
not be useful to add a dedicated macro in rel.h to get the persistence
of a relation like in the patch attached. (Note: it is actually used
39 times).
Thoughts?
--
Michael

Вложения

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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: pg_receivexlog --status-interval add fsync feedback
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Defining dedicated macro to grab a relation's persistence