|
1 | 1 | # PIG - Postgres Install Genius |
2 | 2 |
|
3 | 3 | [](https://pgext.cloud) |
| 4 | +[](https://pigsty.io/docs/pig) |
4 | 5 | [](https://github.com/pgsty/pig/releases/tag/v1.1.0) |
5 | 6 | [](https://pigsty.io/docs/about/release) |
6 | 7 | [](https://github.com/pgsty/pig/blob/main/LICENSE) |
7 | 8 | [](https://pgext.cloud/list) |
| 9 | +[](https://deepwiki.com/pgsty/pig) |
8 | 10 |
|
9 | 11 | [**pig**](https://pgext.cloud/pig) is an open-source PostgreSQL (& Extension) Package Manager for [mainstream](https://pgext.cloud/os) (EL/Debian/Ubuntu) Linux. |
10 | 12 |
|
11 | 13 | Install PostgreSQL 13 ~ 18 along with [451 extensions](https://pgext.cloud/list) on (`amd64` / `arm64`) with native OS package manager |
12 | 14 |
|
13 | | -Also check the [**PGEXT.CLOUD**](https://pgext.cloud) to get details about the package manager, repository and extension catalog. |
| 15 | +All commands support structured output (`-o yaml/json`) with self-describing schema, making it an **Agent-Friendly** PostgreSQL CLI tool. |
| 16 | +Also check the [**PGEXT.CLOUD**](https://pgext.cloud) to get details about the available extensions. |
14 | 17 |
|
15 | 18 | [](https://medium.com/@fengruohang/postgres-is-eating-the-database-world-157c204dcfc4) |
16 | 19 |
|
@@ -380,6 +383,10 @@ $ pig ext info pg_duckdb |
380 | 383 | ├──────────────┴───────────────────────────────────────────────────────────────────────────────┤ |
381 | 384 | │ Comment: conflict with duckdb_fdw │ |
382 | 385 | ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ |
| 386 | +
|
| 387 | +# Print in JSON format |
| 388 | +$ pig ext info pg_duckdb -o json |
| 389 | +{"success":true,"code":0,"message":"Extension: pg_duckdb","data":{"name":"pg_duckdb","pkg":"pg_duckdb","lead_ext":"pg_duckdb","category":"OLAP","license":"MIT","language":"C++","version":"1.1.1","url":"https://github.com/duckdb/pg_duckdb","source":"pg_duckdb-1.1.1.tar.gz","description":"DuckDB Embedded in Postgres","zh_desc":"在PostgreSQL中的嵌入式DuckDB扩展","properties":{"has_bin":false,"has_lib":true,"need_load":true,"need_ddl":true,"relocatable":"f","trusted":"f"},"required_by":["pg_mooncake"],"see_also":["pg_mooncake","duckdb_fdw","pg_analytics","pg_parquet","columnar","citus","citus_columnar","orioledb"],"pg_ver":["18","17","16","15","14"],"rpm_package":{"package":"pg_duckdb_$v","repository":"PIGSTY","version":"1.1.1","pg_ver":["18","17","16","15","14"]},"deb_package":{"package":"postgresql-$v-pg-duckdb","repository":"PIGSTY","version":"1.1.1","pg_ver":["18","17","16","15","14"]},"operations":{"install":"pig ext add pg_duckdb","config":"shared_preload_libraries = 'pg_duckdb'","create":"CREATE EXTENSION pg_duckdb;","build":"pig build pkg pg_duckdb; # build rpm / deb"},"comment":"conflict with duckdb_fdw"}} |
383 | 390 | ``` |
384 | 391 |
|
385 | 392 | **Print Extension Availability** |
@@ -455,7 +462,8 @@ repo_modules: # Available Modules: 20 |
455 | 462 | - pigsty : pigsty-infra, pigsty-pgsql |
456 | 463 | - pgdg : pgdg |
457 | 464 | - node : base, updates, extras, epel, centos-sclo, centos-sclo-rh, baseos, appstream, powertools, crb, security, backports |
458 | | - - infra : pigsty-infra, nginx, docker-ce |
| 465 | + - infra : pigsty-infra, nginx |
| 466 | + - docker : docker-ce |
459 | 467 | - pgsql : pigsty-pgsql, pgdg-common, pgdg-el8fix, pgdg-el9fix, pgdg13, pgdg14, pgdg15, pgdg16, pgdg17, pgdg18, pgdg |
460 | 468 | - extra : pgdg-extras, pgdg13-nonfree, pgdg14-nonfree, pgdg15-nonfree, pgdg16-nonfree, pgdg17-nonfree, timescaledb, citus |
461 | 469 | - mssql : wiltondb |
|
0 commit comments