X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 72E8C5513E for ; Sun, 6 Mar 2005 16:49:44 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 93130-05 for ; Sun, 6 Mar 2005 16:49:40 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.202]) by svr1.postgresql.org (Postfix) with ESMTP id 0279B55056 for ; Sun, 6 Mar 2005 16:49:38 +0000 (GMT) Received: by rproxy.gmail.com with SMTP id a41so913834rng for ; Sun, 06 Mar 2005 08:49:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=h+ehBalK18Q0VWLGehJAXR6fe3KgHTzeajwR6b4WDxh/1zgvV3ph9N5FGNlsrdvKf6rAW9h93s/wr0GPtUgmzGznIETJ9hBaFkbNjZLaFVqj0cWpXmj37698Wzs6LfaCcGY0Wt4snU1azmCBox3JGNIyzZ6xoRI69wGy4xb19Xk= Received: by 10.38.24.7 with SMTP id 7mr42716rnx; Sun, 06 Mar 2005 08:49:38 -0800 (PST) Received: by 10.38.10.3 with HTTP; Sun, 6 Mar 2005 08:49:38 -0800 (PST) Message-ID: <3817e22905030608496f0f735d@mail.gmail.com> Date: Sun, 6 Mar 2005 23:49:38 +0700 From: bandeng Reply-To: bandeng To: pgsql-sql@postgresql.org Subject: count array in plpgsql Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 tagged_above=0 required=5 tests=RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200503/81 X-Sequence-Number: 20560 hello guys, I need some help, I have created function with argument in array. I already try to find array function in manual but I cant. so is there any solution to counting array value and looping array value? any some language usually use count($array) Thank in a bunch Ricky Wibowo -- Gutten Aben Sugeng Sonten, Jangane Kurang Santen bandeng....................