| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Markus Schaber <schabi(at)logix-tt(dot)com> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Faster StrNCpy |
| Date: | 2006-09-29 14:59:22 |
| Message-ID: | 16166.1159541962@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
Markus Schaber <schabi(at)logix-tt(dot)com> writes:
> There's another disadvantage of always copying 64 bytes:
> It may be that the 64-byte range crosses a page boundary. Now guess what
> happens when this next page is not mapped -> segfault.
Irrelevant, because in all interesting cases the Name field is part of a
larger record that would stretch into that other page anyway.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Paul B. Anderson | 2006-09-29 15:00:13 | Re: Stored procedure array limits |
| Previous Message | Heikki Linnakangas | 2006-09-29 14:55:20 | Re: Block B-Tree concept |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | mark | 2006-09-29 20:42:39 | Re: Faster StrNCpy |
| Previous Message | Markus Schaber | 2006-09-29 09:21:21 | Re: Faster StrNCpy |