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 1l6hgS-0003H0-LM for pgsql-general@arkaria.postgresql.org; Mon, 01 Feb 2021 22:28:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l6hgR-00063J-Iv for pgsql-general@arkaria.postgresql.org; Mon, 01 Feb 2021 22:28:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6hgR-000639-B9 for pgsql-general@lists.postgresql.org; Mon, 01 Feb 2021 22:28:35 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6hgN-0000bO-Sy for pgsql-general@postgresql.org; Mon, 01 Feb 2021 22:28:34 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 9B3A9D73; Mon, 1 Feb 2021 17:28:28 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 01 Feb 2021 17:28:28 -0500 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=L 4GuXuCtV5rYavw7UEphiRE9M70K8Xlq7uPyGslvB1o=; b=pDTnDL1H1ttW8VSXU 8siy4unEb7U1T2516V8vOp9QrxQDLTPZRXgOdUe9tdulSILsugD1QbZpyli3qul3 FxitS4WIcLE81+b2mCmlVypYzDA2T7qcRfhvF48pS3VPdSwFnLLuVqsKITEEiHU3 mst3og4y6oztH7+cwHdBuoTljMhrkvzY6WUheGZ1oumFQXuYQVI4xmC1SWcXr2Hl YkpadjkyNLLoPa44G67i/u402RbCrOGa/bwFih5s/0L55CojRU7IAkjBZyyuzOWK EDkkPpzu/p61PgeA/ObgvKwyE9QabmJ7/8kOOgkt534pyahO2aL967uUFYrgTuK6 9oBAQ== 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=fm1; bh=L4GuXuCtV5rYavw7UEphiRE9M70K8Xlq7uPyGslvB 1o=; b=nOSW2p70Ccn6wjDwqLFQwAPiD85yTuHQx7OO5dYW0krkr/kar/DUJNlzx tc1wqHZzAeNfC62aCXKrdkkJA7L+aFFPqq3J8rCD2ePkbuO9iDngCn4YHdGLzcDK f7xDg9GxxfUdBsAY+Ag42yJtPAncJSWZkgnIetvwxvDOfdaepiLXSG2khMMmXXiv hqvBV6TXdfbod+fuBfXUOqu7hYljWi8y9X393tk9ooEGM2eNKKy5jAkeHct+3diI 5yZvcJMI5A5OUKh5ZHCH2zfcPEeQ/fC8qMvMZU+m+pzraRnbKfqBsZj7aBXqZfoY tI5JN44CrGjN/m3tzflizi32PKnBQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeekgdduhedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeduudefjeetveffhefgudehtdfhvdetkeeiueehfeev veduteekleeuheegudehhfenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgne cukfhppeeljedruddufedrvddujedrvdejnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrh drtghomh X-ME-Proxy: Received: from [192.168.1.4] (97-113-217-27.tukw.qwest.net [97.113.217.27]) by mail.messagingengine.com (Postfix) with ESMTPA id F39CB108005B; Mon, 1 Feb 2021 17:28:26 -0500 (EST) Subject: Re: permission denied for large object 200936761 To: Andrus , Laurenz Albe , pgsql-general@postgresql.org References: <47c92baa-949b-92d1-c162-1f0d8348fb50@hot.ee> <2eee8862-ea29-3e9c-30ff-82ec7ad4d99f@aklaver.com> <08f90e7b-8d08-d46e-abb7-85dd68bc3078@hot.ee> <6f141378-2651-3c71-1bab-8b5700e45fbd@hot.ee> From: Adrian Klaver Message-ID: Date: Mon, 1 Feb 2021 14:28:26 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <6f141378-2651-3c71-1bab-8b5700e45fbd@hot.ee> 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 2/1/21 2:20 PM, Andrus wrote: > Hi! > > >Obviously large objects *are* used. > >> >You have to grant the database use permissions with >> >> > GRANT SELECT ON LARGE OBJECT 200936761 TO dumpuser; >> >> >Alternatively, use the -B option of pg_dump to skip dumping >> >large objects. > > I added -B option and changed postgresql.conf  to > lo_compat_privileges=on   as temporary fix. > > dumpuser has created backups of same two schemas for years without > issues. The issue starts to occur today. What code changed between the last backup and today? > > Application does not create large objects. It uses bytea columns instead. > > How to figure out what is this large object ? You could try some of the functions here: https://www.postgresql.org/docs/12/lo-funcs.html to see if you can figure it out. > > Andrus. > -- Adrian Klaver adrian.klaver@aklaver.com