Re: CREATE TABLE .. LIKE copies comments to an unrelated table

From: "Koshi Shibagaki (Fujitsu)" <shibagaki(dot)koshi(at)fujitsu(dot)com>
To: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>, Junwang Zhao <zhjwpku(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CREATE TABLE .. LIKE copies comments to an unrelated table
Date: 2026-10-14 02:20:47
Message-ID: TY5PR01MB18445FCC8ED550FB84830A70AFA9D2@TY5PR01MB18445.jpnprd01.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Jim,

> I see your point there. However, since this requires a superuser, I
> don't think it needs to be fixed -- a superuser can do a lot of nasty
> things. Trying to anticipate a superuser renaming a temp schema
> mid-session is IMHO not something we should worry about. Please let me
> know if I'm missing something here.

That makes sense. I agree that we don't need to handle
a superuser renaming a temporary schema mid-session.

Thanks for the clarification!

Best,
Koshi Shibagaki
FUJITSU LIMITED
https://www.fujitsu.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-10-14 02:39:24 Re: Add missing FreeDir in CheckTablespaceDirectory
Previous Message Fujii Masao 2026-10-14 02:17:00 Re: Add missing FreeDir in CheckTablespaceDirectory