Skip to content

pgman v0.4.4

Choose a tag to compare

@github-actions github-actions released this 31 Oct 13:05
· 241 commits to main since this release

Added

  • Masked dumps keep Odoo's models, views and menus whole (their names
    are JSON, which the defaults NULL, and the restored app wouldn't
    start). Its attachments, settings and mail servers are masked as before.

Fixed

  • A key into a lookup of personal answers (gender_id into genders,
    marital_status, country_of_birth) took the lookup's kept id, or
    was hashed alongside it, so the copy still joined to the answer. It is
    NULLed now, a rules-file null on it too, and where it can't be NULL
    the plan asks the rules file to decide. The lookup's own key is kept.
    Masked copies taken with an earlier version of a schema with such keys,
    key-value or settings tables, data columns, or the hashes below should
    be deleted (pgman copies rm, then by hand whatever it says it kept,
    and any dump file copied elsewhere).
  • Keycloak's session tables are dumped empty: their notes hold a
    device's address and details.
  • A key-value table's value is NULLed whatever its length: Keycloak's
    user_attribute.value (a user's phone or address) and
    realm_smtp_config.value (the SMTP password) were kept as bounded
    varchar. So is a column named for a bag of data (metadata,
    extra, raw_data).
  • A hash of a card, an account or a user (card_hash, account_hash,
    user_hash) is rehashed, not kept: there are few enough of each to
    try every one.