aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-05-29 18:46:40 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-05-29 18:46:40 +0000
commit5914140a3b04cfa0a37c0efcfe7378e1b562e60e (patch)
treeeb07947126e0cff4253b14217a5d24ef82ad7f7b /src/backend/utils/adt/xml.c
parente19d10b595f2ac6aaa4be158163b44d8975898d2 (diff)
downloadpostgresql-5914140a3b04cfa0a37c0efcfe7378e1b562e60e.tar.gz
postgresql-5914140a3b04cfa0a37c0efcfe7378e1b562e60e.zip
Fix some bugs introduced by the 8.2-era conversion of cube functions to V1
calling convention. cube_inter and cube_distance could attempt to pfree their input arguments, and cube_dim returned a value from a struct it might have just pfree'd (which would only really cause a problem in a debug build, but it's still wrong). Per bug #4208 and additional code reading. In HEAD and 8.3, I also made a batch of cosmetic changes to bring these functions into line with the preferred coding style for V1 functions, ie declare and fetch all the arguments at the top so readers can easily see what they are.
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions