Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIZBd-0005DY-3d for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Jun 2017 11:31:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dIZBc-000539-HK for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Jun 2017 11:31:40 +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.84_2) (envelope-from ) id 1dIZA5-0002IB-Hx for pgsql-hackers@postgresql.org; Wed, 07 Jun 2017 11:30:05 +0000 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dIZ9y-0001rm-7Y for pgsql-hackers@postgresql.org; Wed, 07 Jun 2017 11:30:05 +0000 Received: by mail-lf0-x242.google.com with SMTP id x81so773591lfb.3 for ; Wed, 07 Jun 2017 04:29:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=G08AAcCRzBr5K57WM15kEpPp4VKo4jjJ6cDxu0Ukjvs=; b=caT8yNjZzPQ3ZoyJOthPUF7qkRST+8mXgGVf4rbG3jeGX+ZHumVvsOap/UJpPDEdzF XOjTQySoIMUIjcMdBQPhOFwZzja/DSVRAP/PY+DLMmnL9gkluIEgh5RDQvxd81ApIywJ qcvy5TA7T8wRZEpamYtqU5HzmV7gD4+6d6Wa3Hp/GrXSaSWlgYF6dG5pRLUWejSNFWgp 2TeDz2ZMidfpAeVvt/HpLh5aLzel0prvJg/vKqTve+PLyztnpUaLMMzDnCqeMcN6tMLb bidbzwk2QDpyO2vatp3Q6IoWb1o2j5+wm6br1SGNlsudLrm175VpLLxhefwV3KoPXPC+ Z+/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=G08AAcCRzBr5K57WM15kEpPp4VKo4jjJ6cDxu0Ukjvs=; b=G09+Jd8dptsZo4T9+3k+Vpw5bGb1AEAQJcE2C4Xm/4km2TL3tNB424AjJ4tKu0ZWq4 GQfC5oJY2Fm3unEAWQtf/7H8dIeXCbl/MYK3+Fhma5HBQNSOZmMMCVZ4szDt4+DXQyZe LflXAJCNWhIqZCcIXj5R+5EMkfN/rqwFd4oWDLZvsUazPC0B9wIF2VyRmmwn+ygMIK6h royIVbTvveCUVpE3u6nphVI1mcjsJq3c/ke2xLXzj+m7ZjVtIEsJiqXlx4ORA6G376DX JQ6iTnAF+fUDQo9t4LHDrhtPKI0rf0MKwK5dgOxYZMaRQVDstghh89Jz/4Uh9QRLv+ZK g5dw== X-Gm-Message-State: AODbwcAsMdn/haCE4P49UCd1qdfONCg6U4nroFALTvsQmcljPEvfNWlw /bm9kIGEwtirdw== X-Received: by 10.46.9.8 with SMTP id 8mr9242627ljj.30.1496834997161; Wed, 07 Jun 2017 04:29:57 -0700 (PDT) Received: from seb.koffice.internal ([81.1.171.161]) by smtp.gmail.com with ESMTPSA id 3sm303582ljb.60.2017.06.07.04.29.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Jun 2017 04:29:56 -0700 (PDT) From: Sergey Burladyan To: Vladimir Borodin Cc: pgsql-hackers , Dmitriy Sarafannikov , Amit Kapila , Bruce Momjian Subject: Re: Broken hint bits (freeze) References: <2E86EB5F-50ED-4DE2-B14E-98EF8F62B2F2@simply.name> <4C1127FC-74AE-4544-9B22-6A32FD0C0607@yandex.ru> <87wp8o506b.fsf@seb.koffice.internal> <6178ED21-890F-4E6E-9035-10DABDCA5060@simply.name> Date: Wed, 07 Jun 2017 14:29:55 +0300 In-Reply-To: <6178ED21-890F-4E6E-9035-10DABDCA5060@simply.name> (Vladimir Borodin's message of "Wed, 7 Jun 2017 10:12:30 +0300") Message-ID: <87fufc3uj0.fsf@seb.koffice.internal> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Vladimir Borodin writes: > > 6 =D0=B8=D1=8E=D0=BD=D1=8F 2017 =D0=B3., =D0=B2 23:30, Sergey Burladyan= =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0): > >=20 > > Dmitriy Sarafannikov writes: > >=20 > >> Starting and stopping master after running pg_upgrade but before rsync= to collect statistics > >> was a bad idea. > >=20 > > But, starting and stopping master after running pg_upgrade is *required* > > by documentation: > > https://www.postgresql.org/docs/9.6/static/pgupgrade.html > >> f. Start and stop the new master cluster > >> In the new master cluster, change wal_level to replica in the postgres= ql.conf file and then start and stop the cluster. > >=20 > > and there is no any suggestion to disable autovacuum for it. > Yep. This should probably be fixed in the documentation? I think so. There is some problem in pg_upgrade documentation, nothing abou= t: 1. preventing heap change by vacuum, analyze, something also when master restarted after pg_upgrade but before rsync 2. log-shipping only standby cannot shutdown at the same checkpoint with master I try to start discuss about this: https://www.postgresql.org/message-id/87= y3ta49zp.fsf%40seb.koffice.internal but without luck :-)=20 PS: I CC'd Bruce here. --=20 Sergey Burladyan --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers