Bring back strdup on optline in pg_ctl read_post_opts
The strdups were removed in a recent 8.4 postgres merge commit fa287d01. Without them, pg_ctl restart will usually fail as the memory is freed for optline. Bring them back similar to how it was fixed in an earlier commit. Reference commit by Daniel Gustafsson: https://github.com/greenplum-db/gpdb/commit/627ba5d8d83caa133ed1d8c9e13570bd162933bf
Showing
想要评论请 注册 或 登录