Re: Determine server version from psql script

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Igor Korot <ikorot01(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Determine server version from psql script
Date: 2025-03-23 17:44:01
Message-ID: CAKFQuwZ3-wmpyUEdHUaL7H9RHp-FTxUJjVL3L5A0jqA2bbHXYw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sunday, March 23, 2025, Igor Korot <ikorot01(at)gmail(dot)com> wrote:

>
> 2. Is there a way to do CREATE TRIGGER IF NOT EXIST for the earlier
> version?
>

No. You have to drop the trigger if it does exist and then create the new
one.

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2025-03-23 17:50:45 Re: Determine server version from psql script
Previous Message Igor Korot 2025-03-23 17:38:18 Re: Determine server version from psql script