aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/lockfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-03-09 23:29:05 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-03-09 23:29:05 -0500
commitcc402116ca156babcd3ef941317f462a96277e3a (patch)
tree083bf516092f2f04dabafc19ca0827b3caee83f9 /src/backend/utils/adt/lockfuncs.c
parent1d4a0ab19a7e45aa8b94d7f720d1d9cefb81ec40 (diff)
downloadpostgresql-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