Skip to content

Commit 6fa3ddd

Browse files
authored
Remove commented out code related to no fixed Emscripten bug (#9)
1 parent 36e9a12 commit 6fa3ddd

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/backend/utils/cache/relcache.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6485,16 +6485,6 @@ RelationCacheInitFileRemove(void)
64856485
struct dirent *de;
64866486
char path[MAXPGPATH + 10 + sizeof(TABLESPACE_VERSION_DIRECTORY)];
64876487

6488-
#ifdef EMSCRIPTEN
6489-
/*
6490-
* emscripten 3.0.1 breaks here on traversal up in FS.realPath() on the
6491-
* mount point (it has path field set, but not the name field).
6492-
*
6493-
* TODO: make a standalone repro and report.
6494-
*/
6495-
return;
6496-
#endif
6497-
64986488
snprintf(path, sizeof(path), "global/%s",
64996489
RELCACHE_INIT_FILENAME);
65006490
unlink_initfile(path, LOG);

0 commit comments

Comments
 (0)