src/server/plugins/postgresql/vfs.c

changeset 464
0a29110b94ec
parent 387
f5caf41b4db6
equal deleted inserted replaced
463:4fd523fff13b 464:0a29110b94ec
160 log_ereport(LOG_MISCONFIG, "pg_vfs_create: missing resourcepool parameter"); 160 log_ereport(LOG_MISCONFIG, "pg_vfs_create: missing resourcepool parameter");
161 return NULL; 161 return NULL;
162 } 162 }
163 } 163 }
164 164
165 // get the resource first (most likely to fail due to misconfig) 165 // get the resource first (most likely failure reason is misconfig)
166 ResourceData *resdata = resourcepool_lookup(sn, rq, resource_pool, 0); 166 ResourceData *resdata = resourcepool_lookup(sn, rq, resource_pool, 0);
167 if(!resdata) { 167 if(!resdata) {
168 log_ereport(LOG_MISCONFIG, "postgresql vfs: resource pool %s not found", resource_pool); 168 log_ereport(LOG_MISCONFIG, "postgresql vfs: resource pool %s not found", resource_pool);
169 return NULL; 169 return NULL;
170 } 170 }

mercurial