citusdata / citusdata/citus

PG18: propagate_statistics test failure, changed output for temp objects

Open
#8,310 0 comments 0 reactions 0 assignees View on GitHub
backport pg18_work_item regression tests
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

On PG18 commit d024160fffc behavior of StatisticsObjIsVisibleExt was changed, as a consequence the output for temp objects in propagate_statistics test was changed and test now is failed

```
CREATE STATISTICS pg_temp.s1 (dependencies) ON a, b FROM test_stats;
-ERROR: "statistics object s1" has dependency on unsupported object "schema pg_temp_xxx"
+ERROR: "statistics object pg_temp_42.s1" has dependency on unsupported object "schema pg_temp_42"
CREATE STATISTICS s1 (dependencies) ON a, b FROM test_stats;
```
this error I can see for release-12.1, release-13.0 and main. Better fix them all

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.