Using VS Code for Queries
In addition to my my PgAdmin4 Post, you can also use VS Code with the an PostgreSQL Explorer Extension to test your queries before coding them up into scripts or whatever it one needs to do.
Connection is similar to PgAdmin4, however, I created two different connections, 1) for the wsprnet db, and 2) for the tutorials db.
Again, this is just a shortcut to or alternative for using psql from the command line.
Vertex Latitude example from Gwyn via VS Code is attached