| От | Tom Lane |
|---|---|
| Тема | Re: Parsing config files in a directory |
| Дата | |
| Msg-id | 1997.1256484037@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Parsing config files in a directory (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
Re: Parsing config files in a directory
|
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> As a file point, I would prefer something like
> include 'whatever/*.conf'
> that is, listing the files as a glob pattern instead of naming a
> directory.
+1, but *only* if it does not lead to us having to write our own
version of glob(). It's not worth that much work, compared to just
allowing a directory name and hard-wiring the "*.conf" rule.
Some poking around suggests that glob(3) is reasonably portable
across Unixen, but is it provided on Windows?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера