Functions with more than 32 parameters

From: "Oisin Glynn" <me(at)oisinglynn(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Functions with more than 32 parameters
Date: 2005-02-10 03:11:19
Message-ID: 001c01c50f1e$31f12550$0300a8c0@bowdoin
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I am trying to keep database access encapsulated in functions from an insert
and update point of view so as all of the applications writing to the
database are using the same functions/statements.

My problem is I was creating functions to do inserts/updates and now I have
a table with more than 32 columns and the functions seem to only want to
have 32 parameters?

Is there any way around this?

I have used stored procedures in this way with Oracle/SQL server before.Or
is there another strategy I could use?

I am using Windows 2000 Postgres 8.0.1 if it makes a difference

Thanks in advance,
Oisin

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ed L. 2005-02-10 03:19:05 Re: Understanding EXPLAIN ANALYZE output
Previous Message Ed L. 2005-02-10 03:07:03 Re: Understanding EXPLAIN ANALYZE output