looping arrays with a function

From: Jeff Davis <jeff95350(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: looping arrays with a function
Date: 2000-01-24 02:34:16
Message-ID: 20000124023416.22318.qmail@web3006.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

How can you pass an array to a function, or loop it in
any way? All arrays, no matter how many dimensions,
are listed as _vartype.

I am trying to make a C function (or any language,
really) that would take a number as one argument, the
array as the other, and look at the array to find an
index number for the array argument based on the first
argument.

Thanks,
Jeff Davis
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Browse pgsql-general by date

  From Date Subject
Next Message Marcin Mazurek - Multinet SA - Poznan 2000-01-24 02:37:39 Re: [GENERAL] It works now :)
Previous Message Marc Tardif 2000-01-24 01:15:32 another questoin about COPY