Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neGK4-00010s-F7 for pgsql-sql@arkaria.postgresql.org; Tue, 12 Apr 2022 13:12:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1neGK3-0007CY-Af for pgsql-sql@arkaria.postgresql.org; Tue, 12 Apr 2022 13:12:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neGK2-0007CP-U2 for pgsql-sql@lists.postgresql.org; Tue, 12 Apr 2022 13:12:43 +0000 Received: from esa.moodyscorp.iphmx.com ([68.232.149.196]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neGJx-00055L-L9 for pgsql-sql@lists.postgresql.org; Tue, 12 Apr 2022 13:12:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=moodys.com; i=@moodys.com; q=dns/txt; s=m2020; t=1649769157; x=1681305157; h=from:to:subject:date:message-id:mime-version; bh=ny9URCRPrmhIwz4SaTdbPwZ8XFQ3ivmOOCnWOezH7i8=; b=UfhXR5ULsdRZ2TeFIaywSbGABrzSE0R5SUlYzG+6yHS7st9j4nXaHIrm 3+GUU+eAem3aNN4v1JHiFHpcSSqxyI4yMcXv1rTTvLmRrfqeD91kntTc9 TZZOUSU5hpj/TAYLNhyZ9bQceL2N/00bm8adHBhijmjYMKKgo4w/g0snw 4I98P8mbcSBhch1mHxKolEfdOMaBiAtv/Na0qmYChknjE1q35UuCVRA0Q QV2tujpKzWfUQE3+BraGFzxAVR1XveGZgY3kerAogqVmUxAAknvAEzq5O W1fd/4sekgHk3gMX6KchogmsgU0Zqo968fPXFiTiCoh5U3cuxNRJCCOR/ w==; Authentication-Results: ob1.moodyscorp.iphmx.com; dkim=none (message not signed) header.i=none IronPort-Data: A9a23:un+k7qzv/AE3p7/Zo8p6t+e7xirEfRIJ4+MujC+fZmUNrF6WrkVRn DRLCzzXPv/cZTf3LYp+aY6x9EoE6sSAndM3SABl+S00HyNBpPSeCIXCJC8cHc8zwu4v7q5Dx 59DAjUVBJlsFhcwnj/0bv656yMUOZigHtIQMsadUsxKbVIiGX9JZS5LwbZj2NY02ILhWmthh PupyyHhEA79s9JLGj9Mg06zgEsHUCPa4W5wUvQWPJinjXeG/5UnJMt3yZKZdhMUdrJp8tuSH I4v+l0bElTxpH/BAvv9+lryn9ZjrrT6ZWBigVIOM0Sub4QrSoXfHc/XOdJFAXq7hQllkPh2x 8h1rJOAeD0YI6nLsuhMbgNKHBlHaPguFL/veRBTsOS15mifKT7J/K8rC0s7e4oF5uxwHGdCs +QCLywAZQyCgOTwx6+nTu5rhYIoK8yD0IE34yk8i22GS6h4B8yZK0nJzYYwMDMYpM1HG7P7b tASLwRobRDEbgRSO1E/DZU5kPazwHL4dlW0rXrL+fFuvDSPk2Sd1pDdd+uKfefRb/4PuUOZp TnfpCPQADcVYYn3JT2tqSv33bCncTnAcJodD6S8s+VzhHWXx3cPE1sOUkCnruO0kVe6HdVFJ CQpFjEGqKEz8AmuUYP7Vhjh+nqc5EZAAZxXDvEw7xyLxuzM+QGFC2MYTzlHLts7qMsxQj9s3 ViM9z/0OdBxmLqaVEqE+YellwKvPS8/IT4/fz0LdTJQtrEPv7oPph7IS99iFou8gdv0BSz8z li2QM4W1+p7YSkjh/rTwLzXv96/jsSWEFZuum07Skrgt1kjP9L8O+RE/HCCta4YRLt1WGVtq 5TtdyRzHIkz4XylkSWMRKAIA+uv7vPcajnE2wYzRd8m6iin/GOlccZI+jZiKUx1M8ECPzj0f EvUvgAX75hWVJdLUUOVS93vYyjJ5fG/fTgAahwyRocUCnSWXFLclByCnWbKgwjQfLEEyMnTw 6uzf8e2Fmo9Aq961jewTOp1+eZ1mnFhnTKOHM2llkjPPV+iiJi9Gedt3LymPrBR0U94iF6Fm zqiH5fXl08PDL2mCsUp2ddMdA9bcBDX+qwaW+QML7XYfWKK6UkkCvTLxqgmdZAtlKNPjuDS9 228XUkw9bYMrSyvFOl+UVg6MOmHdc8n/RoTZHVwVX71hSRLSdvxvc83KspvFZF6pbcL5aMlH 5EtJZ/catwREW6v02pGMvHAQHlKL0nDafSmZHb+P1DSvvdIG2T0xzMTVle3r3lRU3Dv7KPTY dSIj2vmfHbKfCw6ZO6+VR5l5wrZUaQ18A6qY3b1Hw== IronPort-HdrOrdr: A9a23:KjmE26HaplZ9M+u5pLqFZJHXdLJyesId70hD6qkvc3Fom52j/f xGws5x6fatskd3ZJhSo6HnBEDgewKryXcb2/h1AV7PZmfbUQiTXchfBOnZslnd8kTFn4Ywup uIGJIfNDSENykZsS+M2njaLz9P+ri62ZHtod2b42ZmTAlsZa0lxRx+EBynHkp/QxQDLYYlFb KHj/A37AaISDAyVICWF3MFV+/Mq5ngj5T9eyMLABYh9U2nkS6o0rjnCBKVty1uGQ+ngI1SvF QtoTaJqZlLgMvLhCM0EFWjrqi+reGRhuerwvb8yvT9ZA+cyTpAL74RIoFq9ApF2N1Hrmxa2O Uk6i1QRPhb+jffeHq4rgDq3BSl2DEy62X6wVvdmnf7p9flLQhKfvapqLgpAScx0XBQzu2UEZ g7oF6xpt5SF1fNjS7979/HW1VjkVe1u2MrlaoWg2ZEWYUTZbdNpchHlXklZ6soDWb/8sQqAe NuBMbT6LJfdk6bdWnQui1qzMa3Vno+Ex+aSgwJu9CT0TJRgHdlpnFosPA3jzMF7tYwWpNE7+ PLPuBhk6xPVNYfaeZnCOIIUaKMexzwqNL3QROvyHjcZdw60ij22uTKCZ0OlZ2XUY1Nyocuk5 LcV14dvXIueivVeLOz4KE= X-IronPort-AV: E=Sophos;i="5.90,253,1643695200"; d="scan'208,217";a="64317447" Received: from mail-mw2nam12lp2042.outbound.protection.outlook.com (HELO NAM12-MW2-obe.outbound.protection.outlook.com) ([104.47.66.42]) by ob1.moodyscorp.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 12 Apr 2022 08:12:32 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nd9r+/fsZtW2jiWxdWvrNHMO5o26mCVUM3GITwraAwy5Un1kjM2iFqN3zVYXwiCTulPLyY2rAF+6fYVWETt62dbNjOHmPJGgyr4CdKf/pOw9Pa7x+QdqgWWng9JFNN1lgjaY2AIQ+cn2EzdYCZCEqBHT4GDUqTJfB6NJZfzpWt+a76+bxczxHczO5fsnXlfPIstC4Yp8kYICRbWg/YuEdH7fDelQaRsgy/gMjGwdDk1i0q1CrAE8+fjv8ya2JTIAArEpVJbAbEBuO/H/qxJJnsK+qAaLRh3U1n8gkc3pYCoCFJ7DH2jgvy+lQucCXBZBx9ooYUx19eJevpMMT3xWTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mG7+S3bqTW2EZ7bXUO4ugAtuoHH//VSfGEiF7SrPZfA=; b=lIBkkX3sEy1YAoJtHR68F0aJLs6gseo8TSVxWFcj+9dJvw0+o3gXRTzvCx6DaXgV1KFpbBK+Uqc7qCPD7Ho2uz2GiSF8REssWCUjAjtE5zOMS+dQLsCR3yltUOrIQwp2cd42P9vU75UAfmTLrGkQr7xFyy1gn/ESHYG/qoV3VHIfBfh1Cngn4NNamS27fACZfdUugicN8angcPX6wIJfen/FQeonPJoXhDpLBuwEyfMzLlhKjjxxb7ZSMErLxlpROKFBED0JT7+8NLcsUAfN5Xx/H4wCxqcSW8RyNhbeUPfyCevAyNlr7grJt87okBcqb6Bj0eMn74qIAIx13ZvMjA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=moodys.com; dmarc=pass action=none header.from=moodys.com; dkim=pass header.d=moodys.com; arc=none Received: from MN2PR20MB2735.namprd20.prod.outlook.com (2603:10b6:208:f6::11) by DS7PR20MB4622.namprd20.prod.outlook.com (2603:10b6:8:75::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.25; Tue, 12 Apr 2022 13:12:25 +0000 Received: from MN2PR20MB2735.namprd20.prod.outlook.com ([fe80::786a:72f8:b563:9b6]) by MN2PR20MB2735.namprd20.prod.outlook.com ([fe80::786a:72f8:b563:9b6%7]) with mapi id 15.20.5164.018; Tue, 12 Apr 2022 13:12:25 +0000 From: "Voillequin, Jean-Marc" To: "pgsql-sql@lists.postgresql.org" Subject: enable/disable instead of trigger Thread-Topic: enable/disable instead of trigger Thread-Index: AdhObsjF3BQmL/UvSTqiogSbyurYMQ== Date: Tue, 12 Apr 2022 13:12:25 +0000 Message-ID: Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 887bca82-9fbb-444b-a1c3-08da1c8616a2 x-ms-traffictypediagnostic: DS7PR20MB4622:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kPVqxlL3QQw4F5myhtPQ6LpSBoG2g/WxwH1LHvx73NLxQdwQteRzuBpe8B/7fkUAeoY2V9UTp28tb6B68rKT/1jWY6myM/jV4vEEOLw9mkjYM4vSFB++DzOuo0nAht1m4KXapmsvOLIRMQq40R7Ho/3UeHuZ2mRPVdmKGUXPSfdm5euQGlRHd8kIeOBTX+TZjnRYRSaqP9SeEch/WORoW+UT6yoEEgtM+2pdYs6cGkQLO47p1NWVmVtlj8ukiq8RZxmTlJWLPVJ16fyDGP0bQ8oqX0sM4p1I3qRbyPUdtyeC3ptOp2p8TIo15p7iM9MEoGbnD6j2Eqm+6Mq7I0JUeZ+nF8uB/G6w5TwvtPG0Sit1BwYuMlZG2LYXiUrXEeiNusCrDYOBIV9ToHtDHHU8zXhpGpEpJgbFbvGbCw4QsLiWHDKZ3Iwfa+ruxXBhUeMpA4rGaBtmFBv56CUhyEqDHv/Z8gOkfA9LxcvxlDaR00BeQXAouJ4C1YpcJuroWStReIpOB9uwd+q9CqmouwQKyf508FVeGPS6OpzsnnK2CdglASjsvKce3FKLuyMl2YTnrWHY4nE1MqJHWDi+f/V1Iqyj8P/AE1JB1CHBUjAkNAxjVTS1sbii7kARl7AJaIekcAUkYhmpa+ORNsCjkDmTxb2b55XXjNvIkmRBWIu1kL1rvXvWdM8r7ZOqozCQJ2IxuxqTQAIw0mE5hLO6GGPq5w== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR20MB2735.namprd20.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(3480700007)(7696005)(558084003)(186003)(2906002)(508600001)(66446008)(66946007)(66556008)(26005)(66476007)(8676002)(71200400001)(76116006)(316002)(6916009)(122000001)(55016003)(38070700005)(64756008)(6506007)(38100700002)(86362001)(33656002)(5660300002)(9686003)(52536014)(8936002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?1vdVV9m10aWsiHqvhH1XZozZB9XCBWdPWWK4XJQKKSQ+chaFHfDUYJo/dlBL?= =?us-ascii?Q?UvDNk4JHSSDLiTCxDAesF1NKwx69oJTmgVNG7YneNuBJ+Kpp6irGfQxcfisC?= =?us-ascii?Q?ELeEeMh+ot4CMwmbB7n6cDVdG28VAG6pUo5M95jNKiEH8SlO9O3tu1o6RvQW?= =?us-ascii?Q?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/zXvUWfL33kCOpd21bWxsUPsPBnj07O?= =?us-ascii?Q?RUeBgC1++X6erlzd729LWDySbmRCc1Xax05YGFMzJw4uo6zYI6K02dS8dZoG?= =?us-ascii?Q?D1jQ5bv/mhYlvdof75Dse2tHCYfZGcNnCoEQ1OaquQvCIs0LllGaeW5xxIac?= =?us-ascii?Q?bhKWJcOgr0j8Q/2jJ3NnW64q12YR1SZ5oyq/2UHl3CShEXbfRAJFACksGvwr?= =?us-ascii?Q?kW7e+X388h1GC+P5vOUyptSl08AAMC8c3Oj5oK2Tz0vPSGe69V/VxttXKg4V?= =?us-ascii?Q?KjXBPEwF780NtwOCGXgcdmj6SVA7JQvxBGsR9OAjl+uGLsBwFZyqhWlTgPXG?= =?us-ascii?Q?awrt4OqYhmOzVcht4bKZE0EoplyS5SZVlnPydrWXsjHVizeriEVvsU57+iIZ?= =?us-ascii?Q?AmwI7Np9tLMKjllFSQClzbLWZ/8Au2EdNSIi4n44oXN9irDqBg2aMRd6uZu1?= =?us-ascii?Q?KpdZ8ghfAzPVz2E2Ca+c8io+nw68XMGmqPJoMWH1ntr7tiSC52bCFNK94yYu?= =?us-ascii?Q?XU2AJQjPdiMU7XwVfP6CKGX3/1BYB6djIhkOnRcbqNUMuOJKrqNRaJXSzAOD?= =?us-ascii?Q?CjZe0yWi0uU/r36tYXNxiv7H8AnhYp1UbnGxgt3s5naejClKfMOmDdWY5SYv?= =?us-ascii?Q?zFCJr5tnZXDU81XsP/txlsXhZVRab6sVPPrEeHwnFm3WAiRNFPTKxDr47cv5?= =?us-ascii?Q?F/9N+M0B/A=3D=3D?= Content-Type: multipart/alternative; boundary="_000_MN2PR20MB27354FD69C96A044D236301BBEED9MN2PR20MB2735namp_" MIME-Version: 1.0 X-OriginatorOrg: moodys.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR20MB2735.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 887bca82-9fbb-444b-a1c3-08da1c8616a2 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2022 13:12:25.6361 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 1061a8b8-b1ee-4249-bb84-9a2cd2792fae X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: EO3oekYyqCSnoK2malp5hHMgsz+PIRv7AU4IwvR0L/eYnuziwE770X5qNB0RsAznXVqq0l1DXtCBEy1bj2Gfkw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR20MB4622 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --_000_MN2PR20MB27354FD69C96A044D236301BBEED9MN2PR20MB2735namp_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hello guys, Is there a syntax to enable/disable an instead of trigger? For a table, it's ok, but for a view, the alter view ... enable/disable tri= gger ... does not exist. Regards. ----------------------------------------- Moody's monitors email communications through its networks for regulatory c= ompliance purposes and to protect its customers, employees and business and= where allowed to do so by applicable law. The information contained in thi= s e-mail message, and any attachment thereto, is confidential and may not b= e disclosed without our express permission. If you are not the intended rec= ipient or an employee or agent responsible for delivering this message to t= he intended recipient, you are hereby notified that you have received this = message in error and that any review, dissemination, distribution or copyin= g of this message, or any attachment thereto, in whole or in part, is stric= tly prohibited. If you have received this message in error, please immediat= ely notify us by telephone, fax or e-mail and delete the message and all of= its attachments. Every effort is made to keep our network free from viruse= s. You should, however, review this e-mail message, as well as any attachme= nt thereto, for viruses. We take no responsibility and have no liability fo= r any computer virus which may be transferred via this e-mail message. ----------------------------------------- --_000_MN2PR20MB27354FD69C96A044D236301BBEED9MN2PR20MB2735namp_ Content-Type: text/html; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable

Hello guys,

Is there a syntax to enable/disable an instead of tr= igger?

For a table, it’s ok, but for a view, the alte= r view … enable/disable trigger … does not exist.

Regards.

 

-----------------------------------------
Moody's monitors em= ail communications through its networks for regulatory compliance purposes = and to protect its customers, employees and business and where allowed to d= o so by applicable law. The information contained in this e-mail message, a= nd any attachment thereto, is confidential and may not be disclosed without= our express permission. If you are not the intended recipient or an employ= ee or agent responsible for delivering this message to the intended recipie= nt, you are hereby notified that you have received this message in error an= d that any review, dissemination, distribution or copying of this message, = or any attachment thereto, in whole or in part, is strictly prohibited. If = you have received this message in error, please immediately notify us by te= lephone, fax or e-mail and delete the message and all of its attachments. E= very effort is made to keep our network free from viruses. You should, howe= ver, review this e-mail message, as well as any attachment thereto, for vir= uses. We take no responsibility and have no liability for any computer viru= s which may be transferred via this e-mail message.
--------= ---------------------------------
--_000_MN2PR20MB27354FD69C96A044D236301BBEED9MN2PR20MB2735namp_--