1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-03-03 14:52:21 +02:00

Increase per-call stack trace size to 4096.

This was previously 256, which was too small to log protocol parameters.  Not only did this truncate important debug information but varying path lengths caused spurious differences in the expect logs.
This commit is contained in:
David Steele 2019-02-20 22:23:19 +02:00
parent 73be64ce49
commit 71bc5697b1
2 changed files with 5 additions and 1 deletions

View File

@ -40,6 +40,10 @@
<p>Change <code>execRead()</code> to return a <code>size_t</code>.</p>
</release-item>
<release-item>
<p>Increase per-call stack trace size to <id>4096</id>.</p>
</release-item>
</release-development-list>
</release-core-list>

View File

@ -12,7 +12,7 @@ Stack Trace Handler
/***********************************************************************************************************************************
Maximum size of a single parameter (including NULL terminator)
***********************************************************************************************************************************/
#define STACK_TRACE_PARAM_MAX 256
#define STACK_TRACE_PARAM_MAX 4096
/***********************************************************************************************************************************
Macros to access internal functions