Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory
В списке pgsql-general по дате отправления:
| От | Ian Lance Taylor |
|---|---|
| Тема | Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory |
| Дата | |
| Msg-id | siae43kbc3.fsf@daffy.airs.com обсуждение исходный текст |
| Ответ на | Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory ("Denis A. Doroshenko" <d.doroshenko@omnitel.net>) |
| Ответы |
Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory
|
| Список | pgsql-general |
"Denis A. Doroshenko" <d.doroshenko@omnitel.net> writes: > i've tried to get partial write on disk shortage condition and had no > success. on OpenBSD, if there is no space write() seems to write the > whole buffer or fail with -1/errno. i used such proggie attached to > the and (owell, i'm not sure about forks, but it adds more > simultaneosity... huh?). BTW. i didn't see anywhere i looked whetjer > write on disk files can fail after writting some part of data. Try writing more bytes in a single call to write(). Like, 100000 bytes or something. You will only get a short return from write() if you write more than the disk block size. On modern file systems the disk block size can get fairly large. Ian
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера