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

From Tom Lane
Subject Re: enum-ify resource manager's xl_info values
Date
Msg-id 12566.1374497633@sss.pgh.pa.us
Whole thread Raw
In response to enum-ify resource manager's xl_info values  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: enum-ify resource manager's xl_info values
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> Would somebody object to making the rmgr's invo value #defines like:
> into enums?

I think that will create more problems than it fixes.  For one thing,
the same field is used to store values that would need to be multiple
independent enum types; and we also store additional bits into that
field.
        regards, tom lane



pgsql-hackers by date:

Previous
From: "ktm@rice.edu"
Date:
Subject: Re: REINDEX checking of index constraints
Next
From: Andres Freund
Date:
Subject: Re: enum-ify resource manager's xl_info values