The app can now connect to the database but it can't create any tables, schemas or anything else unless I give it superuser privileges.
Is there any way I can make this user a superuser for this database without making it a superuser on other databases?
that should have worked just fine.
[root@new ~]# useradd fred [root@new ~]# su - postgres $ createuser fred $ createdb fred -O fred $ logout [root@new ~]# su - fred [fred@new ~]$ psql psql (9.3.19) Type "help" for help.
fred=> create schema xyzzy; CREATE SCHEMA fred=> create table xyzzy.abc (id serial, dat text); CREATE TABLE fred=> \q