]> granicus.if.org Git - postgresql/commit
Protect against hypothetical memory leaks in RelationGetPartitionKey
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 27 Dec 2017 21:01:37 +0000 (18:01 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 27 Dec 2017 21:06:14 +0000 (18:06 -0300)
commitbe2343221fb74bde6b7445feeef32f7ea5cf2618
tree6528f82d718104b4bb39a919804965ff0020f1dd
parentb726eaa37a59d0cae0be56457c9522db7288255d
Protect against hypothetical memory leaks in RelationGetPartitionKey

Also, fix a comment that commit 8a0596cb656e made obsolete.

Reported-by: Robert Haas
Discussion: http://postgr.es/m/CA+TgmoYbpuUUUp2GhYNwWm0qkah39spiU7uOiNXLz20ASfKYoA@mail.gmail.com
src/backend/utils/cache/relcache.c
src/include/access/hash.h