OSDN Git Service

Fix warning messages in restrict_and_check_grant() to include the column name
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 6 Mar 2010 23:10:42 +0000 (23:10 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 6 Mar 2010 23:10:42 +0000 (23:10 +0000)
commit153012c7d1cb8e9b4aa766e94a5f7b9875ead470
tree888949d4bac936b1faca6f0e9a442c37d88a57ed
parent66c2cc2ba93ea9015b7ce43a2fb4edc601eaaf94
Fix warning messages in restrict_and_check_grant() to include the column name
when warning about column-level privileges.  This is more useful than before
and makes the apparent duplication complained of by Piyush Newe not so
duplicate.  Also fix lack of quote marks in a related message text.

Back-patch to 8.4, where column-level privileges were introduced.

Stephen Frost
src/backend/catalog/aclchk.c