Re: Faster StrNCpy

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: josh(at)agliodbs(dot)com, pgsql-hackers(at)postgresql(dot)org, Neil Conway <neilc(at)samurai(dot)com>, Martijn van Oosterhout <kleptog(at)svana(dot)org>
Subject: Re: Faster StrNCpy
Date: 2006-09-27 13:49:26
Message-ID: 8425.1159364966@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Tom Lane wrote:
>> What I'd like to do immediately is put in strlcpy() and hit the two or
>> three places I think are performance-relevant.

> What are the other hotspots?

The ones I can think of offhand are set_ps_display and use of strncpy as
a HashCopyFunc.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-09-27 13:51:37 Re: horo(r)logy test fail on solaris (again and solved)
Previous Message Zdenek Kotala 2006-09-27 13:40:09 Re: horo(r)logy test fail on solaris (again and solved)

Browse pgsql-patches by date

  From Date Subject
Next Message Strong, David 2006-09-27 14:08:05 Re: Faster StrNCpy
Previous Message Andrew Dunstan 2006-09-27 13:22:30 Re: Faster StrNCpy