mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-03-30 22:58:25 +08:00
There's no point in pstrdup'ing the result of TextDatumGetCString, since that's necessarily already a freshly-palloc'd C string. These particular calls are unlikely to be of any consequence performance-wise, but still they're a bad precedent that can confuse future patch authors. Noted by Chapman Flack.