Command line argument for Server

Поиск
Список
Период
Сортировка
От Swapnil Bhoite
Тема Command line argument for Server
Дата
Msg-id CAEofXZ4Tok-A4B6QBW8DDVZ6qA=nDUfy2USEK8UC7NEiqk501A@mail.gmail.com
обсуждение исходный текст
Ответы Re: Command line argument for Server  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Patch for CREATE RULE sgml -- Was in: [DOCS]
Следующее
От: Michael Glaze
Дата:
Сообщение: New Vacancy for Permanent C# Developer in Kentish Town : ref:VAC-973549