eradman/ephemeralpg
Tentang
Quickly spin up a temporary PostgreSQL test databases
Data dan analisisPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliEphemeral PostgreSQL
Run tests on an isolated, temporary PostgreSQL database.
Temporary database created with pg_tmp have a limited shared memory footprint
and are automatically garbage-collected after the number of seconds specified by
the -w option (the default is 60).
pg_tmp reduces the wait time for a new database to less than one second by
initializing a database in the background that is used by subsequent
invocations.
Source Installation - BSD, Mac OS, and Linux
make install
Or to specify a specific installation location
PREFIX=$HOME/local make install
Man Page Examples for pg_tmp(1)
Create a temporary database and run a query:
uri=$(pg_tmp)
psql $uri -f my.sql
Start a temporary server with a custom extension:
uri=$(pg_tmp -o "-c shared_preload_libraries=$PWD/auth_hook")
psql $uri -c "SELECT 1"
News
Notification of new releases are provided by an Atom feed, and release history is covered in the NEWS file.
Jelajahi proyek terkait
Memuat…