Re: [PATCH] rename column if exists

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Isaac Morland <isaac(dot)morland(at)gmail(dot)com>, David Oksman <oksman(dot)dav(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] rename column if exists
Date: 2021-11-05 14:22:29
Message-ID: CAKFQuwYpqBA2YVnTtDOXwMA1GVjn3AGHVO0TZ_Kj5+StN5i3aQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Friday, November 5, 2021, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
>
> I know that, I'm just not convinced that it's a feature (in the case at
> hand)
>

I don’t see how this one should be expected to meet a higher bar than drop
table or other existing commands. I get why in the nearby discussion
create role if not exists is treated differently based upon its unique
security concerns. Does column renaming have a hidden concern I’m not
thinking of?

David J.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2021-11-05 14:27:10 Re: should we enable log_checkpoints out of the box?
Previous Message Daniel Gustafsson 2021-11-05 14:12:00 Re: remove internal support in pgcrypto?