Re: Radical suggestion for plan executor?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Radical suggestion for plan executor?
Date: 2001-07-14 04:53:51
Message-ID: 21525.995086431@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Martijn van Oosterhout <kleptog(at)svana(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message mlw 2001-07-14 11:48:26 Re: SOMAXCONN (was Re: Solaris source code)
Previous Message Tom Lane 2001-07-14 04:41:47 Re: Re: SOMAXCONN (was Re: Solaris source code)