DEV Community

Discussion on: How can I stop a PostgreSQL query automatically when the table is locked?

Collapse
 
barbaraips profile image
Bárbara Perdigão • Edited

Thanks for replying. I'm actually fairly new to postgres, so I'm struggling a with some concepts. I actually solved the problem by setting a timeout for the Linux command, not for the query, this way I'll not interfere with the locked table.