Use PG_JOB_CACHE_DIR

pull/2871/head
Philip Dubé 2019-08-07 18:06:37 +00:00
parent ef33282de4
commit 705d1bf0e0
2 changed files with 2 additions and 2 deletions

View File

@ -411,7 +411,7 @@ VerifyTransmitStmt(CopyStmt *copyStatement)
{
ereport(ERROR,
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
(errmsg("path must be in the pgsql_job_cache directory"))));
(errmsg("path must be in the " PG_JOB_CACHE_DIR " directory"))));
}
if (copyStatement->filename != NULL)

View File

@ -343,7 +343,7 @@ CreateRequiredDirectories(void)
const char *subdirs[] = {
"pg_foreign_file",
"pg_foreign_file/cached",
"base/pgsql_job_cache"
"base/" PG_JOB_CACHE_DIR
};
for (dirNo = 0; dirNo < lengthof(subdirs); dirNo++)