pgsql: Use checkAsUser for selectivity estimator checks, if it's set.

2019-05-06 Thread Dean Rasheed
Use checkAsUser for selectivity estimator checks, if it's set. In examine_variable() and examine_simple_variable(), when checking the user's table and column privileges to determine whether to grant access to the pg_statistic data, use checkAsUser for the privilege checks, if it's set. This will

pgsql: Use checkAsUser for selectivity estimator checks, if it's set.

2019-05-06 Thread Dean Rasheed
Use checkAsUser for selectivity estimator checks, if it's set. In examine_variable() and examine_simple_variable(), when checking the user's table and column privileges to determine whether to grant access to the pg_statistic data, use checkAsUser for the privilege checks, if it's set. This will

pgsql: Use checkAsUser for selectivity estimator checks, if it's set.

2019-05-06 Thread Dean Rasheed
Use checkAsUser for selectivity estimator checks, if it's set. In examine_variable() and examine_simple_variable(), when checking the user's table and column privileges to determine whether to grant access to the pg_statistic data, use checkAsUser for the privilege checks, if it's set. This will

pgsql: Use checkAsUser for selectivity estimator checks, if it's set.

2019-05-06 Thread Dean Rasheed
Use checkAsUser for selectivity estimator checks, if it's set. In examine_variable() and examine_simple_variable(), when checking the user's table and column privileges to determine whether to grant access to the pg_statistic data, use checkAsUser for the privilege checks, if it's set. This will

pgsql: Use checkAsUser for selectivity estimator checks, if it's set.

2019-05-06 Thread Dean Rasheed
Use checkAsUser for selectivity estimator checks, if it's set. In examine_variable() and examine_simple_variable(), when checking the user's table and column privileges to determine whether to grant access to the pg_statistic data, use checkAsUser for the privilege checks, if it's set. This will

pgsql: Use checkAsUser for selectivity estimator checks, if it's set.

2019-05-06 Thread Dean Rasheed
Use checkAsUser for selectivity estimator checks, if it's set. In examine_variable() and examine_simple_variable(), when checking the user's table and column privileges to determine whether to grant access to the pg_statistic data, use checkAsUser for the privilege checks, if it's set. This will