Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHBXb-00070o-Qx for pgsql-general@arkaria.postgresql.org; Mon, 29 Oct 2018 17:41:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gHBXZ-0005d0-OI for pgsql-general@arkaria.postgresql.org; Mon, 29 Oct 2018 17:41:25 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHBXX-0005ct-PM for pgsql-general@lists.postgresql.org; Mon, 29 Oct 2018 17:41:25 +0000 Received: from [64.147.123.24] (helo=wout1-smtp.messagingengine.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHBXQ-0003yF-Ua for pgsql-general@lists.postgresql.org; Mon, 29 Oct 2018 17:41:23 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 4DA111115; Mon, 29 Oct 2018 13:40:54 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 29 Oct 2018 13:40:54 -0400 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=/ Xv0T+KfBGyy5BJKNXbLG/eW6unBoRbo7x+FCOzKX7M=; b=FIhU9rEqj4SGnhgkf e9YZx6rGdpgw4aPqCv159JMTbSh81nE4hUcrPC0Rh+85RMZnC1X60C6PR8VDmw1H UCGsKo8UsvopRRUcjYY8zpXYwneJzzmzeFOVwRngdlWUdlBsf8UsnJAg5KnpXz8n 48DZlLEIi1R7lJAr9BWNG02LxnRg6fkS6N8jxZKtbNbtMBOHgIDxq4ui4HTfTK95 FJbQd3YdbFlkdNDHzt31Wp8unQ94OqjRv5vee0yGXCscQ6wR1kd/k4dQqNpk86l+ ssE/C87vWkEMbkn6PosAghb1yYApljUhU1H/J5ZJtHOlOUBflM7b4dp4Mgu7ZqJy 6vTkA== 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=/Xv0T+KfBGyy5BJKNXbLG/eW6unBoRbo7x+FCOzKX 7M=; b=arUSU+Wl9tKkDi3oSxJt2gxuEUKAMwGth07ptK8XbwwHnRAMt7pherm2+ T3JlrzO3eOc4atYSnCX+i7OLTeu58iuWfh1803qqW009TS1AL1eoLQn1rWsORMbY unq9RsmguSld/MF57pVcke7XuXSWcGeA7y7mnHLQsebCSN/g0NRZCJjrlV2ou0Hf Anj++TFUQCAJpBTBDDOVRnMA9RZsLLlYjxAKpIkiSDL6BjI4+A3gVSgqevUFc6qD BT/WXP68zMXc7jBEK7WfUHcJR7f7ia0ESn2MM8/9eSvkTyGUMV0Lrlogfs5au2Bi zwaFXvIZvt+j7eG+Xk5hkSkatmtew== X-ME-Sender: X-ME-Proxy: Received: from [192.168.1.3] (unknown [71.212.134.3]) by mail.messagingengine.com (Postfix) with ESMTPA id B59E6E4430; Mon, 29 Oct 2018 13:40:52 -0400 (EDT) Subject: Re: rw_redis_fdw: SQL Errors when statement is within a function To: GPT , Christoph Moench-Tegeder Cc: pgsql-general@lists.postgresql.org References: <20181025101948.r2hsnsm2ysn7q3ic@alap3.anarazel.de> <20181025215749.6yy3aparryceuker@squirrel.exwg.net> <20181026212725.33rqwraa73wpzq5f@squirrel.exwg.net> <20181027221321.zil4ktkmpkxbpmzv@squirrel.exwg.net> From: Adrian Klaver Message-ID: <2d87c1f0-acc8-7b53-0154-9f29d34f98b0@aklaver.com> Date: Mon, 29 Oct 2018 10:40:51 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.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: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 64.147.123.24 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/29/18 3:58 AM, GPT wrote: > Hi, I had a wonderful Sunday, and have no intention to change that sense! > > Dear PG developers, young and/or middle age, and rest users, please > check the errors the PG gave me. > happen as Adrian wrote, and life goes on. > > What I would like to ask from developers is: > > Please, if possible improve the error system! The improvement is already there: https://github.com/nahanni/rw_redis_fdw/issues/14 "Turning on debugging, the first 5 tries parses the where clause as:" For more information see: https://www.postgresql.org/docs/10/static/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHEN In particular: Table 19.1. Message Severity Levels. > > Especially when there are internal changes which may affect > dynamically the outcome (from expected results to ERROR or whatever) > of a correct statement. For example, the error would include a > note/warning similar to "... after change of plan" or "... . Plan was > changed". Such a note/warning would have saved the whole situation and > I would have something in my hand to search and ask for help from the > very beginning. > > As a simple end-user and not an IT folk, I have absolutely no word on > what and how things happen under the hood. But I expect the best > response, even if an error has appeared, which will safely enlighten > me at the shortest time. Your time is valuable, my time, too. So, > let´s respect our times and do the best to protect them against waste > in future. > > Thanks and have a nice day and a wonderful week! > > -- Adrian Klaver adrian.klaver@aklaver.com