Re: Small issues with CREATE TABLE COMPRESSION - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Small issues with CREATE TABLE COMPRESSION
Date
Msg-id YJPbaYkIWeSbNF65@paquier.xyz
Whole thread Raw
In response to Re: Small issues with CREATE TABLE COMPRESSION  (Dilip Kumar <dilipbalaut@gmail.com>)
Responses Re: Small issues with CREATE TABLE COMPRESSION
List pgsql-hackers
On Thu, May 06, 2021 at 05:01:23PM +0530, Dilip Kumar 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.

Yeah, I agree that this is an improvement, so let's fix this.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Greg Nancarrow
Date:
Subject: Re: [bug?] Missed parallel safety checks, and wrong parallel safety
Next
From: Michael Paquier
Date:
Subject: Re: Small issues with CREATE TABLE COMPRESSION