Skip to content

Commit b7fcf5f

Browse files
committed
Updated example [skip ci]
1 parent aa2c1e6 commit b7fcf5f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/citus/example.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
queries = Numo::SFloat.new(10, dimensions).rand
1111

1212
# enable extensions
13-
conn = PG.connect(dbname: "pgvector_example")
13+
conn = PG.connect(dbname: "pgvector_citus")
1414
conn.exec("CREATE EXTENSION IF NOT EXISTS citus")
1515
conn.exec("CREATE EXTENSION IF NOT EXISTS vector")
1616

@@ -24,7 +24,7 @@
2424
conn.close
2525

2626
# reconnect for updated GUC variables to take effect
27-
conn = PG.connect(dbname: "pgvector_example")
27+
conn = PG.connect(dbname: "pgvector_citus")
2828

2929
puts "Creating distributed table"
3030
conn.exec("DROP TABLE IF EXISTS items")

0 commit comments

Comments
 (0)