Postgres
This page walks through how to connect Census with your PostgreSQL database.

๐Ÿƒโ€โ™€๏ธ Getting Started

This guide shows you how to use Census to connect your PostgreSQL database to your data warehouse and create your first sync.

Prerequisites

Step 1: Connect Postgres

  • Once you're in Census, navigate to Connectionsโ€‹
  • Click the Add Service button
  • Select Postgres in the list
You'll be prompted to put the following credentials into the Census page.
As listed, we need the Hostname, Port, Database, Username, and Password
After clicking connect, Census will test the connection that was specified.
A Green
โœ…
, means you are good to go
After the connection is verified, you all tables will be exposed, but please take a look below on some of the specifics.
โฌ‡
โ€‹

๐Ÿ—„๏ธ Supported Objects

We support syncing data to Tables in Postgres, but they must have a uniqueness constraint on a column. โ€‹
Object Name
Supported
Identifiers
Table
โœ…
Primary Keys or Columns with Uniqueness Constraints

๐Ÿ”„ Supported Sync Behaviors

Learn more about all of our sync behaviors on our Core Concepts page.
Behaviors
Supported?
Objects?
Update
โœ…
All
Update or Create
โœ…
All
โ€‹Contact us if you want Census to support more Sync behaviors for Postgres.

โ—๏ธCommon troubleshooting issues

You may be trying to sync to a table that does not have a uniqueness constraint. If possible, you need to add one to be able to sync to it. The syntax to do so is here.

๐Ÿš‘ Need help connecting to Postgres?

โ€‹Contact us via [email protected] or start a conversation with us via the in-app chat.