Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1goS32-0007E5-Ao for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Jan 2019 11:59: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 1goS30-00073H-OZ for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Jan 2019 11:59:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1goS30-000737-ES for pgsql-hackers@lists.postgresql.org; Tue, 29 Jan 2019 11:59:22 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1goS2x-00013P-KS for pgsql-hackers@lists.postgresql.org; Tue, 29 Jan 2019 11:59:21 +0000 Received: from feivel.credativ.lan ([62.154.226.94]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N4NHS-1hGbsf27Bm-011OUU; Tue, 29 Jan 2019 12:59:03 +0100 Received: from localhost (localhost [127.0.0.1]) by feivel.credativ.lan (Postfix) with ESMTP id E685CE007F; Tue, 29 Jan 2019 12:58:59 +0100 (CET) Message-ID: Subject: Re: Thread-unsafe coding in ecpg From: Michael Meskes To: Tom Lane Cc: Andrew Dunstan , "Joshua D. Drake" , Andres Freund , "Tsunakawa, Takayuki" , "pgsql-hackers@lists.postgresql.org" Date: Tue, 29 Jan 2019 12:58:59 +0100 In-Reply-To: <21440.1548514630@sss.pgh.pa.us> References: <24002.1547944649@sss.pgh.pa.us> <29905.1548005448@sss.pgh.pa.us> <29984.1548014676@sss.pgh.pa.us> <0A3221C70F24FB45833433255569204D1FB6C47E@G01JPEXMBYT05> <21439.1548037255@sss.pgh.pa.us> <0A3221C70F24FB45833433255569204D1FB6C4FA@G01JPEXMBYT05> <32316.1548040561@sss.pgh.pa.us> <0A3221C70F24FB45833433255569204D1FB6C6C0@G01JPEXMBYT05> <13850.1548090570@sss.pgh.pa.us> <20190121193512.tdmcnic2yjxlufaw@alap3.anarazel.de> <20352.1548101123@sss.pgh.pa.us> <0f02fb0d-0a80-0dad-a01e-e6879d24e48f@commandprompt.com> <27185.1548102332@sss.pgh.pa.us> <38244c62-e1cc-40f5-d567-777540815c16@2ndQuadrant.com> <25026.1548284495@sss.pgh.pa.us> <62a84a11-5d3e-1238-afd5-ec11ba91bb09@2ndQuadrant.com> <9460.1548299404@sss.pgh.pa.us> <18693.1548302004@sss.pgh.pa.us> <7f0bef53cefcf803b479d143ef29817cd7b721c4.camel@pos! tgresql.org> <21440.1548514630@sss.pgh.pa.us> Organization: PostgreSQL Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.4-1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:evwOqe7abC2eWPuLENdoNLuPeXhHV+E+kCBohTKXVEaevjWNKw0 w/xor6M0AvTuFqMBoCY84yf+1xiqaaWDwSlhsxe0Sr/JeNdiaNTIBSJm+6f5xUwUQF8pF1H VV+gWKCI5ncB/QzQxp6O8k2BBQxNzcELxYkR3FXm1hyg7aqRbwWa/GwfnFQndDwxO3dSGJt 5lwKjpBWeOIKL3qr7z9hg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:EogsiIdQWfk=:TdQw4SfGfg3mUPev9mjQot t16onVhFirKaY27yumuFhYkaYjrb3CJ2lYixtA/N+t2QFvRq6ubU4RYaQJQszKQNNEgqN90nr wPea+pQvV+SkV6ueY2oTD35tzFRc6qOHo1q15bd2gf7Rd1vcdjw83SpkDqJbKDfgNQrpss1P4 ef3MGYk47SKyJxCu7aub2E7Sa535GgWwQOBo4C+3mQrn4UksOg1hCeojQyDe8k6jW8WvFyuQ7 gJrKYYKWNTzPhrdrDoGQubfOPOPb/KWTvfeXHeUeBHp1vHYRIex4lN8HZQQwi77ZzBOefL1+M cTgzDpP/W7Y9L+7Jg+qFKoopsM8UrXZ5AE/bwno121wYOBxeC4GoAenPug3jYcPK/VX318dNV iw8eYiwK9gauyxg/SzgYk5EE4zfUIIJvYfGAt8h3gU6Q+bLN/hkIVrUHl/1xwnCYo3ofPbTjG JhsbndP58h0iz371nHxOlkAbyjKsT7kLpT+X/SWIhj3Jvh/FYOyC7o5i/w/Q+E5aT9gbu4aGE /pao72mr9rHKvzxJz0BNfB67UjvKSoRghmNBhayuVTje+WocDh1uzrQ/jaZncHs590K87QW+i /9Q+kZHfCFRAG7xW3TBD81KhaaKoffnUATdTg9EFVCF6aUlO2Ge3dlA5K38PR+lb8x2OpcNNX s5/TnsZ3NNNnKp34PJWN+TZLF2ZvUmc3ZIhYkL1zTfo5QCxuXLS0jAJua/0Y4EuQuOy62nMLh uLrDzsHss6EGDq3ReJaM7FaP8xgj/JypWuIQcCt3LzwXyrAcJYagmSptps8= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > I like having a hard limit on the number of loop iterations; > that should ensure that the test terminates no matter how confused > ecpglib is. I get your point and thus will only clean up the tests a little bit. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Meskes at (Debian|Postgresql) dot Org Jabber: michael at xmpp dot meskes dot org VfL Borussia! Força Barça! SF 49ers! Use Debian GNU/Linux, PostgreSQL