Minor improvement to partition_bounds_copy()
Etsuro Fujita <etsuro.fujita@gmail.com>
From: Etsuro Fujita <etsuro.fujita@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-02-20T11:36:10Z
Lists: pgsql-hackers
Attachments
- partition_bounds_copy.patch (application/octet-stream) patch
partition_bounds_copy() sets the hash_part and natts variable in each iteration of a loop to copy the datums in the datums array, which would not be efficient. Attached is small patch for avoiding that. Best regards, Etsuro Fujita
Commits
-
Avoid redundant checks in partition_bounds_copy().
- 032f9ae012d8 13.0 landed