Skip to content

Commit

Permalink
turn off repl
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Oct 14, 2024
1 parent 35e1735 commit 320e9d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cibuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# data transfer zone this is == (wire query size + result size ) + 2
# expressed in EMSDK MB
export CMA_MB=${CMA_MB:-2}
export CMA_MB=${CMA_MB:-32}

export CI=${CI:-false}

Expand Down
4 changes: 3 additions & 1 deletion patches/pg_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ PDEBUG("# 334");
#endif
emscripten_set_main_loop( (em_callback_func)interactive_one, 0, 0);
} else {

PDEBUG("# 570: REPL(single after initdb):Begin(NORETURN)");
while (repl) { interactive_file(); }
PDEBUG("# 572: REPL:End Raising a 'RuntimeError Exception' to halt program NOW");
Expand Down Expand Up @@ -1096,7 +1097,8 @@ setup() {
PDEBUG("=setup=");

// default for web is embed ( CMA )
is_embed = is_web_env();
PDEBUG(" >>>>>>>>>>>>> FORCING EMBED MODE <<<<<<<<<<<<<<<<");
is_embed = true; // is_web_env();

#if PGDEBUG
printf("# 1095: argv0 (%s) PGUSER=%s PGDATA=%s PGDATABASE=%s PGEMBED=%s REPL=%s\n",
Expand Down

0 comments on commit 320e9d2

Please sign in to comment.