Re: arrays (was untitled) - Mailing list pgsql-sql

From Stephan Szabo
Subject Re: arrays (was untitled)
Date
Msg-id 20020924064806.B92621-100000@megazone23.bigpanda.com
Whole thread Raw
List pgsql-sql
On Tue, 24 Sep 2002, Madhavi wrote:

> How do I pass an array as an aruments in a postgres function? And how do I
> use it in the function??

Well, I've only got a 7.3devel machine to test, but:create function f(int[]) returns int as 'select $1[1];' language
'sql';selectf('{3,4}');
 
seems to work for example.

What are you actually trying to do and in what language?




pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] CURRENT_TIMESTAMP
Next
From: Joseph Syjuco
Date:
Subject: select case problem