> actually I think part of the point of this was to give a command line
> version of the reindex command, like we have for vaccum. If that still
> matters, then it should probably stay. Actually it should probably be
> converted to C and moved to /src/bin.
>
Wouldn't something like
echo 'REINDEX DATABASE {database};' | psql {database}
be easier?
Of course it would need a working shell, but even Windows can do this, I
believe.