Re: array_append from user-defined C function

From: Leonardo Francalanci <m_lists(at)yahoo(dot)it>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: array_append from user-defined C function
Date: 2011-10-14 13:49:53
Message-ID: 1318600193.51478.YahooMailNeo@web29014.mail.ird.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2011-10-14 13:55:29 Re: array_append from user-defined C function
Previous Message Leonardo Francalanci 2011-10-14 13:44:00 array_append from user-defined C function