This page walks through how to connect Census with your PostgreSQL database.
This guide shows you how to use Census to connect your PostgreSQL database to your data warehouse and create your first sync.
- Have your database credentials ready.
- Have the proper credentials to access your data source. See our docs for each supported data source for further information:
- Click the Add Service button
- Select PostgreSQL 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 all of your tables will be exposed, but please take a look below for more specifics.
We support syncing data to Tables in PostgreSQL, but they must have a uniqueness constraint on a column.
Primary Keys or Columns with Uniqueness Constraints
Update or Create
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.