Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFMul-0004rf-49 for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Nov 2017 16:21:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFMuk-0005zn-Mw for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Nov 2017 16:21:18 +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 1eFMuk-0005zR-Dw for pgsql-hackers@lists.postgresql.org; Thu, 16 Nov 2017 16:21:18 +0000 Received: from mail-yw0-x22d.google.com ([2607:f8b0:4002:c05::22d]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eFMug-00076o-JP for pgsql-hackers@postgresql.org; Thu, 16 Nov 2017 16:21:17 +0000 Received: by mail-yw0-x22d.google.com with SMTP id j198so5997326ywg.9 for ; Thu, 16 Nov 2017 08:21:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=WygGv+2W+XPBQDRT3t8dDA7fsuxL/uriTGLYHSGPtok=; b=TYaw0axTjDaGjnLVFBCDmcj1/k1JMba6FSgAG1dU67ulAePbGoqfIU5zmYlhwSY1nd 69GHYr1uH6gw6bF2DP/mg32EGhOayXqHbHO/sludJ4qrx230ReZABVczZ/utCsn8+S1w U5HVKcyG928MGVEINRtWs2lypY5KTMETYkHZynsWldt0uOlPq6rVzFvkw7ii4H51ERs3 MjcxpEU/8kmRj496N4zTBrrCUTPt8k8jO6YCloLjhEXz358J/TgpAPZJNlWa4Z9GOnnE tG37YnZwUOw58+G5yDV9Yk9CCKc87kshKQJBHDI2Wf7CboAC0RLISnowTj9ioGYQLkdk kkMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=WygGv+2W+XPBQDRT3t8dDA7fsuxL/uriTGLYHSGPtok=; b=GiOQzqaI1uffV2teEYrGi3vSX3jGeEPuk0JCoVnW1uwge2mlNvqcXzBC6xU78KJawI ON2QlI/ZKDyvNInAaLILcQcjjOx5gAT88/YDrBfHUtMSULOx1ueDaOUfo15PMrJ4vIiF q9y4vB55g4wEwfMLSrAz8WMNaMyhRuhYsHsOHmhyuxZXGZQiz5ljr2EwopCkxJACB5Sn 1rI+JvGnnrvW5x84oLc7eU6Eg5owLY148Ve23TJQ+LL3TNnCu/ln7oTqVzdSsLkLlx4r NFShaFHQ6qDzuuyh8/rwxw3l07VcaeJ6dFpUBQYAv3qAp04YZXZd2V/q144nZ5UnRG06 RpgQ== X-Gm-Message-State: AJaThX6DKUiOGQUrwm6pCIl9VGhLRkwRgQsEbxiWy8nDxBGuWtAnVKJ4 q0QQFPOpTQoPtArHedahojgk3I+p5mM7mkjQ5S29OnhILpEesIXtUJBOHcgJ/bChkbQl85LQmZQ J2PsFeKcCS28yN1dmk6dytRU4KruLnkR+EhaDsdk/I+j/lCMyLvYa6T65OmnO8f1woyPvjSUcB8 eLXoSWy2k3uctr X-Google-Smtp-Source: AGs4zMYgGlKTw507KfkhOs3o9jDmi8mI924+m4HF7D7cMBzZBXxHUtgC48rQ0mHJdwhSPIjp2HHCpg== X-Received: by 10.129.201.67 with SMTP id c3mr1316297ywl.202.1510849272742; Thu, 16 Nov 2017 08:21:12 -0800 (PST) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id y188sm566453ywc.27.2017.11.16.08.21.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Nov 2017 08:21:12 -0800 (PST) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: pgsql: Disable installcheck tests for test_session_hooks To: Ashutosh Sharma , Michael Paquier Cc: Tom Lane , PostgreSQL mailing lists References: <30479.1510800078@sss.pgh.pa.us> Message-ID: <86100145-c471-b1f6-4c56-edd247ce43ac@2ndQuadrant.com> Date: Thu, 16 Nov 2017 11:21:11 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-MW List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/16/2017 09:14 AM, Ashutosh Sharma wrote: >> >> Just sending an updated patch to cope with the fact that this module >> does not need to define the EXTENSION and DATA fields, and does not >> need a sql and a control file.. > While running make check with 'session_hook_makefile_v2.patch' > applied, i could see the background worker (logical replication > process) getting aborted due to assertion failure. Here are the logs > observed in 'logs/postmaster.log' file. > > 2017-11-16 19:06:21.748 IST [65382] LOG: checkpoint complete: wrote 3 > buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; > write=0.000 s, sync=0.000 s, total=0.001 s; sync files=0, > longest=0.000 s, average=0.000 s; distance=1 kB, estimate=1 kB > 2017-11-16 19:06:21.869 IST [65382] LOG: checkpoint starting: > immediate force wait > 2017-11-16 19:06:21.870 IST [65382] LOG: checkpoint complete: wrote 0 > buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; > write=0.000 s, sync=0.000 s, total=0.000 s; sync files=0, > longest=0.000 s, average=0.000 s; distance=0 kB, estimate=1 kB > 2017-11-16 19:06:22.059 IST [65378] LOG: received fast shutdown request > 2017-11-16 19:06:22.059 IST [65378] LOG: aborting any active transactions > TRAP: BadState("!(((bool) ((CurrentUserId) != ((Oid) 0))))", File: > "miscinit.c", Line: 286) > 2017-11-16 19:06:22.090 IST [65378] LOG: background worker "logical > replication launcher" (PID 65387) exited with exit code 1 > 2017-11-16 19:06:22.337 IST [65378] LOG: autovacuum launcher process > (PID 65385) was terminated by signal 6: Aborted > 2017-11-16 19:06:22.337 IST [65378] LOG: terminating any other active > server processes > Ugh. I'm just going to revert the whole thing for now until we sort out all the issues.  cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services