Re: [PATCH] Use strchr() to search for a single character

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Dmitry Mityugov <d.mityugov@postgrespro.ru>, Corey Huinker <corey.huinker@gmail.com>, pgsql-hackers@postgresql.org
Date: 2025-07-22T23:06:11Z
Lists: pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> I'm currently thinking we should just fix the pgmkdirp.c instance and
> call it good.

+1

			regards, tom lane



Commits

  1. Use strchr instead of strstr for single-char lookups