forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit30e99ef
committed
Don't call pgwin32_message_to_UTF16() without CurrentMemoryContext.
PostgreSQL running as a Windows service crashed upon callingwrite_stderr() before MemoryContextInit(). This fix completes workstarted in5735efe. Messages thisearly contain only ASCII bytes; if we removed the CurrentMemoryContextrequirement, the ensuing conversions would have no effect. Back-patchto 9.3 (all supported versions).Takayuki Tsunakawa, reviewed by Michael Paquier.Discussion:https://postgr.es/m/0A3221C70F24FB45833433255569204D1F80CC73@G01JPEXMBYT051 parent4cd5d8a commit30e99ef
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1910 | 1910 | | |
1911 | 1911 | | |
1912 | 1912 | | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
1913 | 1917 | | |
1914 | 1918 | | |
1915 | 1919 | | |
1916 | 1920 | | |
1917 | | - | |
| 1921 | + | |
| 1922 | + | |
1918 | 1923 | | |
1919 | 1924 | | |
1920 | 1925 | | |
| |||
0 commit comments
Comments
(0)