pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove reachable call to pg_unreachable().
Date: Thu, 04 Apr 2024 20:32:32 +0000
Message-ID: <E1rsTl9-000WLo-Es@gemulon.postgresql.org> (raw)

Remove reachable call to pg_unreachable().

The loop just before this uses break, not return, so this line
is reachable.  Commit cafe1056558fe07cdc52b95205588fcd80870362
introduced this issue.

Jelte Fennema-Nio, reviewed by Tristan Partin

Discussion: http://postgr.es/m/CAGECzQTO72jKed5461W8cytV2Msh_e+WUZjOyX_RUQCbjk4LRA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/12b964d7815b2f45fa3fc37264d3d1cb8e4562e3

Modified Files
--------------
src/bin/psql/command.c | 2 --
1 file changed, 2 deletions(-)



Message-ID: <E1rsTl9-000WLo-Es@gemulon.postgresql.org>
Permalink:  ../E1rsTl9-000WLo-Es@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rsTl9-000WLo-Es@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: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove reachable call to pg_unreachable().
  In-Reply-To: <E1rsTl9-000WLo-Es@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