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
I have a program to help instantiate my database, which internally runs:
CREATE USER foo WITH PASSWORD user-input-here
Since prepared statements (and so $1, $2..) do not work in this context, is there a way that I can escape the password string provided by the user before passing it to the above?
Might this be a useful piece of functionality to provide from this library? (I appreciate that its use should be discouraged).