From a1702a7c4d109a839ce6a6a86d1cb5d465f1e00e Mon Sep 17 00:00:00 2001 From: Tamaro Skaljic <49238587+tamaro-skaljic@users.noreply.github.com> Date: Tue, 18 Mar 2025 20:09:24 +0100 Subject: [PATCH] Document sql reserved identifiers #266 --- docs/sql/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/sql/index.md b/docs/sql/index.md index 807af409..e0e7d04e 100644 --- a/docs/sql/index.md +++ b/docs/sql/index.md @@ -469,6 +469,9 @@ Both types of identifiers are case sensitive. Use quoted identifiers to avoid conflict with reserved SQL keywords, or if your table or column contains non-alphanumeric characters. +Because SpacetimeDB uses a postgres compatible parser, identifiers which are +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). + ### Example ```sql