Fix hard-coded relkind constants in psql/describe.c.
authorTom Lane <[email protected]>
Fri, 10 Mar 2017 01:42:42 +0000 (20:42 -0500)
committerTom Lane <[email protected]>
Fri, 10 Mar 2017 01:45:59 +0000 (20:45 -0500)
commit395bfaae8e786eb17fc9dd79e4636f97c9d9b820
tree74310a06700eedefd30bbface9aab8dd328287cc
parent90e91e242fe99582b6d2dc18177e79d99c91695d
Fix hard-coded relkind constants in psql/describe.c.

Although it's reasonable to expect that most of these constants will
never change, that does not make it good programming style to hard-code
the value rather than using the RELKIND_FOO macros.

Discussion: https://postgr.es/m/11145.1488931324@sss.pgh.pa.us
src/bin/psql/describe.c