michelp / pgjwt

PostgreSQL implementation of JWT (JSON Web Tokens)
MIT License
364 stars 60 forks source link

ERROR while loading extension #1

Closed scheiblr closed 7 years ago

scheiblr commented 7 years ago

I get the following error when loading the plugin:

CREATE EXTENSION IF NOT EXISTS pgjwt;
ERROR:  transaction control statements are not allowed within an extension script
michelp commented 7 years ago

Hi @schmittr I didn't even see this issue until you closed it, sorry I wasn't paying attention I didn't even know anyone was using this code. :)

Most recent changes as you may see turn it into a real extension. Thanks for trying it out!