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 1hIKiL-0007IX-04 for pgsql-general@arkaria.postgresql.org; Sun, 21 Apr 2019 22:13:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hIKiJ-0003iD-6M for pgsql-general@arkaria.postgresql.org; Sun, 21 Apr 2019 22:13:31 +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 1hIKiH-0003gj-DN for pgsql-general@lists.postgresql.org; Sun, 21 Apr 2019 22:13:30 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIKiE-0003su-5w for pgsql-general@lists.postgresql.org; Sun, 21 Apr 2019 22:13:28 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 26E1321B74; Sun, 21 Apr 2019 18:13:25 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 21 Apr 2019 18:13:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=I aKQhZn4zV9nQsQPVlQldyFOToaxOj1j67n4etB9H1M=; b=hocsfKkUScGv3Inp6 NpC//Vs5XObePUDY+ls35KgsbQXrjLhT/7c58mCCnTYG83NcoRBVr8NIiHFfCEqf lQR+wXLrP6gxbWAFL7kgKnaL1e63O6YxVnHGAT7LfcvRHSvbB7KBjPaPIdUHRv7+ A0gozQx2LJsL2FpqRUd/52V17Y9PmscAY39Q29G7hfXNRPBvKYNCoDsexhTSjzSQ ZUTG4EMMGO+0dW9zjWKS8v//+sGZ47HyNWykZGIe1pIqYG+maxw4iNE06mbmYoFt 9PB3ZWNyNVpHRDq6f8sKn9HrNnrKXiDp5bzdzySyjiyzoFk+GF3QNgMmn8YFF4dk 5DaVg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=fm2; bh=IaKQhZn4zV9nQsQPVlQldyFOToaxOj1j67n4etB9H 1M=; b=qt2POQrhJtNQsUWwFATLcMgdbwYH59Rz370SgEgagd+CIvKdGjedfSKyk Zdw47ZqE0XGNsMqA1ybEVdd+jZEnFranWDYto95SN3l/gurD5QHScLZtOumPgHzj hBrOIi9g5hjX9/1XubD8eIiDXuuNiBkH3GVust6c2FT22RlMv+lrrk5j7VQdlkjC yJt+jBRQ3zAo1tVOEA2L6XdLs0TLx59X36vX6Zwn/RwHAcllL6z/71bQuEEqCICp 2xQ+VAvFzYzNgnO9hj16iuvQdpaxuPQfyOmuvtdue3bCFtdPk0LlF+BycOmhsFoZ b2yAirVHK6zBtDzarNpJdFQps7FAA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrgeehgddtjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekre dttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucffohhmrghinhepphhoshhtghhrvghsqh hlrdhorhhgnecukfhppeejuddrvdduvddrudehtddrvddtvdenucfrrghrrghmpehmrghi lhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlh hushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 444D6E415C; Sun, 21 Apr 2019 18:13:24 -0400 (EDT) Subject: Re: Backup and Restore (pg_dump & pg_restore) To: Ron , pgsql-general@lists.postgresql.org References: <3eab0829-f48e-5eb6-3cbd-b64d93e3dc7b@gmail.com> <286599d3-429e-a9b9-bf9d-a92e6dbcb403@aklaver.com> <89f6196c-3680-8892-42ec-1c0b1fce0c8b@gmail.com> From: Adrian Klaver Message-ID: <7c503445-2da0-db3c-5345-e814b6ce97f9@aklaver.com> Date: Sun, 21 Apr 2019 15:13:23 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <89f6196c-3680-8892-42ec-1c0b1fce0c8b@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 4/21/19 2:20 PM, Ron wrote: >> I see this sort of thing in monitoring systems e.g. environmental >> controls all the time. Things get flagged because they wander over set >> points intermittently. It is technically an error but unless they stay >> over the line it is just another data point. > > Errors need to be fixed.  If the restore can proceed without harm, then > it's an Informational message. That is a choice thing: https://www.postgresql.org/docs/11/app-pgrestore.html " -e --exit-on-error Exit if an error is encountered while sending SQL commands to the database. The default is to continue and to display a count of errors at the end of the restoration. " It is also one of those eye of the beholder things as evidenced by: https://www.postgresql.org/docs/11/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHAT Severity Usage syslog eventlog ... ERROR Reports an error ... WARNING ERROR ... Edited to keep on one line. -- Adrian Klaver adrian.klaver@aklaver.com