esc_sql breaks line return escaping

I need to create a new post based on data from an RSS file.

First, I normalize line breaks sequences based on OS type for post content:
$post_content = str_replace(array ("rn", "n", "r"), PHP_EOL, $post_content);

To prepare resulting text for inserting to the database I use the WordPress function esc_sql:
post_content = str_replace( array( '<![CDATA[', ']]>'), '', esc_sql( trim( $post_content[1] ) ) );

But, it removes char escaping “” for all line break sequences.

So, instead of this text:

Line 1
Line 2

I got this: (line breaking “n” sequencing replaced by “n” letter):

Line 1.nLine2.

I found only this solution: replace PHP_EOL with <br /> tag but I’m not sure it’s the best option:
$post_content = str_replace(array ("rn", "n", "r"), "<br />", $post_content);

Maybe there is some alternative for esc_sql function?