diff --git a/runsql.sh b/runsql.sh new file mode 100755 index 0000000..4bc0c8b --- /dev/null +++ b/runsql.sh @@ -0,0 +1 @@ +$PGD -f sql/col_list.sql -t -A -o coldump diff --git a/sql/col_list.sql b/sql/col_list.sql new file mode 100644 index 0000000..3e2cd0b --- /dev/null +++ b/sql/col_list.sql @@ -0,0 +1,6 @@ +SELECT + string_agg(format('%I',cname),E'\n,' ORDER BY opos ASC) cols +FROM + fc.target_meta +WHERE + func NOT IN ('version','iter');