---
title: "CSV to PostgreSQL Action"
description: "By default, this action appends data to an existing table, with an explicit option to entirely overwrite its contents"
url: https://docs.ovhcloud.com/es/guides/public-cloud/data-platform/dpe-actions-csv-to-postgresql
lang: es
lastUpdated: 2026-09-14
---
> For AI agents: the complete documentation index is available at https://docs.ovhcloud.com/es/llms.txt, the full documentation bundle is available at https://docs.ovhcloud.com/es/llms-full.txt.

# CSV to PostgreSQL Action

## Objective

The _CSV to PostgreSQL_ action allows you to **ingest data from a CSV file (sourced from any compatible connection in your Connectors) into a table within a PostgreSQL database.** By default, this action appends data to an existing table, with an explicit option to entirely overwrite its contents.

## Configure a CSV to PostgreSQL action

To create a new _CSV to PostgreSQL_ action, follow these steps within the Data Processing Engine (DPE):

1. Navigate to the **Action tab** within the Data Processing Engine (DPE) interface.
2. Click on the **"New Action"** button.
3. From the list of available actions, select **"CSV to PostgreSQL"**.

![Configure a CSV to PostgreSQL action — Csv to postgresql](/images/public-cloud/data-platform/product/dpe/actions/csv-to-postgresql/picts/csv-to-postgresql-1.png)
### Choose a CSV File for Transfer

First, you need to select the specific CSV file you wish to transfer. This list will comprise CSV files accessible from **all compatible sources** configured in your Connectors.

1. You will be presented with a unified list of available CSV files. These files are drawn from all [Connectors sources](https://docs.ovhcloud.com/es/guides/public-cloud/data-platform/landing-page-connectors-sources.md) that contain CSV data.
2. Browse or search through this list to locate the CSV file you want to transfer.

![Choose a CSV File for Transfer — Csv to postgresql](/images/public-cloud/data-platform/product/dpe/actions/csv-to-postgresql/picts/csv-to-postgresql-2.png)
3. Select the desired CSV file.
4. **Choose Delimiter (Optional):** You can specify the delimiter used in your CSV file. By default, the system will attempt to **auto-detect** the delimiter. Alternatively, you can explicitly select one of the following common delimiters: `,` (comma), `;` (semicolon), or `|` (pipe).

![Choose a CSV File for Transfer — Csv to postgresql (2)](/images/public-cloud/data-platform/product/dpe/actions/csv-to-postgresql/picts/csv-to-postgresql-3.png)
### Select Destination PostgreSQL Table and Options

Next, you will define the target PostgreSQL table and how the data should be loaded. You will see a consolidated list of all tables from all connected PostgreSQL sources.

![Select Destination PostgreSQL Table and Options — Csv to postgresql](/images/public-cloud/data-platform/product/dpe/actions/csv-to-postgresql/picts/csv-to-postgresql-4.png)
1. **Select Destination Table:** You will see a comprehensive list of all PostgreSQL tables available across all your connected PostgreSQL [Connectors sources](https://docs.ovhcloud.com/es/guides/public-cloud/data-platform/landing-page-connectors-sources.md).
   - For easier identification, the **name of the PostgreSQL source** will be mentioned below each table name.
   - **Limitation:** Currently, this action supports pushing data only into **existing tables** in your PostgreSQL database.
   - **To load into a new table:** You must first create an empty table in your PostgreSQL database (using your preferred PostgreSQL client or tools) and then select it from this list.
2. **Loading Option:** By default, the action will **append** the new data from your CSV file to the selected PostgreSQL table.
   - You will also have an explicit option to **Overwrite** the table. If selected, this will completely delete all existing data from the chosen PostgreSQL table before inserting the new data from your CSV file. Use this with extreme caution, as it will erase all previous data in that table.
3. **Run the Action:** Once your CSV file, destination PostgreSQL table, and loading option are configured, click the "Run" button to initiate the transfer.

![Select Destination PostgreSQL Table and Options — Csv to postgresql (2)](/images/public-cloud/data-platform/product/dpe/actions/csv-to-postgresql/picts/csv-to-postgresql-5.png)
## Verify Your Transfer

After the _CSV to PostgreSQL_ action completes successfully, you can verify the transfer by connecting to the respective PostgreSQL database (e.g., using a SQL client) and querying the destination table to confirm the presence and correctness of the loaded CSV data.

## Go further

If you need training or technical assistance to implement our solutions, contact your sales representative or click on [this link](https://www.ovhcloud.com/es-es/professional-services/) to get a quote and ask our Professional Services experts for a custom analysis of your project.

Ask questions, give your feedback and interact directly with the team building the Data Platform on the dedicated [Discord channel](https://discord.gg/ovhcloud).

If you need support with your OVHcloud services, create a request in our [Help Centre](https://help.ovhcloud.com/csm?id=csm_get_help).

Join our [community of users](https://community.ovhcloud.com/).
