Forum OpenACS Q&A: ACS Objects - Creating functions (New - Delete) - Error (exceed number of arguments)

I am attepmting to create ACS Objects in my project.  The problem that I am running into is that I created a function that adds a new item, but the number of arguments appears to exceed the maximum allowed of 16.  Am I doing something wrong or is there a reason why it is capped at 16 arguments?  Is there a way of getting around this?  Is this not a common issue?
Unfortunately, Postgres 7.2.x only accept 16 arguments.

There are a couple of ways around this.

1) You can recompile Postgres 7.2, and specify that you want to allow 32 arguments. It's possible, and not too hard.

2) You can install Postgres 7.3.x, which is supposed to work okay for OpenACS. Downside: if you already have an installation, it's hard to upgrade at this point. Someone's working on this.

3) You can create __new functions that accept 16 arguments, and then after you create the row in the table, immediately follow it with an UPDATE statement, which adds in the rest of the information. Put these inside a

db_transaction {

}

statement

Search the forums. This has been asked a couple of times. 😊

Jade, sorry for the wasting your time;  I should have did a search prior to posting.

Thank you nonetheless.