Re: pgadmin Windows has no option to edit configuration files...
От | Dave Page |
---|---|
Тема | Re: pgadmin Windows has no option to edit configuration files... |
Дата | |
Msg-id | CA+OCxowWt0poC_K=NZXM5YHO5Jf9i5eujgnW3R1+KeO_1Kciog@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: pgadmin Windows has no option to edit configuration files... (Melvin Davidson <melvin6925@yahoo.com>) |
Список | pgadmin-support |
On Thu, Jan 11, 2018 at 10:20 PM, Melvin Davidson <melvin6925@yahoo.com> wrote:
PgAdminIII did/does have the facility to edit the postgresql.conf & pg_hba.conf.
However, as David G. Johnston pointed out, it was limited to editing _local_ versions
of those files.
No it wasn't. There were separate menu options for remote editing...
>i don't recommend doing this by hand, ...
That statement implies that you feel that using a GUI will protect you from making
errors. That is untrue. If you use a GUI to change the authentication method in the
pg_hba.conf (not to mention other critical parameters), you could easily lock out
many users upon reloading/restart. Likewise, the same applies for changing values
in postgresql.conf. Simply having an easy way to change values does not mean you willbe protected from setting them too high(or wrong). EG: setting work_mem to 1GB will bevery bad.It is better to learn and understand WHY you need to change values, than just having
an easy way to do so.
...but you are otherwise correct - it was potentially dangerous and you could easily break a system doing it. It was also quite fragile, as it required the adminpack package which it used to completely re-write the config files, which had to be manually parsed and re-generated in order to (attempt) to keep any comments etc.
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
В списке pgadmin-support по дате отправления: