• Tom Lane's avatar
    Remove a couple of useless pstrdup() calls. · cc402116
    Tom Lane authored
    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.
    cc402116
foreign.c 22 KB