mirror of https://github.com/citusdata/citus.git
Use PG_JOB_CACHE_DIR
parent
ef33282de4
commit
705d1bf0e0
|
@ -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)
|
||||
|
|
|
@ -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++)
|
||||
|
|
Loading…
Reference in New Issue