Re: Defining dedicated macro to grab a relation's persistence

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Defining dedicated macro to grab a relation's persistence
Дата
Msg-id 20141111153742.GS1791@alvin.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Defining dedicated macro to grab a relation's persistence  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
Список pgsql-hackers
Fabrízio de Royes Mello wrote:
> On Fri, Nov 7, 2014 at 11:12 AM, Andres Freund <andres@2ndquadrant.com>
> wrote:

> > I personally find the direct access actually more readable, so I'm not a
> > fan of further extending the scheme. Consistency with some other common
> > accessors is an argument though.
> 
> What you meant is "relation->rd_rel->relpersistence" is more readable than
> "RelationGetPersistence(relation)" ??

I too have a hard time getting excited about this change.  I'd just
leave it alone.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Re: Defining dedicated macro to grab a relation's persistence
Следующее
От: Andres Freund
Дата:
Сообщение: Re: 9.4RC1 next week