]> granicus.if.org Git - postgresql/commit
Fix bogus size calculation introduced by commit cc5f81366.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Sep 2017 15:35:27 +0000 (11:35 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Sep 2017 15:35:27 +0000 (11:35 -0400)
commitcad22075bc2ce9c1fbe61e8d3969d4dbdb5bc1f3
tree0607efebef37f293c2f96ebf8e606792eab0b274
parent936df5ba80a46fb40bfc93da49a709cbc0aafe5e
Fix bogus size calculation introduced by commit cc5f81366.

The elements of RecordCacheArray are TupleDesc, not TupleDesc *.
Those are actually the same size, so that this error is harmless,
but it's still wrong --- and it might bite us someday, if TupleDesc
ever became a struct, say.

Per Coverity.
src/backend/utils/cache/typcache.c