proposal: enable new error fields in plpgsql (9.4)

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: proposal: enable new error fields in plpgsql (9.4)
Date: 2013-02-01 12:47:41
Message-ID: CAFj8pRC80Xc+Qf5HZuzCQFDBMXOFLXZzn9UMXa7GQCm3OHtL+w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

now a most "hard" work is done and I would to enable access to new
error fields from plpgsql.

these new fields are column_name, constraint_name, datatype_name,
table_name and schema_name.

This proposal has impact on two plpgsql statements - RAISE and GET
STACKED DIAGNOSTICS.

I am sending initial implementation

Comments, notes?

Regards

Pavel

Attachment Content-Type Size
enhanced_error_fields_plpgsql_initial.patch application/octet-stream 20.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Tiikkaja 2013-02-01 12:52:23 Re: proposal: enable new error fields in plpgsql (9.4)
Previous Message Pavan Deolasee 2013-02-01 12:40:53 Re: Unusually high IO for autovacuum worker