PGSQL查询获取包含换行符的列的所有记录

PGSQL query to get all records of a column containing line breaks

获取给定列中包含换行符的所有记录的最短 Pgsql 查询是什么?

你可以试试这样的

select * from table_name where column_name ~ '\n';