Re: Postmaster.pid - what do the various lines stand for?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Paul Linehan <linehanp(at)tcd(dot)ie>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Postmaster.pid - what do the various lines stand for?
Date: 2015-05-05 04:37:51
Message-ID: 3408.1430800671@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Paul Linehan <linehanp(at)tcd(dot)ie> writes:
> Hi all, I have the file postmaster.pid - I would like to know
> what the lines mean? I did Google, but didn't find much.

This is defined in the source code in miscadmin.h:

http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/include/miscadmin.h;h=c38993973856b13513e050f45c176bdd4e67160a;hb=HEAD#l425

> I'm curious as to what this line
> /home/pol/Downloads/software/postgres/inst/./data
> means
> The PostgreSQL install is in /home/pol/Downloads/software/postgres/inst/, but
> what does the bit of the path inst/./data - I'm unclear as to what the . (dot)
> in the middle of that path means.

As David noted, "." is just a self-reference to the current directory ---
so it doesn't mean anything much. That tells us something about the
script you're using to start the postmaster, though; possibly it's
got an extra trailing slash on the PGDATA directory name.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Paul Linehan 2015-05-05 13:39:11 Re: Postmaster.pid - what do the various lines stand for?
Previous Message David G. Johnston 2015-05-05 02:09:54 Re: Postmaster.pid - what do the various lines stand for?