pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix unnecessary casts of copyObject() result
Date: Thu, 17 Oct 2024 06:39:35 +0000
Message-ID: <E1t1KAa-001CF1-FP@gemulon.postgresql.org> (raw)

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@gmail.com>
Reviewed-by: Tender Wang <tndrwang@gmail.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(-)



Message-ID: <E1t1KAa-001CF1-FP@gemulon.postgresql.org>
Permalink:  ../E1t1KAa-001CF1-FP@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1t1KAa-001CF1-FP@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix unnecessary casts of copyObject() result
  In-Reply-To: <E1t1KAa-001CF1-FP@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox