X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4D0D2D1B1A1 for ; Mon, 7 Jun 2004 23:02:58 -0300 (ADT) 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 53875-03 for ; Tue, 8 Jun 2004 02:02:53 +0000 (GMT) Received: from ganymede.hub.org (u46n208.hfx.eastlink.ca [24.222.46.208]) by svr1.postgresql.org (Postfix) with ESMTP id 19BA4D1B17C for ; Mon, 7 Jun 2004 23:02:49 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 594FA34513; Mon, 7 Jun 2004 23:02:55 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 5592F344D9 for ; Mon, 7 Jun 2004 23:02:55 -0300 (ADT) X-Return-Path: X-Received: from localhost ([unix socket]) by ganymede.hub.org (Cyrus v2.2.5) with LMTPA; Mon, 07 Jun 2004 06:55:09 -0300 X-Sieve: CMU Sieve 2.2 X-Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 03BA55FBCB for ; Mon, 7 Jun 2004 06:55:06 -0300 (ADT) X-Received: from hub.org [200.46.204.220] by localhost with IMAP (fetchmail-6.2.5) for scrappy@localhost (single-drop); Mon, 07 Jun 2004 06:55:06 -0300 (ADT) X-Received: from hub.org ([unix socket]) by hub.org (Cyrus v2.2.3) with LMTP; Mon, 07 Jun 2004 06:52:02 -0300 X-Sieve: CMU Sieve 2.2 X-Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id 7D5FB66B011 for ; Mon, 7 Jun 2004 06:52:02 -0300 (ADT) X-Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 89814-03 for ; Mon, 7 Jun 2004 09:52:02 +0000 (GMT) X-Received: from smtp6.webcontrolcenter.com (smtp6.webcontrolcenter.com [216.119.106.218]) by hub.org (Postfix) with SMTP id EA356669B6A for ; Mon, 7 Jun 2004 06:52:00 -0300 (ADT) X-Received: (qmail 11495 invoked from network); 9 Mar 2000 20:47:33 -0000 X-Received: from mail7.webcontrolcenter.com (216.119.106.105) by smtp6.webcontrolcenter.com with SMTP; 9 Mar 2000 20:47:33 -0000 X-Received: from UnknownHost [61.11.74.83] by mail7.webcontrolcenter.com with SMTP; Mon, 7 Jun 2004 02:51:44 -0700 To: scrappy@hub.org Subject: A doubt in pgtcl From: Senthil Organization: Chain-sys Content-Type: text/plain; format=flowed; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Mon, 07 Jun 2004 15:26:15 +0530 Message-ID: User-Agent: Opera7.23/Linux M2 build 518 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-DCC: : X-Spam-Pyzor: ReSent-Date: Mon, 7 Jun 2004 23:02:50 -0300 (ADT) Resent-From: "Marc G. Fournier" Resent-To: pgsql-interfaces@postgresql.org ReSent-Subject: A doubt in pgtcl ReSent-Message-ID: <20040607230250.Y39306@ganymede.hub.org> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.2 tagged_above=0.0 required=5.0 tests=DEAR_SOMETHING X-Spam-Level: * X-Archive-Number: 200406/19 X-Sequence-Number: 4947 Dear Sir, I have just started to program in pgtcl.I have to write a procedure for connecting to a table and fetching records and inserting them.What should I do to catch the error conditions?The postmaster runs in a separate terminal and Tcl in another one.The errors may be non existing table name,field name or errors like query fetching many rows as result.Please give me a solution for this problem.Thanking you. Yours truly, Senthil J