- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit810a8b1
committed
Give up on running with NetBSD/OpenBSD's default semaphore settings.
This reverts commit38da053, whichattempted to preserve our ability to start with only 60 semaphores.Subsequent changes (particularly55b454d) have put that idea prettymuch permanently out of reach: people wishing to use Postgres v18 onOpenBSD or NetBSD will have no choice but to increase those platforms'default values of SEMMNI and SEMMNS.Hence, revert38da053's changes in SEMAS_PER_SET and the minimumtested value of max_connections. Adjust a comment from the subsequentpatch6d01541, and tweak the wording in runtime.sgml to make itclear that changing SEMMNI/SEMMNS is no longer even a little bitoptional on these platforms.Although38da053 was later back-patched into v17, leave that branchalone: it's still capable of starting with 60 semaphores, and there'sno reason to break that.Author: Tom Lane <tgl@sss.pgh.pa.us>Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>Discussion:https://postgr.es/m/E1tuZNv-0037Gs-34@gemulon.postgresql.orgDiscussion:https://postgr.es/m/1052019.1745947915@sss.pgh.pa.us1 parente974f1c commit810a8b1
File tree
3 files changed
+17
-24
lines changed- doc/src/sgml
- src
- backend/port
- bin/initdb
3 files changed
+17
-24
lines changedLines changed: 12 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
782 | 782 |
| |
783 | 783 |
| |
784 | 784 |
| |
785 |
| - | |
| 785 | + | |
786 | 786 |
| |
787 | 787 |
| |
788 | 788 |
| |
789 | 789 |
| |
790 | 790 |
| |
791 |
| - | |
| 791 | + | |
792 | 792 |
| |
793 | 793 |
| |
794 | 794 |
| |
795 | 795 |
| |
796 | 796 |
| |
797 |
| - | |
| 797 | + | |
798 | 798 |
| |
799 | 799 |
| |
800 | 800 |
| |
| |||
841 | 841 |
| |
842 | 842 |
| |
843 | 843 |
| |
844 |
| - | |
| 844 | + | |
845 | 845 |
| |
846 | 846 |
| |
847 | 847 |
| |
| |||
851 | 851 |
| |
852 | 852 |
| |
853 | 853 |
| |
854 |
| - | |
855 |
| - | |
| 854 | + | |
| 855 | + | |
856 | 856 |
| |
857 | 857 |
| |
858 | 858 |
| |
859 | 859 |
| |
860 |
| - | |
| 860 | + | |
861 | 861 |
| |
862 | 862 |
| |
863 | 863 |
| |
864 |
| - | |
| 864 | + | |
865 | 865 |
| |
866 | 866 |
| |
867 | 867 |
| |
| |||
953 | 953 |
| |
954 | 954 |
| |
955 | 955 |
| |
956 |
| - | |
| 956 | + | |
957 | 957 |
| |
958 | 958 |
| |
959 |
| - | |
| 959 | + | |
960 | 960 |
| |
961 | 961 |
| |
962 | 962 |
| |
| |||
987 | 987 |
| |
988 | 988 |
| |
989 | 989 |
| |
990 |
| - | |
| 990 | + | |
991 | 991 |
| |
992 | 992 |
| |
993 | 993 |
| |
994 |
| - | |
| 994 | + | |
995 | 995 |
| |
996 | 996 |
| |
997 | 997 |
| |
|
Lines changed: 1 addition & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 | 53 |
| |
60 |
| - | |
| 54 | + | |
61 | 55 |
| |
62 | 56 |
| |
63 | 57 |
| |
|
Lines changed: 4 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1128 | 1128 |
| |
1129 | 1129 |
| |
1130 | 1130 |
| |
1131 |
| - | |
1132 |
| - | |
1133 |
| - | |
1134 |
| - | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
1135 | 1134 |
| |
1136 | 1135 |
| |
1137 | 1136 |
| |
1138 | 1137 |
| |
1139 |
| - | |
| 1138 | + | |
1140 | 1139 |
| |
1141 | 1140 |
| |
1142 | 1141 |
| |
|
0 commit comments
Comments
(0)