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:25:18
Message-ID: 20070307212518.B65A79FB1BF@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.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
pgsql/contrib/cube:
cube.c (r1.30 -> r1.30.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/cube/cube.c.diff?r1=1.30&r2=1.30.2.1)
cubedata.h (r1.7 -> r1.7.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/cube/cubedata.h.diff?r1=1.7&r2=1.7.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-03-08 17:03:32 pgsql: Fix vac_update_relstats to ensure it always sends a relcache
Previous Message Teodor Sigaev 2007-03-07 21:21:12 pgsql: Athough cube is a varlena type, nowhere was a detoasting of