Re: Call for objections: deprecate postmaster -o switch? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Call for objections: deprecate postmaster -o switch?
Date
Msg-id 200111260239.fAQ2d2o11128@candle.pha.pa.us
Whole thread Raw
In response to Re: Call for objections: deprecate postmaster -o switch?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Bruce Momjian <pgman@candle.pha.pa.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@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Call for objections: deprecate postmaster -o switch?
Next
From: Joe Conway
Date:
Subject: Re: bytea/ODBC/MSAccess issue