[COMMITTERS] pgsql: Fix bogus size calculation introduced by commit cc5f81366. - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Fix bogus size calculation introduced by commit cc5f81366.
Date
Msg-id E1dtbbY-0007pP-2s@gemulon.postgresql.org
Whole thread Raw
Responses Re: [COMMITTERS] pgsql: Fix bogus size calculation introduced bycommit cc5f81366.  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-committers
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cad22075bc2ce9c1fbe61e8d3969d4dbdb5bc1f3

Modified Files
--------------
src/backend/utils/cache/typcache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Doc: add example of transition table use in a trigger.
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Ensure that BEFORE STATEMENT triggers fire the right number oft