Skip to content

Commit 45029f5

Browse files
Serverless SQL Database - Update connection-errors.mdx (#3761)
* Update connection-errors.mdx Add documentation on several unsupported features from Serverless SQL Database leading to errors when performed. * Apply suggestions from code review --------- Co-authored-by: SamyOubouaziz <[email protected]>
1 parent aa7f456 commit 45029f5

File tree

1 file changed

+56
-1
lines changed

1 file changed

+56
-1
lines changed

serverless/sql-databases/troubleshooting/connection-errors.mdx

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,61 @@ The [IAM principal](/identity-and-access-management/iam/concepts/#principal) (us
5252
- `ServerlessSQLDatabaseReadWrite`
5353
- `ServerlessSQLDatabaseFullAccess`
5454

55+
## ERROR: permission denied to create temporary tables/subscription in database
56+
57+
### Problem
58+
59+
The error messages below appear when trying to create `TEMPORARY TABLES` or `SUBSCRIPTION` in a Serverless SQL Database:
60+
61+
```
62+
ERROR: permission denied to create temporary tables in database
63+
ERROR: permission denied to create subscription
64+
```
65+
66+
### Cause
67+
68+
Serverless SQL Databases do not support `TEMPORARY TABLES` or `SUBSCRIPTION` yet. Refer to the [known differences](/serverless/sql-databases/reference-content/known-differences/#unsupported-sql-features) page for more information.
69+
70+
### Solution
71+
72+
If you (or a third party tool you are using, especially ETL tools such as Airbyte, Fivetran or Meltano) require `TEMPORARY TABLES`, we suggest you use a [Managed Database for PostgreSQL](https://www.scaleway.com/en/database/). `SUBSCRIPTION` is not supported by Managed Databases for PostgreSQL yet, but you can [import data with ETL tools](/managed-databases/postgresql-and-mysql/api-cli/import-data-to-managed-postgresql-databases/#import-data-from-a-file-csv-txt-etc).
73+
74+
## ERROR: prepared transactions are disabled
75+
76+
### Problem
77+
78+
The error message below appears when trying to use `PREPARE TRANSACTION` in a Serverless SQL Database:
79+
80+
```
81+
ERROR: prepared transactions are disabled
82+
```
83+
84+
### Cause
85+
86+
Serverless SQL Databases do not support `PREPARE TRANSACTION`. Refer to the [dedicated documentation](/serverless/sql-databases/reference-content/known-differences/#unsupported-sql-features) for more information.
87+
88+
### Solution
89+
90+
If you require this feature, we suggest you use a [Managed Database for PostgreSQL](/managed-databases/postgresql-and-mysql/).
91+
92+
## ERROR: cannot refresh materialized view concurrently
93+
94+
### Problem
95+
96+
The error message below appears when trying to connect to the Serverless SQL Database:
97+
98+
```
99+
ERROR: cannot refresh materialized view "example-view" concurrently
100+
```
101+
102+
### Cause
103+
104+
Serverless SQL Databases do not support `REFRESH MATERIALIZED VIEW CONCURRENTLY`. However, the `REFRESH MATERIALIZED VIEW` command is supported, only the `CONCURRENTLY` keyword is not supported. Refer to the [dedicated documentation](/serverless/sql-databases/reference-content/known-differences/#unsupported-sql-features) for more information.
105+
106+
### Solution
107+
108+
If you require this feature, we suggest you use a [Managed Database for PostgreSQL](/managed-databases/postgresql-and-mysql/).
109+
55110
## Database hostname was not sent to server
56111

57112
### Problem
@@ -105,4 +160,4 @@ This error happens when the SQL client you are using does not support the TLS Se
105160
| N/A | IntelliJ (SQL Module) | Yes | |
106161
| N/A | navicat | No | |
107162
| N/A | Stitch | No | |
108-
| N/A | Terraform | No | Terraform includes an older lib/pq version (v1.10.3) which does not support SNI. |
163+
| N/A | Terraform | No | Terraform includes an older lib/pq version (v1.10.3) which does not support SNI. |

0 commit comments

Comments
 (0)