Posts tagged "postgres"

  1. 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.

  2. 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.

  3. 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.

  4. Debugging complex PostgreSQL queries with pgdebug

    Explores debugging techniques for complex PostgreSQL queries, introducing pgdebug as a debugging tool.

  5. Writing readable SQL

    Shares techniques for writing readable SQL queries, particularly useful for complex 100+ line queries written without ORMs.

  6. 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.

  7. Installing PostGIS with Homebrew

    Step-by-step instructions for installing PostGIS using Homebrew on macOS, since official documentation didn't cover this method.