# Reference

> Commands, data types, SQL API, transactions, Pub/Sub, Streams, configuration and limits.

---

LLMS index: [llms.txt](/llms.txt)

---

This section documents the `pgredis` wire commands, PostgreSQL SQL functions, transaction and notification contracts, gateway flags, extension GUCs, and resource budgets.

## Reference pages {#pages}

{.cards}
- ### [Commands](/docs/redis/reference/commands/)
  All 392 Redis 7.2.4 command and subcommand entries from `spec/commands.json`, grouped by family with implementation state.
- ### [Data types](/docs/redis/reference/data-types/)
  Strings, Hashes, Lists, Sets, Sorted Sets, Streams, Bitmaps, HyperLogLog, GEO, and object inspection commands.
- ### [SQL API](/docs/redis/reference/sql/)
  `redis.command`, `redis.command_bin`, multi-transaction blocking and Pub/Sub session functions, and SQLSTATE error codes.
- ### [Transactions and retries](/docs/redis/reference/transactions/)
  `MULTI`/`EXEC`, `WATCH`, SQL transaction participation, and handling `UNKNOWN` outcomes after lost responses.
- ### [Pub/Sub and keyspace events](/docs/redis/reference/pubsub/)
  Channel, pattern, and sharded subscriptions, `notify-keyspace-events`, and backpressure limits.
- ### [Streams and consumer groups](/docs/redis/reference/streams/)
  Stream IDs, `XADD`/`XRANGE`/`XTRIM`, consumer groups, pending entries (`XPENDING`, `XCLAIM`, `XAUTOCLAIM`), and blocking reads.
- ### [Configuration](/docs/redis/reference/configuration/)
  `pgredis` gateway CLI flags, connection pools, `pg_redis` extension GUCs, and supported `CONFIG GET/SET` parameters.
- ### [Limits](/docs/redis/reference/limits/)
  Request, reply, shared buffer, and backend workspace budgets, mutation-counter compaction, and tested 512 MiB capacity.

---

Section pages:

- [Commands](/docs/redis/reference/commands/): The Redis 7.2.4 command inventory with implementation state per family.
- [Data types](/docs/redis/reference/data-types/): Strings, hashes, lists, sets, sorted sets, streams, bitmaps, HyperLogLog and geo.
- [SQL API](/docs/redis/reference/sql/): redis.command, redis.command_bin, sessions for blocking and Pub/Sub, errors and savepoints.
- [Transactions and retries](/docs/redis/reference/transactions/): MULTI, EXEC, WATCH, commit outcomes and when a client may retry.
- [Pub/Sub and keyspace events](/docs/redis/reference/pubsub/): Channels, patterns, sharded Pub/Sub and keyspace notifications.
- [Streams and consumer groups](/docs/redis/reference/streams/): XADD, XREAD, consumer groups, pending entries and acknowledgements.
- [Configuration](/docs/redis/reference/configuration/): Gateway flags and pg_redis settings with defaults.
- [Limits](/docs/redis/reference/limits/): Size, memory, connection and output limits of the gateway and extension.
