* Open a file that was created with SharedFileSetCreate(), possibly in * another backend. */
| 180 | * another backend. |
| 181 | */ |
| 182 | File |
| 183 | SharedFileSetOpen(SharedFileSet *fileset, const char *name, int mode) |
| 184 | { |
| 185 | char path[MAXPGPATH]; |
| 186 | File file; |
| 187 | |
| 188 | SharedFilePath(path, fileset, name); |
| 189 | file = PathNameOpenTemporaryFile(path, mode); |
| 190 | |
| 191 | return file; |
| 192 | } |
| 193 | |
| 194 | /* |
| 195 | * Delete a file that was created with SharedFileSetCreate(). |
no test coverage detected