All articles

Infrastructure & continuity

Accept the server and its C extensions as one PostgreSQL update

A patched PostgreSQL server is only part of the answer when the application loads C extensions. Establish which server is running, which headers built each extension and which library that service will load. An older extension can appear to work without the new checks; a rebuilt one can fail against an older server.

KIURO Editorial · Published: · Reviewed:

PostgreSQL released 18.7, 17.12, 16.16, 15.20 and 14.25 on 12 November 2026, alongside 19 RC 2. The latter remains a release candidate, not general availability. This guide concerns acceptance of the security-update dependency set, not a recommendation to move production to PostgreSQL 19. (PostgreSQL Global Development Group)

Find the boundary that the server version cannot describe

The 17.12 notes require rebuilding C-language extensions for full composite-type protection; some need source changes. They warn that disabling composite_type_mismatch carries security risks. A compatibility problem should therefore lead to a reviewed extension remedy, not a blanket instruction to turn the checks off. (PostgreSQL Global Development Group)

CVE-2026-6460 concerns type confusion that can let an object creator execute code as the database’s operating-system user under the described conditions. The advisory names the fixed releases. It does not establish exposure or exploitation in a particular installation. (PostgreSQL Security Team)

Begin with a real application operation that calls an extension. A service inventory can show several PostgreSQL installations, a custom start command or a process that has not restarted since package replacement. The acceptance question is which combination serves that operation now. Keep package state, build provenance and running-process evidence separate until they can be joined.

Two directions produce different warning signs

The PGDG RPM maintainer explains both directions: an older extension can load on a newer server without the fix’s checks; a rebuilt extension can require functions an older server lacks and fail with an undefined-symbol error. A successful load is therefore not a complete acceptance result. (Devrim Gündüz / PGDG RPM maintainer)

Consider a fictional planning application using a PostGIS-backed location function and another internally maintained C extension. No database or extension was run for this example. The application owner can describe the required result, but the package supplier or build owner must establish how the libraries were produced. Giving one person both questions does not make either answer visible.

Proposed dependency tree for the fictional application — not observed output
Application operation and expected result
└─ PostgreSQL service actually handling that operation
   ├─ Running server binary and matching library set
   ├─ PostGIS library selected by this installation
   │  └─ Supplier/build evidence for corrected headers
   └─ Internally maintained C extension
      ├─ Source revision and required compatibility changes
      └─ Build headers and resulting library identity

Use the tree to locate a missing relationship. “PostGIS package present” leaves open which installation selects it. “Built this morning” leaves open which development headers were on the builder. “Server updated” leaves open whether the live process is still using the previous executable. Ask the relevant owner for the missing evidence rather than turning all three statements into one completion tick.

Choose a coordinated change for the actual package source

For PGDG RPM repositories, the maintainer advises updating server and extensions together and describes dependencies tying rebuilt extensions to the corrected minor releases. Custom service managers and Patroni need coordinated restart handling. This packaging guidance is not a universal command sequence for other distributions or managed services. (Devrim Gündüz / PGDG RPM maintainer)

For a different package supplier, request its applicable advisory, fixed build or backport evidence and extension compatibility guidance. Record the exact release or build reference supplied. A version string alone may not answer a vendor-specific backport question. For an internally compiled extension, retain the source revision, build environment and header provenance with the resulting artifact.

The fictional team would choose a permitted fixture that exercises its location lookup and the internal extension’s required result. It would compare expected and observed application behaviour in an isolated rehearsal only after authorisation. Passing those checks would show the scoped function still works; the build evidence remains necessary to establish that the intended protection was included.

  1. Resolve the running service and package supplier for the application path.
  2. Obtain the matching server, headers and extension build evidence, with unresolved source changes visible.
  3. Agree the restart/change boundary and a recovery decision that does not silently reintroduce an unaccepted combination.
  4. Collect the authorised functional evidence and have the application and platform owners accept their respective parts.

Keep the source chronology and secondary work explicit

The official release is dated 12 November 2026. The packaging page showed 16 November in the capture taken that day and shows 17 November in the 17 November capture. Planet PostgreSQL lists the entry at 12 November 12:58. These observations establish neither the article’s publication date nor why the displayed date changed. (Devrim Gündüz / PGDG RPM maintainer, Planet PostgreSQL)

The 17.12 migration notes do not require dump/restore within 17.x. They separately call for reviewing affected indexes and recommend a new full backup as the basis for subsequent incremental backups. Apply those post-steps to the installation’s actual usage rather than prescribing a reindex of everything. (PostgreSQL Global Development Group)

Have the maintenance lead assess the applicable index and backup follow-up separately from the extension build. Record which steps are required for this installation and who will verify their completion. Keep an unresolved extension build visible even when other maintenance tasks have finished. For the backup follow-up, use the PostgreSQL restore rehearsal guide to define recovery evidence before treating a new backup as accepted.

Agree the deliverable before closing the update

PostgreSQL’s licence permits use, modification and distribution under its notice conditions and disclaims warranty. Extension licences and package or support agreements remain separate. The server licence does not promise a hosted database service, maintenance entitlement or an application’s compatibility. (PostgreSQL Global Development Group)

Budget for supplier coordination, rebuilding where needed, rehearsal and the agreed interruption or recovery work. No universal cost, downtime or customer saving has been measured here. The useful completion record is the dependency tree with supported build references, the running combination and acceptance of the application path. No SQL, exploit, package installation or production update was performed for this article.

Sources

Privacy & analytics

With your permission, Kiuro uses Google Analytics 4 to understand page visits and interactions such as navigation between pages, reading depth, project views, contact-link clicks and starting or successfully submitting a form. Google also processes browser, device and approximate location information. The provider is Google Ireland Limited (Ireland); processing may also take place at Google LLC in the United States.

We do not send your name, email address or message content. Advertising storage, advertising personalisation and Google signals are disabled. Google Analytics is not loaded before you allow it.

After consent, a temporary record in this tab is valid for 30 seconds and consumed when the next page loads. Your choice is saved on this browser for six months. Analytics cookies are configured to expire after six months. You can change your choice here at any time; rejecting stops measurement and removes this website’s Analytics cookies.

Your light/dark and motion preferences are stored separately on this device so the interface remembers your choices. Contact: hello@kiuro.ch.