Skip to content

Commit 2291608

Browse files
Document sql reserved identifiers #266 (#302)
Co-authored-by: Zeke Foppa <[email protected]>
1 parent 32ed998 commit 2291608

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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)