pgsql: Remove unnecessary comment.

2019-06-23 Thread Thomas Munro
Remove unnecessary comment. Author: Vik Fearing Discussion: https://postgr.es/m/150d3e9f-c7ec-3fb3-4fdb-def47c4144af%402ndquadrant.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/89ff7c08eee355195eba6f544d28584e61200665 Modified Files -- src/backen

pgsql: Add security checks to the multivariate MCV estimation code.

2019-06-23 Thread Dean Rasheed
Add security checks to the multivariate MCV estimation code. The multivariate MCV estimation code may run user-defined operators on the values in the MCV list, which means that those operators may potentially leak the values from the MCV list. Guard against leaking data to unprivileged users by ch

pgsql: Don't call PG_RETURN_BOOL() in a function not returning Datum.

2019-06-23 Thread Noah Misch
Don't call PG_RETURN_BOOL() in a function not returning Datum. This code is new in v12, and the defect probably was not user-visible. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/9a81c9fa3f6a2f57b9db2a1ce5584c85fc1d977e Modified Files -- src/backend/