Revert "Use backend quoting functions instead of libpq"
Revert the patch since it broke tests for gprestore and gptransfer in the main pipeline. While the test quoted in the original Jira passes there seems to be more to it than meets the Jira.. Revert for now. Reverts: commit 1bb0b765 Author: Daniel Gustafsson <dgustafsson@pivotal.io> Date: Wed Apr 5 13:07:10 2017 +0200 Use backend quoting functions instead of libpq libpq is front-end code and shouldn't be used in backend processes. The requirement here is to correctly quote the relation name in partitioning such that pg_dump/gp_dump can create working DDL for the partition hierarchy. For this purpose, quote_literal_internal() does the same thing as PQescapeString(). The following relation definitions were hitting the previous bug fixed by applying proper quoting:
Showing
想要评论请 注册 或 登录