Posts tagged "postgres"
-
Generating land-constrained geographical point grids with PostGIS
Demonstrates how to generate geographical point grids constrained to land areas using PostGIS, applied to visualising EV range on maps.
-
The case against ORMs
Argues against using ORMs based on accumulated experience, focusing on ORMs that attempt to reimplement SQL rather than lightweight database helper libraries.
-
Four levels of time handling in a database
Breaks down database time handling into four complexity levels, from basic date storage to advanced temporal data management, based on experience working with PostgreSQL time features.
-
Debugging complex PostgreSQL queries with pgdebug
Explores debugging techniques for complex PostgreSQL queries, introducing pgdebug as a debugging tool.
-
Writing readable SQL
Shares techniques for writing readable SQL queries, particularly useful for complex 100+ line queries written without ORMs.
-
Visualising PostGIS data from the shell
Explores methods for quickly visualising PostGIS query results from the command line, addressing the lack of convenient tools for ad hoc spatial data exploration.
-
Installing PostGIS with Homebrew
Step-by-step instructions for installing PostGIS using Homebrew on macOS, since official documentation didn't cover this method.