]> granicus.if.org Git - postgresql/commit
Improve English wording of some other getObjectDescription() messages.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 24 May 2018 18:01:10 +0000 (14:01 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 24 May 2018 18:01:10 +0000 (14:01 -0400)
commitb86b7bfa3e8b3e4255352ca564b3f1270e708274
tree894e1079de42c9cc1c22727bf51f739c8769e00a
parent7c89eb750d0cc4e33c46c62154c461be57883b72
Improve English wording of some other getObjectDescription() messages.

Print columns as "column C of <relation>" rather than "<relation> column
C".  This seems to read noticeably better in English, as evidenced by the
regression test output changes, and the code change also makes it possible
for translators to adjust the phrase order in other languages.

Also change the output for OCLASS_DEFAULT from "default for %s" to
"default value for %s".  This seems to read better and is also more
consistent with the output of, for instance, getObjectTypeDescription().

Kyotaro Horiguchi, per a complaint from me

Discussion: https://postgr.es/m/20180522.182020.114074746.horiguchi.kyotaro@lab.ntt.co.jp
contrib/earthdistance/expected/earthdistance.out
contrib/postgres_fdw/expected/postgres_fdw.out
src/backend/catalog/objectaddress.c
src/test/regress/expected/alter_table.out
src/test/regress/expected/collate.out
src/test/regress/expected/domain.out
src/test/regress/expected/sequence.out
src/test/regress/expected/triggers.out