blob: d1703c2e3852ad9b7ed8b69434d1866ccbb55b8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep A Changelog](https://keepachangelog.com/en/1.1.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
## [0.4.0] - 2026-04-30
This release replaces the POSIX shell script with a Rust binary crate.
### Added
* Added structured logging (also known as tracing), and a `--log-filter` option
* Added `-V` and `--version` options to print the short resp. long version
* Added a `--startup-timeout` option
* Added a `--shutdown-timeout` option
* Added an unwrapped package to the Nix flake
* Added an integration test for the command-line interface
* Added a development-oriented justfile
* Documented known limitations in the readme
* Explicitly stated the maintenance status in the readme
### Changed
* Rewrote the main POSIX shell script in async Rust
* Changed the license from ISC to MIT or APACHE-2.0
* Changed the command-line syntax to require a double dash (`--`) before the wrapped command
* Disabled standard output and standard error of all child processes, except for the wrapped command, to enable the user to capture the output of the wrapped command
* Implemented a retry mechanism for the `pg_isready` command, see the `--startup-timeout` option
* Implemented a graceful shutdown upon `SIGINT`, see the `--shutdown-timeout` option
* Implemented the [`NO_COLOR`](https://no-color.org/) preference
* Rewrote short and long built-in help options `-h` and `--help`
### Removed
* Removed the mdoc manual page in favor of the improved built-in help options
* Removed the makefile
### Fixed
* Fixed wrapped command argument handling
* Fixed handling of `PGDATABASE` and `PGUSER` environment variables
* Fixed `SIGINT` propagation to child processes
## [0.3.1] - 2026-04-27
### Added
* Added PostgreSQL version-specific packages to Nix flake
### Changed
* Enabled auto-login for NixOS example configuration
* Updated Nix flake inputs
### Fixed
* Added missing documentation for `--symlink` option to manual page
## [0.3.0] - 2026-04-16
### Added
* Added option to execute a given command when the PostgreSQL server is ready
* Added `--symlink` option to enable static client configuration
* Added minimal `--help` option
* Added changelog
* Added experimental Nix flake
* Added direnv configuration
* Added NixOS configuration example
### Changed
* Turned required arguments `dbname` and `username` into optional flags `--dbname` resp. `--username`
* Listen on UNIX domain socket only to enable multiple running instances
* Ported to Arch Linux
* Ported to FreeBSD
## [0.2.0] - 2022-11-09
### Added
* Added makefile
* Added readme
* Added manual page
### Changed
* Ported to Void Linux
### Fixed
* Fixed manual page name
## [0.1.0] - 2022-05-19
### Added
* Added [original implementation](https://www.skreutz.com/posts/temporary-postgresql-server/) published 2020-10-14
|
for my tech blog and contact information.