Commit c766785
committed
ext/pgsql: Fix preprocessor guard typos that silently disabled features
1. Remove dead `VE_PG_LO64` guards from `pg_lo_tell()`/`pg_lo_truncate()`.
GH-14628 removed `HAVE_PG_LO64` from the build system and the
corresponding guard in `pg_lo_seek()`, but missed these two
functions. The leftover guards reference undefined `VE_PG_LO64`
(a misspelling of the removed `HAVE_PG_LO64`), making the
`lo_tell64()`/`lo_truncate64()` code paths permanently dead.
2. Fix `PQTRACE_SUPPRESS_TIMESTAMPS` guard misspelling in
pgsql.stub.php.
The guard has been misspelled as `PQTRACE_SUPPPRESS_TIMESTAMPS`
(three P's) since 7ec8ae1, preventing the
`PGSQL_TRACE_SUPPRESS_TIMESTAMPS` constant from being registered.1 parent 0acde11 commit c766785
3 files changed
+3
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3040 | 3040 | | |
3041 | 3041 | | |
3042 | 3042 | | |
3043 | | - | |
3044 | 3043 | | |
3045 | 3044 | | |
3046 | 3045 | | |
3047 | 3046 | | |
3048 | 3047 | | |
3049 | | - | |
3050 | | - | |
3051 | | - | |
3052 | 3048 | | |
3053 | 3049 | | |
3054 | 3050 | | |
| |||
3069 | 3065 | | |
3070 | 3066 | | |
3071 | 3067 | | |
3072 | | - | |
3073 | 3068 | | |
3074 | 3069 | | |
3075 | 3070 | | |
3076 | 3071 | | |
3077 | 3072 | | |
3078 | | - | |
3079 | | - | |
3080 | | - | |
3081 | 3073 | | |
3082 | 3074 | | |
3083 | 3075 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
435 | | - | |
| 435 | + | |
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments