pgsql: Fix incorrect error code for CREATE/ALTER TABLE COMPRESSION - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Fix incorrect error code for CREATE/ALTER TABLE COMPRESSION
Date
Msg-id E1lfBkl-0007Oo-W0@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9681f2160dcbe2a02fd2e2db2322ea204eff6562

Modified Files
--------------
src/backend/commands/tablecmds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Tomas Vondra
Date:
Subject: pgsql: Copy the INSERT query in postgres_fdw
Next
From: Tom Lane
Date:
Subject: pgsql: Doc: copy-editing for debug_invalidate_system_caches_always desc