Define variables in the approprieate scope

From: Antonin Houska <ah(at)cybertec(dot)at>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Define variables in the approprieate scope
Date: 2020-02-25 08:35:52
Message-ID: 28701.1582619752@antos
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I've noticed that two variables in RelationCopyStorage() are defined in a
scope higher than necessary. Please see the patch.

--
Antonin Houska
Web: https://www.cybertec-postgresql.com

Attachment Content-Type Size
variable_scope.patch text/x-diff 903 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2020-02-25 08:42:22 Re: plan cache overhead on plpgsql expression
Previous Message Fujii Masao 2020-02-25 08:13:24 progress reporting views and TimestampTz fields