Re: [GENERAL] How to pass array from .pgc to sql function

2011-09-19 Thread Merlin Moncure
On Mon, Sep 19, 2011 at 8:20 AM, Siva Palanisamy wrote: > Hi All, > > > > I am using embedded Postgres ‘C’ file to make function calls to the sql. I > have a .pgc (a ‘C’ file with sql statements) and .sql file. > > > > I have a pointer array that looks like this: > > typedef struct { > >  

[GENERAL] How to pass array from .pgc to sql function

2011-09-19 Thread Siva Palanisamy
Hi All, I am using embedded Postgres 'C' file to make function calls to the sql. I have a .pgc (a 'C' file with sql statements) and .sql file. I have a pointer array that looks like this: typedef struct { char* displayName; } DisplayName; DisplayName* displayName_list = calloc(5