Jeff Davis <pgsql(at)j-davis(dot)com> writes:
> What about your patch is a crude hack, by the way? At first glance it
> looks like you're using a more correct test.
The surrounding code and comments would need to be changed to reflect
what's going on.
regards, tom lane