| От | Martijn van Oosterhout |
|---|---|
| Тема | Re: manipulating HeapTuples in a libpq client |
| Дата | |
| Msg-id | 20071124104440.GA3686@svana.org обсуждение |
| Ответ на | manipulating HeapTuples in a libpq client (Eric Davies <eric@barrodale.com>) |
| Список | pgsql-general |
On Fri, Nov 23, 2007 at 04:51:53PM -0800, Eric Davies wrote: > I've got a server function that returns a set of HeapTuples. The > server function is invoked in a query sent by a libpq client.However, > I haven't spotted a way to decompose the HeapTuple returned to the > client. Attempts to call GetAttributeByNum on the client result in the > linker complaining about an undefined reference. I'm not entirely sure if this is even supposed to work. Certainly prior to the transmission to the client the tuple will be converted to text, so you'll have to parse the result. The question for me is why are you returning heaptuples and not just a resultset which you can access via the normal functions. There are no client side functions to deal with heaptuples. Have a nice day, -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > Those who make peaceful revolution impossible will make violent revolution inevitable. > -- John F Kennedy
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера