Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
ERROR: syntax error at or near "WHERE"
Position: 44Exception in component tPostgresqlOutput_2
org.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157)
at - -
ERROR: syntax error at or near "WHERE"
Position: 44ERROR: syntax error at or near "WHERE"
Position: 44ERROR: syntax error at or near "WHERE"
Position: 44ERROR: syntax error at or near "WHERE"
The situation is pretty much the same as here:
Hi,
I wonder how it is possible that all the columns are keys and you want an update??? or want an insert where there is nothing to insert because all are keys... can you show sample data?
- You can think of using tPostgresRow component to insert or update records based on query if it works in the browser...
vaibhav
I just found out the most stupid thing in Talend.
I am inserting/updating table with two columns (id, name). since id is serial on db site I am only inserting into name filed that is also key for update and insert. Now the job wont work so I had to add another column to the database where I insert some string (e.g. "whatever") and now IT WORKS!!!
How stupid can that be??
VErsions of Talend after 5.0 have too many bugs and defects. It is getting worse. sorry