pgsql: Remove reachable call to pg_unreachable().

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove reachable call to pg_unreachable().
Date: 2024-04-04 20:32:32
Message-ID: E1rsTl9-000WLo-Es@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2024-04-04 23:23:57 pgsql: Fix test failures when language environment is not UTF-8.
Previous Message Tom Lane 2024-04-04 19:32:09 pgsql: Fix ecpg's mechanism for detecting unsupported cases in the gram