You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[v1.1.0](#v110)| 2025-12-15 | Update default metrics collectors, bump to go 1.25.5 |[v1.1.0](https://github.com/pgsty/pg_exporter/releases/tag/v1.1.0)|
@@ -36,6 +37,47 @@ The latest stable version of `pg_exporter` is [v1.1.2](https://github.com/pgsty/
36
37
|[v0.0.1](#v001)| 2019-12-06 | Initial release with PgBouncer mode |[v0.0.1](https://github.com/pgsty/pg_exporter/releases/tag/v0.0.1)|
37
38
38
39
40
+
## v1.2.0
41
+
42
+
`v1.2.0` is a stability-and-compatibility focused minor release across startup flow, hot reload, health probing, config validation, and legacy support.
43
+
44
+
**New Features:**
45
+
46
+
- Add robust hot reload workflow: support platform-specific reload signals (`SIGHUP` / `SIGUSR1`) and strengthen `POST /reload` to refresh configs and query plans without process restart
47
+
- Switch startup to non-blocking mode: HTTP endpoints come up first even when target precheck fails, making recovery and monitoring integration smoother
48
+
- Add PostgreSQL 9.1-9.6 legacy config bundle: provide `legacy/` configs and a `make conf9` target for easier onboarding of EOL PostgreSQL versions
49
+
- Rework health probing architecture: use cached health snapshots with periodic probes for more consistent role-based health endpoints and smoother reload behavior
50
+
- Improve release engineering baseline: run `go test` and `go vet` in release workflows and bump build toolchain to Go 1.26.0
51
+
52
+
**Bug Fixes:**
53
+
54
+
- Fix multiple config parsing edge cases: reject malformed metrics entries, return explicit errors when config dirs fail to load valid YAML, and harden runtime fallbacks
55
+
- Fix CLI bool flag parsing to correctly handle `--flag=false` style arguments
56
+
- Fix `/explain` output/rendering behavior by adjusting content type handling and using safer template rendering
Copy file name to clipboardExpand all lines: content/docs/pig/_index.md
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,7 @@ PIG is a command-line tool specifically designed for installing, managing, and b
12
12
PIG is not a reinvented wheel, but rather a **PiggyBack** - a high-level abstraction layer that leverages existing Linux distribution package managers (`apt`/`dnf`).
13
13
It abstracts away the differences between operating systems, chip architectures, and PG major versions, allowing you to install and manage PG kernels and 444+ extensions with just a few simple commands.
14
14
15
-
PIG is also an **Agentic Native CLI**: it supports global `-o|--output` structured output (`yaml` / `json` / `json-pretty`), and provides a **Capability Map** and **Command Schema** for AI/automation. For example:
PIG is also automation-friendly by design: consistent parameter styles, clear error messages, and safe guards like `--dry-run` for high-risk operations.
21
16
22
17
Please note: for extension installation, **pig is not a mandatory component**. You can still use apt/dnf package managers to directly access the [**Pigsty PGSQL**](/docs/repo/pgsql/) repository.
You can also download `pig` installation packages (`RPM`/`DEB`/tarball) directly from the Pigsty repository: [GitHub Latest Release Page](https://github.com/pgsty/pig/releases/latest)
50
+
You can also download `pig` installation packages (`RPM`/`DEB`/tarball) directly from the Pigsty repository: [GitHub v1.0.0 Stable Release Page](https://github.com/pgsty/pig/releases/tag/v1.0.0)
51
51
52
52
```
53
53
latest
@@ -135,4 +135,3 @@ go get -u; go build
135
135
```
136
136
137
137
All RPM/DEB packages are automatically built through GitHub CI/CD workflow using goreleaser.
Copy file name to clipboardExpand all lines: content/docs/pig/intro.md
+2-9Lines changed: 2 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,16 +23,9 @@ Want to supercharge your Postgres and escape the hassle? Visit the [PIG official
23
23
turning your local Postgres database into an all-capable multi-modal data platform with one click.
24
24
If [Postgres's future is unmatched extensibility](https://medium.com/@fengruohang/postgres-is-eating-the-database-world-157c204dcfc4), then Pig is the magic lamp that helps you unlock it. After all, no one ever complains about "too many extensions".
25
25
26
-
## Agentic Native CLI
26
+
## Automation-Friendly
27
27
28
-
PIG is designed for AI agents and automation. The global `-o|--output` switch enables structured output (`yaml` / `json` / `json-pretty`),
29
-
and Pig also provides the **Capability Map** and **Command Schema** needed for capability discovery.
30
-
31
-
```bash
32
-
pig --help -o yaml # capability map
33
-
pig ext --help -o json # command schema
34
-
pig repo list -o yaml # structured result: success / code / message / data
35
-
```
28
+
PIG's command system is automation-ready out of the box: consistent argument conventions, stable output behavior, and `--dry-run` or confirmation flows for high-risk operations to reduce mistakes.
36
29
37
30
38
31
> [ANNOUNCE pig: The Postgres Extension Wizard](https://www.postgresql.org/about/news/announce-pig-the-postgres-extension-wizard-2988/)
0 commit comments