Search Postgresql Archives

Re: Determine server version from psql script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday, March 23, 2025, David G. Johnston <david.g.johnston@xxxxxxxxx> wrote:
On Sunday, March 23, 2025, Igor Korot <ikorot01@xxxxxxxxx> 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.

Well, you can always query the catalogs directly to answer the question “does this trigger exist”.

David J.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux