pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pavel Stehule <pavel.stehule@gmail.com>
To: Jyoti Seth <jyotiseth2001@gmail.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] setof or array as input parameter to postgresql 8.2 functions
Date: Wed, 13 Jun 2007 14:55:13 +0200
Message-ID: <162867790706130555r5a1ba9cbq1c3e2cb0f1adbda7@mail.gmail.com> (raw)
In-Reply-To: <000001c7adb1$fb497360$f1dc5a20$@com>
References: <000001c7adb1$fb497360$f1dc5a20$@com>

Hello

maybe:

create function foo(varchar[][]) returns void as $$ begin end$$
language plpgsql;

postgres=# select foo(array[array[1,2], array[2,2]]::varchar[][]);
 foo
-----

(1 row)

Regards
Pavel Stehule

2007/6/13, Jyoti Seth <jyotiseth2001@gmail.com>:
>
>
>
>
> Hi,
>
>
>
> I have to pass a set of values and arrays in postgresql 8.2 functions. But I
> am not getting any help on that. Please let me know if any one has idea.
>
>
>
> Thanks,
>
> Jyoti



view thread (8+ messages)  latest in thread

Message-ID: <162867790706130555r5a1ba9cbq1c3e2cb0f1adbda7@mail.gmail.com>
Permalink:  ../162867790706130555r5a1ba9cbq1c3e2cb0f1adbda7@mail.gmail.com/
Also on:    postgresql.org/message-id/162867790706130555r5a1ba9cbq1c3e2cb0f1adbda7@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: pavel.stehule@gmail.com, jyotiseth2001@gmail.com, pgsql-general@postgresql.org
  Subject: Re: [SQL] setof or array as input parameter to postgresql 8.2 functions
  In-Reply-To: <162867790706130555r5a1ba9cbq1c3e2cb0f1adbda7@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox