Yes, it's been a long time, but I haven't discovered anything major lately.
However, there is one thing that did bother me. A few months back, we updated one of our servers, especially with PostgeSQL, to version 9.
The problem is that some automatic backups and database dumps were not performing as they should, rendering many errors that took us a while to see. Some of these errors were:
undefined symbol: PQconnectdbParams
The other main problem was the fact that cPanel was thinking that the PostgreSQL server was offline. I knew this was not true because, well, the website was running fine.
After some research, I discovered that this was due to some kind of linking (tied to environment variables) not being updated as it should, and the PostgreSQL 9 library was not loaded. Therefore, some referenced functions were not found.
Now... there are two ways to achieve this. There is a slightly more complicated way that didn't really work for me (but might for you), and a much simpler way. It all depends on which access you have on your server.
If you DO NOT have root access to your server, but have the PostgreSQL root password, you can directly set the environment variable:
- Make sure psql is running
- Run this command: LD_LIBRARY_PATH=/usr/pgsql-9.0/lib psql
- Enter the password
This is supposed to work (use DYLD_LIBRARY_PATH if on Mac OS X), but I was missing the PostgreSQL root password. I can't be sure if the change is permanent, or if it will be reverted on reboot.
The other way to do this is to automatically update the links/environment variables, but I believe you need root access to do this. It all goes through a simple command:
/sbin/ldconfig /usr/pgsql-9.0/lib
Wait a few seconds and you're done. You can refresh your cPanel PostgreSQL databases page or something if you want to see your result.
Had the documentation been updated with the latest links or had the problem occurred more widely, I would have found this way faster.
Hope this helps!