Error with DEFAULT VALUE in temp table
Антуан Виолин <violin.antuan@gmail.com>
From: Антуан Виолин <violin.antuan@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2024-12-07T11:38:02Z
Lists: pgsql-hackers
Hi everyone, I found one bug, when you delete temporary table with DEFAULT VALUE. The row about this VALUE in the pg_event_trigger_dropped_objects() contains “False” in the column “is_temporary”. But if you look at column “name_obj”, you see “for pg_temp.table_name”. So PostgreSQL know, that it is temporary. Cheers Antoine Violin
Commits
-
Fix oversights in pg_event_trigger_dropped_objects() fixes.
- ef81db9697a0 18.0 landed
- f14ea34d6e56 19 (unreleased) landed
- f6c8e7824c5d 16.11 landed
- a220e40d1106 17.7 landed
- 33e49ee014b0 15.15 landed
-
Report the correct is_temporary flag for column defaults.
- a0b99fc12203 19 (unreleased) landed
- c0c8ee23c896 17.7 landed
- 8856f1acc97b 16.11 landed
- 451373dc5c41 15.15 landed
- 3c02c46521b0 18.0 landed