X-Original-To: pgsql-sql@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E85E9475AFA for ; Wed, 12 Feb 2003 20:52:18 -0500 (EST) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id A7650475DD0 for ; Wed, 12 Feb 2003 20:51:31 -0500 (EST) Received: by news.hub.org (Postfix, from userid 8) id 8CDD143A953; Wed, 12 Feb 2003 20:51:31 -0500 (EST) From: "Frankie Lam" X-Newsgroups: comp.databases.postgresql.sql Subject: dblink question please Date: Thu, 13 Feb 2003 09:52:24 +0800 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 12 Message-ID: X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 To: pgsql-sql@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/270 X-Sequence-Number: 11668 Hello, Does anyone know if there's a simple way that let dblink function calls in a plpgsql function wouldn't raise exception, in case there's sth wrong. (e.g. cannot connect to the remote host ......) I want this because I want to have more controls over plpgsql function, as plpgsql only offers a very limited error exception handler. Regards, Frankie.