To understand which standard SQL features we support, refer to the following tables:
Data types
| Data type |
Supported |
Documentation |
ARRAY |
✓ |
Array documentation |
BINARY |
✓ |
Binary documentation |
BIT,BYTES |
✓ |
|
BOOLEAN |
✓ |
Boolean documentation |
CHAR, VARCHAR, TEXT |
✓ |
Character data types documentation |
COLLATE |
✓ |
Collate documentation |
DATE, TIME, TIMESTAMP, INTERVAL |
✓ |
Date and time data types documentation |
DEC, DECIMAL, NUMERIC |
✓ |
Fixed point numbers documentation |
ENUM |
✓ |
ENUM documentation |
FLOAT, REAL, DOUBLE PRECISION |
✓ |
Floating point numbers documentation |
JSON, JSONB |
✓ |
JSON data types documentation |
MONEY |
✓ |
Money data type documentation |
SERIAL, SMALLSERIAL, BIGSERIAL |
✓ |
Serial documentation |
SET |
✗ |
|
SMALLINT, INT, INTEGER, BIGINT |
✓ |
Integers documentation |
INT4RANGE, INT8RANGE, NUMRANGE, TSRANGE, TSTZRANGE, DATERANGE |
✓ |
Range data types documentation |
UUID |
✓ |
UUID documentation |
XML |
✗ |
|
TSVECTOR |
✓ |
|
| UDT(Base, Enumerated, Range, Composite, Array, Domain types) |
✓ |
|
Schema operations
Constraints
Indexes
Transactions
Roles and Permissions
| Component |
Supported |
Details |
| Users |
✓ |
|
| Roles |
✓ |
|
| Object ownership |
✓ |
|
| Privileges |
✓ |
|
| Default privileges |
✗ |
|
Queries
| Component |
Supported |
Details |
| FROM, WHERE, GROUP BY, HAVING, DISTINCT, LIMIT/OFFSET, WITH queries |
✓ |
|
| EXPLAIN query plans |
✓ |
|
| JOINs (INNER/OUTER, LEFT/RIGHT) |
✓ |
|
| Expressions and Operators |
✓ |
|
| Common Table Expressions (CTE) and Recursive Queries |
✓ |
|
| Upserts (INSERT ... ON CONFLICT DO NOTHING/UPDATE) |
✓ |
|
Advanced SQL
| Component |
Supported |
Details |
| Stored procedures |
✓ |
|
| User-defined functions |
✓ |
|
| Cursors |
✓ |
|
| Row-level triggers (BEFORE, AFTER, INSTEAD OF) |
✓ |
|
| Statement-level triggers (BEFORE, AFTER, INSTEAD OF) |
✓ |
|
| Deferrable triggers |
✗ |
|
| Transition tables (REFERENCING clause for triggers) |
✗ |
|
| Sequences |
✓ |
|
| Identity columns |
✓ |
|
| Views |
✓ |
|
| Materialized views |
✓ |
|
| Window functions |
✓ |
|
| Common table expressions |
✓ |
|
| Extensions |
✓ |
|
| Foreign data wrappers |
✓ |
|