diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-05-08 10:18:05 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-05-08 10:18:05 +0900 |
commit | 9681f2160dcbe2a02fd2e2db2322ea204eff6562 (patch) | |
tree | 96a721e7299729c9ef7ca45153a337b8676609ad /src/backend/access/transam/xlogutils.c | |
parent | c6a01d924939306e95c8deafd09352be6a955648 (diff) | |
download | postgresql-9681f2160dcbe2a02fd2e2db2322ea204eff6562.tar.gz postgresql-9681f2160dcbe2a02fd2e2db2322ea204eff6562.zip |
Fix incorrect error code for CREATE/ALTER TABLE COMPRESSION
Specifying an incorrect value for the compression method of an attribute
caused ERRCODE_FEATURE_NOT_SUPPORTED to be raised as error. Use instead
ERRCODE_INVALID_PARAMETER_VALUE to be more consistent.
Author: Dilip Kumar
Discussion: https://postgr.es/m/CAFiTN-vH84fE-8C4zGZw4v0Wyh4Y2v=5JWg2fGE5+LPaDvz1GQ@mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
0 files changed, 0 insertions, 0 deletions