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 D2C2454F8C for ; Sun, 6 Mar 2005 16:54:21 +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 93291-10 for ; Sun, 6 Mar 2005 16:54:17 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.201]) by svr1.postgresql.org (Postfix) with ESMTP id 6374554E1E for ; Sun, 6 Mar 2005 16:54:15 +0000 (GMT) Received: by rproxy.gmail.com with SMTP id a41so914470rng for ; Sun, 06 Mar 2005 08:54:15 -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=KFxxMRYcgtgYNW/FmwhsQS60949srBgK5FTmcpq6adQTODyX+fWx+jjCzoMStR3Yp3ShQHxiIOTvq8AmWkT4EVxlnqBNKRePpa6HSJNGmK1JSgAhqYRgsRyWyWx6TUiorABaqcLms0USDKiwT7FGJK1w/UGqlqDPTXDkrGm5qg4= Received: by 10.38.151.73 with SMTP id y73mr116541rnd; Sun, 06 Mar 2005 08:54:15 -0800 (PST) Received: by 10.38.10.3 with HTTP; Sun, 6 Mar 2005 08:54:15 -0800 (PST) Message-ID: <3817e22905030608544a2aac9a@mail.gmail.com> Date: Sun, 6 Mar 2005 23:54:15 +0700 From: bandeng Reply-To: bandeng To: pgsql-sql@postgresql.org Subject: count array in postgresql 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=AWL, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200503/82 X-Sequence-Number: 20561 hello guys, I need some help, I have created function with argument in array. I already try to find array function in manual but failed. so is there any solution to counting array value and looping array value? some language usually use count($array) Thank in a bunch Ricky