Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
Chapter 5. Data Definition
Prev UpPart II. The SQL LanguageHome Next

Chapter 5. Data Definition

Table of Contents

5.1. Table Basics
5.2. Default Values
5.3. Identity Columns
5.4. Generated Columns
5.5. Constraints
5.5.1. Check Constraints
5.5.2. Not-Null Constraints
5.5.3. Unique Constraints
5.5.4. Primary Keys
5.5.5. Foreign Keys
5.5.6. Exclusion Constraints
5.6. System Columns
5.7. Modifying Tables
5.7.1. Adding a Column
5.7.2. Removing a Column
5.7.3. Adding a Constraint
5.7.4. Removing a Constraint
5.7.5. Changing a Column's Default Value
5.7.6. Changing a Column's Data Type
5.7.7. Renaming a Column
5.7.8. Renaming a Table
5.8. Privileges
5.9. Row Security Policies
5.10. Schemas
5.10.1. Creating a Schema
5.10.2. The Public Schema
5.10.3. The Schema Search Path
5.10.4. Schemas and Privileges
5.10.5. The System Catalog Schema
5.10.6. Usage Patterns
5.10.7. Portability
5.11. Inheritance
5.12. Table Partitioning
5.12.1. Overview
5.12.2. Declarative Partitioning
5.12.3. Partitioning Using Inheritance
5.12.4. Partition Pruning
5.12.5. Partitioning and Constraint Exclusion
5.12.6. Best Practices for Declarative Partitioning
5.13. Foreign Data
5.14. Other Database Objects
5.15. Dependency Tracking

This chapter covers how one creates the database structures that will hold one's data. In a relational database, the raw data is stored in tables, so the majority of this chapter is devoted to explaining how tables are created and modified and what features are available to control what data is stored in the tables. Subsequently, we discuss how tables can be organized into schemas, and how privileges can be assigned to tables. Finally, we will briefly look at other features that affect the data storage, such as inheritance, table partitioning, views, functions, and triggers.


Prev Up Next
4.3. Calling Functions Home 5.1. Table Basics
pdfepub
Go to PostgreSQL 17
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp