Re: [PATCH] Support Int64 GUCs

Aleksander Alekseev <aleksander@timescale.com>

From: Aleksander Alekseev <aleksander@timescale.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Li Japin <japinli@hotmail.com>, Alexander Korotkov <aekorotkov@gmail.com>, Nathan Bossart <nathandbossart@gmail.com>
Date: 2024-09-25T14:44:28Z
Lists: 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