Re: -O switch - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: -O switch
Date
Msg-id CABUevEyXH=6fhxrUPCtkr3zGQGtrVq+bvUtCmNaKDOhpeU_FrA@mail.gmail.com
Whole thread Raw
In response to Re: -O switch  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: -O switch  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, Oct 29, 2020 at 4:45 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Magnus Hagander <magnus@hagander.net> writes:
> > postgres --help:
> >   -o OPTIONS         pass "OPTIONS" to each server process (obsolete)
>
> > This was marked obsolete in 2006 (86c23a6eb28).
>
> I don't think it's really obsolete ... don't we use that to pass
> PGOPTIONS through from the client?

Then it probably shouldn't be labeled as obsolete :)

That said, I don't think we do, or I'm misunderstanding what you mean.
The startup packet which holds the client options is not read until
we're already in the child process, so there is no further exec to be
done?

-- 
 Magnus Hagander
 Me: https://www.hagander.net/
 Work: https://www.redpill-linpro.com/



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: -O switch
Next
From: Stephen Frost
Date:
Subject: Re: Autovacuum worker doesn't immediately exit on postmaster death