summaryrefslogtreecommitdiff
path: root/src/backend/executor
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:07:23 +0200
commitc1a03230b79f1b90a6b28b2cc8fa27c640a915e5 (patch)
tree2abad7320f83a36567da65390d4f75b5d569401a /src/backend/executor
parent8ec76895b792d44c009448983fe4797386b9195a (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 'src/backend/executor')
0 files changed, 0 insertions, 0 deletions