Fix hard-coded relkind constants in assorted other files.

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

Commit: 9c2635e26f6f4e34b3b606c0fc79d0e111953a74
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-03-10T04:36:52Z
Releases: 10.0
Fix hard-coded relkind constants in assorted other files.

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.

I think I've now gotten all the hard-coded references in C code.
Unfortunately there's no equally convenient way to parameterize
SQL files ...

Discussion: https://postgr.es/m/11145.1488931324@sss.pgh.pa.us

Files

Discussion