I was having a problems with postgresql (I'm a newbie with it), I reinstalled it and see that the init.d module requires $PGDATA, $PGLOG and $PGOPTS, additionally, posgres has a directory in /usr/lib, and some libraries in /usr/lib too. I was expecting that this informations were supplied via /etc/env.d/..., so env-update + source /etc/profile put all the things right, but there is no xxpostgresql-7.3 there.
So, how this information is given to postgres? AFAIK this should be done before the execution of ...>> /etc/init.d/postgres start where the environment variables are used, during the boot process (I made a "rc-update add posgresql default"), and so this could not be in a config file, or it goes to the config files if receives pg_ctl -D -s -l -o (the options without values?) And about the libraries? It knows (in the code) about the libraries in /usr/lib/postgresql? Or this should be in ld.so.conf? I apologize if I'm just being stupid... TIA, Alcino -- Alcino Dall'Igna Junior <[EMAIL PROTECTED]> CPG/LNCC -- [EMAIL PROTECTED] mailing list
