You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given there not being any other issues asking this, I feel like this might be a dumb question.
Nevertheless, how do I install this extension on macos. I am getting the following error:
...
CREATE EXTENSION
psql:db.init/00-initial-schema.sql:10: ERROR: could not open extension control file "/Applications/Postgres.app/Contents/Versions/13/share/postgresql/extension/pgjwt.control": No such file or directory
I have tried cloning and installing which seems to work but then when I rerun my script, i get the above error.
I am guessing it I need to change the install directory based on this output:
❯ psql -d profiles_db -U profiles_admin
psql (13.3)
Type "help"for help.
profiles_db=# create extension pgjwt
profiles_db-# ;
ERROR: could not open extension control file "/Applications/Postgres.app/Contents/Versions/13/share/postgresql/extension/pgjwt.control": No such file or directory
Adding this to my fish.config seems to have done the trick.
# Add `pg_config` to path# https://fishshell.com/docs/current/tutorial.html?highlight=fish_user_path#pathset PG_CONFIG /Applications/Postgres.app/Contents/Versions/latest/bin
fish_add_path $PG_CONFIG
Closing for now. Leaving here for other similarly situated people.
Given there not being any other issues asking this, I feel like this might be a dumb question.
Nevertheless, how do I install this extension on macos. I am getting the following error:
... CREATE EXTENSION psql:db.init/00-initial-schema.sql:10: ERROR: could not open extension control file "/Applications/Postgres.app/Contents/Versions/13/share/postgresql/extension/pgjwt.control": No such file or directory
I have tried cloning and installing which seems to work but then when I rerun my script, i get the above error.
MACHINE SPECS
Thank you, in advance, for any guidance.
The text was updated successfully, but these errors were encountered: