Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewxyQ-0004cU-BB for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Mar 2018 22:37:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ewxyO-0007N1-19 for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Mar 2018 22:37:16 +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.89) (envelope-from ) id 1ewxyN-0007Mi-OA for pgsql-bugs@lists.postgresql.org; Fri, 16 Mar 2018 22:37:15 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewxyF-0000F6-Hx for pgsql-bugs@lists.postgresql.org; Fri, 16 Mar 2018 22:37:14 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 14D71210E9; Fri, 16 Mar 2018 18:37:06 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Fri, 16 Mar 2018 18:37:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=oOWqVF 7btzp0+pGpxzT5CF6EXUlQJEMabz3X5k2CW7c=; b=V5C62QJIewhq0kQQs8PbDQ s43JANG9H3jXZOGgkBLO1cIDt+C9bULJwg/Hw3taeSS0Geed9cyqBtY3ack+9Mbz ta9Wg938Rm01zh+CCHPqAcX3ko14lQ+MxWi53NPKy/EjhIT0PgsyCazSTMv3GQZQ 1YfYxe6mMaP2ttxZ9scDZ5nPWi72SQSeIrZgYrzzM0CzcZG9/o9Cblnp/VAdVVl8 TeQrxQZVYjrQv19myTNQZ2SV0ur0pRzWWiZwEhLB8srmOsjs5fLi5yrnT7RrcUqF F9RivWXbxk0L87QORCDIpEEzNj7ktZarNNzfyWCAVW+/xSj4r/sEwiCiuJKNbngg == X-ME-Sender: Received: from april.local (68.sub-174-201-13.myvzw.com [174.201.13.68]) by mail.messagingengine.com (Postfix) with ESMTPA id 91C4024285; Fri, 16 Mar 2018 18:37:05 -0400 (EDT) Subject: Re: BUG #15116: pg_recvlogical always fails To: kotlarski.krzysztof@gmail.com, pgsql-bugs@lists.postgresql.org References: <152121448830.1224.17250900005569274883@wrigleys.postgresql.org> From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Fri, 16 Mar 2018 18:37:04 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <152121448830.1224.17250900005569274883@wrigleys.postgresql.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/16/18 11:34, PG Bug reporting form wrote: > When run with correct arguments (working in previous versions) > pg_recvlogical always fails with: > > pg_recvlogical: could not clear search_path: ERROR: syntax error > > I suspect it's trying to execute ALWAYS_SECURE_SEARCH_PATH_SQL on > replication connection which is nonSQL. I can confirm this problem. I have copied the 030_pg_recvlogical.pl test from 10 into 9.6 to produce a test failure with that same error message. Haven't looked further yet. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services