|
42 | 42 | </para>
|
43 | 43 |
|
44 | 44 | <para>
|
45 |
| - The <application>PL/pgSQL</> condition name for each error code is the |
46 |
| - same as the phrase shown in the table, with underscores substituted |
47 |
| - for spaces. For example, code <literal>22012</>, DIVISION BY ZERO, |
48 |
| - has condition name <literal>DIVISION_BY_ZERO</>. Condition names can |
49 |
| - be written in either upper or lower case. (Note that |
| 45 | + The symbol shown in the column <quote>Condition Name</quote> is also |
| 46 | + the condition name to use in <application>PL/pgSQL</>. Condition |
| 47 | + names can be written in either upper or lower case. (Note that |
50 | 48 | <application>PL/pgSQL</> does not recognize warning, as opposed to error,
|
51 | 49 | condition names; those are classes 00, 01, and 02.)
|
52 | 50 | </para>
|
|
55 | 53 | <table id="errcodes-table">
|
56 | 54 | <title><productname>PostgreSQL</productname> Error Codes</title>
|
57 | 55 |
|
58 |
| - <tgroup cols="3"> |
| 56 | + <tgroup cols="2"> |
59 | 57 | <colspec colnum="1" colname="errorcode">
|
60 |
| - <colspec colnum="3" colname="condname"> |
61 |
| - <spanspec namest="errorcode" nameend="condname" spanname="span13"> |
| 58 | + <colspec colnum="2" colname="condname"> |
| 59 | + <spanspec namest="errorcode" nameend="condname" spanname="span12"> |
62 | 60 |
|
63 | 61 | <thead>
|
64 | 62 | <row>
|
65 | 63 | <entry>Error Code</entry>
|
66 |
| - <entry>Meaning</entry> |
67 | 64 | <entry>Condition Name</entry>
|
68 | 65 | </row>
|
69 | 66 | </thead>
|
|