Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running pgjwt--0.0.1.sql #9

Closed
NickEmpetvee opened this issue Jul 24, 2018 · 1 comment
Closed

Error running pgjwt--0.0.1.sql #9

NickEmpetvee opened this issue Jul 24, 2018 · 1 comment

Comments

@NickEmpetvee
Copy link

Hi there.

When I remove the first line of this file and try to execute the SQL in my Windows database (as suggested in #7) I get the following error:

ERROR:  syntax error at or near "."
LINE 27: SELECT @[email protected]_encode(hmac(signables, secret, alg.id...
                           ^
SQL state: 42601
Character: 906

Any thoughts on how I might resolve?

Cheers!

@NickEmpetvee
Copy link
Author

Well it seems I resolved this. I put the files 'pgjwt.control' and 'pgjwt--0.0.1.sql' in the share\postgresql\extensions folder and ran the command CREATE EXTENSION pgwjwt CASCADE; and it seemed to do the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant