tuhelj
[zc] / fdw_file.sql
1 CREATE EXTENSION file_fdw;
2
3 CREATE SERVER sub FOREIGN DATA WRAPPER file_fdw;
4
5 CREATE FOREIGN TABLE sub (
6         sub text,
7         pn bigint,
8         imei text,
9         name text
10 )
11 SERVER sub
12 OPTIONS ( filename '/home/dpavlin/zc/subvision-numbers.txt', format 'csv', delimiter ' ' );