getObjectDescription: support extended statistics
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 12 May 2017 22:22:03 +0000 (19:22 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 12 May 2017 22:22:50 +0000 (19:22 -0300)
commit5e2af609e14ede1b5e0d73d59ed8548c76e1943a
tree37bcf2ecbcfed19cfac93cd612740d0392958bee
parent50ee1c7462d796639eef6c24b1797df8c4d6c098
getObjectDescription: support extended statistics

This was missed in 7b504eb282ca.

Remove the "default:" clause in the switch, to avoid this problem in the
future.  Other switches involving the same enum should probably be
changed in the same way, but are not touched by this patch.

Discussion: https://postgr.es/m/20170512204800.iqt2uwyx3c32j45r@alvherre.pgsql
src/backend/catalog/objectaddress.c