Search Postgresql Archives

Re: basic questions: Postgres with yum on CentOS 5.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greg Smith <gsmith@xxxxxxxxxxxxx> writes:
> On Tue, 1 Jan 2008, Chuck wrote:
>> Since I have a packaged installation, I don't believe that I will call 
>> initdb directly.

> There is actually another command I don't think you've noticed yet:

> service postgresql initdb

Actually, that was only added in very recent versions of the postgresql
init script.  Before about 8.2, the first 'service postgresql start'
would automatically run initdb.  We split it out because of the (small)
risk of doing the wrong thing ...

In any case, I concur with the suggestion that you should use the init
script rather than invoking initdb directly.  In most package setups
that's much more likely to get the details right.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux