Обсуждение: pg_ctl -t N register ??

Поиск
Список
Период
Сортировка

pg_ctl -t N register ??

От
Alvaro Herrera
Дата:
Hi,

I just noticed that the "pg_ctl register" synopsis was updated to have a
-t parameter.  This does not seem to make sense to me.  Is it correct?
Does it do anything?

My thinking is that we should just remove the -t from that synopsis.

-- 
Alvaro Herrera                          Developer, http://www.PostgreSQL.org/
"Tiene valor aquel que admite que es un cobarde" (Fernandel)


Re: pg_ctl -t N register ??

От
Bruce Momjian
Дата:
Alvaro Herrera wrote:
> Hi,
> 
> I just noticed that the "pg_ctl register" synopsis was updated to have a
> -t parameter.  This does not seem to make sense to me.  Is it correct?
> Does it do anything?
> 
> My thinking is that we should just remove the -t from that synopsis.

Well, Peter added it, but register already had the -w parameter, so
either register needs both -t and -w, or it needs neither of them.  I
don't know which is true.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://postgres.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


Re: pg_ctl -t N register ??

От
Alvaro Herrera
Дата:
Bruce Momjian wrote:
> Alvaro Herrera wrote:
> > Hi,
> > 
> > I just noticed that the "pg_ctl register" synopsis was updated to have a
> > -t parameter.  This does not seem to make sense to me.  Is it correct?
> > Does it do anything?
> > 
> > My thinking is that we should just remove the -t from that synopsis.
> 
> Well, Peter added it, but register already had the -w parameter, so
> either register needs both -t and -w, or it needs neither of them.  I
> don't know which is true.

Humm, in pgwin32_CommandLine I don't see any reference to -t but -w is
there.  So either

a) the bug is that somebody forgot to add -t to pgwin32_CommandLine
b) the bug is that -t was added to the synopsis, or
c) I'm full of it because of an untold reason.

-- 
Alvaro Herrera                  http://www.amazon.com/gp/registry/5ZYLFMCVHXC
"En las profundidades de nuestro inconsciente hay una obsesiva necesidad
de un universo lógico y coherente. Pero el universo real se halla siempre
un paso más allá de la lógica" (Irulan)