mirror of https://github.com/postgres/postgres
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.pull/11/head
parent
1d4a0ab19a
commit
cc402116ca
Loading…
Reference in new issue