Re: pgadmin Windows has no option to edit configuration files...

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: André Verwijs <dutchgigalo(at)gmail(dot)com>
Cc: "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: pgadmin Windows has no option to edit configuration files...
Date: 2018-01-11 21:49:13
Message-ID: CAKFQuwZ8gpWUvksORezDxz1q7EMsfDxYJKHCoqAM5cT0KZp7ow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Thu, Jan 11, 2018 at 2:35 PM, André Verwijs <dutchgigalo(at)gmail(dot)com>
wrote:

> pgadmin Windows has no option to edit configuration files
>
> "C:\Program Files\PostgreSQL 10\data\pg_hba.conf"
> "C:\Program Files\PostgreSQL 10\data\postgresql.conf"
>
> i don't recommend doing this by hand, is it possible to add this option?

​To my understanding pgAdmin is limited to communicating with PostgreSQL
via a session - there is no guarantee that the two programs are even on the
same machine. IOW, editing server boot configuration files seems outside
of pgAdmin's charter. Administration of the contents of databases it what
is targeted, not getting the server up and running in the first place.
Configuration management tools cover the later.

I suppose it could wrap a UI on top of "ALTER SYSTEM"...

As of now there is no SQL-means to edit pg_hba.conf

​You might need to accept that you are in the minority that those files
should not be hand edited - ALTER SYSTEM provides for specialized usage but
at the end of the day the desire for UI tools for those two (three: ident)
files is pretty limited (at least relative to the cost to develop one).

David J.

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Melvin Davidson 2018-01-11 22:20:07 Re: pgadmin Windows has no option to edit configuration files...
Previous Message André Verwijs 2018-01-11 21:35:48 pgadmin Windows has no option to edit configuration files...