Re: Re: [COMMITTERS] pgsql: Add foreign data wrapper error code values for SQL/MED. - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Re: [COMMITTERS] pgsql: Add foreign data wrapper error code values for SQL/MED.
Date
Msg-id AANLkTimOwAML2uwUeQfXcxQtxbO4QZkanBURefqgqjzV@mail.gmail.com
Whole thread Raw
In response to Re: Re: [COMMITTERS] pgsql: Add foreign data wrapper error code values for SQL/MED.  (Jan Urbański <wulczer@wulczer.org>)
Responses Re: Re: [COMMITTERS] pgsql: Add foreign data wrapper error code values for SQL/MED.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sun, Dec 26, 2010 at 8:03 AM, Jan Urbański <wulczer@wulczer.org> wrote:
> See
> https://github.com/wulczer/postgres/commit/44fc42b7708f23483156e4e0e1e321e68b2a7e2d#diff-0
> for something that maybe could be used as a basis to autogenerate
> errcodes.sgml and plerrcodes.h.

Interesting.  It looks like this might be even easier with perl.  For
now I've just written a couple of throwaway scripts to do what I
needed.

Proposed patch attached.  This adds what I believe to be the correct
incantations to errcodes.sgml and plerrcodes.h, and also corrects a
typographical error in yesterday's commit which I failed to notice
while reviewing.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment

pgsql-hackers by date:

Previous
From: Jan Urbański
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Add foreign data wrapper error code values for SQL/MED.
Next
From: Andrew Dunstan
Date:
Subject: Re: MingW and MiniDumps