Received: from grumpy.usu.edu (grumpy.usu.edu [129.123.1.86]) by hub.org (8.10.1/8.10.1) with ESMTP id e71HWAB34320 for ; Tue, 1 Aug 2000 13:32:10 -0400 (EDT) Received: from cc.usu.edu ("port 4911"@slxwy.dorms.usu.edu [129.123.236.160]) by cc.usu.edu (PMDF V5.2-32 #30472) with ESMTP id <01JSGD4R26T6AH2Z56@cc.usu.edu> for pgsql-sql@postgresql.org; Tue, 1 Aug 2000 11:32:08 MDT Date: Tue, 01 Aug 2000 11:43:10 -0600 From: Roberto Mello Subject: PL/Tcl To: pgsql-sql@postgresql.org Message-id: <39870C2E.42C139AD@cc.usu.edu> MIME-version: 1.0 X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.16 i586) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en, pt-BR X-Archive-Number: 200008/4 Hi all, I hope I am asking this in the right list... I apologize if I am not. Is there a way to loop through a query in PL/Tcl, like the FOR .. IN in PL/PGSQL ? I need to write some functions that do DROP and DELETE and AFAIK those can't be handled from PL/PGSQL. I could write a PL/Tcl function to call from PL/PGSQL but PL/Tcl is way easier to write and debug I think. Thanks, -Roberto Mello -- Roberto Mello, rmello@cc.usu.edu - GNU/Linux Reg.User #96240 Computer Science - Utah State University USU Free Software and GNU/Linux Club, President http://fslc.usu.edu - http://www.brasileiro.net