Thread: Debug in dest.h

Debug in dest.h

From
Alvaro Herrera
Date:
Hackers,

The "Debug" destreceiver has a pretty bad name.  In fact for PL/php it
collides with a PHP symbol.  Does anyone mind if I rename it to, say,
DestDebug?

-- 
Alvaro Herrera                        http://www.advogato.org/person/alvherre
"El sabio habla porque tiene algo que decir;
el tonto, porque tiene que decir algo" (Platon).


Re: Debug in dest.h

From
Tom Lane
Date:
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> The "Debug" destreceiver has a pretty bad name.  In fact for PL/php it
> collides with a PHP symbol.  Does anyone mind if I rename it to, say,
> DestDebug?

If you do that, you should rename all the values of the enum
(DestNone, etc).  For consistency, and because the same charge
could be leveled at None and Remote.
        regards, tom lane