Remove obsolete RECHECK keyword completely

Поиск
Список
Период
Сортировка
Искать

Remove obsolete RECHECK keyword completely

От:
Peter Eisentraut <peter@eisentraut.org>
Дата:
Вложения:
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.

Re: Remove obsolete RECHECK keyword completely

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Peter Eisentraut  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

От:
Aleksander Alekseev <aleksander@timescale.com>
Дата:
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

От:
Peter Eisentraut <peter@eisentraut.org>
Дата:
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



FAQ