Skip to content

Making Postgres.app relocatable #693

Closed

Description

@jakob

Currently, Postgres.app shows a warning and refuses to launch from a location other than /Applications

This is a frequent complaint from users, eg.:

As a first step towards making Postgres.app relocatable was to use relative links for shared libraries, which we completed a year ago:

Making Postgres.app relocatable causes a lot of potential issues, because then people could end up using multiple copies of Postgres.app simultaneously (on purpose or by accident). We've tried to document how we expect Postgres.app to behave on this Wiki page: https://github.com/PostgresApp/PostgresApp/wiki/Requirements-for-making-Postgres.app-relocatable

The next steps towards making Postgres.app relocatable are the following:

Activity

  1. jakob commented on Dec 23, 2022

    @jakob
    MemberAuthor

    I've just published a first test release: https://github.com/PostgresApp/PostgresApp/releases/tag/v2.6a

  2. jakob commented on Apr 12, 2023

    @jakob
    MemberAuthor

    Postgres.app should detect when it is translocated (either by launching from disk image or in certain other circumstances) and do the following:

    New behavior when translocated

    • don't install login item
    • don't launch menu helper
    • disable menu checkbox in prefs
    • disable "automatically launch postgres on login" checkbox (pre-ventura)
    • add label to preferences "Postgres.app is currently translocated. Please move it to a permanent location to use all features. [More Info]"
    • stop all servers with binaries inside the translocated app when quitting GUI
  3. jakob commented on Aug 23, 2023

    @jakob
    MemberAuthor

    Feature was finished in commit 3c62eae.

    Will be released in next update.

  4. jakob commented on Sep 20, 2023

    @jakob
    MemberAuthor

    Released in Postgres.app 2.6.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions