postgresql plugin: Check for and report query redefinitions.