Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
vitstn authored Oct 30, 2024
1 parent 508b66c commit 97f15da
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions ydb/library/yql/parser/pg_catalog/safe_procs.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

// postgis
"postgis_lib_version",
"st_interiorringn",
"st_collectionhomogenize",

//dbeaver
"pg_get_expr",
Expand Down
6 changes: 3 additions & 3 deletions ydb/library/yql/tools/yqlrun/pg_ext.txt
Original file line number Diff line number Diff line change
@@ -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"
}

6 changes: 3 additions & 3 deletions ydb/library/yql/tools/yqlrun/uig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down

0 comments on commit 97f15da

Please sign in to comment.