[HACKERS] How to extract bytes from a bit/bit(n) Datum pointer?
В списке pgsql-hackers по дате отправления:
| От | valeriof |
|---|---|
| Тема | [HACKERS] How to extract bytes from a bit/bit(n) Datum pointer? |
| Дата | |
| Msg-id | 1484828601151-5939776.post@n3.nabble.com обсуждение исходный текст |
| Ответы |
Re: [HACKERS] How to extract bytes from a bit/bit(n) Datum pointer?
|
| Список | pgsql-hackers |
Hi, This may come from my lack of experience with Postgres, but I'm trying to extract the byte portion of a Datum that is of type VarBit - bit/bit(n). I see that the Datum pointer contains the value content of the bytes (after a few bytes for the header) but I would need to point to the actual value (plus also the number of bytes to be picked up). I currently have a similar issue with BYTEAOID columns. I have a Datum pointer but can't get the actual content. Thanks! Valerio -- View this message in context: http://postgresql.nabble.com/How-to-extract-bytes-from-a-bit-bit-n-Datum-pointer-tp5939776.html Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера