Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions serverless/sql-databases/reference-content/known-differences.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ If you require strict compatibility with all PostgreSQL features, you can use [M
NOTIFY channel, 'message';
```

- Creating temporary tables or views is not supported.
- It is not possible to create temporary tables or views.

```sql
CREATE TEMPORARY TABLE table as {query};
Expand All @@ -50,7 +50,7 @@ If you require strict compatibility with all PostgreSQL features, you can use [M
You can still refresh materialized views without the `CONCURRENTLY` option.
</Message>

- Declaring a cursor in transactions with `WITH HOLD` is not supported.
- You can declare a cursor in transactions with `WITH HOLD`, but accurate cursor handling is not guaranteed, particularly when using multiple connections.

```sql
BEGIN;
Expand All @@ -64,7 +64,7 @@ If you require strict compatibility with all PostgreSQL features, you can use [M
CREATE SUBSCRIPTION subscription CONNECTION 'connection' PUBLICATION publication;
```

- Preparing transactions is not supported.
- It is not possible to prepare transactions.

```sql
PREPARE TRANSACTION 'transactionid';
Expand Down Expand Up @@ -117,6 +117,14 @@ If you require strict compatibility with all PostgreSQL features, you can use [M
SET TIME ZONE 'Europe/Paris';
RESET timezone;
```
If you require these features to work consistently for a given SQL query, we suggest you set them in transactions:
```sql
BEGIN;
SET TIME ZONE 'Europe/Paris';
SHOW timezone;
COMMIT;
```
In this example, `SHOW timezone` will always display `Europe/Paris` without any impact from any other connection despite connection pooling.

- Security labels cannot be defined or changed.

Expand Down