pgsql: Remove restriction on SQL block length in isolationtesterscanne - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Remove restriction on SQL block length in isolationtesterscanne
Date
Msg-id E1er9jV-000351-PC@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove restriction on SQL block length in isolationtester scanner.

specscanner.l had a fixed limit of 1024 bytes on the length of
individual SQL stanzas in an isolation test script.  People are
starting to run into that, so fix it by making the buffer resizable.

Once we allow this in HEAD, it seems inevitable that somebody will
try to back-patch a test that exceeds the old limit, so back-patch
this change as a preventive measure.

Daniel Gustafsson

Discussion: https://postgr.es/m/8D628BE4-6606-4FF6-A3FF-8B2B0E9B43D0@yesql.se

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e459eb9fb0c2af5c1363327df7ed0db3ab0042d2

Modified Files
--------------
src/test/isolation/specscanner.l | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Catalin Iacob
Date:
Subject: Re: pgsql: Un-break parallel pg_upgrade.
Next
From: Tom Lane
Date:
Subject: pgsql: Rename base64 routines to avoid conflict with Solaris built-inf