pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aspire Something <sank89@sancharnet.in>
To: Pg Admin <pgsql-admin@postgresql.org>
Subject: WARNING IN serverlog file
Date: Sat, 08 Mar 2003 21:57:23 +0530
Message-ID: <000001c2e596$2049fc90$c9c832c0@societykotla> (raw)

Hi all ,

When I call a function within other function I get this warning in the
serverlog file
<code>
WARNING:  BEGIN: already a transaction in progress
WARNING:  BEGIN: already a transaction in progress
</code>
I am calling the function within other function with following syntax
<code>
all blah blah of function
DECLARE
data_call TEXT ; -- text data to be retrived
BEGIN
data_call := function_called();
end;
some more blah plpgsql;
</code>

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.
================================





Message-ID: <000001c2e596$2049fc90$c9c832c0@societykotla>
Permalink:  ../000001c2e596$2049fc90$c9c832c0@societykotla/
Also on:    postgresql.org/message-id/000001c2e596$2049fc90$c9c832c0@societykotla

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: sank89@sancharnet.in
  Subject: Re: WARNING IN serverlog file
  In-Reply-To: <000001c2e596$2049fc90$c9c832c0@societykotla>
  References: <000001c2e596$2049fc90$c9c832c0@societykotla>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox