Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM init

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, Joe Conway <mail(at)joeconway(dot)com>, pgsqlrpms-hackers(at)pgfoundry(dot)org, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM init
Date: 2006-08-27 03:13:16
Message-ID: 20060827031316.GE30132@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan wrote:
>
> Alvaro Herrera wrote:

> >This is trivial to do --- just add a /etc/<some_dir>/postgresql file
> >that contains a line like
> >
> >AUTO_INITDB=0
> >
> >to turn the auto-initdb'ing feature of the init script off. If the file
> >is not present or AUTO_INITDB is not defined to zero in that file, then
> >the code behaves as today. I don't recall what the configuration
> >directory is called in Redhat systems, but there is one in there (in
> >Debian it's /etc/default).
>
> I don't see anything like this in my FC5 box's init script.

Obviously I was thinking in something else when I wrote that, because
what I wanted to say but failed, was that I suggested that the RPM
hackers could *add* such a thing to the initscript -- not that it
already existed :-)

Hum, I must be still thinking in something else because I'm failing to
write the above paragraph in a coherent manner (rewrote it twice
already). I hope you understand it anyway :-)

> Oh, and the place you put stuff like that on RH/FC systems is /etc/sysconfig

Yeah, that one :-)

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jonah H. Harris 2006-08-27 03:31:07 Re: Adding fulldisjunctions to the contrib
Previous Message Andrew Dunstan 2006-08-27 03:06:24 Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM init