pgsql: Avoid memory size overflow when allocating backend activity buff

2023-10-02 Thread Michael Paquier
Avoid memory size overflow when allocating backend activity buffer The code in charge of copying the contents of PgBackendStatus to local memory could fail on memory allocation because of an overflow on the amount of memory to use. The overflow can happen when combining a high value track_activit

pgsql: Avoid memory size overflow when allocating backend activity buff

2023-10-02 Thread Michael Paquier
Avoid memory size overflow when allocating backend activity buffer The code in charge of copying the contents of PgBackendStatus to local memory could fail on memory allocation because of an overflow on the amount of memory to use. The overflow can happen when combining a high value track_activit

pgsql: Avoid memory size overflow when allocating backend activity buff

2023-10-02 Thread Michael Paquier
Avoid memory size overflow when allocating backend activity buffer The code in charge of copying the contents of PgBackendStatus to local memory could fail on memory allocation because of an overflow on the amount of memory to use. The overflow can happen when combining a high value track_activit

pgsql: Avoid memory size overflow when allocating backend activity buff

2023-10-02 Thread Michael Paquier
Avoid memory size overflow when allocating backend activity buffer The code in charge of copying the contents of PgBackendStatus to local memory could fail on memory allocation because of an overflow on the amount of memory to use. The overflow can happen when combining a high value track_activit

pgsql: Avoid memory size overflow when allocating backend activity buff

2023-10-02 Thread Michael Paquier
Avoid memory size overflow when allocating backend activity buffer The code in charge of copying the contents of PgBackendStatus to local memory could fail on memory allocation because of an overflow on the amount of memory to use. The overflow can happen when combining a high value track_activit

pgsql: Avoid memory size overflow when allocating backend activity buff

2023-10-02 Thread Michael Paquier
Avoid memory size overflow when allocating backend activity buffer The code in charge of copying the contents of PgBackendStatus to local memory could fail on memory allocation because of an overflow on the amount of memory to use. The overflow can happen when combining a high value track_activit