Re: array_append from user-defined C function - Mailing list pgsql-general

From Leonardo Francalanci
Subject Re: array_append from user-defined C function
Date
Msg-id 1318600193.51478.YahooMailNeo@web29014.mail.ird.yahoo.com
Whole thread Raw
In response to array_append from user-defined C function  (Leonardo Francalanci <m_lists@yahoo.it>)
Responses Re: array_append from user-defined C function  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-general

> 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).
I'll try to use that... sorry for the noise.


Leonardo

pgsql-general by date:

Previous
From: Leonardo Francalanci
Date:
Subject: array_append from user-defined C function
Next
From: Pavel Stehule
Date:
Subject: Re: array_append from user-defined C function