dolthub / dolthub/doltgresql

generated default value column gets backticked when stored causing unable to insert to the table

Open
#810 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.1k
Forks
73
Avg merge
1d 10h
Merged PRs (30d)
129

Description

Repro:
```
CREATE TABLE test_like_gen_1 (a int, b int GENERATED ALWAYS AS (a * 2) STORED);
INSERT INTO test_like_gen_1 (a) VALUES (1);
```
Err:
```Invalid default value for '(`a` * 2)': at or near "`":```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.