I am running CentOS 7 with PostgreSQL 9.2.18 and the latest release version of cPanel/WHM (it's a VPS). I mostly use PostgreSQL to test a forum script that I am a developer for. Recently we added a few more columns to one of the database tables. Since it's a development version, the simplest option was to go into phpPgAdmin and add the columns. However, upon trying to execute the changes, I just get an error saying "Error: must be owner of relation <table>". This is when logged in to cPanel as the account owner (not as root). All of the tables are owned by the user that created them, but the cPanel user doesn't have the appropriate privileges to fix the tables. I even tried granting the cPanel user all privileges on the database (which I was able to do), but I couldn't grant that user privileges. The only way I was able to add the columns was to login to PostgreSQL via the shell as the user that owned the database.
In WHM I went in to the "Configure PostgreSQL" section and clicked "add users", but now trying to log in to phpPgAdmin fails entirely (it just says "Login failed").
In WHM I went in to the "Configure PostgreSQL" section and clicked "add users", but now trying to log in to phpPgAdmin fails entirely (it just says "Login failed").