Re: [HACKERS] Implementation of SQLCODE and SQLERRM variables for - Mailing list pgsql-patches

From Pavel Stehule
Subject Re: [HACKERS] Implementation of SQLCODE and SQLERRM variables for
Date
Msg-id Pine.LNX.4.44.0503071015110.4380-400000@kix.fsv.cvut.cz
Whole thread Raw
In response to Re: [HACKERS] Implementation of SQLCODE and SQLERRM variables for  (Pavel Stehule <stehule@kix.fsv.cvut.cz>)
Responses Re: [HACKERS] Implementation of SQLCODE and SQLERRM variables
Re: [HACKERS] Implementation of SQLCODE and SQLERRM variables for
List pgsql-patches
Hello,

I used different format now. Documentation:

This patch is implementation of variables SQLERRM and SQLCODE for plpgsql
language. Variable SQLCODE contains five chars PostgreSQL Error Code,
SQLERRM contains relevant message last catched exception. All variables
are attached to plpgsql_block and have local scope. Default values are
'00000' for SQLCODE and 'Sucessful completion' for SQLERRM. Some example
of using is in file test.sql.

Regards

Pavel Stehule

Attachment

pgsql-patches by date:

Previous
From: "Michael Paesold"
Date:
Subject: Re: Continue transactions after errors in psql
Next
From: Peter Eisentraut
Date:
Subject: Re: Faster install-sh in C