Search Postgresql Archives

Re: Shared disk storage

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

 



Bruno Wolff III <bruno@xxxxxxxx> writes:
>   Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
>> Well, if you know any vendors who move postmaster.pid out of the PGDATA
>> directory, let us know so we can knock some sense into their heads.

> I thought Fedora did, but there are actually two files, one in /var/run
> and another in /var/lib/pgsql/data .

Right, we put in the "external_pid_file" option to satisfy people who
wanted something under /var/run ... but Postgres itself makes no use
of that file, we just write it out during postmaster start.  The
postmaster.pid file, on the other hand, is a critical safety interlock
to keep two postmasters from starting in the same data directory.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

[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