summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPeter Eisentraut2019-04-01 08:46:37 +0000
committerPeter Eisentraut2019-04-01 08:46:37 +0000
commit7241911782a7420e38b6e50b57d304ea48bc5362 (patch)
tree687e642d5b3256ab24d35cb4d16f86002c6f1df9 /src/include
parent4ae7f02b0364ccba49a82efbfff46125fb357d6c (diff)
Catch syntax error in generated column definition
The syntax GENERATED BY DEFAULT AS (expr) is not allowed but we have to accept it in the grammar to avoid shift/reduce conflicts because of the similar syntax for identity columns. The existing code just ignored this, incorrectly. Add an explicit error check and a bespoke error message. Reported-by: Justin Pryzby <pryzby@telsasoft.com>
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions