I am wanting to use Pyrseas with Supabase (basically pre-configured Postgrest). I get the following error:
$ dbtoyaml -H db.nynstytcyprpinthzhos.supabase.co -U postgres --password postgres
Password:
Traceback (most recent call last):
File "/home/bkirkbride/projects/shopping-list/pyrseas/.venv/bin/dbtoyaml", line 8, in <module>
sys.exit(main())
File "/home/bkirkbride/projects/shopping-list/pyrseas/.venv/lib/python3.10/site-packages/pyrseas/dbtoyaml.py", line 49, in main
dbmap = db.to_map()
File "/home/bkirkbride/projects/shopping-list/pyrseas/.venv/lib/python3.10/site-packages/pyrseas/database.py", line 483, in to_map
dbmap.update(self.db.eventtrigs.to_map(self.db, opts))
File "/home/bkirkbride/projects/shopping-list/pyrseas/.venv/lib/python3.10/site-packages/pyrseas/dbobject/__init__.py", line 662, in to_map
objmap = obj.to_map(db, opts.no_owner, opts.no_privs)
File "/home/bkirkbride/projects/shopping-list/pyrseas/.venv/lib/python3.10/site-packages/pyrseas/dbobject/eventtrig.py", line 90, in to_map
dct = super(EventTrigger, self).to_map(db, no_owner)
File "/home/bkirkbride/projects/shopping-list/pyrseas/.venv/lib/python3.10/site-packages/pyrseas/dbobject/__init__.py", line 361, in to_map
deps -= self.get_implied_deps(db)
File "/home/bkirkbride/projects/shopping-list/pyrseas/.venv/lib/python3.10/site-packages/pyrseas/dbobject/eventtrig.py", line 113, in get_implied_deps
deps.add(db.functions[(sch, fnc, '')])
KeyError: ('pg_catalog', 'set_graphql_placeholder', '')
To reproduce:
- Make account on Supabase
- Make a test project (free)
- Go to Settings -> Database -> Connection Info
- Use
dbtoyaml with said info.
It appears this is the same issue as #236.
I am wanting to use Pyrseas with Supabase (basically pre-configured Postgrest). I get the following error:
To reproduce:
dbtoyamlwith said info.It appears this is the same issue as #236.