Re: Determine server version from psql script

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Igor Korot <ikorot01(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(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:50:45
Message-ID: 4e713159-7c31-4fda-a41f-f9d070aaf35e@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 3/23/25 10:38, Igor Korot wrote:
> Hi, Tom,
>
>

>
> 2 things, however.
> 1. Apparently CREATE OR RELACE TRIGGER syntax is available since v17,
> which is the current one. So I hadto adjust the numbers.. 😀

Really?:

https://www.postgresql.org/docs/14/sql-createtrigger.html

"CREATE [ OR REPLACE ] [ CONSTRAINT ] TRIGGER name ..."

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2025-03-23 17:53:04 Re: Determine server version from psql script
Previous Message David G. Johnston 2025-03-23 17:44:01 Re: Determine server version from psql script