Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iVcd4-0004Qz-7R for pgsql-general@arkaria.postgresql.org; Fri, 15 Nov 2019 14:31:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iVcd1-0003V1-6I for pgsql-general@arkaria.postgresql.org; Fri, 15 Nov 2019 14:31:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iVcd0-0003Uu-P4 for pgsql-general@lists.postgresql.org; Fri, 15 Nov 2019 14:31:14 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1iVccw-0005ni-Un for pgsql-general@postgresql.org; Fri, 15 Nov 2019 14:31:13 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 0EA3A18B6A52C for ; Fri, 15 Nov 2019 07:31:09 -0700 (MST) Date: Fri, 15 Nov 2019 07:31:09 -0700 (MST) From: PegoraroF10 To: pgsql-general@postgresql.org Message-ID: <1573828269057-0.post@n3.nabble.com> Subject: naming triggers for execution MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On create trigger page of the doc: If multiple triggers of the same kind are defined for the same event, they will be fired in alphabetical order by name. But suppose we have two triggers, one is called for every table for auditin= g purposes, for example. And other for a specific process of that table. Considering that the auditing needs to be the last, how can I be sure it=C2= =B4ll ran lastly ?=20 Would be cool if we could define position for triggers, or like SQL Server which defines first and last position of it. But as we cannot use this thing, what is the way you use. -- Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.h= tml