• MangoPenguin
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 months ago

    It’s just weird that it doesn’t do the dump-restore automatically when it detects data from an old version.

    • markstos@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 months ago

      I think there is a catch-22.

      pg_dump needs to connect to a running PostgreSQL instance.

      But if you upgrade the binaries and try to start up, you can’t because the old data format doesn’t work. Because you can’t start up, pg_dump can’t connect.

      • MangoPenguin
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 months ago

        Yeah they would need to make it backwards compatible.