Re: Glitch in handling of postmaster -o options

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Justin Clift <justin(at)postgresql(dot)org>, Marko Kreen <marko(at)l-t(dot)ee>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Glitch in handling of postmaster -o options
Date: 2001-10-12 05:33:50
Message-ID: 200110120533.f9C5XoI20123@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Would someone give me a status on this?
>
> I don't think we need any code changes. If we decide to deprecate -o
> (or anything else), it's just a documentation change. So we can argue
> about it during beta ...
>
> >> If we notify of the impending deprecation now, to actually occur in 7.3,
> >> would we be best intoducing alternative option names somewhere in the
> >> 7.2 beta cycle so people writing scripts for 7.2 can use the new names
> >> and know their scripts will work into the future?
>
> The alternative option names already exist, in the form of GUC
> variables. For example, "--sort-mem=NNN" could replace -S NNN.

OK, the long options already exist and people can use those in 7.2
without the -o, right?

Do you have to have long option support in your OS to use them? Do we
want to have options that _don't_ have single-letter versions?
Certainly we can't have single-letter versions of all the GUC options
but do we remove ones that were already there? I guess we could.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2001-10-12 05:37:52 Re: EXTRACT broken
Previous Message Bruce Momjian 2001-10-12 05:17:14 Re: Glitch in handling of postmaster -o options