Hi gloonie,
In order to use python functions/stored procedures you will need to compile python support into your RH 9 build of postgres. You can download the latest stable postgres source. Go over all the readme files when you unpack postgres. You enable functionality by passing parameters to the configure file. There is some command like ./configure --help that will list everything available for a build. You might try:
./configure --help > config.txt to redirect the output to a text file which you can open and read.
You will need to pass the configure all the default path for the postgres tree, libraries, etc. You may need to study the current postgres tree to see where everything is. Once you pass the configure script the RH 9 path parameters, all the binaries will placed into /var/lib/pgsql/bin.
Since RH dumps all of postgres in well established paths, do a search to see where postgres and pg_ctl are located. I don't remember for sure, but it seem like all the binaries are in /usr/bin by default. Then copy all the binaries created from the build and located in /var/lib/pgsql/bin to /usr/bin.
Also, you will need to edit the /etc/rc.d/init.d/postgresql startup script to change the version number to the number of the newly install postgres if you want postgres to run as a daemon everytime you bring the system up.
You might want to backup any data and change the current postgres path before building it new. For example the following command will move the current build to a new path:
mv /var/lib/pgsql /var/lib/pgsql_old
You can read the doc for instructions on how to backup.
LelandJ
Leland F. Jackson, CPA
Software - Master (TM)
Nothing Runs Like the Fox