forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit929c057
committed
Don't allocate large buffer on the stack in pg_verifybackup
Per complaint from Andres Freund. Follow his suggestion to allocate thebuffer once in the calling routine instead.Also make a tiny indentation improvement.Discussion:https://postgr.es/m/20240411190147.a3yries632olfcgg@awork3.anarazel.de1 parent42fa4b6 commit929c057
1 file changed
+11
-6
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
144 | 144 |
| |
145 | 145 |
| |
146 | 146 |
| |
147 |
| - | |
| 147 | + | |
| 148 | + | |
148 | 149 |
| |
149 | 150 |
| |
150 | 151 |
| |
| |||
480 | 481 |
| |
481 | 482 |
| |
482 | 483 |
| |
483 |
| - | |
484 |
| - | |
| 484 | + | |
| 485 | + | |
485 | 486 |
| |
486 | 487 |
| |
487 | 488 |
| |
| |||
812 | 813 |
| |
813 | 814 |
| |
814 | 815 |
| |
| 816 | + | |
815 | 817 |
| |
816 | 818 |
| |
817 | 819 |
| |
| 820 | + | |
| 821 | + | |
818 | 822 |
| |
819 | 823 |
| |
820 | 824 |
| |
| |||
828 | 832 |
| |
829 | 833 |
| |
830 | 834 |
| |
831 |
| - | |
| 835 | + | |
832 | 836 |
| |
833 | 837 |
| |
834 | 838 |
| |
835 | 839 |
| |
836 | 840 |
| |
837 | 841 |
| |
| 842 | + | |
| 843 | + | |
838 | 844 |
| |
839 | 845 |
| |
840 | 846 |
| |
| |||
843 | 849 |
| |
844 | 850 |
| |
845 | 851 |
| |
846 |
| - | |
| 852 | + | |
847 | 853 |
| |
848 | 854 |
| |
849 | 855 |
| |
850 | 856 |
| |
851 | 857 |
| |
852 | 858 |
| |
853 |
| - | |
854 | 859 |
| |
855 | 860 |
| |
856 | 861 |
| |
|
0 commit comments
Comments
(0)