pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #13481: No config folder upon installation
3+ messages / 3 participants
[nested] [flat]

* BUG #13481: No config folder upon installation
@ 2015-07-03 01:54  bailuding@gmail.com
  0 siblings, 1 reply; 3+ messages in thread

From: bailuding@gmail.com @ 2015-07-03 01:54 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      13481
Logged by:          Bailu Ding
Email address:      bailuding@gmail.com
PostgreSQL version: 9.5alpha1
Operating system:   Ubuntu 14.04
Description:        

I compiled the source code following the instructions in the INSTALL file.
After the installation, the directory sysconfdir was not created. I tried
both using the default configuration (where the sysconfdir should be
/usr/local/pgsql/etc/) and specifying the sysconfdir variable explicitly. 

I am able to run the database and to run queries successfully. But where
should I look for the config files?

Best,
Bailu


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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #13481: No config folder upon installation
@ 2015-07-03 13:55  Tom Lane <tgl@sss.pgh.pa.us>
  parent: bailuding@gmail.com
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2015-07-03 13:55 UTC (permalink / raw)
  To: bailuding@gmail.com; +Cc: pgsql-bugs

bailuding@gmail.com writes:
> I compiled the source code following the instructions in the INSTALL file.
> After the installation, the directory sysconfdir was not created. I tried
> both using the default configuration (where the sysconfdir should be
> /usr/local/pgsql/etc/) and specifying the sysconfdir variable explicitly. 

I don't believe we either try to create that directory or try to put
anything in it during "make install".  Anything you might want to put
there would need to be hand-created anyway.  (Note that the only thing
that goes there is system-wide client configuration files, which few
installations need.  Server configuration files live in the cluster data
directory by default.)

			regards, tom lane


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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #13481: No config folder upon installation
@ 2015-07-03 20:57  Bailu Ding <bailuding@gmail.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Bailu Ding @ 2015-07-03 20:57 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-bugs

Hi Tom,

Thanks for the reply!

I have found the configuration files (*.conf) located in the data directory
(the directory specified by -D option when initializing the database).

Is that the right place for the configuration files? Or do I need to create
the sysconfdir folder (PREFIX/etc) and move the configuration files there?
Or is the sysconfdir folder is only for the system-wise client
configuration files?


On Fri, Jul 3, 2015 at 6:55 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> bailuding@gmail.com writes:
> > I compiled the source code following the instructions in the INSTALL
> file.
> > After the installation, the directory sysconfdir was not created. I tried
> > both using the default configuration (where the sysconfdir should be
> > /usr/local/pgsql/etc/) and specifying the sysconfdir variable explicitly.
>
> I don't believe we either try to create that directory or try to put
> anything in it during "make install".  Anything you might want to put
> there would need to be hand-created anyway.  (Note that the only thing
> that goes there is system-wide client configuration files, which few
> installations need.  Server configuration files live in the cluster data
> directory by default.)
>
>                         regards, tom lane
>



-- 
Best,
Bailu

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2015-07-03 20:57 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-07-03 01:54 BUG #13481: No config folder upon installation bailuding@gmail.com
2015-07-03 13:55 ` Tom Lane <tgl@sss.pgh.pa.us>
2015-07-03 20:57   ` Bailu Ding <bailuding@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox