pgsql: Make syslogger more robust against failures in opening CSV log f

2018-08-26 Thread Tom Lane
Make syslogger more robust against failures in opening CSV log files. The previous coding figured it'd be good enough to postpone opening the first CSV log file until we got a message we needed to write there. This is unsafe, though, because if the open fails we end up in infinite recursion trying

pgsql: Make syslogger more robust against failures in opening CSV log f

2018-08-26 Thread Tom Lane
Make syslogger more robust against failures in opening CSV log files. The previous coding figured it'd be good enough to postpone opening the first CSV log file until we got a message we needed to write there. This is unsafe, though, because if the open fails we end up in infinite recursion trying

pgsql: Make syslogger more robust against failures in opening CSV log f

2018-08-26 Thread Tom Lane
Make syslogger more robust against failures in opening CSV log files. The previous coding figured it'd be good enough to postpone opening the first CSV log file until we got a message we needed to write there. This is unsafe, though, because if the open fails we end up in infinite recursion trying

pgsql: Make syslogger more robust against failures in opening CSV log f

2018-08-26 Thread Tom Lane
Make syslogger more robust against failures in opening CSV log files. The previous coding figured it'd be good enough to postpone opening the first CSV log file until we got a message we needed to write there. This is unsafe, though, because if the open fails we end up in infinite recursion trying

pgsql: Make syslogger more robust against failures in opening CSV log f

2018-08-26 Thread Tom Lane
Make syslogger more robust against failures in opening CSV log files. The previous coding figured it'd be good enough to postpone opening the first CSV log file until we got a message we needed to write there. This is unsafe, though, because if the open fails we end up in infinite recursion trying

pgsql: Make syslogger more robust against failures in opening CSV log f

2018-08-26 Thread Tom Lane
Make syslogger more robust against failures in opening CSV log files. The previous coding figured it'd be good enough to postpone opening the first CSV log file until we got a message we needed to write there. This is unsafe, though, because if the open fails we end up in infinite recursion trying

pgsql: Make syslogger more robust against failures in opening CSV log f

2018-08-26 Thread Tom Lane
Make syslogger more robust against failures in opening CSV log files. The previous coding figured it'd be good enough to postpone opening the first CSV log file until we got a message we needed to write there. This is unsafe, though, because if the open fails we end up in infinite recursion trying

pgsql: Fix typos.

2018-08-26 Thread Thomas Munro
Fix typos. Author: David Rowley Discussion: https://postgr.es/m/CAKJS1f8du35u5DprpykWvgNEScxapbWYJdHq%2Bz06Wj3Y2KFPbw%40mail.gmail.com Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/9ca2207990002a2fd594fd7f9776d9d91acba189 Modified Files -- src

pgsql: Fix typos.

2018-08-26 Thread Thomas Munro
Fix typos. Author: David Rowley Discussion: https://postgr.es/m/CAKJS1f8du35u5DprpykWvgNEScxapbWYJdHq%2Bz06Wj3Y2KFPbw%40mail.gmail.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/18e586741b41713bec31effbde96ccd6da0a4361 Modified Files -- src/backen

pgsql: Improve VACUUM and ANALYZE by avoiding early lock queue

2018-08-26 Thread Michael Paquier
Improve VACUUM and ANALYZE by avoiding early lock queue A caller of VACUUM can perform early lookup obtention which can cause other sessions to block on the request done, causing potentially DOS attacks as even a non-privileged user can attempt a vacuum fill of a critical catalog table to block ev