forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita2b0719
committed
Default to dynamic_shared_memory_type=sysv on Solaris.
POSIX shm_open() can sleep for a long time and fail spuriously becauseof contention on an internal lock file on Solaris (and presumablyillumos). Commit389869a fixed the main problem with this, namely thatwe could crash, but it's now clear that "posix" is not a good default.Therefore, choose "sysv" at initdb time on Solaris and illumos. Otherchoices are still available by editing the postgresql.conf file.Back-patch only to 15, because contention is much less likely furtherback, and it doesn't seem like a good idea to change this in releasedbranches. This should clear up the failures on build farm animalmargay.Discussion:https://postgr.es/m/CA%2BhUKGKqKrCV5xKWfh9rnm%3Do%3DDwZLTLtnsj_XpUi9g5%3DV%2B9oyg%40mail.gmail.com1 parent0806cd2 commita2b0719
File tree
3 files changed
+6
-3
lines changed- doc/src/sgml
- src
- backend/utils/misc
- bin/initdb
3 files changed
+6
-3
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2036 | 2036 |
| |
2037 | 2037 |
| |
2038 | 2038 |
| |
2039 |
| - | |
| 2039 | + | |
2040 | 2040 |
| |
2041 | 2041 |
| |
2042 | 2042 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
147 | 147 |
| |
148 | 148 |
| |
149 | 149 |
| |
150 |
| - | |
| 150 | + | |
151 | 151 |
| |
152 | 152 |
| |
153 | 153 |
| |
|
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
842 | 842 |
| |
843 | 843 |
| |
844 | 844 |
| |
| 845 | + | |
| 846 | + | |
| 847 | + | |
845 | 848 |
| |
846 | 849 |
| |
847 | 850 |
| |
848 | 851 |
| |
849 |
| - | |
| 852 | + | |
850 | 853 |
| |
851 | 854 |
| |
852 | 855 |
| |
|
0 commit comments
Comments
(0)