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
Another great addition to the pgweb could be "bookmarked" connections. This will provide a way to
quickly server connection settings. Most native database managers do that and its very helpful.
Few options to consider:
Store bookmarks in cookie/localstorage
Pros: easy implementations
Cons: no real persistence
Store bookmarks in a local file
File could be something like ~/.pgweb_bookmarks. Not sure about how would this work on
Windows machines. As for file format, it could be either YAML or TOML. Im leaning towards
TOML since it has format very similar to INI files. However, JSON does really make sense to use,
its consumed by browser but it does not have great readability.
Pros: opens doors for more customizations, easy implementation
Cons: syntax/formatting
Proposed file format (TOML):
# If url is defined it takes precedenceurl = "postgres://..."# Regular server connection settingshost = "localhost"port = 5432user = "username"database = "dbname"ssl_mode = "disable"
Would like to get some feedback if anyone is interested.
The text was updated successfully, but these errors were encountered:
Another great addition to the pgweb could be "bookmarked" connections. This will provide a way to
quickly server connection settings. Most native database managers do that and its very helpful.
Few options to consider:
Store bookmarks in cookie/localstorage
Store bookmarks in a local file
File could be something like
~/.pgweb_bookmarks
. Not sure about how would this work onWindows machines. As for file format, it could be either YAML or TOML. Im leaning towards
TOML since it has format very similar to INI files. However, JSON does really make sense to use,
its consumed by browser but it does not have great readability.
Proposed file format (TOML):
Would like to get some feedback if anyone is interested.
The text was updated successfully, but these errors were encountered: