summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-12-12 09:49:47 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-12-12 10:05:29 +0200
commit81f4e6cd27d538bc27e9714a9173e4df353a02e5 (patch)
tree6ba82efcecb8dfa48b181e511bf84b2683113f79 /doc/src
parent28b78e8863bbec8a0e13c067df98d543c0084e7b (diff)
Revert the behavior of inet/cidr functions to not unpack the arguments.
I forgot to change the functions to use the PG_GETARG_INET_PP() macro, when I changed DatumGetInetP() to unpack the datum, like Datum*P macros usually do. Also, I screwed up the definition of the PG_GETARG_INET_PP() macro, and didn't notice because it wasn't used. This fixes the memory leak when sorting inet values, as reported by Jochen Erwied and debugged by Andres Freund. Backpatch to 8.3, like the previous patch that broke it.
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions