[php-src] PR #14519: Check for PQERRORS_SQLSTATE in PGVerbosity enum
| From: | petk | Date: | Sun, 09 Jun 2024 07:45:29 +0000 |
| Subject: | [php-src] PR #14519: Check for PQERRORS_SQLSTATE in PGVerbosity enum | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26597@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14519
Author: petk
The PG_VERSION_NUM is not available in intended public PostgreSQL headers unless the pg_config.h is
included or the PostgreSQL server development headers are installed separately. This instead resorts
to checking for the PGVerbosity enum value. The PQERRORS_SQLSTATE was added to PostgreSQL 12.0.