Skip to main content

pg_bin_candidates

Function pg_bin_candidates 

Source
pub fn pg_bin_candidates(
    explicit: Option<&Path>,
    exe_dir: Option<&Path>,
) -> Vec<PathBuf>
Expand description

The directories searched for the PostgreSQL programs, in order: --pg-bin; the bundle next to the executable (and in the macOS app’s Resources); PATH; the usual installation directories (Debian/Ubuntu /usr/lib/postgresql/<n>/bin, Homebrew, Postgres.app, the Windows installer), newest version first.