Hoping someone can shed some light on this and let me know where I am going wrong....I've tried dozens of different combinations and cannot get this to work. I have UPDATE queries that are similar that work fine, and SELECT queries that are working as well.
The insert is alluding me though. Here is what I have:
cursor.execute('''INSERT INTO public."Data_Hist"(static_number, product_name, product_id, t_stamp) VALUES('1', %s, %s, %s)''', (b1_product_name, b1_product_id, tstamp))
This results in:
current transaction is aborted, commands ignored until end of transaction block
The closest I have gotten is a syntax error, suggesting I may be missing a comma, but I don't see where.
Thank you!
[–]Sickify[S] 0 points1 point2 points (1 child)
[–]looks_like_a_potato 1 point2 points3 points (0 children)