Protect against hypothetical memory leaks in RelationGetPartitionKey
Alvaro Herrera <alvherre@alvh.no-ip.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/cache/relcache.c | modified | +29 −24 |
| src/include/access/hash.h | modified | +1 −1 |
Discussion
- pgsql: Get rid of copy_partition_key 6 messages · 2017-12-21 → 2017-12-27