-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
56827: sql: Enabled correct pg_class.relPersistence for temporary tables r=arulajmani a=mnovelodou Previously, the relpersistence column in pg_catalog.pg_class displayed 'p' for all tables regardless of persistence status. This is incorrect for temporary tables and unlogged tables, as they are supposed to have `t` and `u` values respectively. This patch fixes this behavior for temp tables, but leaves it unchanged for unlogged tables (as we don't persist unlogged information past parsing). Fixes #56656 Release note (sql change): the relpersistence column in pg_catalog.pg_class now correctly displays `t` as the persistence status for temporary tables. Co-authored-by: MiguelNovelo <[email protected]>
- Loading branch information
Showing
2 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters