BUG #2791: Error while commiting - Mailing list pgsql-bugs

From Raman Dabhade
Subject BUG #2791: Error while commiting
Date
Msg-id 200611281413.kASEDFxU078795@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #2791: Error while commiting
List pgsql-bugs
The following bug has been logged online:

Bug reference:      2791
Logged by:          Raman Dabhade
Email address:      raman.dabhade@coalitiondev.com
PostgreSQL version: 8.1
Operating system:   Win XP
Description:        Error while commiting
Details:

ERROR:  SPI_execute_plan failed executing query "commit":
SPI_ERROR_TRANSACTION
CONTEXT:  PL/pgSQL function "processrecords" line 4 at SQL statement

When executing following procedure:

CREATE OR REPLACE FUNCTION processRecords()
  RETURNS int8 AS
$BODY$
declare
begin

   commit ;

return 0;
end;
$BODY$
  LANGUAGE 'plpgsql' VOLATILE;

pgsql-bugs by date:

Previous
From: "Santhinesh Kumar"
Date:
Subject: BUG #2792: not able to install postgress
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #2792: not able to install postgress