pgsql: Fix BuildIndexValueDescription for expressions

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема pgsql: Fix BuildIndexValueDescription for expressions
Дата
Msg-id E1YH1pg-0003pN-09@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix BuildIndexValueDescription for expressions

In 804b6b6db4dcfc590a468e7be390738f9f7755fb we modified
BuildIndexValueDescription to pay attention to which columns are visible
to the user, but unfortunatley that commit neglected to consider indexes
which are built on expressions.

Handle error-reporting of violations of constraint indexes based on
expressions by not returning any detail when the user does not have
table-level SELECT rights.

Backpatch to 9.0, as the prior commit was.

Pointed out by Tom.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/39c46c5f28b2e46f2b8ce7fe5fac3fa66f1f0abf

Modified Files
--------------
src/backend/access/index/genam.c |   13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: doc: clarify libpq's 'verify-full' host name check
Следующее
От: Stephen Frost
Дата:
Сообщение: pgsql: Fix BuildIndexValueDescription for expressions