- Notifications
You must be signed in to change notification settings - Fork5k
Commitbbd4951
committed
doc: Improve postgres command for shared_memory_size_in_huge_pages
The command used in the documentation to retrieve the value of theruntime-computed GUC shared_memory_size_in_huge_pages would also show tothe user all the log messages generated by the postmaster before andafter printing the wanted value. This can be confusing, as the wantedresult could be masked with a lot of noise.One way to avoid those log messages is to use something like "-clog_min_messages=fatal" in the command (my idea, but that's not commonknowledge). Rather than mentioning this option, suffix the command witha redirection of stderr to /dev/null, which is the stream location wherethe logs show up. This is enough to show only the GUC value to theuser when copy-pasting the command.Reported-by: Magnus HaganderAuthor: Nathan BossartDiscussion:https://postgr.es/m/20220314173417.GA1020555@nathanxps131 parent127aea2 commitbbd4951
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1448 | 1448 |
| |
1449 | 1449 |
| |
1450 | 1450 |
| |
1451 |
| - | |
| 1451 | + | |
1452 | 1452 |
| |
1453 | 1453 |
| |
1454 | 1454 |
| |
|
0 commit comments
Comments
(0)