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)
Список
Дерево обсуждения
Defining dedicated macro to grab a relation's persistence Michael Paquier <michael.paquier@gmail.com>
Re: Defining dedicated macro to grab a relation's
persistence Andres Freund <andres@2ndquadrant.com>
Re: Defining dedicated macro to grab a relation's persistence Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Defining dedicated macro to grab a relation's
persistence Alvaro Herrera <alvherre@2ndquadrant.com>
Fabrízio de Royes Mello wrote: > On Fri, Nov 7, 2014 at 11:12 AM, Andres Freund > 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
Дата: