postgresql - Programming error while saving json data to django model using amazon redshift -


got following error while inserting data django model. storing json data after converting data string in amazon redshift postgresql

db.utils.programmingerror: syntax error @ or near "returning". 

i getting error because id primary key , autofield (created default django if don't specify primary key) , amazon redshift doesn't support it. still working on it. update answer once solved.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -