Use INT_MAX for wal size related gucs's max value

From: Junwang Zhao <zhjwpku(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Use INT_MAX for wal size related gucs's max value
Date: 2023-04-19 03:26:26
Message-ID: CAEG8a3K7rT=6VkT5xVxjku0EsXczedZX40U=buKer1Df3e-pcA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The wal size related gucs use the MB unit, so we should just use
INT_MAX instead of MAX_KILOBYTES as the max value.

--
Regards
Junwang Zhao

Attachment Content-Type Size
0001-use-INT_MAX-for-wal-size-related-max-value.patch application/octet-stream 1.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2023-04-19 03:33:56 Re: Use INT_MAX for wal size related gucs's max value
Previous Message Richard Guo 2023-04-19 02:42:08 Re: Allowing parallel-safe initplans