Thread: default postgresql.conf

default postgresql.conf

From
Steve Clark
Date:
Hello List,

When an initdb is done where do the default postgresql.conf and pg_hba.conf come from? Are they
copied from some template file?


Thanks,
Steve

Re: default postgresql.conf

From
Guillaume Lelarge
Date:
Steve Clark a écrit :
> Hello List,
>
> When an initdb is done where do the default postgresql.conf and
> pg_hba.conf come from? Are they
> copied from some template file?
>

They are copied from the share subdirectory. For example, in Debian,
it's in:
  /usr/share/postgresql/<major version number>/postgresql.conf.sample

And initdb customize them.

Regards.


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com