Command line argument for Server - Mailing list pgsql-hackers

From Swapnil Bhoite
Subject Command line argument for Server
Date
Msg-id CAEofXZ4Tok-A4B6QBW8DDVZ6qA=nDUfy2USEK8UC7NEiqk501A@mail.gmail.com
Whole thread Raw
Responses Re: Command line argument for Server  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

I want to set or reset a global flag.
1) What currently I'm thinking is, I'll declare that global flag in postgres.h
2) I'll set that depending on my custom flag given at server startup
3) I encountered function getopt but I couldn't understand it

So my question is how should I process command line argument for server?
Or is there any another way to do so using postgresql.conf?

Thank you,
Swapnil

pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Patch for CREATE RULE sgml -- Was in: [DOCS]
Next
From: Michael Glaze
Date:
Subject: New Vacancy for Permanent C# Developer in Kentish Town : ref:VAC-973549