Video | Tableau | Data engineering | Data prep

How to set up a Postgres database on your Mac

Installing Postgres on a Mac is mostly the same as Windows — bar a few Catalina quirks I'll show you how to dodge.

  • Download the PostgreSQL installer from EnterpriseDB and keep the default install and data directories unless you know what you're doing
  • If a previous install left a Postgres data folder behind, move or delete the leftover folder in the Library before re-running the installer
  • On Catalina, let Stack Builder download the PostGIS plugin but skip its install, then run the unzipped installer manually so it prompts correctly for credentials
  • Postgres doesn't show as a normal app — launch it via PG_ADMIN4 in the Applications/Postgres folder and watch for the elephant icon to confirm the server is running
  • Connect Tableau Prep to localhost with database and username 'postgresql' to write a table, using Replace Data to avoid appending duplicate rows on re-runs

In this video, I’m showing you how to setup a Postgres Database on your Windows 10 machine for testing purposes. See the sections below. For Windows check out this video. https://youtu.be/4J0V3AaiOns0:00 Intro 0:20 Download Postgres installer1:03 Run the installer / DMG 4:47 Add plugins with stackbuilder. 7:54 Run Postgres -------Join my Discord Server. https://discord.gg/shBuxXr it’s a little sparse at the moment but hang in there.