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 1gtHp3-0006h5-3e for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Feb 2019 20:04:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gtHp1-00012H-Ip for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Feb 2019 20:04:55 +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 1gtHp1-000129-8X for pgsql-hackers@lists.postgresql.org; Mon, 11 Feb 2019 20:04:55 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtHox-0005Pk-WC for pgsql-hackers@postgresql.org; Mon, 11 Feb 2019 20:04:54 +0000 Received: by mail-qt1-x844.google.com with SMTP id o6so205181qtk.6 for ; Mon, 11 Feb 2019 12:04:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=mEIYggQyxsitCd4OgI093//E7EJgiItbtkYr1TqQiR4=; b=hkC001D6PzWlP6gMMNs1apE6Lbir2Pr3/VVblKK2hlCZnFKqqY0jItiESfCi1AKrDu x2YA3MdmTpu4/jDyHkl5DL82mK6r4BgEkAKyRpER3SWUbv0wcA0zHeYp4GEDI2cyeQ9R 9hRP/BnVjFueBH+oyTYgLRn0qke76BGxrZM+2e3jgXcb4L4/zEtuNbXJgwC1rQAuC7aF oa4dULuE4L1GqtNNp7yUPOhUp0Av2+2Q9PezmogLENy3sKqfEZSwK+WkHeReW61FPBcK GyteVjf8sL3ii24X7FbHC8brLuZVgvw6NlUf2d+FQPFVXFKSDo0jmfMSPp8SMM9Ktbaa HB1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=mEIYggQyxsitCd4OgI093//E7EJgiItbtkYr1TqQiR4=; b=GrDYx0LkyYBxoVaMjQzV1PphCvzhQ1unwk7SZwbAJ5yZI+qy8d4Q04ujGdCPCIFZKd M45nv3XpoCUcojqCMU/wQMB16CstlD3+5fJx7AovRbKBIuNhhq1wLTuNDr7/AJ0zmuq7 pKKw4flcQ7lQhArycTlhedngUalBJCOY8Rh9lBGVsfbYIxMu4RKBuoPnlr6KZ1DyRPyZ +x9Y/XbbKLBcYeXEzx8thMofg0ly74TR2QWNTokctsOur7cvUvvprN+KQudc9gloJ2IC EWbQOGuSpheU7k8H63BtXteAjirjY5N/F3rjojV+p0+DYJep2NHQJijRb6Ab9m9DNsJU NanQ== X-Gm-Message-State: AHQUAubbfl98csCgdx7d4tGFk083qkMYVS7lJSBorwxsKxqT/ISshXGe XmTFBdnmpBez8GXFNSMsCkuKyA== X-Google-Smtp-Source: AHgI3IZr+xc9yNcSzIq2ExOe4IvH3VdlSXs66HJthaWO71mZx3S5PT5cJiVWaK0nAhbmggx5yrstTg== X-Received: by 2002:a0c:c14e:: with SMTP id i14mr27624026qvh.84.1549915490065; Mon, 11 Feb 2019 12:04:50 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id v2sm9865015qte.75.2019.02.11.12.04.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Feb 2019 12:04:47 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 52FDB124692; Mon, 11 Feb 2019 17:04:45 -0300 (-03) Date: Mon, 11 Feb 2019 17:04:45 -0300 From: Alvaro Herrera To: Tom Lane Cc: Peter Geoghegan , PostgreSQL Hackers Subject: Re: Fixing findDependentObjects()'s dependency on scan order (regressions in DROP diagnostic messages) Message-ID: <20190211200445.GA30250@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <10442.1549914403@sss.pgh.pa.us> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Feb-11, Tom Lane wrote: > I've pushed this now. I made one additional change, which was to fix > things so that if both an INTERNAL and an EXTENSION dependency exist, > the first loop will reliably complain about the EXTENSION dependency. > It only takes one more if-test to do that now that we're postponing > the error report till after the loop, and this way we don't need to > split hairs about how likely it is for both to exist. > > I think we're done with this thread, though I still need to look at > the problem I complained of in <26527.1549572789@sss.pgh.pa.us>. Thanks for taking care of this! -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services