Re: array_append not working

From: Joe Conway <mail(at)joeconway(dot)com>
To: "Lucas F(dot)" <lucasf(at)vagabond-software(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: array_append not working
Date: 2005-04-06 00:15:38
Message-ID: 42532A2A.3080609@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Lucas F. wrote:
> Sorry, this is probably a dumb mistake on my part. New to Postgres. Running
> 8.0 on Linux.
>
> The array_append below is giving me a syntax error, and I have no idea what
> I am doing wrong.
>

> array_append(v_query_array,(rec.item_field_name || '=' ||
> v_value::text)::text);
>

You need to assign the result of array_append() to a variable. It
doesn't change v_query_array in place.

Joe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kris Jurka 2005-04-06 02:33:26 Re: Loosing connection with the database
Previous Message Lucas F. 2005-04-05 22:24:27 array_append not working