| От | Bruce Momjian |
|---|---|
| Тема | Re: [HACKERS] wishlist: PQfsize |
| Дата | |
| Msg-id | 199802151754.MAA25400@candle.pha.pa.us обсуждение |
| Ответ на | wishlist: PQfsize (Edmund Mergl <E.Mergl@bawue.de>) |
| Список | pgsql-hackers |
> > Hi all, > > I would like to add the following item to the > wishlist: > > currently the libpq-function PQfsize returns the > size in bytes of the field with the given field- > index. If the field is a variable-length field, > PQfsize returns -1. > > In general as well as for some internal functionality > of the perl interface it would be useful, if PQfsize > would return the number of bytes even for variable- > length fields. We have a new atttypmod field that holds the length for the column as defined at table-creation time for char() and varchar(). Is that the number you want? -- Bruce Momjian maillist@candle.pha.pa.us
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера