Help with initializing pgroll
Hi I'm trying to initialize pgroll but having some issue special characters in the password. I get an error
Error: parse "postgres://postgres:Pass{[email protected]:5432/testdb search_path=pgroll": net/url: invalid userinfo.
I also took a look at the supported commands for pgroll in the documentation. Is that the the full list of supported commands? Is there support for other commands like WITH or UPDATE, etc
Thanks!2 Replies
Hi Nujiel, thanks for reaching out. Could you try using percent-encoding to replace the special characters in your password. For example
Pass{_123
should be written Pass%7d_123
As for the supported commands, the list at https://github.com/xataio/pgroll/blob/main/docs/operations-reference.md is up to date. We may add more commands in the future.
Let me know how you get on.GitHub
pgroll/docs/operations-reference.md at main · xataio/pgroll
PostgreSQL zero-downtime migrations made easy. Contribute to xataio/pgroll development by creating an account on GitHub.
Percent encoding worked out, thanks!