[COMMITTERS] pgsql: Fix hard-coded relkind constants in psql/describe.c. - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Fix hard-coded relkind constants in psql/describe.c.
Date
Msg-id E1cm9dH-000809-8n@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/395bfaae8e786eb17fc9dd79e4636f97c9d9b820

Modified Files
--------------
src/bin/psql/describe.c | 203 ++++++++++++++++++++++++++++--------------------
1 file changed, 120 insertions(+), 83 deletions(-)


pgsql-committers by date:

Previous
From: Stephen Frost
Date:
Subject: [COMMITTERS] pgsql: pgstattuple: Fix typo partitiond -> partitioned
Next
From: Peter Eisentraut
Date:
Subject: Re: [COMMITTERS] pgsql: Create INSTALL file via XSLT