From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Replace remaining StrNCpy() by strlcpy() |
Date: | 2020-08-03 06:59:37 |
Message-ID: | 44f5e198-36f6-6cdb-7fa9-60e34784daae@2ndquadrant.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I propose to replace the remaining uses of StrNCpy() with strlcpy() and
remove the former. It's clear that strlcpy() has won the popularity
contest, and the presence of the former is just confusing now.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Attachment | Content-Type | Size |
---|---|---|
0001-Replace-remaining-StrNCpy-by-strlcpy.patch | text/plain | 14.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Bharath Rupireddy | 2020-08-03 07:03:48 | Re: Parallel copy |
Previous Message | Michael Paquier | 2020-08-03 06:53:15 | Re: Make autovacuum sort tables in descending order of xid_age |