Tighten up the sanity checks in TypeCreate(): pass-by-value types must have
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 3 Aug 2008 15:23:58 +0000 (15:23 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 3 Aug 2008 15:23:58 +0000 (15:23 +0000)
commitebcd697487fbb3b8fe36f336713f8d342f124e29
tree46e1df5ff9090196a399c39e3a11a722714c51bc
parente5bdc10a94a3e51e95ac668feeb902abb63437ea
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.
src/backend/catalog/pg_type.c