<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>postgres on PIG</title>
    <link>https://pig.pgsty.com/v1.11/tags/postgres/</link>
    <description>Recent content in postgres 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/tags/postgres/index.xml" rel="self" type="application/rss+xml" />
    
    <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 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>
    
  </channel>
</rss>
