<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Reference on PIG</title>
    <link>https://pig.pgsty.com/v1.11/categories/reference/</link>
    <description>Recent content in Reference on PIG</description>
    <generator>Hugo</generator>
    <language>en</language>
    
    
    
      <lastBuildDate>Sun, 06 Dec 2026 08:44:11 +0800</lastBuildDate>
    
    
      <atom:link href="https://pig.pgsty.com/v1.11/categories/reference/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
        <title>pig pitr</title>
        <link>https://pig.pgsty.com/v1.11/pitr/</link>
        
        
        
        <guid>https://pig.pgsty.com/v1.11/pitr/</guid>
        <description>&lt;p&gt;Use &lt;code&gt;pig pitr&lt;/code&gt; to restore a local PostgreSQL instance from pgBackRest backups.&#xA;For a managed restore, PIG stops services as needed and restores the data.&#xA;By default, it then starts PostgreSQL and leaves Patroni stopped for you to verify the recovered database.&lt;/p&gt;&#xA;&lt;p&gt;Recovery replaces data in the target directory. Start with &lt;code&gt;--plan&lt;/code&gt; to check the directory,&#xA;backup source, recovery target, and service actions.&lt;/p&gt;&#xA;&lt;h2 id=&#34;before-recovery&#34;&gt;Before recovery&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;You need an installed pgBackRest, a readable configuration file, a usable backup,&#xA;and the archived WAL needed to reach the target. The default config path is&#xA;&lt;code&gt;/etc/pgbackrest/pgbackrest.conf&lt;/code&gt;. Select another file with &lt;code&gt;-c&lt;/code&gt; and a stanza with &lt;code&gt;-s&lt;/code&gt;.&lt;/p&gt;</description>
      </item>
    <item>
        <title>pig pgbackrest</title>
        <link>https://pig.pgsty.com/v1.11/pb/</link>
        
        
        
        <guid>https://pig.pgsty.com/v1.11/pb/</guid>
        <description>&lt;p&gt;&lt;code&gt;pig pgbackrest&lt;/code&gt; (alias &lt;code&gt;pig pb&lt;/code&gt;) creates backups, restores data, and manages pgBackRest stanzas.&#xA;It runs pgBackRest as the PostgreSQL operating-system user, selected by &lt;code&gt;--dbsu&lt;/code&gt; or &lt;code&gt;$PIG_DBSU&lt;/code&gt;&#xA;(default &lt;code&gt;postgres&lt;/code&gt;).&lt;/p&gt;&#xA;&lt;p&gt;Before the first backup, install pgBackRest and configure the stanza and repository in &lt;code&gt;pgbackrest.conf&lt;/code&gt;.&#xA;A &lt;em&gt;stanza&lt;/em&gt; groups the backup configuration for one PostgreSQL cluster.&#xA;In PostgreSQL, enable &lt;code&gt;archive_mode&lt;/code&gt; and set &lt;code&gt;archive_command&lt;/code&gt; to call pgBackRest.&lt;/p&gt;&#xA;&lt;p&gt;Use &lt;a href=&#34;https://pig.pgsty.com/v1.11/pitr/&#34;&gt;&lt;code&gt;pig pitr&lt;/code&gt;&lt;/a&gt; when recovery must also stop Patroni and PostgreSQL, then restart PostgreSQL.&#xA;Use &lt;code&gt;pig pb restore&lt;/code&gt; when you manage those steps yourself.&lt;/p&gt;</description>
      </item>
    <item>
        <title>pig pe</title>
        <link>https://pig.pgsty.com/v1.11/pe/</link>
        
        
        
        <guid>https://pig.pgsty.com/v1.11/pe/</guid>
        <description>&lt;p&gt;Use &lt;code&gt;pig pe&lt;/code&gt; to read metrics from a running &lt;a href=&#34;https://github.com/Vonng/pg_exporter&#34;&gt;pg_exporter&lt;/a&gt;&#xA;and reload its configuration. The full command name is &lt;code&gt;pig pg_exporter&lt;/code&gt;.&#xA;Aliases are &lt;code&gt;pe&lt;/code&gt;, &lt;code&gt;pgexp&lt;/code&gt;, and &lt;code&gt;pgexporter&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-5610e6f0-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;bash&#34; data-td-line-count=&#34;4&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-5610e6f0-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pig pe get                     &lt;span class=&#34;c1&#34;&gt;# Show PostgreSQL metrics&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pig pe list                    &lt;span class=&#34;c1&#34;&gt;# List PostgreSQL metric families&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pig pe stat                    &lt;span class=&#34;c1&#34;&gt;# Show exporter statistics&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pig pe reload                  &lt;span class=&#34;c1&#34;&gt;# Reload exporter configuration&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;h2 id=&#34;select-an-exporter&#34;&gt;Select an exporter&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;The default endpoint is &lt;code&gt;http://127.0.0.1:9630&lt;/code&gt;. Use these options to select another instance:&lt;/p&gt;</description>
      </item>
    <item>
        <title>pig patroni</title>
        <link>https://pig.pgsty.com/v1.11/pt/</link>
        
        
        
        <guid>https://pig.pgsty.com/v1.11/pt/</guid>
        <description>&lt;p&gt;&lt;code&gt;pig patroni&lt;/code&gt; (alias &lt;code&gt;pig pt&lt;/code&gt;) runs the installed &lt;code&gt;patronictl&lt;/code&gt; command.&#xA;Use it to inspect cluster members, change cluster configuration, and switch the primary.&#xA;PIG selects the configuration file and provides local service, status, and log commands.&#xA;Other commands use patronictl&amp;rsquo;s arguments, prompts, output, and exit codes.&lt;/p&gt;&#xA;&lt;p&gt;Install Patroni and configure access to its cluster before running cluster operations.&#xA;Use &lt;code&gt;pig pt COMMAND --help&lt;/code&gt; for native command help, or &lt;code&gt;pig pt -- --help&lt;/code&gt; for patronictl root help.&#xA;Running &lt;code&gt;pig pt&lt;/code&gt; alone shows PIG&amp;rsquo;s help.&lt;/p&gt;</description>
      </item>
    <item>
        <title>pig postgres</title>
        <link>https://pig.pgsty.com/v1.11/pg/</link>
        
        
        
        <guid>https://pig.pgsty.com/v1.11/pg/</guid>
        <description>&lt;p&gt;&lt;code&gt;pig postgres&lt;/code&gt; (alias &lt;code&gt;pig pg&lt;/code&gt;) manages local PostgreSQL instances and databases.&#xA;Use it to initialize or control an instance, run SQL, maintain tables, and create database copies.&#xA;Use &lt;a href=&#34;https://pig.pgsty.com/v1.11/pt/&#34;&gt;&lt;code&gt;pig pt&lt;/code&gt;&lt;/a&gt; for Patroni cluster operations and &lt;a href=&#34;https://pig.pgsty.com/v1.11/pitr/&#34;&gt;&lt;code&gt;pig pitr&lt;/code&gt;&lt;/a&gt; for recovery with pgBackRest.&lt;/p&gt;&#xA;&lt;p&gt;Commands run as the PostgreSQL operating-system user, normally &lt;code&gt;postgres&lt;/code&gt;.&#xA;Install PostgreSQL first. For a new data directory, make its parent writable by that user or&#xA;create an empty directory with the correct ownership before running &lt;code&gt;pg init&lt;/code&gt;.&lt;/p&gt;</description>
      </item>
    <item>
        <title>pig do</title>
        <link>https://pig.pgsty.com/v1.11/do/</link>
        
        
        
        <guid>https://pig.pgsty.com/v1.11/do/</guid>
        <description>&lt;p&gt;&lt;code&gt;pig do&lt;/code&gt; runs administration playbooks from the selected Pigsty directory. It uses the inventory to add clusters, create databases and users, install packages, or remove services.&lt;/p&gt;&#xA;&lt;p&gt;Define the target configuration in the inventory first, then run the corresponding command. The commands invoke Ansible directly. This command group has no general &lt;code&gt;--plan&lt;/code&gt; mode.&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-bfd4bcb4-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;bash&#34; data-td-line-count=&#34;6&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-bfd4bcb4-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pig &lt;span class=&#34;k&#34;&gt;do&lt;/span&gt; pgsql-add  pg-test 10.10.10.12     &lt;span class=&#34;c1&#34;&gt;# add one PostgreSQL instance&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pig &lt;span class=&#34;k&#34;&gt;do&lt;/span&gt; pgsql-rm   pg-test 10.10.10.12     &lt;span class=&#34;c1&#34;&gt;# remove one PostgreSQL instance&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pig &lt;span class=&#34;k&#34;&gt;do&lt;/span&gt; pgsql-db   pg-meta app             &lt;span class=&#34;c1&#34;&gt;# create or update a database&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pig &lt;span class=&#34;k&#34;&gt;do&lt;/span&gt; pgsql-user pg-meta dbuser_app      &lt;span class=&#34;c1&#34;&gt;# create or update a user&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pig &lt;span class=&#34;k&#34;&gt;do&lt;/span&gt; node-pkg   pg-meta restic          &lt;span class=&#34;c1&#34;&gt;# install a package on selected nodes&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pig &lt;span class=&#34;k&#34;&gt;do&lt;/span&gt; redis-add  redis-meta              &lt;span class=&#34;c1&#34;&gt;# initialize a Redis cluster&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;Inventory selection is shared with &lt;a href=&#34;https://pig.pgsty.com/v1.11/sty/#sty-deploy&#34;&gt;&lt;code&gt;sty deploy&lt;/code&gt;&lt;/a&gt;. PIG passes the resolved&#xA;source to Ansible without interpreting it again relative to Pigsty home. Missing explicit,&#xA;environment, or default sources fail before playbook execution. Existing directory and executable&#xA;Inventory sources remain Ansible inputs; static Inventory commands do not execute them.&lt;/p&gt;</description>
      </item>
    <item>
        <title>pig inventory</title>
        <link>https://pig.pgsty.com/v1.11/inventory/</link>
        
        
        
        <guid>https://pig.pgsty.com/v1.11/inventory/</guid>
        <description>&lt;p&gt;&lt;code&gt;pig inventory&lt;/code&gt; (alias &lt;code&gt;pig inv&lt;/code&gt;) inspects, edits, and validates the Pigsty inventory, &lt;code&gt;pigsty.yml&lt;/code&gt;. It also checks deployment prerequisites and exchanges configuration with PostgreSQL through the experimental &lt;code&gt;cmdb&lt;/code&gt; commands.&lt;/p&gt;&#xA;&lt;p&gt;When you edit a fragment, PIG preserves the YAML content and formatting outside that fragment. Before saving, it parses the complete file again. If parsing fails or another process has changed the original file, PIG keeps the original and reports an error.&lt;/p&gt;</description>
      </item>
    <item>
        <title>pig sty</title>
        <link>https://pig.pgsty.com/v1.11/sty/</link>
        
        
        
        <guid>https://pig.pgsty.com/v1.11/sty/</guid>
        <description>&lt;p&gt;&lt;code&gt;pig sty&lt;/code&gt; installs Pigsty, prepares the controller, generates configuration, and runs deployment playbooks. It also manages dashboards through the Grafana HTTP API.&lt;/p&gt;&#xA;&lt;div class=&#34;td-table-scroll td-table-scroll--static&#34;&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th scope=&#34;col&#34; style=&#34;text-align: left&#34;&gt;Command&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34; style=&#34;text-align: left&#34;&gt;Purpose&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;sty init&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Download and extract Pigsty into an installation directory&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;sty boot&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Install Ansible dependencies and prepare the controller&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;sty conf&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Generate and validate an inventory from a template&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;sty deploy&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Run the deployment playbook&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;sty list&lt;/code&gt; / &lt;code&gt;sty get&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;List or download Pigsty releases&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;sty grafana&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Manage Grafana dashboards, language, and theme; alias &lt;code&gt;gf&lt;/code&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;h2 id=&#34;quick-start&#34;&gt;Quick Start&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Run these commands on the controller:&lt;/p&gt;</description>
      </item>
    <item>
        <title>pig build</title>
        <link>https://pig.pgsty.com/v1.11/build/</link>
        
        
        
        <guid>https://pig.pgsty.com/v1.11/build/</guid>
        <description>&lt;p&gt;&lt;code&gt;pig build&lt;/code&gt; downloads sources, installs dependencies, and produces RPM/DEB packages using Pigsty build recipes. Use it on an EL, Debian, or Ubuntu build host. Rust, pgrx, and the Xray client also support their respective macOS workflows.&lt;/p&gt;&#xA;&lt;div class=&#34;td-table-scroll td-table-scroll--full td-table-scroll--static&#34;&gt;&#xA;&lt;table class=&#34;full-width wide expand td-table--wide&#34;&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th scope=&#34;col&#34; style=&#34;text-align: left&#34;&gt;Command&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34; style=&#34;text-align: left&#34;&gt;Description&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34; style=&#34;text-align: left&#34;&gt;Notes&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;build spec&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Initialize build specification directory&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;build repo&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Initialize required repositories&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;build tool&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Initialize build tools&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;build rust&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Install Rust toolchain&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Current user&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;build pgrx&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Install and initialize pgrx&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Current user&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;build proxy&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Set up Xray clients and servers&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Linux: root; macOS client: regular user&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;build get&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Download source tarballs&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;build dep&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Install extension build dependencies&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;build ext&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Build extension packages&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Current user&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;build pkg&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Complete pipeline: get, dep, ext&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;h2 id=&#34;quick-start&#34;&gt;Quick Start&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;If the build host needs package repositories, run &lt;code&gt;pig build repo&lt;/code&gt;. This backs up and replaces existing repository definitions.&#xA;Skip this step if suitable repositories are already configured.&lt;/p&gt;</description>
      </item>
    <item>
        <title>pig ext</title>
        <link>https://pig.pgsty.com/v1.11/ext/</link>
        
        
        
        <guid>https://pig.pgsty.com/v1.11/ext/</guid>
        <description>&lt;p&gt;&lt;code&gt;pig ext&lt;/code&gt; searches the extension catalog and installs, updates, or removes PostgreSQL extension packages on the host. It also supports PostgreSQL server packages. After installing a package, apply the SQL and configuration required by the extension.&lt;/p&gt;&#xA;&lt;div class=&#34;td-table-scroll td-table-scroll--full td-table-scroll--static&#34;&gt;&#xA;&lt;table class=&#34;full-width wide expand td-table--wide&#34;&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th scope=&#34;col&#34; style=&#34;text-align: left&#34;&gt;Command&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34; style=&#34;text-align: left&#34;&gt;Description&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34; style=&#34;text-align: left&#34;&gt;Notes&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;ext list&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Search extensions&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;ext info&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Show extension details&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;ext avail&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Show extension availability matrix&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;ext status&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Show host-visible extension files/packages&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Does not query every database&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;ext scan&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Scan installed control/library files&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Does not query every database&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;ext add&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Install extensions&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;ext rm&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Remove extensions&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;ext update&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Update extensions&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;ext import&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Download extensions for offline use&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;ext link&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Link a PG version into PATH&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;ext reload&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Refresh extension catalog&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;h2 id=&#34;quick-start&#34;&gt;Quick Start&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;This example uses a running PostgreSQL 18 instance. To install and start one, follow &lt;a href=&#34;https://pig.pgsty.com/v1.11/start/&#34;&gt;Getting Started&lt;/a&gt;.&lt;/p&gt;</description>
      </item>
    <item>
        <title>pig repo</title>
        <link>https://pig.pgsty.com/v1.11/repo/</link>
        
        
        
        <guid>https://pig.pgsty.com/v1.11/repo/</guid>
        <description>&lt;p&gt;&lt;code&gt;pig repo&lt;/code&gt; manages Linux package repositories. Use it to add or remove APT/YUM/DNF sources, refresh indexes, and create or extract offline bundles. &lt;code&gt;repo create&lt;/code&gt; also supports macOS through SOW.&lt;/p&gt;&#xA;&lt;div class=&#34;td-table-scroll td-table-scroll--full td-table-scroll--static&#34;&gt;&#xA;&lt;table class=&#34;full-width wide expand td-table--wide&#34;&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th scope=&#34;col&#34; style=&#34;text-align: left&#34;&gt;Command&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34; style=&#34;text-align: left&#34;&gt;Description&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34; style=&#34;text-align: left&#34;&gt;Notes&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo list&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Print available repositories and modules&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo info&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Show repository details&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo status&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Show current repository status&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo add&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Add repositories&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo set&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Clear, overwrite, and update repositories&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo rm&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Remove repositories&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo update&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Update repository cache&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo create&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Create local YUM/APT repository&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Linux: sudo/root; macOS: current user&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo cache&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Create offline package from local repo&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo boot&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Bootstrap repository from offline package&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo reload&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Refresh repository catalog&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;h2 id=&#34;quick-start&#34;&gt;Quick Start&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;On a host with working OS repositories, add the PostgreSQL repositories and refresh their indexes:&lt;/p&gt;</description>
      </item>
    <item>
        <title>pig</title>
        <link>https://pig.pgsty.com/v1.11/cmd/</link>
        
        
        
        <guid>https://pig.pgsty.com/v1.11/cmd/</guid>
        <description>&lt;p&gt;&lt;code&gt;pig&lt;/code&gt; manages PostgreSQL packages, local database services, and Pigsty deployments. Choose a command below for your task. Use &lt;code&gt;pig COMMAND --help&lt;/code&gt; to see the options supported by your installed program.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://pig.pgsty.com/v1.11/repo/&#34;&gt;&lt;strong&gt;pig repo&lt;/strong&gt;&lt;/a&gt;: manage software repositories&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://pig.pgsty.com/v1.11/ext/&#34;&gt;&lt;strong&gt;pig ext&lt;/strong&gt;&lt;/a&gt;: manage PostgreSQL extensions&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://pig.pgsty.com/v1.11/build/&#34;&gt;&lt;strong&gt;pig build&lt;/strong&gt;&lt;/a&gt;: build extensions from source&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;pig install&lt;/strong&gt;: install packages with the native package manager and translate PostgreSQL aliases&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://pig.pgsty.com/v1.11/sty/&#34;&gt;&lt;strong&gt;pig sty&lt;/strong&gt;&lt;/a&gt;: manage Pigsty installation and Grafana dashboards&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://pig.pgsty.com/v1.11/inventory/&#34;&gt;&lt;strong&gt;pig inventory&lt;/strong&gt;&lt;/a&gt;: inspect, edit, validate, and exchange the Pigsty inventory&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://pig.pgsty.com/v1.11/do/&#34;&gt;&lt;strong&gt;pig do&lt;/strong&gt;&lt;/a&gt;: run Pigsty administration playbook tasks&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://pig.pgsty.com/v1.11/pe/&#34;&gt;&lt;strong&gt;pig pe&lt;/strong&gt;&lt;/a&gt;: access pg_exporter metrics and configuration&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://pig.pgsty.com/v1.11/pg/&#34;&gt;&lt;strong&gt;pig pg&lt;/strong&gt;&lt;/a&gt;: manage local PostgreSQL servers&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://pig.pgsty.com/v1.11/pt/&#34;&gt;&lt;strong&gt;pig pt&lt;/strong&gt;&lt;/a&gt;: run patronictl transparently with service and config helpers&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://pig.pgsty.com/v1.11/pb/&#34;&gt;&lt;strong&gt;pig pb&lt;/strong&gt;&lt;/a&gt;: manage pgBackRest backup and restore&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://pig.pgsty.com/v1.11/pitr/&#34;&gt;&lt;strong&gt;pig pitr&lt;/strong&gt;&lt;/a&gt;: run the full PITR workflow&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;pig context&lt;/strong&gt;: output an environment context snapshot for humans and agents&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;pig license&lt;/strong&gt;: issue and verify Pigsty licenses&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;pig status / update / version&lt;/strong&gt;: inspect environment status, upgrade pig, and print version information&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;global-options&#34;&gt;Global options&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;td-table-scroll td-table-scroll--static&#34;&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th scope=&#34;col&#34; style=&#34;text-align: left&#34;&gt;Option&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34; style=&#34;text-align: left&#34;&gt;Purpose&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;-h, --help&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Show help&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;-H, --home PATH&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Select the Pigsty installation directory&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;-i, --inventory PATH&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Select the inventory&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;-o, --output FORMAT&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Output format: &lt;code&gt;text&lt;/code&gt; (default), &lt;code&gt;json&lt;/code&gt;, &lt;code&gt;yaml&lt;/code&gt;, or &lt;code&gt;json-pretty&lt;/code&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;--debug&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Enable debug logging&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;--log-level LEVEL&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Log level: &lt;code&gt;debug&lt;/code&gt;, &lt;code&gt;info&lt;/code&gt; (default), &lt;code&gt;warn&lt;/code&gt;, &lt;code&gt;error&lt;/code&gt;, &lt;code&gt;fatal&lt;/code&gt;, or &lt;code&gt;panic&lt;/code&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;--log-path PATH&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Write logs to a file; the default is the terminal&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;PIG-owned results support structured output. Raw-content commands such as &lt;code&gt;inventory show&lt;/code&gt; and passthrough commands such as &lt;code&gt;pt list&lt;/code&gt; retain their native output. See the command reference for details.&lt;/p&gt;</description>
      </item>
    
  </channel>
</rss>
