looping arrays with a function - Mailing list pgsql-general

From Jeff Davis
Subject looping arrays with a function
Date
Msg-id 20000124023416.22318.qmail@web3006.mail.yahoo.com
Whole thread Raw
List 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

pgsql-general by date:

Previous
From: Marcin Mazurek - Multinet SA - Poznan
Date:
Subject: Re: [GENERAL] It works now :)
Next
From: Jeff Davis
Date:
Subject: Solution