postgresql/contrib/file_fdw
Andrew Dunstan 9f8377f7a2 Add a DEFAULT option to COPY FROM
This allows for a string which if an input field matches causes the
column's default value to be inserted. The advantage of this is that
the default can be inserted in some rows and not others, for which
non-default data is available.

The file_fdw extension is also modified to take allow use of this
option.

Israel Barth Rubio

Discussion: https://postgr.es/m/CAO_rXXAcqesk6DsvioOZ5zmeEmpUN5ktZf-9=9yu+DTr0Xr8Uw@mail.gmail.com
2023-03-13 10:01:56 -04:00
..
data Add a DEFAULT option to COPY FROM 2023-03-13 10:01:56 -04:00
expected Add a DEFAULT option to COPY FROM 2023-03-13 10:01:56 -04:00
sql Add a DEFAULT option to COPY FROM 2023-03-13 10:01:56 -04:00
.gitignore Support "make check" in contrib 2011-04-25 22:27:11 +03:00
Makefile Remove dynamic translation of regression test scripts, step 2. 2021-12-20 14:15:52 -05:00
file_fdw--1.0.sql Throw a useful error message if an extension script file is fed to psql. 2011-10-12 15:45:03 -04:00
file_fdw.c Add a DEFAULT option to COPY FROM 2023-03-13 10:01:56 -04:00
file_fdw.control Add contrib/file_fdw foreign-data wrapper for reading files via COPY. 2011-02-20 14:06:59 -05:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00