Skip to content

Fix ORCA statistics handling in src/backend/optimizer/util/plancat.c#2658

Open
silent-observer wants to merge 1 commit into
sync-14x-b13from
sync-14x-b13-michkov-27
Open

Fix ORCA statistics handling in src/backend/optimizer/util/plancat.c#2658
silent-observer wants to merge 1 commit into
sync-14x-b13from
sync-14x-b13-michkov-27

Conversation

@silent-observer

Copy link
Copy Markdown

Commit 3d351d9 changed the possible values of
reltuples column in pg_class. Previously the default value was 0, but after
this commit the default value is -1, meaning "unknown", while 0 indicates an
actually empty table. Adjust GPDB-specific code for ORCA to account for that
change.

Commit 3d351d9 changed the possible values of
reltuples column in pg_class. Previously the default value was 0, but after
this commit the default value is -1, meaning "unknown", while 0 indicates an
actually empty table. Adjust GPDB-specific code for ORCA to account for that
change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants