Unix Technical Forum

Re: Making oidvector and int2vector variable-length

This is a discussion on Re: Making oidvector and int2vector variable-length within the pgsql Hackers forums, part of the PostgreSQL category; --> Alvaro, Tom, > > Very likely we could kick it up to 100 or so without feeling any pain; ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 04:15 AM
Josh Berkus
 
Posts: n/a
Default Re: Making oidvector and int2vector variable-length

Alvaro, Tom,

> > Very likely we could kick it up to 100 or so without feeling any pain;
> > how high were you thinking?

>
> I used to see people asking to raise it to 64 or so. Â*Not sure if it
> would be useful to go higher than that ... much less now that we have
> full-fledged support for row types.


Actually, I'm right now working on a function with 88 parameters, which have
to be passed through a temp table in 7.4. I've seen Oracle PL/SQL
procedures with 140 parameters. While it's possible to work around this
using row types, it's cumbersome, and extremely painful if you're porting an
application.

So if we can make this variable-length, I'd say set the limit at 400 to avoid
TOASTing, but otherwise allow users as many parameters as they want.

--
Josh Berkus
Aglio Database Solutions
San Francisco

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:21 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com