aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-09-27 01:39:02 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-09-27 01:39:02 +0000
commitae8f7313abaaed98248dcafbef14559a4b6c5efc (patch)
tree6fc0fcd76cdd6e820a0d262cc983f6e1a616a404 /src/backend/tcop/postgres.c
parent5a2c8cf4b1fdac61fc4b3748ee292ee24c80af3a (diff)
downloadpostgresql-ae8f7313abaaed98248dcafbef14559a4b6c5efc.tar.gz
postgresql-ae8f7313abaaed98248dcafbef14559a4b6c5efc.zip
Rewrite ReadArrayStr() to avoid O(N^2) behavior on large strings,
and hopefully improve code clarity while at it. One intentional semantics change: a backslashed space will not be treated as removable trailing whitespace, as the prior coding would do. ISTM that if it wouldn't be considered removable leading whitespace, it shouldn't be stripped at the end either.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions