Обсуждение: [GENERAL] Postgresql.conf not found

Поиск
Список
Период
Сортировка

[GENERAL] Postgresql.conf not found

От
Neto pr
Дата:

Hello All

I was trying to install postgresql by this tutorial http://powa.readthedocs.io/en/latest/quickstart.html to use the tool for bd Powa.

I am use S.O. debian 8 Jessie.

I ran: apt-get install postgresql-9.6 postgresql-client-9.6 postgresql-contrib-9.6 apt-get install postgresql-9.6-powa

So far so good, the DBMS has gone up and I can create tables etc.

But I'm not finding where the postgresql.conf file is. I tried searching using locate postgresql.conf, but can not find, I suspect it was not created. I need to add some libraries in the parameter: shared_preload_libraries

Has anyone installed postgresql in this way, and could it tell you where the postgresql.conf file might be, or another one to configure the shared_preload_libraries parameter?

Best Regards Neto

Re: [GENERAL] Postgresql.conf not found

От
Stefan Fercot
Дата:

Hi,

You can find the file locations on https://wiki.debian.org/PostgreSql#File_locations

You should find the configuration in /etc/postgresql/9.6/main.

Kind regards,

On 11/03/2017 12:51 PM, Neto pr wrote:

Hello All

I was trying to install postgresql by this tutorial http://powa.readthedocs.io/en/latest/quickstart.html to use the tool for bd Powa.

I am use S.O. debian 8 Jessie.

I ran: apt-get install postgresql-9.6 postgresql-client-9.6 postgresql-contrib-9.6 apt-get install postgresql-9.6-powa

So far so good, the DBMS has gone up and I can create tables etc.

But I'm not finding where the postgresql.conf file is. I tried searching using locate postgresql.conf, but can not find, I suspect it was not created. I need to add some libraries in the parameter: shared_preload_libraries

Has anyone installed postgresql in this way, and could it tell you where the postgresql.conf file might be, or another one to configure the shared_preload_libraries parameter?

Best Regards Neto


-- 
Stefan FERCOT
http://dalibo.com - http://dalibo.org
Вложения

Re: [GENERAL] Postgresql.conf not found

От
Andreas Kretschmer
Дата:
Hi,


Am 03.11.2017 um 12:51 schrieb Neto pr:
> But I'm not finding where the postgresql.conf file is.


you can ask the database, inside psql:

test=# show config_file;               config_file
----------------------------------------- /etc/postgresql/10/main/postgresql.conf
(1 Zeile)

test=*#

Regards, Andreas

-- 
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com



-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general