[php-src] Issue #21055: Typo in pgsql_driver.c: duplicated constant in a switch
| From: | lsaos | Date: | Wed, 28 Jan 2026 01:55:13 +0000 |
| Subject: | [php-src] Issue #21055: Typo in pgsql_driver.c: duplicated constant in a switch | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-251612@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/21055
Author: lsaos
There is a mistake in pgsql_driver.c, probably a typo:
https://github.com/php/php-src/blob/cc50c9e928fd58b0313eee5f102cdc814c873f23/ext/pdo_pgsql/pgsql_driver.c#L523
It should be case CONNECTION_GSS_STARTUP and not case CONNECTION_SSL_STARTUP according to the
#ifdef, message description and the CONNECTION_SSL_STARTUP is 10 lines above. I believe it never got
caught because this module was never compiled with CONNECTION_GSS_STARTUP present.