Add missing pstrdup calls
The one for the OCLASS_COLLATION case was noticed by
CLOBBER_CACHE_ALWAYS buildfarm members; the others I spotted by manual
code inspection.
Also remove a redundant check.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/ba66c9d0681f0c5ec834255fb4e7f6ef6b626747
Modified Files
--------------
src/backend/catalog/objectaddress.c | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)