Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Is it possible to configure PostgreSQL such that it can trust a single process, instead of a specific user?

share|improve this question
2  
Not that I know of. But you could run the specific process with a specific user? –  Erwin Brandstetter Mar 28 '13 at 14:15

1 Answer 1

That is not possible I am afraid of. The selection is based on the following criteria:

  1. Type of connection (local or network)

  2. Username requested

  3. Database requested

Nowhere in there is a process given. If you want to trust a given process the way to do that is to have a service account, a specific database user, and map these in, using peer authentication on *nix (peer on local connections used to be called ident but this was changed since ident is very different on network connections and has far more issues).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.