Uploaded image for project: 'Clair'
  1. Clair
  2. CLAIRDEV-147

Upgrade pgx from v4 to v5

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • indexer, matcher, notifier
    • None

      pgx v4 (github.com/jackc/pgx/v4) will go EoL in July 2025. We should upgrade to pgx v5 before then to ensure we're on a supported version. This needs to be for both clair and claircore.

       

      Checklist:

      • Update handling of UUID to rely on the Scan method offered by the library.
      • Update handling of JSONB fields to remove intermediary object translation.
      • Add version (and version range) scan plans + encode plans (already defined here https://github.com/hdonnay/claircore/tree/hack/db-updates).

              jcroslan@redhat.com Joseph Crosland
              jcroslan@redhat.com Joseph Crosland
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: