Re: Small issues with CREATE TABLE COMPRESSION
Dilip Kumar <dilipbalaut@gmail.com>
From: Dilip Kumar <dilipbalaut@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Robert Haas <robertmhaas@gmail.com>, Postgres hackers <pgsql-hackers@lists.postgresql.org>,
Jacob Champion <pchampion@vmware.com>
Date: 2021-05-06T11:31:23Z
Lists: pgsql-hackers
Attachments
- 0001-Fix-thinko-in-invalid-compression-error-code.patch (text/x-patch) patch 0001
On Thu, May 6, 2021 at 10:45 AM Dilip Kumar <dilipbalaut@gmail.com> wrote: I noticed that the error code for invalid compression method is not perfect, basically when we pass the invalid compression method during CREATE/ALTER table that time we give ERRCODE_FEATURE_NOT_SUPPORTED. I think the correct error code is ERRCODE_INVALID_PARAMETER_VALUE. I have attached a patch to fix this. I thought of starting a new thread first but then I thought the subject of this thread is quite generic and this is a fairly small fix so we can use the same thread. -- Regards, Dilip Kumar EnterpriseDB: http://www.enterprisedb.com
Commits
-
Add support for LZ4 build in MSVC scripts
- 9ca40dcd4d0c 14.0 landed
-
Add more TAP tests for pg_dump with attribute compression
- 63db0ac3f9e6 14.0 landed
-
doc: Fix some gaps with the documentation related to LZ4
- 02a93e7ef961 14.0 landed
-
Fix incorrect error code for CREATE/ALTER TABLE COMPRESSION
- 9681f2160dcb 14.0 landed
-
Additional doc fixes for configurable TOAST compression.
- 448b02c00515 14.0 landed
-
docs: Clarify how ALTER TABLE .. SET COMPRESSION works.
- 2d0f66240263 14.0 landed