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 don't think so... Aside from running queries, everything else uses the postgres CLI. lucky db.create for example. I know most of this can be done from within SQL (i.e. CREATE DATABASE, etc...), but we'd either have to do a ton of checks, or move all of the db related tasks. Like, can you do pg_dump from within SQL? If not, then lucky db.dump would have to be optionally disabled, or fail fast from some sort of check.
I'm not opposed to removing it if there's a clean way we can, but at first thought, it might be really difficult 🤔
I don't think I even knew about lucky db.dump. All of the commands can certainly be replicated within a query context as long as your connecting user has privileges to do the action, but it's not always straightforward. For example, if you connect to postgres with an explicit database name, but you do so in order to create that database, that connection will fail.
There are a bunch of situations which a developer might not otherwise need or want postgres cli tools to be installed -- can this check be removed?
The text was updated successfully, but these errors were encountered: