pg_ctl -t N register ??

Started by Alvaro Herreraover 18 years ago4 messageshackers
Jump to latest
#1Alvaro Herrera
alvherre@2ndquadrant.com

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)

#2Bruce Momjian
bruce@momjian.us
In reply to: Alvaro Herrera (#1)
Re: pg_ctl -t N register ??

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. +

#3Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Bruce Momjian (#2)
Re: pg_ctl -t N register ??

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)

#4Bruce Momjian
bruce@momjian.us
In reply to: Alvaro Herrera (#3)
Re: [HACKERS] pg_ctl -t N register ??

Alvaro Herrera wrote:

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.

Yes, the bug was "a" and I am responsible. I didn't realize pg_ctl
register stores all its arguments. Patch attached and applied. The
SGML documentation is now accurate.

--
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. +

Attachments:

/rtmp/difftext/x-diffDownload+10-5