Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fNpMi-0001cq-8X for pgsql-hackers@arkaria.postgresql.org; Wed, 30 May 2018 00:53:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fNpMg-0002nf-DR for pgsql-hackers@arkaria.postgresql.org; Wed, 30 May 2018 00:53:22 +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.89) (envelope-from ) id 1fNpMg-0002nV-6Z for pgsql-hackers@lists.postgresql.org; Wed, 30 May 2018 00:53:22 +0000 Received: from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fNpMb-0008Pw-Uj for pgsql-hackers@postgresql.org; Wed, 30 May 2018 00:53:21 +0000 Received: by mail-qk0-x244.google.com with SMTP id c23-v6so13056495qkb.5 for ; Tue, 29 May 2018 17:53:17 -0700 (PDT) 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=xEK5SM6DL5oKllky4lpnnV+zLhDL9q1LElIT8SIeCL8=; b=rxQRzyGT/gU/1G3M7kMccL1yFSnLZE8yTaTsnjEhHNl3cYCCZUA7sNcA9ZxJuvTpSE ezB9oU4GwT81FlQiHLvUn5Q0BLrpCe0XQWa2A3pk5dnfLAV4dLg0QKHViBd/xX2Cqh74 weL+UHecwYC+n4nz556g0/dgkROIUtukmfM5WWt5K/mwWG1TY1oB3UpGONCl/SFSX+IX 28lZTbyPqtc3OLrOmBKZPCR9BngKmb9L7n0fP0aDLIhkVNByyJMfVL24k1SrMCn1+RFm Hl1IP5sG5nYiXJbtKWvjQ8E1SUNVPBAHE3Cg8eeY7kn6hJ91FFddp/bkD8XUFsect40Z bJ8A== 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=xEK5SM6DL5oKllky4lpnnV+zLhDL9q1LElIT8SIeCL8=; b=Bjd32BqxxEPdD/IgDHEcnoxGlmgiDbb8cNPY49UAP3GPBQqupRriFOmEqRh7vFOKq+ sla16B91K9V1ZVU0VAXbwLQ60W5KUwWe2utHPK1zyj47/fN4zDqfYGvvyrBsn1SGS1VN 3pzuUpCFvFSRPLt/3vKTYDG1ZsQQjsMuhcRXIwWHzzUiwQ+OJHv6hHXbBa7DOMSQAkQH f0cEgLedAFsfs2BPxzdn62MnEHKlNRjPciT9MNyn16fKUnYemmbgJGjvq4+sIXCf9d7b pgiLwD0TYCLbnDESZEkcN7OAifGf/Q1mgPep7qUl0MmmwInvz163uzA0IhBlHSUUgvf6 Sa4w== X-Gm-Message-State: APt69E03U8kF4HEMuoYHY//zzmsnBFgSS2yf4HhyXdKAsoFa1he/Fa7v SFNg9vnHPJR7bV0qmHUwgS6JLg== X-Google-Smtp-Source: ADUXVKL0qO1CqXuMEYbmZ29Get5QoTRYBbX76bnJ1jY4M+Rdc4J/h9KKLLrIMChX+5CleRwih36new== X-Received: by 2002:a37:8202:: with SMTP id e2-v6mr544072qkd.443.1527641595870; Tue, 29 May 2018 17:53:15 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([191.125.227.210]) by smtp.gmail.com with ESMTPSA id d66-v6sm8603106qke.70.2018.05.29.17.53.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 May 2018 17:53:15 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 7B87360D; Tue, 29 May 2018 20:53:12 -0400 (-04) Date: Tue, 29 May 2018 20:53:12 -0400 From: Alvaro Herrera To: Andres Freund Cc: Tom Lane , "Nasby, Jim" , "pgsql-hackers@postgresql.org" , Maxim Boguk , Peter Geoghegan , Jeremy Finzel Subject: Re: found xmin from before relfrozenxid on pg_catalog.pg_authid Message-ID: <20180530005312.gnoly5hglhb7run5@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180529231451.z4ncmiqctmdcj3tl@alvherre.pgsql> User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-May-29, Alvaro Herrera wrote: > I added an Assert(DatabasePath != NULL) to > RelationCacheInitFilePreInvalidate() and didn't see a single crash when > running the tests. I thought that adding a "VACUUM FREEZE pg_class" > in the recovery tests (where there is a standby) ought to do it, but it > doesn't. What's the deal there? Sorry, that was dumb -- the assert obviously is hit if I remove the code to set DatabasePath beforehand :-) -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services