[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

[HACKERS] Global flag

2014-03-24 Thread Swapnil Bhoite
Hi, I want to set a *global flag* with which I can decide whether to use my code or not in modified source code. How I can do that? Thank you -Swapnil