Re: [HACKERS] pg_ctl -t N register ??

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] pg_ctl -t N register ??
Date: 2007-11-20 19:24:13
Message-ID: 200711201924.lAKJODi19619@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachment Content-Type Size
/rtmp/diff text/x-diff 2.3 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-11-20 19:25:32 Re: Simplifying Text Search
Previous Message Simon Riggs 2007-11-20 17:11:53 Re: backup_label and server start

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-11-21 01:38:48 Re: Fix pg_dump dependency on postgres.h
Previous Message Andrew Dunstan 2007-11-20 02:31:06 Re: [HACKERS] fulltext parser strange behave