postgresql/src/backend
Alvaro Herrera 2c3e47527a 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
2017-03-27 01:03:50 -03:00
..
access Fix comment. 2017-03-26 22:15:50 -04:00
bootstrap Show more processes in pg_stat_activity. 2017-03-26 22:02:22 -04:00
catalog Show more processes in pg_stat_activity. 2017-03-26 22:02:22 -04:00
commands Support hashed aggregation with grouping sets. 2017-03-27 04:20:54 +01:00
executor Support hashed aggregation with grouping sets. 2017-03-27 04:20:54 +01:00
foreign Spelling fixes in code comments 2017-03-14 12:58:39 -04:00
lib Support hashed aggregation with grouping sets. 2017-03-27 04:20:54 +01:00
libpq Fix unportable disregard of alignment requirements in RADIUS code. 2017-03-26 17:35:35 -04:00
main Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
nodes Support hashed aggregation with grouping sets. 2017-03-27 04:20:54 +01:00
optimizer Support hashed aggregation with grouping sets. 2017-03-27 04:20:54 +01:00
parser Add COMMENT and SECURITY LABEL support for publications and subscriptions 2017-03-24 23:44:23 -04:00
po Translation updates 2016-08-08 11:08:00 -04:00
port Fix WaitEventSetWait() to handle write-ready waits properly on Windows. 2017-03-17 14:58:06 -04:00
postmaster Show more processes in pg_stat_activity. 2017-03-26 22:02:22 -04:00
regex ICU support 2017-03-23 15:28:48 -04:00
replication Show more processes in pg_stat_activity. 2017-03-26 22:02:22 -04:00
rewrite Support XMLTABLE query expression 2017-03-08 12:40:26 -03:00
snowball Add ICU_FLAGS to one more place 2017-03-23 16:53:10 -04:00
statistics Implement multivariate n-distinct coefficients 2017-03-24 14:06:10 -03:00
storage Show more processes in pg_stat_activity. 2017-03-26 22:02:22 -04:00
tcop Add missing break 2017-03-26 11:31:23 -03:00
tsearch Spelling fixes in code comments 2017-03-14 12:58:39 -04:00
utils Fix a couple of problems in pg_get_statisticsextdef 2017-03-27 01:03:50 -03:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Implement multivariate n-distinct coefficients 2017-03-24 14:06:10 -03:00
common.mk ICU support 2017-03-23 15:28:48 -04:00
nls.mk Remove trailing slashes from directories in find command 2015-09-18 22:06:54 -04:00