diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-01-17 12:53:48 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-01-17 12:53:48 -0500 |
commit | 0c7d3bb99f72d66ec6ac63aee4c5fe6d683eee86 (patch) | |
tree | b2542f545b3d2544efa1f5f9c48e57acc3cd2585 /src/backend/commands/indexcmds.c | |
parent | cf621d9d84db1e6edaff8ffa26bad93fdce5f830 (diff) | |
download | postgresql-0c7d3bb99f72d66ec6ac63aee4c5fe6d683eee86.tar.gz postgresql-0c7d3bb99f72d66ec6ac63aee4c5fe6d683eee86.zip |
Add missing array-enlargement logic to test_regex.c.
The stanza to report a "partial" match could overrun the initially
allocated output array, so it needs its own copy of the array-resizing
logic that's in the main loop. I overlooked the need for this in
ca8217c10.
Per report from Alexander Lakhin.
Discussion: https://postgr.es/m/3206aace-50db-e02a-bbea-76d5cdaa2cb6@gmail.com
Diffstat (limited to 'src/backend/commands/indexcmds.c')
0 files changed, 0 insertions, 0 deletions