Re: array_append not working

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: array_append not working
Дата
Msg-id 42532A2A.3080609@joeconway.com
обсуждение исходный текст
Ответ на array_append not working  ("Lucas F." <lucasf@vagabond-software.com>)
Список 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

В списке pgsql-general по дате отправления:

Предыдущее
От: "Lucas F."
Дата:
Сообщение: array_append not working
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Loosing connection with the database