Re: enum-ify resource manager's xl_info values - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: enum-ify resource manager's xl_info values
Date
Msg-id 51ED92EC.7070305@gmx.net
Whole thread Raw
In response to enum-ify resource manager's xl_info values  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
On 7/22/13 7:21 AM, Andres Freund wrote:
> Would somebody object to making the rmgr's invo value #defines like:

I'm suspicious of enums that are assigned specific values.  Enums should
stand by themselves, they shouldn't be a symbolic layer on top of some
other numbering or bit-fiddling scheme.




pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: small typo in src/backend/access/transam/xlog.c
Next
From: Alvaro Herrera
Date:
Subject: Re: new "row-level lock" error messages