Fix hard-coded relkind constants in psql/describe.c.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 395bfaae8e786eb17fc9dd79e4636f97c9d9b820
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-03-10T01:45:59Z
Releases: 10.0
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

Files

PathChange+/−
src/bin/psql/describe.c modified +120 −83

Discussion