Identifier

Anonymous contributor's avatar
Anonymous contributor
Published Nov 15, 2024
Contribute to Docs

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.

All contributors

Contribute to Docs

Learn PostgreSQL on Codecademy