Very OT Postgres

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry for the very OT about postgres, (only claim to fame is it's on Feora 19), but I've been on this all day and am lost, searched StackOverflow, Postgresql pages, etc, and I am no further. I hope a psql database admin can explain.

I have a postgres database: registration_test owned by postgres UTF8, Access privileges =Tc/postgres, postgres=CTc/postgres, tester=CTc/postgres
Role named tester to which out of desperation I gave superuser privileges.

When I run rails command - rake test /test/mailers/notifier_test.rb I get error: PG::InsufficientPrivilege: ERROR: must be owner of database registration_test
Apparently it cannot drop and recreate the database.

 Rails4 database.yml
test:
 adapter: postgresql
 database: registration_test
 encoding: unicode
 pool: 5
 username:
 password:

Same yml, privileges, etc as development and production and they work well.

pg_hba.conf:
local   all             postgres        127.0.0.1/32 @authmethodhost@
local   all             tester        127.0.0.1/32 @authmethodhost@

Also cannot find info on what CTc/postgres means, some privileges have C*T*c*/postgres, couldn't find info on that either.
Have restarted and reloaded postgres.

Help is greatly appreciated, thank you in advance.
Roger

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux