Re: Call for objections: deprecate postmaster -o switch?

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: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Call for objections: deprecate postmaster -o switch?
Date: 2001-11-26 02:39:01
Message-ID: 200111260239.fAQ2d2o11128@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:
> >> (a) did the sort_mem setting "take"?
>
> > Sure did. I tried a sort value too low and it complained.
>
> Okay, so the original bug is fixed on your version of BSD. (Which
> is what, again?)

I just ran a test on postgresql.org. There is no SysV support so I
can't initdb, but I see:

$ postmaster -D x
postmaster does not find the database system.
Expected to find it in the PGDATA directory "x",
but unable to open file "x/global/pg_control": No such file or directory

$ postmaster -c sort-mem=30 -D x
postmaster does not find the database system.
Expected to find it in the PGDATA directory "x",
but unable to open file "x/global/pg_control": No such file or directory

$ postmaster --sort-mem=30 -D x
postmaster: invalid argument -- -D
Try 'postmaster --help' for more information.

Notice that the last attempt has the -D after a "--" options, rather
than after a "-c" options. Sure looks like FreeBSD doesn't have the
fix.

--
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 Joe Conway 2001-11-26 07:19:54 Re: bytea/ODBC/MSAccess issue
Previous Message Bruce Momjian 2001-11-26 02:32:32 Re: Call for objections: deprecate postmaster -o switch?