/
n-dimens
/
pgloader
Обзор
Документация
Войти
/
n-dimens
/
pgloader
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/csv-newline.load
14 строк
431 B
Dimitri Fontaine
Implement new CSV option "lines terminated by", fixes #23.
04 фев 2014, 23:58
04 фев 2014, 23:58
dbfd8cf
Код
Авторство
О чём код?
LOAD CSV FROM INLINE INTO postgresql:///pgloader?lines (f1, f2, f3) WITH truncate, fields optionally enclosed by '"', fields escaped by double-quote, fields terminated by '¦', lines terminated by '¶' BEFORE LOAD DO $$ drop table if exists lines; $$, $$ create table if not exists lines (id serial, f1 text, f2 text, f3 text); $$; plop¦bar¦foo¶plip¦second line¦bar¶