pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: Mikael Kjellström <mikael.kjellstrom@gmail.com>
Subject: Re: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait.
Date: Wed, 27 Apr 2016 18:15:07 -0400
Message-ID: <3621.1461795307@sss.pgh.pa.us> (raw)
In-Reply-To: <CAEepm=3c6anZDXi+XXDiRpY6qYNSDDVQOK_q12qocPA0x1YMLg@mail.gmail.com>
References: <CA+TgmoYyxZQSqVvn-DsC79U9g2L1Omi2EDiMVFvoCfoe6yL=cQ@mail.gmail.com>
	<20160427190259.GA42596@alvherre.pgsql>
	<CAEepm=3hXcJNiPB3h8j0eezn9XV5yQH6Q3d6TTCr4eK36VAQhA@mail.gmail.com>
	<CAEepm=3c6anZDXi+XXDiRpY6qYNSDDVQOK_q12qocPA0x1YMLg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Thomas Munro <thomas.munro@enterprisedb.com> writes:
>> Also happens on OpenBSD 5.8.  Isn't this a classic case where memmove
>> is called for?  Replacing the memcpy at line 617 with memmove makes
>> the tests run successfully, but at first glance the other two
>> instances of memcpy in run_permutation should also be changed to
>> memmove, no?

Yeah, that's clearly busted.  Surprising that it has not failed on
any other platforms.

> Suggested patch attached.

Will push in a moment.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (9+ messages)  latest in thread

Message-ID: <3621.1461795307@sss.pgh.pa.us>
Permalink:  ../3621.1461795307@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3621.1461795307@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, thomas.munro@enterprisedb.com, alvherre@2ndquadrant.com, robertmhaas@gmail.com, pgsql-hackers@postgresql.org, mikael.kjellstrom@gmail.com
  Subject: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait.
  In-Reply-To: <3621.1461795307@sss.pgh.pa.us>
  References: <CA+TgmoYyxZQSqVvn-DsC79U9g2L1Omi2EDiMVFvoCfoe6yL=cQ@mail.gmail.com> <20160427190259.GA42596@alvherre.pgsql> <CAEepm=3hXcJNiPB3h8j0eezn9XV5yQH6Q3d6TTCr4eK36VAQhA@mail.gmail.com> <CAEepm=3c6anZDXi+XXDiRpY6qYNSDDVQOK_q12qocPA0x1YMLg@mail.gmail.com> <3621.1461795307@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox