diff --git a/content/postgresql/concepts/identifers/identifers.md b/content/postgresql/concepts/identifers/identifers.md new file mode 100644 index 00000000000..415724d7c5f --- /dev/null +++ b/content/postgresql/concepts/identifers/identifers.md @@ -0,0 +1,33 @@ +--- +Title: 'Identifier' +Description: 'Refers to the name given to database objects such as tables, columns, indexes, etc.' +Subjects: + - 'Data Science' + - 'Computer Science' +Tags: + - 'PostgreSQL' + - 'Collations' +CatalogContent: + - 'learn-sql' + - 'paths/analyze-data-with-sql' +--- + +In PostgreSQL, **Identifiers** refer to the names given to database objects such as tables, columns, indexes, views, sequences, and other database components. + +## Identifier Types + +`Identifier Types` refers to names given to objects in a database like tables, columns, indexes, and other database components. These names help **PostgreSQL** to interact with the database. Different types of identifiers are used: + +- **Table Identifiers**: Used to uniquely identify tables in a database. +- **Column Identifiers**: Specify individual columns within a table. +- **Index Identifiers**: Represent indexes created for faster query performance. +- **View Identifiers**: Name views, which are virtual tables based on queries. +- **Constraint Identifiers**: Refer to rules like primary keys or unique constraints. +- **Schema Identifiers**: Distinguish schemas that group related database objects. +- **Sequence Identifiers**: Denote sequences used for auto-incrementing values. +- **Function Identifiers**: Name functions or stored procedures. +- **Trigger Identifiers**: Refer to triggers that execute actions automatically. +- **Role Identifiers**: Specify roles for managing user permissions. +- **Foreign Key Identifiers**: Represent foreign key constraints linking tables. +- **Aggregate Type Identifiers**: Identify aggregate data types for grouped queries. +- **Tablespace Identifiers**: Name tablespaces where database objects are stored.