pgsql: Athough cube is a varlena type, nowhere was a detoasting of

From: teodor(at)postgresql(dot)org (Teodor Sigaev)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Athough cube is a varlena type, nowhere was a detoasting of
Date: 2007-03-07 21:21:12
Message-ID: 20070307212112.29AED9FB38F@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/contrib/cube:
cube.c (r1.31 -> r1.32)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/cube/cube.c.diff?r1=1.31&r2=1.32)
cubedata.h (r1.8 -> r1.9)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/cube/cubedata.h.diff?r1=1.8&r2=1.9)

Browse pgsql-committers by date

  From Date Subject
Next Message Teodor Sigaev 2007-03-07 21:25:18 pgsql: Athough cube is a varlena type, nowhere was a detoasting of
Previous Message User Mha 2007-03-07 21:17:31 pgsnmpd - pgsnmpd: Include file cleanup.