array size problem

From: "Luis Silva" <lfs12(at)hotmail(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: array size problem
Date: 2006-01-01 22:17:10
Message-ID: BAY18-DAV107CC836B947DD9EEB8482B52A0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I there!! i'm having a problem

I want to make a function in pl/pgsql with 1 argument, a char[] (ex. identities). Is it possible to get the size of the array

example:
i=0;
WHILE i < identities.size LOOP

sql.........
i++;
END LOOP;

thanks in advance

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message John DeSoi 2006-01-02 00:56:34 Re: array size problem
Previous Message A. Kretschmer 2006-01-01 15:12:37 Re: backup by schema