Re: Strange issue with initdb on 8.0 and Solaris automounts
В списке pgsql-hackers по дате отправления:
| От | Andrew Dunstan |
|---|---|
| Тема | Re: Strange issue with initdb on 8.0 and Solaris automounts |
| Дата | |
| Msg-id | 41F98729.2050606@dunslane.net обсуждение |
| Ответ на | Re: Strange issue with initdb on 8.0 and Solaris automounts (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Strange issue with initdb on 8.0 and Solaris automounts
|
| Список | pgsql-hackers |
Tom Lane wrote: >>I don't know why the command 'mkdir' doesn't exhibit the >>same problem as the function 'mkdir', but running: >> >> > > > >> mkdir /software/postgresql-8.0.0 >> >> > > > >>produces the correct error "File exists" on my system. >> >> > >Could you truss that and see what it does? It would be a simple change >in initdb to make it stat before mkdir instead of after, but I'm not >totally convinced that would fix the problem. If mkdir returns a funny >error code then stat might as well ... > > > > There's also a tiny race condition, which I guess isn't worth worrying about. Returning ENOSYS is pretty bogus ... cheers andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера