]> granicus.if.org Git - postgresql/commit
Use a consistent error message style for user mappings.
authorAndrew Dunstan <andrew@dunslane.net>
Mon, 20 Mar 2017 20:01:45 +0000 (16:01 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Mon, 20 Mar 2017 20:01:45 +0000 (16:01 -0400)
commit839cb0649a9f595a8534cdf14afbe89efb1757b1
tree9c41c0657d1c84196939be9f80e6192ecb5d0792
parent9abbf4727de746222ad8fc15b17348065389ae43
Use a consistent error message style for user mappings.

User mappings are essentially anonymous, so messages referring to "user
mapping foo on server bar" are wrong, and inconsistent with other error
messages referring to user mappings. To be consistent with existing use,
use "user mapping for foo on server bar" instead.

I dropped the noise word "user" from the original suggestion to be
consistent with other uses.

Discussion: http://postgr.es/m/56c6f8ab-b2d6-f1fa-deb0-1d18cf67f7b9@2ndQuadrant.com
src/backend/commands/foreigncmds.c
src/test/regress/expected/foreign_data.out