aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2015-01-29 22:00:03 -0500
committerStephen Frost <sfrost@snowman.net>2015-01-29 22:00:03 -0500
commitc01a56c884462f4ae09254db1f270032f9602b8c (patch)
tree6aa41c565719550371869173ae400e94068dce57 /src/backend/tcop/postgres.c
parent290c2daad947c8493782055fd71896af7b7d1d8e (diff)
downloadpostgresql-c01a56c884462f4ae09254db1f270032f9602b8c.tar.gz
postgresql-c01a56c884462f4ae09254db1f270032f9602b8c.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/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions