]> 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:21:12 +0000 (21:21 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Wed, 7 Mar 2007 21:21:12 +0000 (21:21 +0000)
commit2afb01dbde46b985d01d44122e441fcf66b22e78
tree62f5d6359c3a3515ddfc2e6b8f95e2502b3dd70d
parent626eb021988a22feebcb0615bc11c661775006b7
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