Re: Associative array in Pl/PgSQL

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Associative array in Pl/PgSQL
Date: 2013-05-05 00:13:26
Message-ID: km4876$38h$1@gonzo.reversiblemaps.ath.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2013-05-04, Karel Riveron Escobar <kescobar(at)estudiantes(dot)uci(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Darren Duncan 2013-05-05 01:57:36 Re: Associative array in Pl/PgSQL
Previous Message Karel Riveron Escobar 2013-05-05 00:02:40 Re: Associative array in Pl/PgSQL