]> granicus.if.org Git - postgresql/commit
Athough cube is a varlena type, nowhere was a detoasting of cube's value, so
authorTeodor Sigaev <teodor@sigaev.ru>
Wed, 7 Mar 2007 21:25:18 +0000 (21:25 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Wed, 7 Mar 2007 21:25:18 +0000 (21:25 +0000)
commit2b1abc8756e973a098943c255c3cbeb2568cfb91
treeeb81fa26621f1deb773cd0bcf0576b833c1f760b
parentcafbf1e1cca910a663485f4a9b4189edee0dd259
Athough cube is a varlena type, nowhere was a detoasting of cube's value, so
fix it.  Add macroses DatumGetNDBOX, PG_GETARG_NDBOX and PG_RETURN_NDBOX.
Backpatch for 8.2 too.

Previous versions use version 0 calling conventions. And fmgr code detoast
values for user-defined functions.
contrib/cube/cube.c
contrib/cube/cubedata.h