diff options
author | Michael Paquier | 2025-07-16 02:59:22 +0000 |
---|---|---|
committer | Michael Paquier | 2025-07-16 02:59:22 +0000 |
commit | 1dbe6f76677c26096518998fdc72dab771a98913 (patch) | |
tree | 0d0f5c3ceebffec0fdf2daebc09754ac6cff0906 /src/backend/commands/alter.c | |
parent | b8341ae856f239c6d84c738e516267e890969d8a (diff) |
This code used a NO_LZ4_SUPPORT() macro to issue an error in the code
paths where LZ4 [de]compression is attempted but the build does not
support it. This commit refactors the code to use a more flexible error
message so as it can be used for other compression methods, where the
method is given in input of macro.
Extracted from a larger patch by the same author.
Author: Nikhil Kumar Veldanda <veldanda.nikhilkumar17@gmail.com>
Reviewed-by: Kirill Reshke <reshkekirill@gmail.com>
Discussion: https://postgr.es/m/CAFAfj_HX84EK4hyRYw50AOHOcdVi-+FFwAAPo7JHx4aShCvunQ@mail.gmail.com
Diffstat (limited to 'src/backend/commands/alter.c')
0 files changed, 0 insertions, 0 deletions