Re: Arrays in PL/pgSQL routines?

Поиск
Список
Период
Сортировка
От Ken Winter
Тема Re: Arrays in PL/pgSQL routines?
Дата
Msg-id 005a01c60ca4$f79e3bb0$6603a8c0@kenxp
обсуждение исходный текст
Ответ на Re: Arrays in PL/pgSQL routines?  (Bricklen Anderson <banderson@presinet.com>)
Ответы Re: Arrays in PL/pgSQL routines?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Arrays in PL/pgSQL routines?  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-sql
Bricklen ~

That works.  (Odd that the initialization seems to be necessary to make it
work.)  Thanks!  Yes, I'm using version 7.4.

~ Ken

> -----Original Message-----
> From: Bricklen Anderson [mailto:banderson@presinet.com]
> Sent: Thursday, December 29, 2005 12:53 PM
> To: Ken Winter
> Cc: PostgreSQL pg-sql list
> Subject: Re: [SQL] Arrays in PL/pgSQL routines?
> 
> Ken Winter wrote:
> > Can arrays be declared in PL/pgSQL routines?  If so, how?
> >
> <snip>
> > DECLARE
> >
> try:
> my_array VARCHAR[] := '{}';
> 
> not sure if this works in 7.4 though, if that's the version that you are
> using.




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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Arrays in PL/pgSQL routines?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Arrays in PL/pgSQL routines?