projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
096a761
)
Remove reachable call to pg_unreachable().
author
Robert Haas
<
[email protected]
>
Thu, 4 Apr 2024 19:52:52 +0000
(15:52 -0400)
committer
Robert Haas
<
[email protected]
>
Thu, 4 Apr 2024 20:22:11 +0000
(16:22 -0400)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/command.c
b/src/bin/psql/command.c
index c005624e9c38d3e1bb80cd5f691d05105e486bfb..479f9f2be59ea5edb6bf068ce338975f4b4b68fc 100644
(file)
--- 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