Thread: Remove obsolete RECHECK keyword completely

Remove obsolete RECHECK keyword completely

From
Peter Eisentraut
Date:
I propose to remove the obsolete RECHECK keyword completely.  This used 
to be part of CREATE OPERATOR CLASS and ALTER OPERATOR FAMILY, but it 
has done nothing (except issue a NOTICE) since PostgreSQL 8.4.  Commit 
30e7c175b81 removed support for dumping from pre-9.2 servers, so this no 
longer serves any need, it seems to me.

This now removes it completely, and you'd get a normal parse error if 
you used it.

Attachment

Re: Remove obsolete RECHECK keyword completely

From
Tom Lane
Date:
Peter Eisentraut <peter@eisentraut.org> writes:
> I propose to remove the obsolete RECHECK keyword completely.  This used 
> to be part of CREATE OPERATOR CLASS and ALTER OPERATOR FAMILY, but it 
> has done nothing (except issue a NOTICE) since PostgreSQL 8.4.  Commit 
> 30e7c175b81 removed support for dumping from pre-9.2 servers, so this no 
> longer serves any need, it seems to me.

+1 for the idea; didn't vet the patch closely.

            regards, tom lane



Re: Remove obsolete RECHECK keyword completely

From
Aleksander Alekseev
Date:
Hi,

> I propose to remove the obsolete RECHECK keyword completely.  This used
> to be part of CREATE OPERATOR CLASS and ALTER OPERATOR FAMILY, but it
> has done nothing (except issue a NOTICE) since PostgreSQL 8.4.  Commit
> 30e7c175b81 removed support for dumping from pre-9.2 servers, so this no
> longer serves any need, it seems to me.
>
> This now removes it completely, and you'd get a normal parse error if
> you used it.

I reviewed and tested the code. LGTM.

--
Best regards,
Aleksander Alekseev



Re: Remove obsolete RECHECK keyword completely

From
Peter Eisentraut
Date:
On 05.08.24 15:44, Aleksander Alekseev wrote:
>> I propose to remove the obsolete RECHECK keyword completely.  This used
>> to be part of CREATE OPERATOR CLASS and ALTER OPERATOR FAMILY, but it
>> has done nothing (except issue a NOTICE) since PostgreSQL 8.4.  Commit
>> 30e7c175b81 removed support for dumping from pre-9.2 servers, so this no
>> longer serves any need, it seems to me.
>>
>> This now removes it completely, and you'd get a normal parse error if
>> you used it.
> 
> I reviewed and tested the code. LGTM.

committed, thanks