xref: /PHP-8.2/travis/setup-pgsql.sh (revision cf3d3cd8)
1#!/bin/sh
2set -ev
3
4# PostgreSQL tests currently don't work on some architectures.
5if test -z "${ARM64}${S390X}"; then
6    psql -c "ALTER USER postgres PASSWORD 'postgres';" -U postgres
7    psql -c "CREATE DATABASE test;" -U postgres
8fi
9