X-Original-To: pgsql-admin@postgresql.org Received: from ndl1mr1-a-fixed (ndl1mr1-a-fixed.sancharnet.in [61.0.0.45]) by postgresql.org (Postfix) with ESMTP id 1FC02474E42 for ; Sat, 8 Mar 2003 12:10:15 -0500 (EST) Received: from conversion-daemon.ndl1mr1-a-fixed.sancharnet.in by ndl1mr1-a-fixed.sancharnet.in (iPlanet Messaging Server 5.2 HotFix 0.9 (built Jul 29 2002)) id <0HBF00201WH6BF@ndl1mr1-a-fixed.sancharnet.in> for pgsql-admin@postgresql.org; Sat, 08 Mar 2003 22:40:18 +0530 (IST) Received: from societykotla ([61.0.95.114]) by ndl1mr1-a-fixed.sancharnet.in (iPlanet Messaging Server 5.2 HotFix 0.9 (built Jul 29 2002)) with ESMTPA id <0HBF005SDX142S@ndl1mr1-a-fixed.sancharnet.in> for pgsql-admin@postgresql.org; Sat, 08 Mar 2003 22:40:18 +0530 (IST) Date: Sat, 08 Mar 2003 21:57:23 +0530 From: Aspire Something Subject: WARNING IN serverlog file To: Pg Admin Reply-To: Aspire Something Message-id: <000001c2e596$2049fc90$c9c832c0@societykotla> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal X-Archive-Number: 200303/73 X-Sequence-Number: 7721 Hi all , When I call a function within other function I get this warning in the serverlog file WARNING: BEGIN: already a transaction in progress WARNING: BEGIN: already a transaction in progress I am calling the function within other function with following syntax all blah blah of function DECLARE data_call TEXT ; -- text data to be retrived BEGIN data_call := function_called(); end; some more blah plpgsql; I would like to know ? 1. Is this warning ignorable as my function function_called(); when executed as stand alone does not generate this warning in the srverlog file Also when i comment the function function_called() then also no such warning is encountered 2. Why this warning generated when all syntax is correct in the function's ?? Loads of thanks in advance if you only read. Loads of humble thanks in advance if you read and reply . Regards, V Kashyap ======= My Sys Looks as ========== Red Hat 7.2 Kernel 2.4.7-10 PHP 4.3.0 GCC 3.0.2 Postgresql 7.3.2 Intel arch i686 ================================ ================================ Some people think it's holding on that makes one strong; sometimes it's letting go. ================================