Skip to content

Commit ae041fd

Browse files
committed
Non-superuser LOAD command
1 parent ebd78fd commit ae041fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

age/age.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
def setUpAge(conn:ext.connection, graphName:str):
2929
with conn.cursor() as cursor:
30-
cursor.execute("LOAD 'age';")
30+
cursor.execute("LOAD '$libdir/plugins/age'")
3131
cursor.execute("SET search_path = ag_catalog, '$user', public;")
3232

3333
cursor.execute("SELECT typelem FROM pg_type WHERE typname='_agtype'")

0 commit comments

Comments
 (0)