Re: [PATCH] Support Int64 GUCs - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Re: [PATCH] Support Int64 GUCs
Date
Msg-id CAJ7c6TPyreD0t37aqPzaXBzMzEDQSbk=w++9qdTVagEaq+iiLw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Support Int64 GUCs  (Li Japin <japinli@hotmail.com>)
List pgsql-hackers
Hi,

> ```
> postgres=# alter system set autovacuum_vacuum_threshold to 2_147_483_648;
> ERROR:  invalid value for parameter "autovacuum_vacuum_threshold": "2_147_483_648"
> postgres=# alter system set autovacuum_vacuum_threshold to 2_147_483_647;
> ALTER SYSTEM
> ```
>
> IIRC, the lexer only supports integers but not int64.

Right. Supporting underscores for GUCs was discussed above but not
implemented in the patch. As Alexander rightly pointed out this is not
a priority and can be discussed separately.

-- 
Best regards,
Aleksander Alekseev



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #18097: Immutable expression not allowed in generated at
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Support Int64 GUCs