| От | Tom Lane |
|---|---|
| Тема | Re: Re: COPY BINARY file format proposal |
| Дата | |
| Msg-id | 8159.976683382@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Re: COPY BINARY file format proposal (ncm@zembu.com (Nathan Myers)) |
| Список | pgsql-hackers |
ncm@zembu.com (Nathan Myers) writes:
> I don't know if you get the point of the fixed-size comment field.
> The idea was that a comment could be poked into an existing COPY
> image, after it was written.
Yes, I did get the point ...
> A variable-size comment field in an
> already-written image might leave no space to poke in anything. A
> variable-size comment field with a required minimum size would
> satisfy both needs, at some cost in complexity.
This strikes me as a perfect argument for a variable-size field.
If you want to leave N bytes for a future poked-in comment, you do that.
If you don't, then not. Leaving 128 bytes (or any other frozen-by-the-
file-format number) is guaranteed to satisfy nobody.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера