Re: calling stored procedure with array paramenter (for psql)

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: calling stored procedure with array paramenter (for psql)
Дата
Msg-id 20060110005252.GA40063@winnie.fuhr.org
обсуждение исходный текст
Ответ на calling stored procedure with array paramenter (for psql)  (Assad Jarrahian <jarraa@gmail.com>)
Ответы Re: calling stored procedure with array paramenter (for psql)  (Assad Jarrahian <jarraa@gmail.com>)
Список pgsql-general
On Mon, Jan 09, 2006 at 05:33:53PM -0700, Assad Jarrahian wrote:
> I have a pg_psql stored procedure
>
> getlms(_int4)
>
> from psql
>
> SELECT * fROM get_lms(ARRAY[12,23,34]);
>
> that does not work. How do I pass an array to a function in psql?

Could you explain what "does not work" means?  Are you getting an
error?  If so, what's the error message?

Are those the real function names?  They don't match so that could
be the problem (one is getlms, the other is get_lms).  If that's
not it then please post a simple but complete example.

--
Michael Fuhr

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

Предыдущее
От: Assad Jarrahian
Дата:
Сообщение: calling stored procedure with array paramenter (for psql)
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: plpgsql question