2 Commits

Author SHA1 Message Date
Sven Klemm
70fd8df015 Add missing license information
Add license information to files missing it and fix the license
check script to honor the return code of both the apache license
check and the TSL license check. Previously errors occurring during
apache license check would not be reflected in the return code of
the script, so only the TSL license check was effective.
2019-07-13 17:18:57 +02:00
Joshua Lockerman
3ef6732b09 Add WITH-clause parser
For a number of DDL statements we want to pass in our own arguments as part of
the WITH statement. This commit adds a parser for such statements, and tests to
ensure that this parser behaves correctly.

Currently, all our WITH options will be namespaced under "timescaledb". In other
words, if we wish to add an option to CREATE INDEX called "foo", it will be used

    CREATE INDEX ... WITH (timescaledb.foo='bar')

This should ensure that all our options are consistent with each other, and that
it is obvious which options are ours, and which are not.
2019-02-22 14:54:36 -05:00