Skip to content

Instability of pg_hint_plan.sql test in PG16 + master on a slow box (or when testing with valgrind). #161

Open
@svglukhov

Description

@svglukhov

Hi,

There is an instability of pg_hint_plan.sql test in PG16 + master
on a slow box (or when testing with valgrind).

How to repeat: run make installcheck with the postgres under valgrind.

cat regression.diffs
diff -U3 contrib/pg_hint_plan/expected/pg_hint_plan.out contrib/pg_hint_plan/results/pg_hint_plan.out
--- contrib/pg_hint_plan/expected/pg_hint_plan.out
+++ contrib/pg_hint_plan/results/pg_hint_plan.out
@@ -9145,7 +9145,7 @@

relname | seq_scan | idx_scan
---------+----------+----------

  • t1 | f | f
  • t1 | f | t
    (1 row)

-- hint error level

Suggested fix is in the attachment.

Regards,
Gluh

fix-test-instability.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions