pgsql: Remove pstrdup of TextDatumGetCString

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove pstrdup of TextDatumGetCString
Date: 2017-04-14 16:54:52
Message-ID: E1cz4Um-00043C-1a@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove pstrdup of TextDatumGetCString

The result of TextDatumGetCString is already palloc'ed.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/25371a72b95aab43b0a3547ead4d3286c1128351

Modified Files
--------------
src/backend/catalog/pg_subscription.c | 4 ++--
src/backend/commands/subscriptioncmds.c | 2 +-
src/backend/replication/logical/tablesync.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-04-14 18:02:04 pgsql: Add option to modify sync commit per subscription
Previous Message Peter Eisentraut 2017-04-14 03:48:38 pgsql: Remove useless trailing spaces in queries in C strings