mysqldude
Error codes › 1503

MySQL & MariaDB error 1503 ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF

MySQLA … must include all columns in the table's partitioning function (prefixed columns are not considered).
MariaDBA … must include all columns in the table's partitioning function
MySQLMariaDB
SymbolER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PFER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 5.1.77 activeevery release since 5.5 active
How the message changed between versions
MySQL fromSymbolMessage
5.1.77ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PFA %-.192s must include all columns in the table's partitioning function
8.0.26ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PFA %-.192s must include all columns in the table's partitioning function (prefixed columns are not considered).