pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Remove restriction on SQL block length in isolationtester scanne
6+ messages / 1 participants
[nested] [flat]

* pgsql: Remove restriction on SQL block length in isolationtester scanne
@ 2018-02-28 21:57  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-02-28 21:57 UTC (permalink / raw)
  To: 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_6_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Remove restriction on SQL block length in isolationtester scanne
@ 2018-02-28 21:57  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-02-28 21:57 UTC (permalink / raw)
  To: 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
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/14ffdd8cf88f6ef2dbfe0df542ef43e30f06b479

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Remove restriction on SQL block length in isolationtester scanne
@ 2018-02-28 21:57  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-02-28 21:57 UTC (permalink / raw)
  To: 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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Remove restriction on SQL block length in isolationtester scanne
@ 2018-02-28 21:57  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-02-28 21:57 UTC (permalink / raw)
  To: 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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/38a1144a91d207997dd68a8c2af759f88547016f

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Remove restriction on SQL block length in isolationtester scanne
@ 2018-02-28 21:57  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-02-28 21:57 UTC (permalink / raw)
  To: 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_4_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Remove restriction on SQL block length in isolationtester scanne
@ 2018-02-28 21:57  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-02-28 21:57 UTC (permalink / raw)
  To: 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_3_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/824cceded4095eb3b26d19b1a91d01eaf37c0baf

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2018-02-28 21:57 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-02-28 21:57 pgsql: Remove restriction on SQL block length in isolationtester scanne Tom Lane <tgl@sss.pgh.pa.us>
2018-02-28 21:57 pgsql: Remove restriction on SQL block length in isolationtester scanne Tom Lane <tgl@sss.pgh.pa.us>
2018-02-28 21:57 pgsql: Remove restriction on SQL block length in isolationtester scanne Tom Lane <tgl@sss.pgh.pa.us>
2018-02-28 21:57 pgsql: Remove restriction on SQL block length in isolationtester scanne Tom Lane <tgl@sss.pgh.pa.us>
2018-02-28 21:57 pgsql: Remove restriction on SQL block length in isolationtester scanne Tom Lane <tgl@sss.pgh.pa.us>
2018-02-28 21:57 pgsql: Remove restriction on SQL block length in isolationtester scanne Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox