pgsql: Tighten up the sanity checks in TypeCreate(): pass-by-value types - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Tighten up the sanity checks in TypeCreate(): pass-by-value types
Date
Msg-id 20080803152358.3C158755314@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Tighten up the sanity checks in TypeCreate(): pass-by-value types must have
a size that is one of the supported values, not just anything <= sizeof(Datum).
Cross-check the alignment specification against size as well.

Modified Files:
--------------
    pgsql/src/backend/catalog:
        pg_type.c (r1.120 -> r1.121)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/pg_type.c?r1=1.120&r2=1.121)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix copy-and-pasteo that's causing pg_regress to lie about which
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Make GROUP BY work properly for datatypes that only support