Re: pg_read_file() with virtual files returns empty string
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: pg_read_file() with virtual files returns empty string |
| Дата | |
| Msg-id | 811823.1593642171@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: pg_read_file() with virtual files returns empty string (Joe Conway <mail@joeconway.com>) |
| Ответы |
Re: pg_read_file() with virtual files returns empty string
|
| Список | pgsql-hackers |
Joe Conway <mail@joeconway.com> writes:
> The only downside is that the max filesize is reduced to (MaxAllocSize -
> MIN_READ_SIZE - 1) compared to MaxAllocSize with the old method.
Hm, I was expecting that the last successful iteration of
enlargeStringInfo would increase the buffer size to MaxAllocSize,
so that we'd really only be losing one byte (which we can't avoid
if we use stringinfo). But you're right that it's most likely moot
since later manipulations of such a result would risk hitting overflows.
I marked the CF entry as RFC.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера