[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

PostgreSQL

PostgreSQL,or Postgres, is an object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance.

Installing

Postgres is currently available from slackbuilds.org and can be installed via that.

PHP / Apache Support

The official PHP Slackware package currently does not ship with Postgres support. To enable it the source and SlackBuild script for the PHP package should be downloaded from a Slackware mirror and the following configure options should be added to php.SlackBuild before building:

  --with-pdo-pgsql=shared
  --with-pgsql=shared

Alternative method

php-pgsql could be installed via SBo

After installing the required modules can be enabled via php.ini

Sources

 howtos:databases:postgresql ()