Martijn van Oosterhout <[EMAIL PROTECTED]> 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

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to