pgsql: Release memory allocated by dependency_degree

2021-09-23 Thread Tomas Vondra
Release memory allocated by dependency_degree Calculating degree of a functional dependency may allocate a lot of memory - we have released mot of the explicitly allocated memory, but e.g. detoasted varlena values were left behind. That may be an issue, because we consider a lot of dependencies (a

pgsql: Release memory allocated by dependency_degree

2021-09-23 Thread Tomas Vondra
Release memory allocated by dependency_degree Calculating degree of a functional dependency may allocate a lot of memory - we have released mot of the explicitly allocated memory, but e.g. detoasted varlena values were left behind. That may be an issue, because we consider a lot of dependencies (a

pgsql: Release memory allocated by dependency_degree

2021-09-23 Thread Tomas Vondra
Release memory allocated by dependency_degree Calculating degree of a functional dependency may allocate a lot of memory - we have released mot of the explicitly allocated memory, but e.g. detoasted varlena values were left behind. That may be an issue, because we consider a lot of dependencies (a

pgsql: Release memory allocated by dependency_degree

2021-09-23 Thread Tomas Vondra
Release memory allocated by dependency_degree Calculating degree of a functional dependency may allocate a lot of memory - we have released mot of the explicitly allocated memory, but e.g. detoasted varlena values were left behind. That may be an issue, because we consider a lot of dependencies (a

pgsql: Release memory allocated by dependency_degree

2021-09-23 Thread Tomas Vondra
Release memory allocated by dependency_degree Calculating degree of a functional dependency may allocate a lot of memory - we have released mot of the explicitly allocated memory, but e.g. detoasted varlena values were left behind. That may be an issue, because we consider a lot of dependencies (a

pgsql: Release memory allocated by dependency_degree

2021-09-23 Thread Tomas Vondra
Release memory allocated by dependency_degree Calculating degree of a functional dependency may allocate a lot of memory - we have released mot of the explicitly allocated memory, but e.g. detoasted varlena values were left behind. That may be an issue, because we consider a lot of dependencies (a