Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: make PSQLState enum consts for integrity constraint violations #1699

Commits on Feb 7, 2020

  1. refactor: make PSQLState enum consts for integrity constraint violations

    Previously the PSQLState enum did not include values for any of the
    integrity constraint violation error codes mentioned in the PostgreSQL
    docs (as seen under Class 25 here:
    https://www.postgresql.org/docs/current/errcodes-appendix.html); this
    required hardcoding or the creation of consts wherever they were needed
    (as seen in LogServerMessagePropertyTest.java). This commit adds all of
    them (except restrict_violation which doesn't seem to appear in the
    wild) and creates a test checking for each of them.
    root authored and root committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    9a99c5a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c190224 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e650640 View commit details
    Browse the repository at this point in the history