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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема [COMMITTERS] pgsql: Fix hard-coded relkind constants in psql/describe.c.
Дата
Msg-id E1cm9dH-000809-8n@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: [COMMITTERS] pgsql: pgstattuple: Fix typo partitiond -> partitioned
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Create INSTALL file via XSLT