Re: Error with DEFAULT VALUE in temp table

From: Антуан Виолин <violin(dot)antuan(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Error with DEFAULT VALUE in temp table
Date: 2025-06-30 07:36:09
Message-ID: CAFjUV9yMv70EZCY_46KAoD4p0jXJLuWp63cSfyF7-6u_uqmGRA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi everyone,
I made patch for this problem

Cheers

Antoine Violin

сб, 7 дек. 2024 г. в 18:38, Антуан Виолин <violin(dot)antuan(at)gmail(dot)com>:

> 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
>

Attachment Content-Type Size
v1-changed-event_trigger-for-DEFAULT-VALUE.patch text/x-patch 4.9 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Антуан Виолин 2025-06-30 07:46:27 Re: Error with DEFAULT VALUE in temp table
Previous Message Richard Guo 2025-06-30 07:26:44 Re: Reduce "Var IS [NOT] NULL" quals during constant folding