Re: Possible to have array as input paramter for a function?

From: "George Weaver" <georgew1(at)mts(dot)net>
To: "Kumar" <sgnerd(at)yahoo(dot)com(dot)sg>, "psql" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Possible to have array as input paramter for a function?
Date: 2003-10-08 14:06:47
Message-ID: 003101c38da5$80abd150$270ea18e@cleartag
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi Kumar,

Looks like I got up too early this morning - please ignore my previous reply re: varchar(30) (I was looking at the wrong function :-( ).

I do use arrays in Pl/pgSQL functions, and have defined them as you did, e.g. varchar[], which does not return an error. What version of PostgreSQL are you using? I am running 7.3.2.

Regards,
George
----- Original Message -----
From: Kumar
To: psql
Sent: Wednesday, October 08, 2003 5:47 AM
Subject: [SQL] Possible to have array as input paramter for a function?

Dear Friends,

I am working with Postgres 7.3.4 on RH Linux 7.2 and my windows client is PgAdmin 3.

Is it possible to pass a Varchar[] as a input parameter for a PL/pgSQL function. While I tried it give a error
Type "varchar[]" does not exists.

Does this is supported in Postgres?

Anyone have a link or while paper on handling arrays in functions?

Please enlighten me on this.

Regards
Kumar

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Thomas Wegner 2003-10-08 19:38:00 Re: Oracle 'connect by prior' now eaiser in 7.3?
Previous Message Bill Pfeiffer 2003-10-08 13:44:18 Re: PG equivalent to Sybase varbinary