diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-03-09 23:29:05 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-03-09 23:29:05 -0500 |
commit | cc402116ca156babcd3ef941317f462a96277e3a (patch) | |
tree | 083bf516092f2f04dabafc19ca0827b3caee83f9 /src/backend/utils/adt/lockfuncs.c | |
parent | 1d4a0ab19a7e45aa8b94d7f720d1d9cefb81ec40 (diff) | |
download | postgresql-cc402116ca156babcd3ef941317f462a96277e3a.tar.gz postgresql-cc402116ca156babcd3ef941317f462a96277e3a.zip |
Remove a couple of useless pstrdup() calls.
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.
Diffstat (limited to 'src/backend/utils/adt/lockfuncs.c')
0 files changed, 0 insertions, 0 deletions