| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Jelte Fennema-Nio <postgres(at)jeltef(dot)nl> |
| Cc: | Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: more POSIX 2008 cleanup: strnlen(), rindex() |
| Date: | 2026-01-03 17:42:55 |
| Message-ID: | 406687.1767462175@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Jelte Fennema-Nio <postgres(at)jeltef(dot)nl> writes:
> On Sat, 3 Jan 2026 at 10:52, Peter Eisentraut <peter(at)eisentraut(dot)org> wrote:
>> It has previously been established that POSIX 2008 is the baseline for
>> PostgreSQL code (modulo Windows). Looking through the POSIX 2008
>> changes, I found a few more things we can clean up with respect to that.
> Both changes look sensible to me
+1. I also checked the buildfarm and confirm that no animals report
not having strnlen().
I'm a little disturbed by the rindex bit, because that's not hoary old
code: it came in with JIT in v11, only about 8 years ago. How can we
prevent similar mistakes in future?
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2026-01-03 18:03:42 | Re: not fully correct error message |
| Previous Message | Andrew Dunstan | 2026-01-03 17:31:29 | Re: Non-text mode for pg_dumpall |