aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/commit_ts.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2017-03-27 00:53:59 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2017-03-27 01:03:50 -0300
commit2c3e47527a6f53cd1d98887fdb9e770c118954ca (patch)
tree4a63fe29da6548cb77c02ca5ec5df460a4744682 /src/backend/access/transam/commit_ts.c
parentb5635948ab165b6070e7d05d111f966e07570d81 (diff)
downloadpostgresql-2c3e47527a6f53cd1d98887fdb9e770c118954ca.tar.gz
postgresql-2c3e47527a6f53cd1d98887fdb9e770c118954ca.zip
Fix a couple of problems in pg_get_statisticsextdef
There was a thinko whereby we tested the wrong tuple after fetching it from cache; avoid that by using generate_relation_name instead, which is simpler. Also, the statistics name was not qualified, so add that. (It could be argued that qualification should be conditional on the schema not being on search path. We can add that later, but at least this form is correct.) Author: David Rowley, Álvaro Herrera Discussion: https://postgr.es/m/CAKJS1f8RjLeVZJ2+93pdQGuZJeBF-ifsHaFMR-q-6-Z0qxA8cA@mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions