X-Original-To: pgsql-sql@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 685B647592C for ; Mon, 28 Apr 2003 08:11:37 -0400 (EDT) Received: from rtlocal.trade-india.com (unknown [203.196.129.235]) by postgresql.org (Postfix) with SMTP id 83D984758C9 for ; Mon, 28 Apr 2003 08:11:33 -0400 (EDT) Received: (qmail 7357 invoked from network); 28 Apr 2003 12:12:05 -0000 Received: from unknown (HELO system67.trade-india-local.com) (unknown) by unknown with SMTP; 28 Apr 2003 12:12:05 -0000 From: Rajesh Kumar Mallah Organization: Infocom Network Limited To: pgsql-sql@postgresql.org Subject: plpgsql Question.. Date: Mon, 28 Apr 2003 17:42:24 +0530 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304281742.24167.mallah@trade-india.com> X-Spam-Status: No, hits=-7.2 required=5.0 tests=BAYES_01,SIGNATURE_SHORT_SPARSE,USER_AGENT version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/411 X-Sequence-Number: 13112 is it possible to access a feild in a RECORD type variable where the feild name is variable. eg say r is a record having feild name , email , salary r.name is 'foo' r.email is 'bar@foo.com' r.salary is 1000 suppose feild_name iterates via a FOR LOOP through values (name , email , salary) is it possible to access that feild in record r inside the loop ? Regds mallah. -- Rajesh Kumar Mallah, Project Manager (Development) Infocom Network Limited, New Delhi phone: +91(11)6152172 (221) (L) ,9811255597 (M) Visit http://www.trade-india.com , India's Leading B2B eMarketplace.