You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-13 01:00:23 +02:00
Reword misleading message in stack trace when parameter buffer is full.
The prior message stated that there had been a buffer overrun which is not true since the code prevents that. In fact, this message means the parameter buffer filled while building the parameter list. Rather than display a partial list we output this message instead. Also remove !!! which by convention we use as a marker for code that needs attention before it can be committed to master.
This commit is contained in:
@ -169,7 +169,7 @@ stackTraceParamIdx(int stackIdx)
|
||||
if (data->paramLog)
|
||||
{
|
||||
if (data->paramOverflow)
|
||||
return "!!! buffer overflow - parameters not available !!!";
|
||||
return "buffer full - parameters not available";
|
||||
|
||||
if (data->paramSize == 0)
|
||||
return "void";
|
||||
|
Reference in New Issue
Block a user