Miercoles 02 Diciembre 2026 23:21:58 GMT+01:00

Netcrook

InicioManifiesto
Noticias
Techcrook
Geocrook
WikicrookEquipoAppContacto
EnglishItaliano

WIKICROOK

Composite type

A PostgreSQL data structure built from named fields, each with its own data type.

A composite type in PostgreSQL is a structured value made up of named fields, each with its own data type. It works much like a record: for example, a type might contain a text field for a name and an integer field for an age. Composite types can be used in table definitions, function arguments, and query results.

Because PostgreSQL allows type definitions to change, stored values must continue to match the type description used to interpret them. If a database mishandles a changed or mismatched composite type, it may interpret data incorrectly, undermining type-safety checks. In security-sensitive cases, that kind of flaw can contribute to privilege escalation or code execution. Updates that add mismatch validation help protect this boundary; administrators should apply relevant patches and avoid disabling those checks.

← índice WIKICROOK