Minor pg_amcheck fixes spotted while reading code - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Minor pg_amcheck fixes spotted while reading code
Date
Msg-id 050F2CB9-F6D1-4C3F-82D7-20352E506C3A@yesql.se
Whole thread Raw
Responses Re: Minor pg_amcheck fixes spotted while reading code  (Mark Dilger <mark.dilger@enterprisedb.com>)
List pgsql-hackers
When perusing the pg_amcheck code the other day for the recently pushed fixes I
found two small things that seem worth fixing: The help function progname
parameter shadows the global variable of the same name, which no doubt will
make static analyzers complain so we might as well fix that; and there is a
tiny typo in the test stanza.

Both fixed in the attached.

--
Daniel Gustafsson        https://vmware.com/


Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: archive status ".ready" files may be created too early
Next
From: Tomas Vondra
Date:
Subject: Re: Use extended statistics to estimate (Var op Var) clauses