Hi hackers,
 
The errhint() in pg_stat_reset_shared() were missing the fact that recently added in [1] new lock stats kind.
The patch fixes error hint message and regress test for reset_shared with unknown stats type.
 
[1]: https://www.postgresql.org/message-id/aIyNxBWFCybgBZBS%40ip-10-97-1-34.eu-west-3.compute.internal
 
Best regards,
Maksim Logvinenko
Postgres Professional: http://postgrespro.com