Minor improvement to partition_bounds_copy() - Mailing list pgsql-hackers

From Etsuro Fujita
Subject Minor improvement to partition_bounds_copy()
Date
Msg-id CAPmGK14Rvxrm8DHWvCjdoks6nwZuHBPvMnWZ6rkEx2KhFeEoPQ@mail.gmail.com
Whole thread Raw
Responses Re: Minor improvement to partition_bounds_copy()
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: bad wal on replica / incorrect resource manager data checksum inrecord / zfs
Next
From: Juan José Santamaría Flecha
Date:
Subject: Re: Clean up some old cruft related to Windows