Re: Re: [COMMITTERS] pgsql: Add foreign data wrapper error code values for SQL/MED.
От | Jan Urbański |
---|---|
Тема | Re: Re: [COMMITTERS] pgsql: Add foreign data wrapper error code values for SQL/MED. |
Дата | |
Msg-id | 4D173D1F.2060408@wulczer.org обсуждение исходный текст |
Ответ на | Re: [COMMITTERS] pgsql: Add foreign data wrapper error code values for SQL/MED. (Robert Haas <robertmhaas@gmail.com>) |
Ответы |
Re: Re: [COMMITTERS] pgsql: Add foreign data wrapper error
code values for SQL/MED.
|
Список | pgsql-hackers |
On 26/12/10 05:55, Robert Haas wrote: > On Sat, Dec 25, 2010 at 3:39 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> Robert Haas <rhaas@postgresql.org> writes: >>> Add foreign data wrapper error code values for SQL/MED. >>> Extracted from a much larger patch by Shigeru Hanada. >> >> This patch is quite incomplete. Any patch that adds to errcodes.h >> *must* also touch >> doc/src/sgml/errcodes.sgml >> src/pl/plpgsql/src/plerrcodes.h > > Drat. OK, will work on it tomorrow. I didn't realize those places > needed to be updated. I noticed the other day that plerrcodes.h has a comment saying is should be generated with some sed hackery, and as I needed to generate a Python exception class for each error in errcodes.h I did the hackery. 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. Cheers, Jan
В списке pgsql-hackers по дате отправления: