pgloader/test/fields-with-periods.load
Mark Lee dc04b40836 Accept periods in CSV field names
Periods are allowed in PG column names as well.
2015-05-15 07:22:07 -07:00

26 lines
437 B
Fish

LOAD FIXED
FROM inline
(
"CHARS.LETTERS" from 0 for 3,
"CHARS.NUMBERS" from 3 for 3
)
INTO postgresql:///pgloader?fixed
(
"CHARS.LETTERS",
"CHARS.NUMBERS"
)
WITH truncate
BEFORE LOAD DO
$$ drop table if exists fixed; $$,
$$ create table fixed (
"CHARS.LETTERS" char(3),
"CHARS.NUMBERS" char(3)
);
$$;
abc123
def456
ghi789