Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHBbo-0008Sm-Rp for pgsql-admin@arkaria.postgresql.org; Mon, 20 Jul 2015 13:59:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZHBbo-0007Kh-8P for pgsql-admin@arkaria.postgresql.org; Mon, 20 Jul 2015 13:59:56 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZHBbn-0007Kb-Qq for pgsql-admin@postgresql.org; Mon, 20 Jul 2015 13:59:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZHBbl-0006gv-1a for pgsql-admin@postgresql.org; Mon, 20 Jul 2015 13:59:54 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t6KDxoiA014016; Mon, 20 Jul 2015 09:59:50 -0400 From: Tom Lane To: "Campbell, Lance" cc: "pgsql-admin@postgresql.org" Subject: Re: pg_dump error In-reply-to: References: Comments: In-reply-to "Campbell, Lance" message dated "Mon, 20 Jul 2015 11:23:19 -0000" Date: Mon, 20 Jul 2015 09:59:50 -0400 Message-ID: <14015.1437400790@sss.pgh.pa.us> X-Pg-Spam-Score: -3.1 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org "Campbell, Lance" writes: > As a follow-up I ran this command: > pg_dump -U username -h localhost databasename -f databasename.20150720 > I get this in the console: > pg_dump: [archiver (db)] query failed: SSL error: unexpected message > pg_dump: [archiver (db)] query was: SET search_path = calendar, pg_catalog That looks like you've run into the renegotiation bug that Red Hat introduced in their last openssl patch: https://bugzilla.redhat.com/show_bug.cgi?id=1234487 So basically things will work until you exceed a couple gigabytes of traffic on the connection, and then bang. The workaround we're recommending to people is to set ssl_renegotiation_limit to zero (disable it) in postgresql.conf, as renegotiation seems to create way more problems than it fixes (this RH bug was very far from the first such problem, and it's not likely to be the last either). See recent discussions on pgsql-hackers, where it was more or less agreed that we're going to remove the feature altogether in the future. regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin