postgres.git / summary / log / commit / refs
commit 12b964d7815b2f45fa3fc37264d3d1cb8e4562e3
Author: Robert Haas <rhaas@postgresql.org>
Date: Thu Apr 04 19:52:52 2024 +0000
First released in: 17.0
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
src/bin/psql/command.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index c005624e9c3..479f9f2be59 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -3815,8 +3815,6 @@ wait_until_connected(PGconn *conn)
pg_unreachable();
}
}
-
- pg_unreachable();
}
void
[parent: 096a761d687f]