Fix bogus size calculation introduced by commit cc5f81366.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: cad22075bc2ce9c1fbe61e8d3969d4dbdb5bc1f3
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-09-17T15:35:27Z
Releases: 11.0
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.

Files

PathChange+/−
src/backend/utils/cache/typcache.c modified +1 −1