Re: postmaster, but not pg_ctl -i -i

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: aagha(at)bigfoot(dot)com, PostgreSQL General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: postmaster, but not pg_ctl -i -i
Date: 2002-11-14 21:47:36
Message-ID: 22334.1037310456@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Neil Conway <neilc(at)samurai(dot)com> writes:
> [ tangentially related ... ]

> Should we deprecate the switches to the postmaster that are just
> alternate ways to specify GUC options (e.g. '-i', '-F', '-B', '-N')?

I don't see a need for that. If people are using the switches, it's
because they find it more convenient to do it that way.

Here's an example of a slightly unusual use of the PM command-line
switches: I make a habit of running the postmaster with an explicit -p
(port) switch. This is because I usually have a bunch of postmasters
of different versions on my development machine:

$ ps -ef | grep postmaster
postgres 28784 1 0 Oct 1 ? 0:23 postmaster -p 5472
postgres 932 1 0 Sep 24 ? 0:00 /opt/postgres/bin/postmaster -p 5432
postgres 19376 1 0 14:48:01 ttyp4 0:00 postmaster -p 5473
postgres 15612 1 0 Oct 1 ? 0:00 postmaster -p 5471
postgres 11279 1 0 13:56:35 ttyp4 0:00 postmaster
$

It's easy for me to tell which is which in a "ps" listing. Without the
switch I'd have to find some other way to tell 'em apart.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message kimbuba 2002-11-14 23:30:59 Rdbms Case tool
Previous Message Neil Conway 2002-11-14 21:34:18 Re: postmaster, but not pg_ctl -i -i