Automic VaultAutomic Vault

brew

ephemeralpg を Homebrew, Nix でインストール

ephemeralpg のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install ephemeralpg

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#ephemeralpg

nixpkgs package indexes · pkgs/by-name/ep/ephemeralpg/package.nix · ソース: api.github.com

概要

パッケージ概要

Run tests on an isolated, temporary Postgres database

コマンドとエイリアス

  • getsocket
  • pg_tmp

履歴

プロジェクトの歴史と使われ方

Ephemeral PostgreSQL is a compact test utility centered on `pg_tmp`, a shell script that starts isolated temporary PostgreSQL databases. It gives test suites a real PostgreSQL server without making developers keep a long-lived database around or substitute SQLite for PostgreSQL behavior.

プロジェクトの歴史

The NEWS file records version 1.0 on January 7, 2015 as an initial Bitbucket release and describes it as a cross-platform implementation in fewer than one hundred lines of code. Later releases added TCP binding through the bundled `getsocket` utility, better cleanup behavior, PostgreSQL-version compatibility fixes, extra server options, and a test framework.

The project moved hosting from Bitbucket to GitHub in version 2.8 on September 25, 2019. Its public project page was still maintained in 2025 and documents `pg_tmp` as a compact shell script for unit and integration testing with PostgreSQL in any language.

採用の歴史

ephemeralpg is not a mass-market database package, but it has a clear testing niche: teams that need PostgreSQL-specific behavior in tests without shared state. Homebrew and Nix packaging make the tool easy to install in developer workstations and CI images.

使われ方

A common workflow is `uri=$(pg_tmp)` followed by running `psql` or an application test suite against that connection URI. The tool can start a database on a random TCP port, keep it alive for a specified window, pass server options such as disabling autovacuum, and garbage-collect temporary databases automatically.

The project page explains several performance techniques: avoiding fully sequential init/start/stop work, disabling runtime fsync, spinning for the first connection, pre-initializing a background database under `/tmp`, and shutting down asynchronously.

パッケージ好きにとっての重要性

ephemeralpg is interesting because it solves a common developer-tools problem with shell and standard PostgreSQL tools instead of a service daemon. It is small, inspectable, and very package-manager-friendly: install it, call `pg_tmp`, and get a disposable database URI.

タイムライン

  • 2015-01-07: Version 1.0 initially released on Bitbucket.
  • 2015-12-12: Version 1.7 added a more extensive `make test` framework.
  • 2016-03-29: Version 2.0 allowed temporary directories with initdb/start/stop arguments.
  • 2019-09-25: Version 2.8 moved hosting from Bitbucket to GitHub.
  • 2025-02-06: Version 3.4 adjusted startup behavior and Mac OS locale handling.

Related projects

  • ephemeralpg depends on the standard PostgreSQL toolchain, especially `initdb`, `pg_ctl`, `postgres`, and `psql`, and includes helper utilities such as `getsocket` plus optional contrib scripts.

セキュリティ状態

リスクレベル: blue

broad file, network, media, or database tool signal.

リスク分類器

リスク blue · 信頼度 中 · tool

理由

  • broad file, network, media, or database tool signal

信号

  • text:database

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 8 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
getsocketcliグローバル実行可能ファイル
pg_tmpcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版3.4
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://eradman.com/ephemeralpg/

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報Release/tag comparison is only available for GitHub repositories.https://eradman.com/ephemeralpg/信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:ephemeralpg
バージョン3.4
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/ephemeralpg
ホームページhttps://eradman.com/ephemeralpg/
リポジトリhttps://github.com/eradman/ephemeralpg
上流ドキュメントhttps://eradman.com/ephemeralpg
ライセンスISC
ソースアーカイブhttps://eradman.com/ephemeralpg/code/ephemeralpg-3.4.tar.gz
依存関係libpq
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameephemeralpg
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

ephemeralpg

nix profile install nixpkgs#ephemeralpg
  • normalized package name match
  • 一致条件: Ephemeralpg
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ep/ephemeralpg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment