Re: enum-ify resource manager's xl_info values

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: enum-ify resource manager's xl_info values
Date: 2013-07-22 12:53:53
Message-ID: 12566.1374497633@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-07-22 13:02:12 Re: enum-ify resource manager's xl_info values
Previous Message ktm@rice.edu 2013-07-22 12:51:45 Re: REINDEX checking of index constraints