This patch makes a minor tweak to CheckDropPermissions(): it moves some initialization code for reporting errors out of the "common case" code path. I think that results in a small win in both readability and performance.

Barring any objections, I intend to apply this patch within 24 hours.

-Neil


Attachment: drop_error_msg_refactor-1.patch
Description: Binary data

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to