gpperfmon: fix long query text cannot load into queries_history
1. When doing harvesting, raise the gp_max_csv_line_length to maximum legal value in session level. 2. For query longer than gp_max_csv_line_length, this workaround replaces line breaks in query text with space to prevent load failure. It may lead long query statement changed when load to history table, but it is still better than fail to load or truncate the query text. Co-authored-by: Teng Zhang tezhang@pivotal.io Co-authored-by: Hao Wang haowang@pivotal.io
Showing
src/include/cdb/cdbcsv.h
0 → 100644
想要评论请 注册 或 登录