pgsql: Add missing pstrdup calls

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add missing pstrdup calls
Date: 2014-12-31 16:20:39
Message-ID: E1Y6M0l-0005ji-0e@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-12-31 17:19:02 pgsql: Improve consistency of parsing of psql's magic variables.
Previous Message Robert Haas 2014-12-31 16:07:16 pgsql: Don't tab-complete COMMENT ON ... IS with IS.