Enable extended error codes.
Fix ErrNoticeRecoverWAL variable name.
Merge pull request #116 from c14n/master

Enable extended error codes.