Yes, it's possible to connect to and call PostgreSQL stored procedures from a Canvas App, but it requires a workaround due to the lack of a direct PostgreSQL connector in Power Apps.
Here's how you can achieve this, along with the limitations on data updates:
1. Connecting to PostgreSQL and Calling Stored Procedures:
Npgsql
in C# or psycopg2
in Python).Invoke
function to call your custom API and pass the necessary parameters.2. Data Update Limits (Delegation and Performance):
Key Considerations:
In summary, while direct PostgreSQL connectivity is not available, you can use a custom API to call stored procedures. To handle large data updates, push the processing to the PostgreSQL server by using stored procedures to perform the updates.