projects
/
zc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13ec3ca
)
off fdw to offsets.txt
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 27 Dec 2022 11:34:45 +0000
(12:34 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 27 Dec 2022 11:34:45 +0000
(12:34 +0100)
fdw_file_offset.sql
[new file with mode: 0644]
patch
|
blob
diff --git a/fdw_file_offset.sql
b/fdw_file_offset.sql
new file mode 100644
(file)
index 0000000..
c9bfca9
--- /dev/null
+++ b/
fdw_file_offset.sql
@@ -0,0
+1,11
@@
+-- CREATE EXTENSION file_fdw;
+
+-- CREATE SERVER sub FOREIGN DATA WRAPPER file_fdw;
+
+CREATE FOREIGN TABLE off (
+ pn bigint,
+ x float,
+ y float
+)
+SERVER sub
+OPTIONS ( filename '/home/dpavlin/zc/gnuplot/offset.txt', format 'csv', delimiter ' ' );