Fix hard-coded relkind constants in psql/describe.c.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/describe.c | modified | +120 −83 |
Discussion
- Bizarre choice of case for RELKIND_PARTITIONED_TABLE 12 messages · 2017-03-07 → 2017-03-11