Re: trivial refactoring of WaitOnLock

From: Neil Conway <neilc(at)samurai(dot)com>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Russell Smith <mr-russ(at)pws(dot)com(dot)au>, Qingqing Zhou <zhouqq(at)cs(dot)toronto(dot)edu>, pgsql-patches(at)postgresql(dot)org
Subject: Re: trivial refactoring of WaitOnLock
Date: 2005-03-11 03:54:50
Message-ID: 4231168A.9080005@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Neil Conway wrote:
> memcpy(new_status, old_status, len) would be faster yet. Which is what I
> originally implemented, and then decided the sprintf() was clearer
> (since performance isn't very important here). On reflection, memcpy() +
> strcpy() should be fine; I'll commit this tomorrow.

Applied.

-Neil

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-03-11 03:58:27 Re: [pgsql-hackers-win32] snprintf causes regression tests
Previous Message pgsql 2005-03-11 01:29:49 Re: [pgsql-hackers-win32] snprintf causes regression