Skip to content

Commit 5d4cce6

Browse files
Document sql reserved identifiers #266 (#302)
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
1 parent 7528afe commit 5d4cce6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/docs/sql/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,9 @@ Both types of identifiers are case sensitive.
469469
Use quoted identifiers to avoid conflict with reserved SQL keywords,
470470
or if your table or column contains non-alphanumeric characters.
471471

472+
Because SpacetimeDB uses a postgres compatible parser, identifiers which are
473+
reserved in postgres are automatically reserved in Spacetime SQL. See [SQL Key Words in the PostgreSQL documentation](https://www.postgresql.org/docs/current/sql-keywords-appendix.html).
474+
472475
### Example
473476

474477
```sql

0 commit comments

Comments
 (0)