Tighten up the sanity checks in TypeCreate(): pass-by-value types must have
commitbd5e130c2c8958facf6eb676e5f6899408ef214e
authortgl <tgl>
Sun, 3 Aug 2008 15:23:58 +0000 (3 15:23 +0000)
committertgl <tgl>
Sun, 3 Aug 2008 15:23:58 +0000 (3 15:23 +0000)
tree05e392e329f092c6b4a71cdc37d9fc4c93a8baab
parent6da4d05697c4f0c25ca850f757b19739dfd182fe
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