Skip to content

Commit 3065b7e

Browse files
committed
v2.1.0 release
1 parent 505c290 commit 3065b7e

File tree

6 files changed

+47
-11
lines changed

6 files changed

+47
-11
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
>
55
> —— **A battery-included, local-first, open-source RDS PG alternative.**
66
>
7-
> [Release v2.1.0](https://github.com/Vonng/pigsty/releases/tag/v2.1.0) | [Repo](https://github.com/Vonng/pigsty) | [Demo](http://demo.pigsty.cc) | [Docs](https://vonng.github.io/pigsty/#/) | [Blog](https://pigsty.cc/en/) | [Telegram](https://t.me/joinchat/gV9zfZraNPM3YjFh) | [Discord](https://discord.gg/sfBqv7S5)
7+
> [Release v2.1.0](https://github.com/Vonng/pigsty/releases/tag/v2.1.0) | [Repo](https://github.com/Vonng/pigsty) | [Demo](http://demo.pigsty.cc) | [Docs](https://vonng.github.io/pigsty/#/) | [Blog](https://pigsty.cc/en/) | [Telegram](https://t.me/joinchat/gV9zfZraNPM3YjFh) | [Discord](https://discord.gg/QDMZqV4a)
88
>
99
> [Get Started](docs/INSTALL.md) with `curl -fsSL http://download.pigsty.cc/get | bash`
1010
@@ -419,7 +419,7 @@ WeChat: Search `pigsty-cc` to join the WeChat group.
419419

420420
Telegram: https://t.me/joinchat/gV9zfZraNPM3YjFh
421421

422-
Discord: https://discord.gg/hG7GYDdW
422+
Discord: https://discord.gg/QDMZqV4a
423423

424424
Author: [Vonng](https://vonng.com/en) ([rh@vonng.com](mailto:rh@vonng.com))
425425

docs/FAQ.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,23 @@ If you wish to access with HTTPS, you must remove `files/pki/csr/pigsty.csr`, `f
415415

416416

417417

418+
<br>
419+
<details><summary>How to manually add upstream repo files</summary>
420+
421+
Pigsty has a built-in wrap script `bin/repo-add`, which will invoke ansible playbook `node.yml` to adding repo files to corresponding nodes.
422+
423+
```bash
424+
bin/repo-add <selector> [modules]
425+
bin/repo-add 10.10.10.10 # add node repos for node 10.10.10.10
426+
bin/repo-add infra node,infra # add node and infra repos for group infra
427+
bin/repo-add infra node,local # add node repos and local pigsty repo
428+
bin/repo-add pg-test node,pgsql # add node & pgsql repos for group pg-test
429+
```
430+
431+
</details>
432+
433+
434+
418435

419436
----------------
420437

@@ -769,9 +786,25 @@ There are several possible reasons:
769786
770787
771788
772-
773789
<br>
790+
<details><summary>Install PostgreSQL 12 - 14, and 16 beta</summary>
791+
792+
To install PostgreSQL 12 - 15, you have to set `pg_version` to `12`, `13`, `14`, or `15` in the inventory. (usually at cluster level)
793+
794+
To install PostgreSQL 16 beta, you have to change `pg_libs` and `pg_extensions` too, since most extensions are not available for pg16 yet.
774795
796+
```yaml
797+
pg_version: 16 # install pg 16 in this template
798+
pg_libs: 'pg_stat_statements, auto_explain' # remove timescaledb from pg 16 beta
799+
pg_extensions: [] # missing pg16 extensions for now
800+
```
801+
802+
</details>
803+
804+
805+
806+
807+
<br>
775808
<details><summary>How enable hugepage for PostgreSQL?</summary>
776809
777810
!> use `node_hugepage_count` and `node_hugepage_ratio` or `/pg/bin/pg-tune-hugepage`
@@ -791,6 +824,8 @@ pg restart <cls> # restart postgres to use hugepage
791824
</details>
792825
793826
827+
828+
794829
<br>
795830
<details><summary>How to guarantee zero data loss during failover?</summary>
796831
@@ -802,8 +837,8 @@ Consider using [Sync Standby](PGSQL-CONF#sync-standby) and [Quorum Comit](PGSQL-
802837
803838
804839
805-
<br>
806840
841+
<br>
807842
<details><summary>How to survive from disk full?</summary>
808843
809844
!> `rm -rf /pg/dummy` will free some emergency space.

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
>
55
> —— **A battery-included, local-first, open-source RDS PG alternative.**
66
>
7-
> [Release v2.1.0](https://github.com/Vonng/pigsty/releases/tag/v2.1.0) | [Repo](https://github.com/Vonng/pigsty) | [Demo](http://demo.pigsty.cc) | [Docs](https://vonng.github.io/pigsty/#/) | [Blog](https://pigsty.cc/en/) | [Telegram](https://t.me/joinchat/gV9zfZraNPM3YjFh) | [Discord](https://discord.gg/sfBqv7S5)
7+
> [Release v2.1.0](https://github.com/Vonng/pigsty/releases/tag/v2.1.0) | [Repo](https://github.com/Vonng/pigsty) | [Demo](http://demo.pigsty.cc) | [Docs](https://vonng.github.io/pigsty/#/) | [Blog](https://pigsty.cc/en/) | [Telegram](https://t.me/joinchat/gV9zfZraNPM3YjFh) | [Discord](https://discord.gg/QDMZqV4a)
88
>
99
> [Get Started](INSTALL.md) with `curl -fsSL http://download.pigsty.cc/get | bash`
1010
@@ -431,7 +431,7 @@ WeChat: Search `pigsty-cc` to join the WeChat group.
431431

432432
Telegram: https://t.me/joinchat/gV9zfZraNPM3YjFh
433433

434-
Discord: https://discord.gg/sfBqv7S5
434+
Discord: https://discord.gg/QDMZqV4a
435435

436436
Author: [Vonng](https://vonng.com/en) ([rh@vonng.com](mailto:rh@vonng.com))
437437

docs/RELEASENOTE.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636

3737
**Highlight**
3838

39-
* PostgreSQL 16 beta support
40-
* PostgreSQL 12 ~ 15 support
41-
* Add PGVector for AI Embedding
39+
* PostgreSQL 16 beta support, and 12 ~ 15 support.
40+
* Add PGVector for AI Embedding for 12 - 15
4241
* Add 6 extra panel & datasource plugins for grafana
4342
* Add `bin/profile` to profile remote process and generate flamegraph
4443
* Add `bin/validate` to validate pigsty.yml configuration file
44+
* Add `bin/repo-add` to add upstream repo files to /etc/yum.repos.d
4545
* PostgreSQL 16 observability: `pg_stat_io` and corresponding dashboards
4646

4747
**Software Upgrade**
@@ -63,6 +63,7 @@
6363
* Now use all `id*.pub` when installing local user's public key
6464

6565

66+
6667
------------------------------
6768

6869
## v2.0.2

vagrant/spec/el8.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# pigsty 4 nodes EL7 sandbox: rhel7, centos7, oracle7, alma7
1+
# pigsty 4 nodes EL8 sandbox: rhel8, rocky8, alma7
22
EL_VERSION = "8"
33
Images = {
44
"RHEL" => { "7"=> "generic/rhel7" , "8"=> "generic/rhel8" , "9"=> "generic/rhel9" },

vagrant/spec/el9.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# pigsty 4 nodes EL7 sandbox: rhel7, centos7, oracle7, alma7
1+
# pigsty 4 nodes EL9 sandbox: rhel9, centos9, alma9
22
EL_VERSION = "9"
33
Images = {
44
"RHEL" => { "7"=> "generic/rhel7" , "8"=> "generic/rhel8" , "9"=> "generic/rhel9" },

0 commit comments

Comments
 (0)