aboutsummaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_gist.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-11-06 03:06:28 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-11-06 03:06:28 +0000
commit5e51297104047169ec3272c34a756c9b6ea66b76 (patch)
tree9ffd6431cc62fbe8adc3c37e27e073fb7a9afe53 /contrib/btree_gist/btree_gist.h
parent85f807d78250fa8bade5ac9da32dfa21b92cb044 (diff)
downloadpostgresql-5e51297104047169ec3272c34a756c9b6ea66b76.tar.gz
postgresql-5e51297104047169ec3272c34a756c9b6ea66b76.zip
Some code review for xml.c:
Add some more xml_init() calls that might not be necessary, but seem like a good idea to avoid possible problems like we saw in xmlelement(). Fix unsafe assumption that you can keep using the tupledesc of a relcache entry you don't have open. Add missing error checks for SearchSysCache failure. Get rid of handwritten array traversal in xpath() and O(N^2), broken-for-nulls array access code in map_sql_value_to_xml_value(), in favor of using deconstruct_array. Manually adjust a lot of line breaks in places where the code is otherwise gonna look pretty awful after pg_indent hacks it up (original author seems to have liked to lay out code for a 200-column window).
Diffstat (limited to 'contrib/btree_gist/btree_gist.h')
0 files changed, 0 insertions, 0 deletions