typo: oid of bool is 16, not 18
[m6w6/ext-pq] / src / php_pqres.c
index 03317113f01ba68e35cc3b00f087321402ccf343..874751a5f1736003c56367cf24d5e746ff807116 100644 (file)
@@ -173,7 +173,7 @@ zval *php_pqres_row_to_zval(PGresult *res, unsigned row, php_pqres_fetch_t fetch
 
 
 #else
-                               case 18: /* BOOL */
+                               case 16: /* BOOL */
                                        ZVAL_BOOL(zv, *val == 't');
                                        break;
 #endif