INSERT INTO . ("id", "name") VALUES ('1', ''); INSERT INTO . ("id", "name") VALUES ('2', 'hello');
/home/postgres/pgsql/bin/pg_dump -Upostgres -d postgres -t test --inserts -f test.sql
可以看到使用pg_dump进行导出,对于空串也是会带有’'的