diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-12-05 20:02:58 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-12-05 20:14:34 +0300 |
commit | 6b52c46ddad07e28048970e330d875aa0a5955d7 (patch) | |
tree | 909cf4dce3c2a09eaddbd6e65b570d53a6080e4b | |
parent | d0f4ba355ade8ccf46abe831d5207192fb6531b6 (diff) | |
download | ydb-6b52c46ddad07e28048970e330d875aa0a5955d7.tar.gz |
Intermediate changes
commit_hash:5b0cc9d8166c964854426710c328898b79ffa406
-rwxr-xr-x | yql/tools/yqlrun/ui.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/yql/tools/yqlrun/ui.sh b/yql/tools/yqlrun/ui.sh index 4337794f37..c8ee295a79 100755 --- a/yql/tools/yqlrun/ui.sh +++ b/yql/tools/yqlrun/ui.sh @@ -13,6 +13,13 @@ ASSETS_DIR=${SCRIPT_DIR}/http/www MOUNTS_CFG=${SCRIPT_DIR}/mounts.txt GATEWAYS_CFG=${SCRIPT_DIR}/../../essentials/cfg/tests/gateways.conf +if [ -f "${SCRIPT_DIR}/../../pg_ext/postgis/libs/postgis/libpostgis.so" ]; then + PG_EXT_OPT="--pg-ext pg_ext.txt" +else + PG_EXT_OPT= +fi + + PORT=${1:-3000} if [ "$2" = "--gdb" ]; then @@ -30,4 +37,5 @@ ${GDB} ${PGM} ui \ --udfs-dir ${UDFS_DIR} \ --assets ${ASSETS_DIR} \ --gateways-cfg ${GATEWAYS_CFG} \ - --remote --port $PORT + --remote --port $PORT \ + $PG_EXT_OPT |