Re: SQL/MED - core functionality

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SQL/MED - core functionality
Дата
Msg-id 15086.1290706216@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SQL/MED - core functionality  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: SQL/MED - core functionality  (Shigeru HANADA <hanada@metrosystems.co.jp>)
Список pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> On 25.11.2010 18:28, Tom Lane wrote:
>> Or just specify a format for the extra information.  Perhaps it could be
>> thought of as being a value of type bytea?  Obviously we can't just have
>> a fixed amount of info, but maybe a blob with a length word is enough.

> That seems quite awkward to work with. Let's at least make it a Node *, 
> so that you can store a Value or List there, or anything else that 
> already has copyObject support.

Yeah, that works.  A struct could be emulated by using a List with a
known order of elements.  If someone did need a binary blob, they could
represent it as a Const of type bytea.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [JDBC] JDBC and Binary protocol error, for some statements
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Regression Tests (opr) Sanity