Skip site navigation (1) Skip section navigation (2)

Re: Thoughts on the location of configuration files

From: Thomas Swan <tswan-lst(at)ics(dot)olemiss(dot)edu>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: "'Bruce Momjian'" <pgman(at)candle(dot)pha(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Thoughts on the location of configuration files
Date: 2001-12-19 10:29:05
Message-ID: 3C206BF1.2070202@ics.olemiss.edu (view raw or flat)
Thread:
Lists: pgsql-hackers
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
Dave Page wrote:<br>
<br>
*snip*<br>
<blockquote type="cite" cite="mid:FED2B709E3270E4B903EB0175A49BCB1047390(at)dogbert(dot)vale-housing(dot)co(dot)uk">
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">In keeping with some of the more modern daemons (xinetd,etc) you might want to consider something like /etc/pgsql.d/ as a directory name.   Where as most folders with a .d contain a set of files or a <br>referenced by the main config file in /etc.  This is on a RedHat system, but I <br>think the logic applies well if you are flexible the location of the base system config directory.   (/usr/local/etc vs /etc, etc.)<br></pre>
      </blockquote>
      <pre wrap="">I often wondered, if it is directory, why do they need the <br>'.d' in the name?  What possible purpose could it have except <br>to look ugly?  :-)<br></pre>
      </blockquote>
      <pre wrap=""><!----><br>Isn't this a RedHat thing anyway? Precisely why I use Slackware...</pre>
      </blockquote>
Perhaps... I just thought I'd mention it as an observation. &nbsp; Regardless,
being able to locate the config outside of the database directory is a Good
Thing (tm). &nbsp;I'm really in favor of the /etc/postgresql.conf and support
files being put in /etc/pgsql/ or some other system config dir,--with-sysconfdir={something}
as specified at compile time...<br>
      <blockquote>@sysconfdir@ = /etc ...<br>
postgresql.conf in @sysconfdir@ <br>
support files in @sysconfdir@/pgsql or someother place specified in postgresql.conf<br>
        <br>
        </blockquote>
        </body>
        </html>



Attachment: unknown_filename
Description: text/html (1.7 KB)

In response to

pgsql-hackers by date

Next:From: Zeugswetter Andreas SB SDDate: 2001-12-19 10:38:28
Subject: Re: 7.2 is slow?
Previous:From: Zeugswetter Andreas SB SDDate: 2001-12-19 09:52:44
Subject: Re: Thoughts on the location of configuration files, how about this:

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group