Johbo's Notes - Working on the Web
  • About Me
  • Archives

Loading a text dump into PostgreSQL

Fri 02 June 2017 by Johannes Bornhold in tools Tags postgresql / database

Just got a plain SQL dump of a database and in this case pg_restore does not work. This post shows how to use psql to load such a dump into a database in the context of a local development environment.

more ...

On demand PostgreSQL for your development environment

Sat 14 January 2017 by Johannes Bornhold in tools Tags postgresql / nix

A quick way how to run PostgreSQL in your development environment without any upfront setup work.

more ...

Creating a partial unique index with SQLAlchemy in PostgreSQL

Fri 04 November 2016 by Johannes Bornhold in develop Tags sqlalchemy / postgresql / snippet

A partial unique index allows to constrain only a subset of the records in a table. This post shows an example how to implement a partial unique constraint with SQLAlchemy.

more ...

Comparing tables in PostgreSQL

Thu 29 September 2016 by Johannes Bornhold in develop Tags postgresql / sql / snippet

Two approaches to quickly compare two similar tables and get an idea of how many records differ based on an example with geo data.

more ...

Heroku Connect - Trigger sync of failed records

Wed 21 September 2016 by Johannes Bornhold in develop Tags salesforce / heroku-connect / postgresql / sync

Working with Heroku Connect means that at some point some records will end up in a failed state. This post shows a few options how to trigger the sync manually again.

more ...

Roughly counting rows in PostgreSQL

Wed 07 September 2016 by Johannes Bornhold in develop Tags postgresql / sql

Small SQL snippet to quickly get an overview of the row count in a PostgreSQL database.

more ...

Loading a PostgreSQL database dump for development environment

Mon 25 July 2016 by Johannes Bornhold in tools Tags postgresql / database

Showing how to use pg_restore to load a dump into a developer's database server for local development.

more ...

  • Social

    • mastodon
    • matrix
    • github
  • Categories

    • cloud
    • develop
    • event
    • hello
    • macos
    • nixos
    • tools

© 2017 Johannes Bornhold

Back to top