Skip to content

settingsSupported platforms ​

Supported
PostgreSQL18
CPUx86-64 (amd64) and arm64 (aarch64)
Operating systemLinux with glibc 2.39 or newer: the official postgres:18 Docker image, Debian 13, Ubuntu 24.04 and later
Not supportedmusl-based systems such as Alpine; PostgreSQL versions before 18

Each release publishes one archive per architecture, pgrdf-<version>-pg18-glibc-amd64.tar.gz and pgrdf-<version>-pg18-glibc-arm64.tar.gz, plus a signed OCI bundle. See Install for every route.

Server requirements ​

  • shared_preload_libraries = 'pgrdf', followed by a server restart (a reload is not enough). Without it the extension still installs and most functions work, but the shared term cache and the parallel staged loader are unavailable.
  • A superuser for CREATE EXTENSION pgrdf. Applications can then use an ordinary role; see Using pgRDF from an application role.
  • Optional: PostgreSQL 18 can load pgRDF from a directory of its own (extension_control_path, dynamic_library_path). See Keep pgRDF in its own directory.

Check a server ​

sql
SELECT current_setting('server_version_num')::int / 10000 AS pg_major,   -- 18
       current_setting('shared_preload_libraries')        AS preload,    -- includes pgrdf
       pgrdf.stats() -> 'shmem_ready'                     AS shmem_ready; -- true
 pg_major | preload | shmem_ready
----------+---------+-------------
       18 | pgrdf   | true

On the host, ldd --version prints the glibc version; the postgres:18 image ships glibc 2.41.

Upgrades ​

Install the new release's files, restart PostgreSQL, then run ALTER EXTENSION pgrdf UPDATE in each database that uses pgRDF. Upgrade scripts cover 0.6.22 and later. See Upgrading.

pgRDF is released under the MIT license. Documentation built with VitePress, served via GitHub Pages.