Re: [HACKERS] Command line argument for Server

2014-03-24 Thread Tom Lane
Swapnil Bhoite writes: > 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 ques

[HACKERS] Command line argument for Server

2014-03-24 Thread Swapnil Bhoite
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 co