[destination-postgres] airbyte_safe_cast
function already exists
#39364
Labels
area/connectors
Connector related issues
community
connectors/destination/postgres
team/destinations
Destinations team's backlog
type/bug
Something isn't working
Connector Name
destination-postgres
Connector Version
2.0.10
What step the error happened?
During the sync
Relevant information
We believe we found a bug with PostgreSQL as a destination. We can consistently reproduce and think we have a fix.
https://github.com/airbytehq/airbyte/blob/3b3392317f166fecb8723531054c0c745865142b[…]byte/integrations/destination/postgres/PostgresDestination.java
Is not working as the comment states, for some reason, the connection is now kept consistent, and since that code runs multiple times in the same session, it always tries to create the existing function and fails
The could should check if the function exists before trying to create it
Relevant log output
Contribute
The text was updated successfully, but these errors were encountered: