API reference
PostgreSQL API reference
SQL, indexes, JSON and replication
Last updated
- Identifiers
- 84
- With full guides
- 0
- Types
- 4
Topics covered
- Queries
- Indexes
- JSON
- Transactions
- Performance
- Replication
Function
| Name | What it does |
|---|---|
now | |
coalesce | |
nullif | |
jsonb_build_object | |
jsonb_agg | |
json_agg | |
array_agg | |
string_agg | |
to_tsvector | |
to_tsquery | |
row_number | |
rank | |
dense_rank | |
lag | |
lead | |
generate_series | |
date_trunc | |
extract | |
gen_random_uuid | |
unnest | |
regexp_replace |
Type Alias
| Name | What it does |
|---|---|
jsonb | |
uuid | |
timestamptz | |
text | |
numeric | |
bytea | |
tsvector | |
int4range | |
ENUM |
Command
| Name | What it does |
|---|---|
SELECT | |
INSERT | |
UPDATE | |
DELETE | |
MERGE | |
CREATE TABLE | |
ALTER TABLE | |
DROP TABLE | |
CREATE INDEX | |
CREATE VIEW | |
CREATE MATERIALIZED VIEW | |
REFRESH MATERIALIZED VIEW | |
CREATE FUNCTION | |
CREATE TRIGGER | |
CREATE EXTENSION | |
BEGIN | |
COMMIT | |
ROLLBACK | |
SAVEPOINT | |
VACUUM | |
ANALYZE | |
EXPLAIN | |
EXPLAIN ANALYZE | |
COPY | |
GRANT | |
REVOKE | |
TRUNCATE | |
LISTEN | |
NOTIFY | |
WITH | |
ON CONFLICT | |
RETURNING | |
LATERAL | |
psql | |
pg_dump | |
pg_restore |
Concept
| Name | What it does |
|---|---|
MVCC | |
Write-ahead log | |
B-tree index | |
GIN index | |
GiST index | |
BRIN index | |
Partial index | |
Covering index | |
Table partitioning | |
Streaming replication | |
Logical replication | |
Isolation levels | |
Row-level security | |
Connection pooling | |
Deadlocks | |
Autovacuum | |
pgvector | |
Query planner |
Search across every package and filter by type in your dashboard.
Start learning