Re: [GENERAL] creating functions with variable argument lists

2006-12-14 Thread Marc Evans
On Fri, 8 Dec 2006, Tom Lane wrote: Marc Evans <[EMAIL PROTECTED]> writes: I am trying to make use of table partitions. In doing so I would like to use a rule to call a functioning which inserts the data into the proper partition. Basically, you're guaranteeing yourself large amounts of pain

Re: [GENERAL] creating functions with variable argument lists

2006-12-08 Thread Tom Lane
Marc Evans <[EMAIL PROTECTED]> writes: > I am trying to make use of table partitions. In doing so I would like to > use a rule to call a functioning which inserts the data into the proper > partition. Basically, you're guaranteeing yourself large amounts of pain by insisting on using a rule for

[GENERAL] creating functions with variable argument lists

2006-12-08 Thread Marc Evans
Hi - I am trying to make use of table partitions. In doing so I would like to use a rule to call a functioning which inserts the data into the proper partition. To do so, I believe that I need to find a way to opaquely pass NEW from the rule to a function which then passes it to INSERT. (Well,