Re: more than 32 parameters to a function?

From: Volkan YAZICI <yazicivo(at)ttnet(dot)net(dot)tr>
To: Ottavio Campana <ottavio(at)campana(dot)vi(dot)it>
Cc: Erik Jones <erik(at)myemma(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: more than 32 parameters to a function?
Date: 2006-10-26 18:08:08
Message-ID: 20061026180808.GE1377@alamut
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Oct 26 10:55, Ottavio Campana wrote:
> Erik Jones wrote:
> > Put them in arrays and pass them as the arguments. But, I would like to
> > know what function could ever need 65 arguments?
>
> Consider that I have to invoke the function from a ZSQL method in zope.
> Do you know if it works?
>
> I need all these arguments because we have a tables where we store items
> for an e-commerce site. The problem is that these items might have a
> lot of peculiarities and more than 40 fields are boolean to fully
> describe them.

I don't have a clue about the ZSQL issue, but it can be a solution to OR
those booleans, with some bitwise logic.

Regards.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vivek Khera 2006-10-26 18:11:04 Re: Monitoring Postgres - Get the SQL queries which are sent to postgres
Previous Message Ottavio Campana 2006-10-26 17:55:25 Re: more than 32 parameters to a function?