| От | Alvaro Herrera |
|---|---|
| Тема | Re: Computer VARSIZE_ANY(PTR) during debugging |
| Дата | |
| Msg-id | 20130627190227.GK3757@eldon.alvh.no-ip.org обсуждение |
| Ответ на | Re: Computer VARSIZE_ANY(PTR) during debugging (Amit Langote <amitlangote09@gmail.com>) |
| Ответы |
Re: Computer VARSIZE_ANY(PTR) during debugging
|
| Список | pgsql-hackers |
Amit Langote escribió: > Looking at the attlen == -1 value in tupDescriptor of the > ResultTupleSlot, VARSIZE_ANY() is used to calculate the length and > added to offset, but I find no way to calculate that while I am > dubugging. I guess you could just add a few "macro define" lines to your .gdbinit, containing definitions equivalent to those in postgres.h. Haven't tried this for the varlena macros, though I do have a couple of others in there and they ease work at times. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера