pl/pgsql and arrays[]

From: Maxim Boguk <maxim(dot)boguk(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: pl/pgsql and arrays[]
Date: 2011-12-05 04:06:27
Message-ID: CAK-MWwSipyt-Es97=7Jj_Vqp6ComNcUhx3Pi_yT7NRwqC-pvzg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Some quetions about pl/pgsql and arrays[].

Is such constructions as:

RETURN NEXT array[1];

OR

SELECT val INTO array[1] FROM ...;

Should not work?

At least documentation about RETURN NEXT says:
"RETURN NEXT expression;"

I think array[1] is a valid expression.

--
Maxim Boguk
Senior Postgresql DBA.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Christensen 2011-12-05 04:10:14 What's the best way in Postgres9 to store a bunch of arbitrary boolean values for a row?
Previous Message David Johnston 2011-12-05 04:03:48 Re: Questions about setting an array element value outside of the update