Dissecting Tuples in C
| От | Clay Luther |
|---|---|
| Тема | Dissecting Tuples in C |
| Дата | |
| Msg-id | 1056660353.22881.28.camel@gkar обсуждение исходный текст |
| Ответы |
Re: Dissecting Tuples in C
|
| Список | pgsql-interfaces |
I am trying to get up to speed writing C triggers and I have a question about the relation between HeapTuples and othertuple-related types, like TupleTableSlots, and the routines and macros used to manipulate them. I am reading and re-readingthe online docs, but still have some broad questions.<br /><br /> For example, suppose I just wanted a triggerto iterate through the HeapTuple pointed at by the tirgger data tg_trigtuple, printing out the column names, types,and values (lets say, only ints and strings for simplicity). How would I do this?<br /><br /> A pointer to a good documentwould be just as good as a detailed answer.<br /><br /> Thanks!<br /><br /><table cellpadding="0" cellspacing="0"width="100%"><tr><td><pre>-- Clay claycle@cisco.com</pre></td></tr></table>
В списке pgsql-interfaces по дате отправления: