PG::ReadOnlySqlTransaction: ERRORE: impossibile eseguire SELECT in una transizione di sola lettura

Volevo chiudere alcuni vecchi argomenti eseguendo una query in Data Explorer e impostando il campo closed su true tramite una query. Sembra che non possa modificare i dati, nemmeno con i privilegi di amministratore. Esiste un modo per farlo senza dover chiudere manualmente gli argomenti uno per uno?

Viene sempre restituito un errore: PG::ReadOnlySqlTransaction: ERRORE: impossibile eseguire SELECT in una transizione di sola lettura

That’s why it’s called data explorer and not the data modifier :slight_smile:

5 Mi Piace

HI @RGJ,

Thanks for you response :slight_smile:

Is there any way I can accomplish this ?

I haven’t used it yet but if for running direct SQL queries I believe this is what you’re looking for! —

You can do it from the rails console. There are some howto topics for doing mass changes to various settings.

2 Mi Piace