Re: [GENERAL] array_append from user-defined C function

2011-10-14 Thread Pavel Stehule
2011/10/14 Leonardo Francalanci : > > >> how can I call array_append from a user-defined C function? >> I know the type of the array I'm going to use (int4[]) so if there's an >> equivalent >> >> function that can be called without going through PG_FUNCTION_ARGS stuff... > > > I just found "array_s

Re: [GENERAL] array_append from user-defined C function

2011-10-14 Thread Leonardo Francalanci
> how can I call array_append from a user-defined C function? > I know the type of the array I'm going to use (int4[]) so if there's an > equivalent > > function that can be called without going through PG_FUNCTION_ARGS stuff... I just found "array_set" (the array I'm using is one-dimensional

[GENERAL] array_append from user-defined C function

2011-10-14 Thread Leonardo Francalanci
Hi, how can I call array_append from a user-defined C function? I know the type of the array I'm going to use (int4[]) so if there's an equivalent function that can be called without going through PG_FUNCTION_ARGS stuff... Thank you Leonardo -- Sent via pgsql-general mailing list (pgsql-g