Skip to content
masterclass Buddy

PostgreSQL · Type Alias

uuid

PostgreSQL's uuid type stores 128-bit universally unique identifiers. It accepts standard and alternate text forms, and PostgreSQL can generate UUIDv4 and UUIDv7 values.

Last updated

Syntax

uuid

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • UUIDv4
  • UUIDv7
  • RFC 9562
  • sequence generators
  • uuid-ossp

Source: PostgreSQL: Documentation: 18: 8.12. UUID Type. Checked 2026-11-03.