- Notifications
You must be signed in to change notification settings - Fork5
Commit0038c1e
committed
Use ereport(ERROR) instead of Assert() to emit syncrep_parser error.
The existing code would either Assert or generate an invalidSyncRepConfig variable, neither of which is desirable. A regularerror should be thrown instead.This commit silences compiler warning in non assertion-enabled builds.Per report from Jeff Janes.Suggested fix by Tom Lane.1 parentf73b2bb commit0038c1e
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
886 | 886 |
| |
887 | 887 |
| |
888 | 888 |
| |
889 |
| - | |
890 | 889 |
| |
891 | 890 |
| |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
892 | 897 |
| |
893 | 898 |
| |
894 | 899 |
| |
|
0 commit comments
Comments
(0)