Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TZOcA-0003K7-Hc for pgsql-hackers@postgresql.org; Fri, 16 Nov 2012 16:17:58 +0000 Received: from smtprelay0186.b.hostedemail.com ([64.98.42.186] helo=smtprelay.b.hostedemail.com) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TZOc4-0004Yw-SY for pgsql-hackers@postgresql.org; Fri, 16 Nov 2012 16:17:58 +0000 Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay06.b.hostedemail.com (Postfix) with SMTP id 576D02ACEB8; Fri, 16 Nov 2012 16:17:51 +0000 (UTC) X-Panda: scanned! X-Spam-Summary: 50, 0, 0, , d41d8cd98f00b204, alvherre@alvh.no-ip.org, :::::, RULES_HIT:355:379:481:599:601:947:967:973:988:989:1260:1277:1311:1312:1313:1314:1345:1358:1359:1437:1515:1516:1518:1519:1534:1541:1593:1594:1595:1596:1711:1730:1747:1777:1792:2393:2525:2553:2561:2564:2682:2685:2828:2859:2911:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3138:3139:3140:3141:3142:3308:3352:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4425:4605:4659:5007:6261:7679:7809:8957:9010:9025:9121:10004:10400:10450:10455:10848:11256:11257:11658:11914:12043:12438:12517:12519:12663:12740:19904:19999, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:fn, MSBL:0, DNSBL:none, Custom_rules:0:0:0 X-Session-Marker: 616C76686572726540616C76682E6E6F2D69702E6F7267 X-Filterd-Recvd-Size: 2238 Received: from perhan.alvh.no-ip.org (unknown [200.85.208.156]) (Authenticated sender: alvherre@alvh.no-ip.org) by omf05.b.hostedemail.com (Postfix) with ESMTPA; Fri, 16 Nov 2012 16:17:50 +0000 (UTC) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 069426E059; Fri, 16 Nov 2012 13:17:47 -0300 (CLST) Date: Fri, 16 Nov 2012 13:17:47 -0300 From: Alvaro Herrera To: Noah Misch Cc: Andres Freund , pgsql-hackers@postgresql.org Subject: Re: foreign key locks Message-ID: <20121116161747.GC4454@alvh.no-ip.org> References: <4FEAB90A0200002500048B7D@gw.wicourts.gov> <1346389151-sup-8379@alvh.no-ip.org> <20121018195820.GO3763@alvh.no-ip.org> <201210270006.54728.andres@2ndquadrant.com> <20121114152347.GA5161@alvh.no-ip.org> <20121114162726.GE5161@alvh.no-ip.org> <20121116002459.GB4347@tornado.leadboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20121116002459.GB4347@tornado.leadboat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: 0.3 (/) X-Archive-Number: 201211/894 X-Sequence-Number: 216746 Noah Misch wrote: > On Wed, Nov 14, 2012 at 01:27:26PM -0300, Alvaro Herrera wrote: > > https://github.com/alvherre/postgres/commit/df2847e38198e99f57e52490e= 1e9391ebb70d770 > >=20 > > (I don't think this is worth a v24 submission). >=20 > Are you aware of any defects in or unanswered questions of this version= that > would stall your commit thereof? Yeah, I am revisiting the list of XXX/FIXME comments you pointed out previously. And I would still like someone with EPQ understanding to review the ExecLockRows / EvalPlanQual / heap_lock_tuple interactions. Andres is on the verge of convincing me that we need to support singleton FOR SHARE without multixacts due to performance concerns. It would be useful for more people to chime in here: is FOR SHARE an important case to cater for? I wonder if using FOR KEY SHARE (keep performance characteristics, but would need to revise application code) would satisfy Andres' users, for example. --=20 =C1lvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services