Dataclip Error ERROR: cannot execute INSERT in a read-only transaction
Dataclip Error ERROR: cannot execute INSERT in a read-only transaction
我想在 Heroku 中插入数据,但我做不到,因为它有错误“Dataclip Error
ERROR: cannot execute INSERT in a read-only transaction"
Heroku 的 Dataclips appear to be designed for viewing data,不修改它:
A Dataclip is a secret URL that holds the results of a SQL query on a particular Heroku Postgres database. Given the unique, private URL for a query, a user can call up the most recently stored results of that query. Our system will automatically re-run the Dataclip from time to time in order to keep results fresh. By sharing a Dataclip URL the same way you would share the underlying data, any recipient can view that data within, download it as a CSV, or even embed it live into a tool like Google Sheets.
很可能您无法使用此工具修改数据。
如果您只是想插入一些数据,请使用常规数据库客户端。
我想在 Heroku 中插入数据,但我做不到,因为它有错误“Dataclip Error
ERROR: cannot execute INSERT in a read-only transaction"
Heroku 的 Dataclips appear to be designed for viewing data,不修改它:
A Dataclip is a secret URL that holds the results of a SQL query on a particular Heroku Postgres database. Given the unique, private URL for a query, a user can call up the most recently stored results of that query. Our system will automatically re-run the Dataclip from time to time in order to keep results fresh. By sharing a Dataclip URL the same way you would share the underlying data, any recipient can view that data within, download it as a CSV, or even embed it live into a tool like Google Sheets.
很可能您无法使用此工具修改数据。
如果您只是想插入一些数据,请使用常规数据库客户端。