pgsql: Athough cube is a varlena type, nowhere was a detoasting of - Mailing list pgsql-committers

From teodor@postgresql.org (Teodor Sigaev)
Subject pgsql: Athough cube is a varlena type, nowhere was a detoasting of
Date
Msg-id 20070307212518.B65A79FB1BF@postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: teodor@postgresql.org (Teodor Sigaev)
Date:
Subject: pgsql: Athough cube is a varlena type, nowhere was a detoasting of
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix vac_update_relstats to ensure it always sends a relcache