Closed idkjs closed 3 years ago
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#path
set PG_CONFIG /Applications/Postgres.app/Contents/Versions/latest/bin
fish_add_path $PG_CONFIG
Closing for now. Leaving here for other similarly situated people.
Thank you.
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:
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.