Unused parameter in vacuum.c - Mailing list pgsql-hackers

From Shigeru HANADA
Subject Unused parameter in vacuum.c
Date
Msg-id 20101118151231.40FE.6989961C@metrosystems.co.jp
Whole thread Raw
Responses Re: Unused parameter in vacuum.c
List pgsql-hackers
Hi,

When I was reading vacuum.c, I found that the parameter 'stmttype' of
get_rel_oids() is not used at all.  The parameter had been used as
command tag in the notice message about "invalid object type", but now
such messages are reported by other functions.

Please find attached remove-unused-parameter patch.

Regards,
--
Shigeru Hanada

Attachment

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: final patch - plpgsql: for-in-array
Next
From: Heikki Linnakangas
Date:
Subject: Re: Unused parameter in vacuum.c