Re: Alternative to psql -c ? - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Re: Alternative to psql -c ?
Date
Msg-id CAKrjmheQsN=MWJ7H9puuN2SjtkcB9CPUvG3zHsnRpsj1Wvk3Ng@mail.gmail.com
Whole thread Raw
In response to Re: Alternative to psql -c ?  (James Le Cuirot <chewi@aura-online.co.uk>)
Responses Re: Alternative to psql -c ?
List pgsql-general
On Wed, Jun 25, 2014 at 5:18 PM, James Le Cuirot <chewi@aura-online.co.uk> wrote:
> Also - I have no idea what "peer authentication" has to do with Pg
> gem - care to elaborate? The gem is for client, and authentication
> happens in server, so ... ?
Right but peer authentication is all to do with the operating system
user that the client is connecting from. In the case of chef-client,

Any reason why you can't reconfigure Pg to allow root connections to postgres account?

depesz

pgsql-general by date:

Previous
From: James Le Cuirot
Date:
Subject: Re: Alternative to psql -c ?
Next
From: Christoph Berg
Date:
Subject: Re: Alternative to psql -c ?