<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>PostgreSQL on AltSql.com</title>
    <link>https://altsql.com/tags/postgresql/</link>
    <description>Recent content in PostgreSQL on AltSql.com</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 31 Oct 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://altsql.com/tags/postgresql/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>AltSql Restore Catches a Cut Upload and a 72 Percent Rental Loss in Five Nights of Pagila Backups</title>
      <link>https://altsql.com/altsql-restore-catches-a-cut-upload-and-a-72-percent-rental-loss-in-five-nights-of-pagila-backups/</link>
      <pubDate>Sat, 31 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/altsql-restore-catches-a-cut-upload-and-a-72-percent-rental-loss-in-five-nights-of-pagila-backups/</guid>
      <description>&lt;p&gt;Pagila is the public sample database of a made-up DVD rental chain, a PostgreSQL port of MySQL&amp;rsquo;s Sakila. It has customers, films, stores, 51,805 rentals and 51,061 payments, and the payments sit in one partition per month. That makes 69 tables in all, which is close enough to a small shop&amp;rsquo;s real database to be worth a test.&lt;/p&gt;&#xA;&lt;p&gt;We loaded it into a local PostgreSQL 16.15 server and backed it up five times with &lt;code&gt;pg_dump | gzip&lt;/code&gt;, the way many teams do it every night. After each backup, the released &lt;code&gt;altsql-restore&lt;/code&gt; 0.5.0 checked the file with the same job name and the same history. The five runs were made one after another on 31 October 2026, and each one stands for a night.&lt;/p&gt;</description>
    </item>
    <item>
      <title>AltSql Restore Fails Three PostgreSQL Dumps That psql Restored With Exit Status 0</title>
      <link>https://altsql.com/altsql-restore-fails-three-postgresql-dumps-that-psql-restored-with-exit-status-0/</link>
      <pubDate>Sat, 31 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/altsql-restore-fails-three-postgresql-dumps-that-psql-restored-with-exit-status-0/</guid>
      <description>&lt;p&gt;Plenty of teams already test their backups with a one-line script. It loads last night&amp;rsquo;s dump into a spare database with &lt;code&gt;psql&lt;/code&gt;, and if the exit status is 0, the backup counts as good. The trouble is that &lt;code&gt;psql&lt;/code&gt; reading a file keeps going after an error. It prints the error, moves on to the next statement, and exits with 0 at the end, however many statements failed.&lt;/p&gt;&#xA;&lt;p&gt;We took three PostgreSQL dumps with real faults and gave each one to that script and to &lt;code&gt;altsql-restore&lt;/code&gt; 0.5.0. Then we did the same with a MariaDB dump. Everything ran on 31 October 2026 against local PostgreSQL 16.15 and MariaDB 10.11.14 servers.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
