aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/enum.c
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2015-01-29 21:59:34 -0500
committerStephen Frost <sfrost@snowman.net>2015-01-29 21:59:34 -0500
commit32bf6ee6ab5cdfa4247f984f864860d988a58dfe (patch)
treeb90d78cb8cddd7b0f7948817cc6a1c747923d8a4 /src/backend/utils/adt/enum.c
parente77043055f5b80bfc173ef67795cb36fdcef7f40 (diff)
downloadpostgresql-32bf6ee6ab5cdfa4247f984f864860d988a58dfe.tar.gz
postgresql-32bf6ee6ab5cdfa4247f984f864860d988a58dfe.zip
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.
Diffstat (limited to 'src/backend/utils/adt/enum.c')
0 files changed, 0 insertions, 0 deletions