Re: Making oidvector and int2vector variable-length - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Making oidvector and int2vector variable-length
Date
Msg-id 20050327194239.GB14232@dcc.uchile.cl
Whole thread Raw
In response to Making oidvector and int2vector variable-length  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Making oidvector and int2vector variable-length  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sun, Mar 27, 2005 at 12:44:41PM -0500, Tom Lane wrote:
> I've been toying with the idea of converting the oidvector and
> int2vector datatypes from fixed-width arrays to variable-length;
> that is, stick a varlena length word on the front and store only
> pronargs or indnatts entries instead of a fixed number.

This mean that it would be possible to set FUNC_MAX_ARGS much higher
without performance loss, right?  That alone sounds like a big win to
me.

-- 
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"Linux transformó mi computadora, de una `máquina para hacer cosas',
en un aparato realmente entretenido, sobre el cual cada día aprendo
algo nuevo" (Jaime Salinas)


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: _RollbackFunc : dead code?
Next
From: Josh Berkus
Date:
Subject: Re: Bug 1500