Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TaAKv-0001KF-UG for pgsql-bugs@postgresql.org; Sun, 18 Nov 2012 19:15:22 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TaAKu-00028v-6F for pgsql-bugs@postgresql.org; Sun, 18 Nov 2012 19:15:21 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id qAIJFGR0005093; Sun, 18 Nov 2012 14:15:16 -0500 (EST) From: Tom Lane To: Marc Balmer cc: Peter Geoghegan , Andres Freund , Igor , pgsql-bugs@postgresql.org Subject: Re: BUG #7670: BUG #7545: Unresponsive server with error log reporting: "poll() failed: Invalid argument" In-reply-to: <69CD22B8-83D6-4360-9F7A-06831A82E6DB@msys.ch> References: <20121118162852.GB14145@awork2.anarazel.de> <3078.1353259769@sss.pgh.pa.us> <3366.1353260695@sss.pgh.pa.us> <20121118180654.GB30822@awork2.anarazel.de> <4024.1353262722@sss.pgh.pa.us> <69CD22B8-83D6-4360-9F7A-06831A82E6DB@msys.ch> Comments: In-reply-to Marc Balmer message dated "Sun, 18 Nov 2012 19:42:41 +0100" Date: Sun, 18 Nov 2012 14:15:16 -0500 Message-ID: <5092.1353266116@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) X-Archive-Number: 201211/140 X-Sequence-Number: 34698 Marc Balmer writes: > Am 18.11.2012 um 19:36 schrieb Peter Geoghegan : >> Right. sizeof(int) is very probably 4 on all platforms that we >> support. I see no problem with the proposal. > Have you cross-checked this on a 64bit platform vs. a 32 bit platform? > e.g. on Linux i386 vs. Linux amd64? sizeof(int) is most definitely 4 on all platforms that we support. I've lost count of how many places would fall over if that weren't the case, but for sure the tuple packing code would have problems. regards, tom lane