* Compute the full path of a file in a SharedFileSet. */
| 345 | * Compute the full path of a file in a SharedFileSet. |
| 346 | */ |
| 347 | static void |
| 348 | SharedFilePath(char *path, SharedFileSet *fileset, const char *name) |
| 349 | { |
| 350 | char dirpath[MAXPGPATH]; |
| 351 | |
| 352 | SharedFileSetPath(dirpath, fileset, ChooseTablespace(fileset, name)); |
| 353 | snprintf(path, MAXPGPATH, "%s/%s", dirpath, name); |
| 354 | } |
no test coverage detected