Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New entry] PostgreSQL Identifiers #5338

Merged
merged 9 commits into from
Nov 15, 2024
33 changes: 33 additions & 0 deletions content/postgresql/concepts/identifers/identifers.md
Original file line number Diff line number Diff line change
@@ -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.
Loading