]> granicus.if.org Git - postgresql/commit
Remove restriction on SQL block length in isolationtester scanner.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Feb 2018 21:57:37 +0000 (16:57 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Feb 2018 21:57:37 +0000 (16:57 -0500)
commit38a1144a91d207997dd68a8c2af759f88547016f
tree7da06306168c5c6fc56910a2d73d1f89156e32cf
parent2af28e603319224e87fd35ab62f36ef6de45eaac
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
src/test/isolation/specscanner.l