aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-08-11 03:56:24 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-08-11 03:56:24 +0000
commit1b70619311f74ccbab52dfad7e0c96c36b6718a5 (patch)
tree20f34c1b9318d628768d809695c852c54ed82f93 /src/interfaces/ecpg/test
parentd0e5c0c0eeecf98bf9133dbe7515688984db04f1 (diff)
downloadpostgresql-1b70619311f74ccbab52dfad7e0c96c36b6718a5.tar.gz
postgresql-1b70619311f74ccbab52dfad7e0c96c36b6718a5.zip
Code review for regexp_matches/regexp_split patch. Refactor to avoid assuming
that cached compiled patterns will still be there when the function is next called. Clean up looping logic, thereby fixing bug identified by Pavel Stehule. Share setup code between the two functions, add some comments, and avoid risky mixing of int and size_t variables. Clean up the documentation a tad, and accept all the flag characters mentioned in table 9-19 rather than just a subset.
Diffstat (limited to 'src/interfaces/ecpg/test')
0 files changed, 0 insertions, 0 deletions