Heroku PostgreSQL

Last updated on Sep 19, 2023

Heroku PostgreSQL is Heroku’s reliable and powerful database as a service based on PostgreSQL. With the fully-managed Heroku Postgres, you can focus on getting the most out of your data without the admin overhead.

You can ingest data from your Heroku PostgreSQL database using Hevo Pipelines and replicate it to a Destination of your choice.

Heroku is a platform where you can deploy applications directly on the cloud. These applications can have add-ons such as databases and email services. To ingest your data, Hevo needs to access the application and the database within. A database can be shared by multiple apps. However, one app can only have one database.


Source Considerations

  • If you add a column with a default value to a table in PostgreSQL, entries with it are created in the WAL only for the rows that are added or updated after the column is added. As a result, in the case of log-based Pipelines, Hevo cannot capture the column value for the unchanged rows. To capture those values, you need to:

    • Restart the historical load for the respective object.

    • Run a query in the Destination to add the column and its value to all rows.

Limitations

  • Heroku does not support log-based replications. Hence, all modifications to records, including inserts, updates, and deletes, must be explicitly mentioned to be captured.

  • Hevo supports only Table and Custom SQL Pipeline modes for Heroku PostgreSQL.

  • The data type Array in the Source is automatically mapped to Varchar at the Destination. No other mapping is currently supported.

  • Hevo does not support data replication from foreign tables, temporary tables, and views.


See Also


Revision History

Refer to the following table for the list of key updates made to this page:

Date Release Description of Change
Sep-19-2023 NA Updated section, Limitations to add information about Hevo not supporting data replication from certain tables.
Jun-26-2023 NA Added section, Source Considerations.
Apr-21-2023 NA Updated section, Specify Heroku PostgreSQL Connection Settings to add a note to inform users that all loaded Events are billable for Custom SQL mode-based Pipelines.
Dec-19-2022 2.04 Updated section, Specify Heroku PostgreSQL Connection Settings to add information that you must specify all fields to create a Pipeline.
Dec-07-2022 2.03 Updated section, Specify Heroku PostgreSQL Connection Settings to mention about including skipped objects post-Pipeline creation.
Dec-07-2022 2.03 Updated section, Specify Heroku PostgreSQL Connection Settings to mention about the connectivity checker.
Sep-05-2022 NA Updated sections, Obtain PostgreSQL Database Credentials and Specify Heroku PostgreSQL Connection Settings for more clarity and detail.
Jul-04-2022 NA - Added section, Specify Heroku PostgreSQL Connection Settings and Object Settings.
Jan-24-2022 1.80 Removed from Limitations that Hevo does not support UUID datatype as primary key.
Sep-09-2021 1.71 Updated the section, Limitations to include information about columns with the UUID data type not being supported as a primary key.

Tell us what went wrong