Продукты
О компании
Кейсы
Ресурсы
Мероприятия
Образование
...
EN
Протестировать
Главная
Рассылки
Архив списка рассылки [pgsql-hackers]
Re: Command line argument for Server
Поиск
Список
Период
Сортировка
Искать
Re: Command line argument for Server
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
24 марта 2014 г. в 13:41:41
Command line argument for Server
От:
Swapnil Bhoite <swapnil.temp28@gmail.com>
Дата:
24 марта 2014 г. в 13:08:43
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
Ответы на вопросы