Re: Associative array in Pl/PgSQL - Mailing list pgsql-general

From Jasen Betts
Subject Re: Associative array in Pl/PgSQL
Date
Msg-id km4876$38h$1@gonzo.reversiblemaps.ath.cx
Whole thread Raw
In response to Associative array in Pl/PgSQL  (Karel Riveron Escobar <kescobar@estudiantes.uci.cu>)
List pgsql-general
On 2013-05-04, Karel Riveron Escobar <kescobar@estudiantes.uci.cu> wrote:
> --=_be60f7f0-365e-4e0a-98b5-f8b13a8ea728
> Content-Type: text/plain; charset=utf-8
> Content-Transfer-Encoding: quoted-printable
>
> Hello everyone,
>
>
> I have a problem with Pl/PgSQL function. I need to pass it as parameter an =
> associative array. I have no idea how to do that. C an s omebody help me?
>
>
> To be more specific, I have an associative array in PHP. Something like thi=
> s:

 [...]

> And, I need work with it into a Pl/PgSQL function. How can I do this?

possibly this can be done using hstore and/or JSON



--
⚂⚃ 100% natural

pgsql-general by date:

Previous
From: Karel Riveron Escobar
Date:
Subject: Re: Associative array in Pl/PgSQL
Next
From: Darren Duncan
Date:
Subject: Re: Associative array in Pl/PgSQL