Add missing pstrdup calls

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: ba66c9d0681f0c5ec834255fb4e7f6ef6b626747
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2014-12-31T16:19:40Z
Releases: 9.5.0
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.

Files

PathChange+/−
src/backend/catalog/objectaddress.c modified +5 −10