Ahhhh - I figured out what was wrong... I indeed did have the latest
CVS and there's no problem with the patch that you applied.
The problem was that although nsadmin's path had /usr/local/pgsql/bin,
I start nsd from inittab, so it uses root's path. I created a
nsd-postgres shell script (similar to nsd-oracle) that sets the PATH
before calling nsd and then everything works fine.