Re: [GENERAL] bug in function arguments "recognition"

2010-03-03 Thread Ivan Sergio Borgonovo
On Wed, 03 Mar 2010 10:22:31 -0500 Tom Lane wrote: > Ivan Sergio Borgonovo writes: > > I've a function defined as: > > create or replace function catalog_relateditems(__itemid bigint, > > families int[]... > > If you want any useful comments, you're going to have to show a > complete example,

Re: [GENERAL] bug in function arguments "recognition"

2010-03-03 Thread Ivan Sergio Borgonovo
On Wed, 3 Mar 2010 16:05:29 +0100 Ivan Sergio Borgonovo wrote: > I've a function defined as: > > create or replace function catalog_relateditems(__itemid bigint, > families int[]... Forget about it... there was a typo (missed out) that mixed in/out parameters. Sorry for the noise. -- Ivan

Re: [GENERAL] bug in function arguments "recognition"

2010-03-03 Thread Tom Lane
Ivan Sergio Borgonovo writes: > I've a function defined as: > create or replace function catalog_relateditems(__itemid bigint, > families int[]... If you want any useful comments, you're going to have to show a complete example, rather than selectively editing out what you think is irrelevant (

[GENERAL] bug in function arguments "recognition"

2010-03-03 Thread Ivan Sergio Borgonovo
I've a function defined as: create or replace function catalog_relateditems(__itemid bigint, families int[]... I call it with select * from catalog_relateditems(6538::bigint, ARRAY[1,2,3,4,5]); and I get: HINT: No function matches the given name and argument types. You might need to add expl