Re: Idempotent DDL Updates

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Miles Elam <miles(dot)elam(at)productops(dot)com>
Cc: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Idempotent DDL Updates
Date: 2021-08-31 04:25:55
Message-ID: CAOBaU_Ztc-8-NOrS=uAmZHG9mQ2HvdFuZApnd6+MqiaMvmgXOQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Aug 30, 2021 at 11:56 PM Miles Elam <miles(dot)elam(at)productops(dot)com> wrote:
>
> Not sure that querying the catalogs is strictly necessary though… Could you say more?

I meant for anything that doesn't have an IF [NOT] EXISTS, including
cases where such a clause wouldn't be possible. For instance if you
have to provide an upgrade script that change a column datatype.

As Adrian mentioned, sqitch should provide a sensible framework for
that, but there may be similar tools more suitable for your
environment if you're already using other frameworks.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Atul Kumar 2021-08-31 05:45:20 Re: vacuumlo
Previous Message Laurenz Albe 2021-08-31 02:57:05 Re: vacuumlo