Re: convert binary string to datum

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: convert binary string to datum
Дата
Msg-id 87y7e6u9co.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: convert binary string to datum  (Ron Peterson <ron.peterson@yellowbank.com>)
Список pgsql-general
"Ron Peterson" <ron.peterson@yellowbank.com> writes:

> Am I making this way too complicated?  Do I only have to return a C
> string representation of three bytea values as a tuple?

No, if you want to define a composite type and return it then you're on the
right track to be using heap_form_tuple. And using a composite type is
probably the right approach. Other utilities like pageinspect do use composite
types for things like this.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

В списке pgsql-general по дате отправления:

Предыдущее
От: Ron Peterson
Дата:
Сообщение: Re: convert binary string to datum
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: convert binary string to datum