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 1iUsjF-0005O1-7q for pgsql-bugs@arkaria.postgresql.org; Wed, 13 Nov 2019 13:30:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iUsjD-0005ug-Hu for pgsql-bugs@arkaria.postgresql.org; Wed, 13 Nov 2019 13:30:35 +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 1iUsjD-0005uZ-Ah for pgsql-bugs@lists.postgresql.org; Wed, 13 Nov 2019 13:30:35 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iUsjA-0005q0-BX for pgsql-bugs@lists.postgresql.org; Wed, 13 Nov 2019 13:30:34 +0000 Received: by mail-wm1-x344.google.com with SMTP id c22so2021504wmd.1 for ; Wed, 13 Nov 2019 05:30:31 -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:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=adoimOkEcxbxTZXEYeej03HGi3JRmyCuV/5bqapmd7s=; b=MZoNEgxW4Hi3w3vZoOBVDKbII9c5P3s3alNNmHdu8oUURrAxhJQq7XxgfCrNHSwMUq CAY5ZsVztxX7yUGu4tLeJdqxxRQ6IvIDp+4gaaex8T6r2Rl9XlApO1xD/t3oEnNXgQOf IlSrUDARlh7RH1IFvls3J6zQrnxtQO67Iwz5zhFS5iAQOYDKjShZif7dSO0iJf6PM98V XPvAxgvHrMQYi2uowfFX0RNWv1mGTrxKMUanhHSczXsffT2IUJUulwVIRpKoWwcBlS+a ux+J3qsk0JhgeykxxRW0ys4vRb/cx5hoqJ+fGSegsq0ziG3Jz1Tz/YDsX3vCNK73Xwi9 Mr9A== 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:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=adoimOkEcxbxTZXEYeej03HGi3JRmyCuV/5bqapmd7s=; b=jBVMjJN7FWshACdTWOSZbAMpqX8rWg+SY3+CH9aEz8xiIbjI/KHBXGHT41gQRpAtnv 7iI4b7gex4JbltY1Bi655Hg3uPOi70JYb40QLDwZ2PEfvYSXz1tD7lUQAswfQj+uY62I dqT1gEOkx0bZr68oY1sJtaF6EBiItLK4Kb4nu7L5aI30d79MoSyV/RCwA9jZixTLMOau gjrLMxX+nHZshrjeLwbW063AqKPGd8MgJDVFoFf1C2JStkZamn85sR52fzS9Y/IBsWCc BUkPb+ejC0gr3fLkGHtJ3YefmBNauUhkYCckUqJS8zTPEX5NPWxu/seqvp4o2LmsSHWB tckw== X-Gm-Message-State: APjAAAVRzUXdSytW+G66qPfCWlH5LqhRlLQLQa4zzCIZ/JszYtGaDZTH bnV2Be+FAgeJBIEycYN5aiDmuw== X-Google-Smtp-Source: APXvYqymaGtXKupZzdi4GPZC7a4rD/wspyFAkuj2GCm3MphFIpQdOgVY/YjZRmaIQdI41eP6C3oy/w== X-Received: by 2002:a05:600c:299:: with SMTP id 25mr2996275wmk.50.1573651831319; Wed, 13 Nov 2019 05:30:31 -0800 (PST) Received: from localhost (static-84-42-175-93.net.upcbroadband.cz. [84.42.175.93]) by smtp.gmail.com with ESMTPSA id a11sm2420690wmh.40.2019.11.13.05.30.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2019 05:30:30 -0800 (PST) Date: Wed, 13 Nov 2019 14:30:29 +0100 From: Tomas Vondra To: =?utf-8?B?5ZSv5LiA4piF?= <270246512@qq.com> Cc: pgsql-bugs Subject: Re: =?utf-8?B?5Zue5aSN77yaIEJV?= =?utf-8?Q?G?= #16101: tables in the DB is not available after pg_restore Message-ID: <20191113133029.kagiy6vjjeoguatp@development> References: <16101-5a569e5aac6aa84e@postgresql.org> <20191108111339.xlopjkbwfhxfvwt3@development> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, Nov 13, 2019 at 03:02:14PM +0800, 唯一★ wrote: >Hi, > >After restore the database via pg_restore,  the search_path look well and is the same as before restore. > >Could you help check the issue? > How did you create the dump? Having a reproducer would be helpful. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services