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 1icDw7-0002hH-Hh for pgsql-general@arkaria.postgresql.org; Tue, 03 Dec 2019 19:34:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1icDw6-00069Z-Bg for pgsql-general@arkaria.postgresql.org; Tue, 03 Dec 2019 19:34:14 +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 1icDw5-00069R-4p for pgsql-general@lists.postgresql.org; Tue, 03 Dec 2019 19:34:14 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icDw1-0007BC-KK for pgsql-general@postgresql.org; Tue, 03 Dec 2019 19:34:12 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 27AC7D88; Tue, 3 Dec 2019 14:34:06 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 03 Dec 2019 14:34:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=i +7xVYF0j1BIFDVdKYU+gHuqL/AKQp2Sy11fgLxo1Fw=; b=iPfQgEtR0abcLwHkK 46YdxF/BgUqkVCldJsf+NXVN+62YMy6mYaf4ZBo7o/RPD3UaP6G/S5ky2nVvdHr5 5oDzNzgbBBzBOdM7d5tN7Y9YUiezwhPj27eJjkciDlnMFTgz1y9Ux5B9YCPe3p7y Jlnzq3/cvHv8idoovR11Hrlpg8DNGeKncFm2RufrrYHQMqBx9+DxK0FW6sxow2fG 8q6ZFhETdRokJxxvpSEfy7RgD8W9Y0TJibs4Je1980wUIcQWO5atgDOLwzJuRhTI poFoXrCENMUfW3HM/6NDeVClee1U6vbu4KVPtKbbyKE/jvu4b2vk4l8pasSVsB+Y ryBLQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=i+7xVYF0j1BIFDVdKYU+gHuqL/AKQp2Sy11fgLxo1 Fw=; b=nQQrQ+adRh4jV+B3tADJLeb8OGsfyzZAUgom3Arw/srYD0H3o2tdPH1WQ Bx9unE7vTb7aHUv5JY6bDXaDx6YrpCjKaJY/OeVTEWzG7E/oA+/VwEtYVaVDhbnl a8nKKsaSm76+MerXI8mKm2uZ0hpgSJXtiG0jpyLhSvoKMH0o/9mnKay91K1T7Cxt XJGfQLfh6m5nuY2f99cDLCOju95vQHb58+emFlb+Bs5aX2y85kOdMqry+PNACgCv VKS5OwvkBo4uUBPsdyu8gV5iw/Du3c81HXOjX1qqwMerEmohZfa2rMe3sdIwORlf rZF8hh+XB5kvOoB+OdmZVNu7CahkQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudejjedguddviecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecukfhppeehtddrudeljedrkedtrddvnecurfgrrhgrmhepmhgrihhlfhhrohhm pegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmnecuvehluhhsthgvrh fuihiivgeptd X-ME-Proxy: Received: from ranger.suse (50-197-80-2-static.hfc.comcastbusiness.net [50.197.80.2]) by mail.messagingengine.com (Postfix) with ESMTPA id D86B4306010D; Tue, 3 Dec 2019 14:34:04 -0500 (EST) Subject: Re: Syntax error for UPDATE ... RETURNING INTO STRICT To: Alexander Farber Cc: pgsql-general References: <15a043b0-142d-7730-9ed1-2f2a37b876af@aklaver.com> From: Adrian Klaver Message-ID: Date: Tue, 3 Dec 2019 11:34:03 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 12/3/19 8:24 AM, Alexander Farber wrote: > Thanks for your replies! > > Tom has hinted that STRICT is pl/pgSQL syntax and not SQL I finally read the full function and see you declared the LANGUAGE as sql. Now things make sense:) > Regards > Alex > -- Adrian Klaver adrian.klaver@aklaver.com