Greg Stark gsstark(at)mit(dot)edu writes:
> You more or less missed my entire point.
Only because I am still getting used to how powerful and flexible
Postgres is; but I am working on expanding my horizons.
> In the extreme, no amount of added intelligence in the optimizer is
> help it come up with any sane selectivity estimate for something like
> WHERE radius_authenticate(user) = 'OK'
yeah, I can see where something like this would be problematic. While I
still think that in an ideal world, you want to leave all of this to the
engine, it is true that in the real world sometimes we still have to do
some of the thinking for the computer. It's just that I've seen code
absolutely littered with optimizer hints, and that really bothers me.
But you can't not build a useful tool just because some would abuse it.
SUPRA Server SQL Engineering and Support
Cincom Systems, Inc.
pgsql-hackers by date
|Next:||From: Tom Lane||Date: 2005-12-02 14:14:31|
|Subject: Re: [HACKERS] Should libedit be preferred to libreadline? |
|Previous:||From: Michael Glaesemann||Date: 2005-12-02 11:56:26|
|Subject: Re: Buildfarm: Bear, Branch 2?|