> I poked around in SQL:2011 and I concur that the first four of those
> no longer appear in the standard. However, unless grep is failing me,
> we aren't generating those errcodes anywhere either:
>
> ERRCODE_WARNING_IMPLICIT_ZERO_BIT_PADDING
> ERRCODE_SQL_STATEMENT_NOT_YET_COMPLETE
> ERRCODE_INVALID_TRANSACTION_INITIATION
> ERRCODE_E_R_I_E_INVALID_SQLSTATE_RETURNED
>
> So we could just remove those codes and be no worse off.
+1.
I rearranged 'errcodes.txt' according to SQLSTATE without eliminating
any row. Please read section 42 and its comments carefully. Maybe you
want to rearrange the 4 rows which have no fourth column. The attachment
contains the changes as raw file and as patch.
Generating the documentation works as expected. I haven't done any other
test.
Kind regards
Jürgen Purtz