pl/pgsql and arrays[] - Mailing list pgsql-general

From Maxim Boguk
Subject pl/pgsql and arrays[]
Date
Msg-id CAK-MWwSipyt-Es97=7Jj_Vqp6ComNcUhx3Pi_yT7NRwqC-pvzg@mail.gmail.com
Whole thread Raw
Responses Re: pl/pgsql and arrays[]
List 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.

pgsql-general by date:

Previous
From: David Johnston
Date:
Subject: Re: Questions about setting an array element value outside of the update
Next
From: Mike Christensen
Date:
Subject: What's the best way in Postgres9 to store a bunch of arbitrary boolean values for a row?