pgsql: Fix unnecessary casts of copyObject() result

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix unnecessary casts of copyObject() result
Date: 2024-10-17 06:39:35
Message-ID: E1t1KAa-001CF1-FP@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix unnecessary casts of copyObject() result

The result is already of the correct type, so these casts don't do
anything.

Reviewed-by: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Reviewed-by: Tender Wang <tndrwang(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/637eeea8-5663-460b-a114-39572c0f6c6e%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/665785d85f8b9a7250802d7fadd84841bb0aafa1

Modified Files
--------------
src/backend/commands/trigger.c | 2 +-
src/backend/nodes/nodeFuncs.c | 4 ++--
src/backend/rewrite/rewriteManip.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-10-17 06:48:23 pgsql: Fix whitespace
Previous Message Peter Eisentraut 2024-10-17 06:28:27 pgsql: jsonapi: fully initialize dummy lexer