Christopher Tyler

Find Error in pg_dump

RustProof Labs posted this handy tip.

Ran into an error on line 2,494,680 of a large pg_dump file? No problem, sed can quickly show the troublesome lines. 🤓

1
$ sed -n '2494670,2494690p' < big_600MB_dump_file.sql

<< Previous Post

|

Next Post >>

#Pg_dump #Postgresql #Sed