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.92) (envelope-from ) id 1jAx0K-00089f-8c for pgsql-general@arkaria.postgresql.org; Sun, 08 Mar 2020 14:34:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jAx0I-0005Sl-Ln for pgsql-general@arkaria.postgresql.org; Sun, 08 Mar 2020 14:34:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jAx0I-0005Se-9g for pgsql-general@lists.postgresql.org; Sun, 08 Mar 2020 14:34:06 +0000 Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jAx0E-0000xu-Qh for pgsql-general@lists.postgresql.org; Sun, 08 Mar 2020 14:34:05 +0000 Received: by mail-io1-xd33.google.com with SMTP id d8so6653136ion.7 for ; Sun, 08 Mar 2020 07:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=J1dUMm6tNWFrDmNYutKda+fnxSlGr3a5/pbn8ZOKcIg=; b=e0kluDzNnJ96HQOz5mWXipmecXG3lOByWxjkgXNz/hJML2pzcdFUbIBk6OCChZqUmR T4PtzT0YASHQ8A/T7BZZyqijVmyzRD9HVtC1E+WDCuJ+eHlOYN6Ufs1j8CTv2rsuxGNT 5XY5xLEbavgLFYJuZdhwG/eZUC9w05abZ3vGXL0KoSujwlrl7Vzv8JqRKhSJiZqimxpJ Sko+T6fvhm4mK2cpzc6nnHiUuqS/i1nPeolNT8ykb1RMoyt6xT4+jCNHxws0bFh/jXzM zmnVMOkdy7Sv5Ks9JK2XC589cUTNSGbj2smluiGpMftCCk7MWizPz4uU5Q6wgjk/OhTn M7DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=J1dUMm6tNWFrDmNYutKda+fnxSlGr3a5/pbn8ZOKcIg=; b=YE1O2JKVTPheG6Z8LWVO45AURrBVhrw2MLFvnut0CIjsxLzn7PoWLHc2F8/JjJg9sH l1NrBrBovpgCZrWQfPmnoSyz4kRSOQc6VBjhnasYTXfgbfgZhGzwtv7CGHR+eDWo1iHO ENAqsvdvjyd25pIb8H5e/Pi6K0p6sxE0m4WgLaEfOSgWz6Wttf4iMSj7k0Ce0EKjHaQc DOmuaFf7KwDdabL8LTQy+l6VNADWvmP/gigJqLJ/eNKGCmwrZaMx0kKqcsKS84lAZ3dL /LgELup4RbZsqSnzRCgQRh8vvri+kTraCSHp9iBdAcW0W/yYQnzbwq4ytsrTLJago71u 199A== X-Gm-Message-State: ANhLgQ1X4YZW24pzZ1vIqW9QV0r60VECcCEEqwAZVFvLj6y/vKWR/+7G 5+vyb+W/g5vly/lydRTjvk3xbtdv X-Google-Smtp-Source: ADFU+vuyafIsPd7smWSnTelJs4GAWH78GlbUs1BhjzhOgKYMeq3PJPbogm1dTwra7GAPlnBdFvmSTA== X-Received: by 2002:a6b:f718:: with SMTP id k24mr10141985iog.186.1583678040211; Sun, 08 Mar 2020 07:34:00 -0700 (PDT) Received: from [192.168.1.144] (c-73-63-59-118.hsd1.ut.comcast.net. [73.63.59.118]) by smtp.gmail.com with ESMTPSA id m7sm6709427ion.19.2020.03.08.07.33.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 08 Mar 2020 07:33:59 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Rob Sargent Mime-Version: 1.0 (1.0) Subject: Re: Another INSTEAD OF TRIGGER question Date: Sun, 8 Mar 2020 08:33:58 -0600 Message-Id: <3613B988-9C67-45A3-B42A-2D6DE6B85ADB@gmail.com> References: <20200308143130.GA1498@panix.com> Cc: pgsql-general@lists.postgresql.org In-Reply-To: <20200308143130.GA1498@panix.com> To: stan X-Mailer: iPhone Mail (17D50) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Mar 8, 2020, at 8:31 AM, stan wrote: >=20 > =EF=BB=BFOn Sun, Mar 08, 2020 at 10:29:09AM -0400, stan wrote: >> Still working on updateable views. >>=20 >> Wish list item, a way to see the entire query that caused the trigger to= >> fire. >>=20 >> Now on to something i hope I can get. Can I see what the verb that caused= >> the trigger to fire is? IE UPDATE, INSERT, DELETE? >>=20 >> --=20 >> "They that would give up essential liberty for temporary safety deserve >> neither liberty nor safety." >> -- Benjamin Franklin >>=20 >>=20 >=20 > OH, what was I thinking, that is controled by the trigger. >=20 > --=20 > "They that would give up essential liberty for temporary safety deserve > neither liberty nor safety." > -- Benjamin Franklin >=20 Or that is what controls which trigger is fired.=20 >=20