pilotswarm-horizon-store 0.5.13 → 0.5.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,6 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
CREATE EXTENSION IF NOT EXISTS age;
|
|
7
7
|
|
|
8
|
+
-- create_graph() resolves graphid_ops (label-table index opclass) through the
|
|
9
|
+
-- caller's search_path on newer AGE builds (Azure HorizonDB ships 1.7.x), so
|
|
10
|
+
-- ag_catalog must be visible or bootstrap fails with:
|
|
11
|
+
-- operator class "graphid_ops" does not exist for access method "btree"
|
|
12
|
+
-- SET LOCAL is safe here: this migration is graph-owned and always runs inside
|
|
13
|
+
-- the graph store's bootstrap transaction, so the setting dies at COMMIT.
|
|
14
|
+
SET LOCAL search_path = ag_catalog, "$user", public;
|
|
15
|
+
|
|
8
16
|
DO $$
|
|
9
17
|
BEGIN
|
|
10
18
|
IF NOT EXISTS (SELECT 1 FROM ag_catalog.ag_graph WHERE name = '{{GRAPH_NAME}}') THEN
|