diff --git a/ydb/library/yql/parser/pg_catalog/safe_procs.h b/ydb/library/yql/parser/pg_catalog/safe_procs.h index be13dd59c032..913c04c80d29 100644 --- a/ydb/library/yql/parser/pg_catalog/safe_procs.h +++ b/ydb/library/yql/parser/pg_catalog/safe_procs.h @@ -39,6 +39,8 @@ // postgis "postgis_lib_version", +"st_interiorringn", +"st_collectionhomogenize", //dbeaver "pg_get_expr", diff --git a/ydb/library/yql/tools/yqlrun/pg_ext.txt b/ydb/library/yql/tools/yqlrun/pg_ext.txt index 7dc0335fe9bb..4983ac319373 100644 --- a/ydb/library/yql/tools/yqlrun/pg_ext.txt +++ b/ydb/library/yql/tools/yqlrun/pg_ext.txt @@ -1,9 +1,9 @@ Extension { Name: "postgis" InstallName: "$libdir/postgis-3" - SqlPath: "../../../../../yql/pg_ext/postgis/libs/postgis/postgis/postgis.sql" - SqlPath: "../../../../../yql/pg_ext/postgis/libs/postgis/spatial_ref_sys.sql" - LibraryPath: "../../../../../yql/pg_ext/postgis/libs/postgis/libpostgis.so" + SqlPath: "../../../../../../yql/pg_ext/postgis/libs/postgis/postgis/postgis.sql" + SqlPath: "../../../../../../yql/pg_ext/postgis/libs/postgis/spatial_ref_sys.sql" + LibraryPath: "../../../../../../yql/pg_ext/postgis/libs/postgis/libpostgis.so" Version: "3.4.3dev" } diff --git a/ydb/library/yql/tools/yqlrun/uig.sh b/ydb/library/yql/tools/yqlrun/uig.sh index 55bfdd2c9da1..f53e7033bca1 100755 --- a/ydb/library/yql/tools/yqlrun/uig.sh +++ b/ydb/library/yql/tools/yqlrun/uig.sh @@ -9,10 +9,10 @@ SCRIPT_DIR="$(dirname $(readlink -f "$0"))" UDFS_DIR="${SCRIPT_DIR}/../../udfs" -if [ -d "${SCRIPT_DIR}/../../../../../yql" ]; then -UDFS_DIR="${UDFS_DIR};${SCRIPT_DIR}/../../../../../yql/udfs" +if [ -d "${SCRIPT_DIR}/../../../../../../yql" ]; then +UDFS_DIR="${UDFS_DIR};${SCRIPT_DIR}/../../../../../../yql/udfs" fi -if [ -d "${SCRIPT_DIR}/../../../../../yql" ]; then +if [ -d "${SCRIPT_DIR}/../../../../../../yql" ]; then PG_EXT_OPT="--pg-ext pg_ext.txt" else PG_EXT_OPT=