pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Vikas Sharma <shavikas@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-general@postgresql.org
Subject: Re: Multiple postmasters running from same directory
Date: Tue, 13 Feb 2018 14:02:33 -0500
Message-ID: <30405.1518548553@sss.pgh.pa.us> (raw)
In-Reply-To: <CAN6gwKx+bo1ZBT2wch4CKpC4qjtZDZi+SPEMV394WpvkQhxEBQ@mail.gmail.com>
References: <CAN6gwKzz8XLQwvs117eXAOWmYxXEOZqdqv-zCaVLTWyyTZMiTQ@mail.gmail.com>
	<1518529333.2525.25.camel@cybertec.at>
	<6540.1518537032@sss.pgh.pa.us>
	<CAN6gwKx+bo1ZBT2wch4CKpC4qjtZDZi+SPEMV394WpvkQhxEBQ@mail.gmail.com>

Vikas Sharma <shavikas@gmail.com> writes:
> So is it normal for postgres to fork out new postmaster processes from the
> same data directory? I haven't seen this earlier.

They're not postmasters, they're child processes, as you can easily tell
from the PID/PPID columns of your ps output.  But a process inherits its
title from the parent at fork(), and per this discussion, they haven't
changed it yet.

			regards, tom lane




view thread (7+ messages)

Message-ID: <30405.1518548553@sss.pgh.pa.us>
Permalink:  ../30405.1518548553@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/30405.1518548553@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, shavikas@gmail.com, laurenz.albe@cybertec.at
  Subject: Re: Multiple postmasters running from same directory
  In-Reply-To: <30405.1518548553@sss.pgh.pa.us>
  References: <CAN6gwKzz8XLQwvs117eXAOWmYxXEOZqdqv-zCaVLTWyyTZMiTQ@mail.gmail.com> <1518529333.2525.25.camel@cybertec.at> <6540.1518537032@sss.pgh.pa.us> <CAN6gwKx+bo1ZBT2wch4CKpC4qjtZDZi+SPEMV394WpvkQhxEBQ@mail.gmail.com> <30405.1518548553@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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