Martijn van Oosterhout <kleptog@svana.org> writes:
> [ replace switch statements with function pointers ]
I've built systems both ways, and I can't say that I find any real
gain in transparency either way. I'm not excited about modifying
Postgres this way. Function pointers have some definite downsides:
debuggers can't always step through them, source code analysis tools
tend not to understand them too well either, etc etc.
If we were using C++ then the tradeoffs would be different, but
this system is just plain C...
regards, tom lane