Closed alec-c4 closed 11 years ago
Hi Alexey,
So the issue here is that you are using a local Unix domain socket to connect to Postgresql. Certainly one way to do things, but I locally never develop things that way. One of my assumptions is that nothing will actually be running on the database host. If the DB host and Web host are on the same machine, things still work (they communicate via loopback).
Looking at that blog post:
psql -h localhost -d somedb -U someuser -W
Would be a working command.
I'd say the way to handle this would be a separate ACL list (probably 'pre-acl') that is output before the static ones.
I've got a bunch of change to merge first, so something in the next few days before I get a version out.
I've not formally released this yet, but I believe this should solve your configuration.
Hi, is it possible to disable or overwrite some rule in Postgresql ACL?
Let me explain. I've created puppet-file with following lines
but on attempt to connect locally to db i saw following
Article (http://blog.deliciousrobots.com/2011/12/13/get-postgres-working-on-ubuntu-or-linux-mint/) given me a hint to use acl like in my config, but required line
was added after default line
and this rule overrides my config lines, placed below this line.
I see following ways to solve this problem
Or maybe you have any other idea?