Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4SXB-0007Bu-B5 for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Oct 2017 14:07:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e4SXA-0008Qk-D7 for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Oct 2017 14:07:52 +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 1e4SX9-0008Pl-7A for pgsql-hackers@postgresql.org; Tue, 17 Oct 2017 14:07:51 +0000 Received: from mail-it0-x22e.google.com ([2607:f8b0:4001:c0b::22e]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1e4SX1-0005o0-Bb for pgsql-hackers@postgresql.org; Tue, 17 Oct 2017 14:07:50 +0000 Received: by mail-it0-x22e.google.com with SMTP id n195so2509145itg.2 for ; Tue, 17 Oct 2017 07:07:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=UuJXoI3rFNs1cSvZRchhlzNZWhxzPh/mLOlGkpsE5Fo=; b=gH3CzrsNreZrfn3kzxAS0KMRDqKN0Riw4PGUXVCNokAxoQ8uJhkHr0wcK32B3ZjloR f8y3g0gH6u1DcxxWhuWA8niC2INgKHPSH/QFMZfM/oW+fdxebSdicjpMTslBtKevoqBP zGkQ+KAF9LhtJEv/YSDEhRd2mZebRcEzEbN8wQOpOuR13WwtsPYuYy6A/C0NwmOc81S5 MMGf/dnrVNOdv+v/5chOTi1jqWqXOV2qgiAtCVI9UgX48HaXU+1rW1IPG435I2Z03Rnh lM8tVCqs0Kd+mCwWDYvxRlzP8ky9RmThS8T7+HZ8HqvPxTc3NM1sUvHOR1oEF5mq+st1 n1tg== 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:in-reply-to:user-agent; bh=UuJXoI3rFNs1cSvZRchhlzNZWhxzPh/mLOlGkpsE5Fo=; b=h1nGeV5pwHl6Ohx7cUuFSJ0fvQg2k5baCqkPDnSJpx6P+xiRlcP4g+6Sror7zQb+WU ELdQiADAeJ9jXn0gCz8LjnbKG6mulD7+F9s2ALQrgUJ3xBNw3pynvoqFW3kG1XNi8zS3 XUMpphyFsApPLsW7wI1LxzzCUBOeoR+2WQqz8BY9IeAw2qWEohWa0vszZt3zGdZ/+jTv KqmEGAL9IiuBMn5LvmVCRNW0cctWVVr3XAvyuS4Jg69kFUP1aOCbhNnED6DcYNTTSd6y B0TI92YD+kb+/BMQB2i7WXDD0Q7DgfvC/VHL4YCIlgMW5C/EiKNXR8NSsgAYnJCJY7iw e4DA== X-Gm-Message-State: AMCzsaUS2b4cxb6mCoSIVG9/IG5IOCd95sT2fkOfb5QxW9FcF3NfYq25 PeT3oatJfoB6NE5/ITDDfnlX8ZxkAgo= X-Google-Smtp-Source: ABhQp+S0+balOSFXG2or9TH/N0PxxAQYmxLWM64Ikw1A+2dAQKkwHvXnpffBIuwfp9tILevJudk7/w== X-Received: by 10.36.115.144 with SMTP id y138mr5602475itb.89.1508249261709; Tue, 17 Oct 2017 07:07:41 -0700 (PDT) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id g9sm5328962itg.41.2017.10.17.07.07.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Oct 2017 07:07:41 -0700 (PDT) Received: by pryzbyj (Postfix, from userid 1000) id 8249580129D; Tue, 17 Oct 2017 09:07:40 -0500 (CDT) Date: Tue, 17 Oct 2017 09:07:40 -0500 From: Justin Pryzby To: Tom Lane Cc: Alvaro Herrera , pgsql-hackers@postgresql.org Subject: Re: SIGSEGV in BRIN autosummarize Message-ID: <20171017140740.GD13880@telsasoft.com> References: <20171014224220.GB22678@telsasoft.com> <20171017105916.3rvmznxnuphn3uph@alvherre.pgsql> <20171017122922.GC13880@telsasoft.com> <5648.1508247264@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5648.1508247264@sss.pgh.pa.us> User-Agent: Mutt/1.5.23 (2014-03-12) 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 On Tue, Oct 17, 2017 at 09:34:24AM -0400, Tom Lane wrote: > Justin Pryzby writes: > > On Tue, Oct 17, 2017 at 12:59:16PM +0200, Alvaro Herrera wrote: > >> Anyway, can give this patch a try? > > > I've only compiled postgres once before and this is a production environment > > (althought nothing so important that the crashes are a serious concern either). > > > Is it reasonable to wget the postgres tarball, apply the patch, and run the > > compiled postgres binary from the source tree, without running make install or > > similar ? Otherwise, would it be good enough to copy the postgres binary to > > /usr/pgsql-10/bin (and reinstall the binary package later) ? > > The trick in this sort of situation is to make sure you build binaries > that match your existing install in every way except having the added > patch, and maybe getting installed into a different directory. > > So: where did you get the existing binaries? If it's from some vendor > packaging system, what you should do is fetch the package source, add > the patch to the probably-nonempty set of patches the vendor is applying, > and rebuild your own custom package version. If you haven't done that > before, it's a good skill to acquire ... I'm familiar with that process; but, these are PG10 binaries from PGDG for centos6 x64. I had to add symlinks for postgis library, but otherwise seems to be working fine (although I didn't preserve as many configure options as your message would suggest I should have). Justin -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers