Re: SQL/MED - core functionality - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SQL/MED - core functionality
Date
Msg-id 15086.1290706216@sss.pgh.pa.us
Whole thread Raw
In response to Re: SQL/MED - core functionality  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: SQL/MED - core functionality
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [JDBC] JDBC and Binary protocol error, for some statements
Next
From: Tom Lane
Date:
Subject: Re: Regression Tests (opr) Sanity