Repository navigation
Conversation
|
I rebased this on |
|
Thanks for the rebase. A few things before this can go in:
|
|
Thanks for the two-port example. I rebased on main, moved the decision to 177, rebuilt the index, and dropped the unrelated formatting change. The notice now shows the server address as well as the database name and connection source. I ran the CLI against two PostgreSQL 17 servers with the same database name. The URL and keyword connections printed different ports, including the port reached after a fallback. |
Two PostgreSQL servers can have a database with the same name. The commands
up,status,baseline,repair, andseednow print the address they reached, the database name, and which setting supplied the connection string. That makes it easier to spot when the CLI and the app are talking to different servers.The notice comes from the open connection and uses only those three values. Connection settings still take priority in the order of the flag, the environment variable, and the app config.
up --dry-runkeeps its existing SQL output.I tried this on two local PostgreSQL 17 servers with the same database name. A URL connection and a keyword connection with a fallback host each showed the port the CLI actually reached.
make fmt,make lint,make test, andmake test-pgpassed locally. The documentation example checker flags the same spacing in the Raw example on main and on this branch.Refs #342.
After release
Update
migrations/commandsandmigrations/deployingin ant-docs.