Loading topic
WHERE, and use CHECK and NOT NULL constraints. This chapter focuses on PostgreSQL enum ordering, comparisons, and range queries.3 min readCREATE TABLE, SELECT, and WHERE syntax, and that you already understand PostgreSQL enum types. An enum is a type whose values come from a fixed, ordered list. The functions in this chapter help you inspect that list and use its declared order in queries2 min readCREATE TABLE, INSERT, SELECT, and ALTER TYPE syntax. You should also know that PostgreSQL transactions group several statements into one all-or-nothing operation.3 min readCREATE TABLE, INSERT, and SELECT statements, and that you have already seen how PostgreSQL enum values are declared and compared. This chapter focuses on the physical size of enum values and the length limit on their labels.4 min readCREATE TYPE, ALTER TABLE, and ALTER TYPE. It also assumes that you understand defaults, casts, and transactions.3 min readCREATE TABLE, INSERT, SELECT, CHECK, and NOT NULL syntax. It focuses on how PostgreSQL domains handle missing values.3 min readCREATE TABLE, ALTER TABLE, CHECK, NOT NULL, and domains. You should also understand that a domain is a reusable type with rules that apply wherever the domain is used.3 min readINSERT, SELECT, WHERE, CHECK, NOT NULL, and foreign keys. It also assumes you understand that a foreign key requires a value to exist in another table.4 min read