]> granicus.if.org Git - postgresql/commit
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)
commit82a1f0995337bb771b61955c959c5f624340ec5b
tree6ab8a02da0cb5ffd98a7c547d497996002c2fd53
parent3c93218aeb670054df88cc9c9236b61de006b515
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