# Types and domains

> SQL types used by column declarations, binary literals and metadata tables.

---

LLMS index: [llms.txt](/llms.txt)

---

SQL types used by column declarations, binary literals and metadata tables.

## Binary base types {#binary}

| Signature | Purpose | Source definition |
|---|---|---|
| <a id="mysql-binary-n-f599eeaa" href="#mysql-binary-n-f599eeaa">`mysql.binary_n`</a> | Length-qualified fixed-width BINARY storage. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L388-L390) |
| <a id="mysql-hexlit-bf26e3a7" href="#mysql-hexlit-bf26e3a7">`mysql.hexlit`</a> | MySQL hex/bit literal with byte-string and numeric interpretations. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L34-L37) |
| <a id="mysql-varbinary-n-39fe3c50" href="#mysql-varbinary-n-39fe3c50">`mysql.varbinary_n`</a> | Length-qualified variable-width VARBINARY storage. | [Generated definition](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/50-bin.sql#L388-L390) |

## Domains {#domains}

| Signature | Purpose | Source definition |
|---|---|---|
| <a id="mysql-bigint-signed-cbf81cc2" href="#mysql-bigint-signed-cbf81cc2">`mysql."bigint signed"`</a> | Domain over bigint | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L24-L24) |
| <a id="mysql-bigint-unsigned-da5b3b3e" href="#mysql-bigint-unsigned-da5b3b3e">`mysql."bigint unsigned"`</a> | Domain over bigint · CHECK ((0 &lt;= VALUE)) | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L25-L25) |
| <a id="mysql-binary-1d0f6679" href="#mysql-binary-1d0f6679">`mysql."binary"`</a> | Domain over bytea | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L38-L38) |
| <a id="mysql-int-signed-5759440f" href="#mysql-int-signed-5759440f">`mysql."int signed"`</a> | Domain over integer | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L20-L20) |
| <a id="mysql-int-unsigned-792fa04b" href="#mysql-int-unsigned-792fa04b">`mysql."int unsigned"`</a> | Domain over bigint · CHECK (((0 &lt;= VALUE) AND (VALUE &lt;= '4294967295'::bigint))) | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L21-L21) |
| <a id="mysql-mediumint-signed-f2f0fa56" href="#mysql-mediumint-signed-f2f0fa56">`mysql."mediumint signed"`</a> | Domain over integer · CHECK ((('-8388608'::integer &lt;= VALUE) AND (VALUE &lt;= 8388607))) | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L16-L16) |
| <a id="mysql-mediumint-unsigned-a1021b87" href="#mysql-mediumint-unsigned-a1021b87">`mysql."mediumint unsigned"`</a> | Domain over integer · CHECK (((0 &lt;= VALUE) AND (VALUE &lt;= 16777215))) | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L17-L17) |
| <a id="mysql-real-9b88aa72" href="#mysql-real-9b88aa72">`mysql."real"`</a> | Domain over double precision | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L29-L29) |
| <a id="mysql-smallint-signed-eb7514a0" href="#mysql-smallint-signed-eb7514a0">`mysql."smallint signed"`</a> | Domain over smallint | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L13-L13) |
| <a id="mysql-smallint-unsigned-a4369ba7" href="#mysql-smallint-unsigned-a4369ba7">`mysql."smallint unsigned"`</a> | Domain over integer · CHECK (((0 &lt;= VALUE) AND (VALUE &lt;= 65535))) | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L14-L14) |
| <a id="mysql-smallint-92901975" href="#mysql-smallint-92901975">`mysql."smallint"`</a> | Domain over smallint | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L12-L12) |
| <a id="mysql-tinyint-signed-66bd5c30" href="#mysql-tinyint-signed-66bd5c30">`mysql."tinyint signed"`</a> | Domain over smallint · CHECK ((('-128'::integer &lt;= VALUE) AND (VALUE &lt;= 127))) | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L7-L7) |
| <a id="mysql-tinyint-unsigned-d12d2439" href="#mysql-tinyint-unsigned-d12d2439">`mysql."tinyint unsigned"`</a> | Domain over smallint · CHECK (((0 &lt;= VALUE) AND (VALUE &lt;= 255))) | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L8-L8) |
| <a id="mysql-tinyint1-signed-6444edcb" href="#mysql-tinyint1-signed-6444edcb">`mysql."tinyint1 signed"`</a> | Domain over smallint · CHECK ((('-128'::integer &lt;= VALUE) AND (VALUE &lt;= 127))) | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L10-L10) |
| <a id="mysql-tinyint1-unsigned-bc0ed66c" href="#mysql-tinyint1-unsigned-bc0ed66c">`mysql."tinyint1 unsigned"`</a> | Domain over smallint · CHECK (((0 &lt;= VALUE) AND (VALUE &lt;= 255))) | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L11-L11) |
| <a id="mysql-blob-6063d3e7" href="#mysql-blob-6063d3e7">`mysql.blob`</a> | Domain over bytea | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L43-L43) |
| <a id="mysql-datetime-9d9f8bd7" href="#mysql-datetime-9d9f8bd7">`mysql.datetime`</a> | Domain over timestamp without time zone | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L31-L31) |
| <a id="mysql-double-f64e0c37" href="#mysql-double-f64e0c37">`mysql.double`</a> | Domain over double precision | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L30-L30) |
| <a id="mysql-mediumint-ba071251" href="#mysql-mediumint-ba071251">`mysql.mediumint`</a> | Domain over integer · CHECK ((('-8388608'::integer &lt;= VALUE) AND (VALUE &lt;= 8388607))) | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L15-L15) |
| <a id="mysql-tinyint-40c2fc76" href="#mysql-tinyint-40c2fc76">`mysql.tinyint`</a> | Domain over smallint · CHECK ((('-128'::integer &lt;= VALUE) AND (VALUE &lt;= 127))) | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L6-L6) |
| <a id="mysql-tinyint1-68f61605" href="#mysql-tinyint1-68f61605">`mysql.tinyint1`</a> | Domain over smallint · CHECK ((('-128'::integer &lt;= VALUE) AND (VALUE &lt;= 127))) | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L9-L9) |
| <a id="mysql-varbinary-67f4f57c" href="#mysql-varbinary-67f4f57c">`mysql.varbinary`</a> | Domain over bytea | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L39-L39) |
| <a id="mysql-year-1841c192" href="#mysql-year-1841c192">`mysql.year_`</a> | Domain over integer · CHECK (((1901 &lt;= VALUE) AND (VALUE &lt;= 2155))) | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/10-type.sql#L47-L47) |

## Metadata enumerations {#enums}

| Signature | Purpose | Source definition |
|---|---|---|
| <a id="mys-informa-schema-enum-collations-pad-attribute-d0de95c4" href="#mys-informa-schema-enum-collations-pad-attribute-d0de95c4">`mys_informa_schema.enum_collations_pad_attribute`</a> | Used by mys_informa_schema.collations.pad_attribute. Allowed values are 'PAD SPACE', 'NO PAD'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/70-info.sql#L52-L52) |
| <a id="mys-informa-schema-enum-referential-constraints-delete-rule-fc4d1808" href="#mys-informa-schema-enum-referential-constraints-delete-rule-fc4d1808">`mys_informa_schema.enum_referential_constraints_delete_rule`</a> | Allowed values are 'NO ACTION', 'RESTRICT', 'CASCADE', 'SET NULL', 'SET DEFAULT'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/70-info.sql#L505-L505) |
| <a id="mys-informa-schema-enum-referential-constraints-match-option-ab0cf166" href="#mys-informa-schema-enum-referential-constraints-match-option-ab0cf166">`mys_informa_schema.enum_referential_constraints_match_option`</a> | Allowed values are 'NONE', 'PARTIAL', 'FULL'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/70-info.sql#L503-L503) |
| <a id="mys-informa-schema-enum-referential-constraints-update-rule-35a0bb07" href="#mys-informa-schema-enum-referential-constraints-update-rule-35a0bb07">`mys_informa_schema.enum_referential_constraints_update_rule`</a> | Allowed values are 'NO ACTION', 'RESTRICT', 'CASCADE', 'SET NULL', 'SET DEFAULT'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/70-info.sql#L504-L504) |
| <a id="mys-informa-schema-enum-resource-groups-resource-group-type-d943fd94" href="#mys-informa-schema-enum-resource-groups-resource-group-type-d943fd94">`mys_informa_schema.enum_resource_groups_resource_group_type`</a> | Used by mys_informa_schema.resource_groups.resource_group_type. Allowed values are 'SYSTEM', 'USER'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/70-info.sql#L507-L507) |
| <a id="mysql-enum-mysql-user-2ed93724" href="#mysql-enum-mysql-user-2ed93724">`mysql.enum_mysql_user`</a> | Used by mysql."user".account_locked. Allowed values are 'N', 'Y'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/70-info.sql#L682-L682) |
| <a id="mysql-enum-mysql-user-ssl-type-a1c62cc8" href="#mysql-enum-mysql-user-ssl-type-a1c62cc8">`mysql.enum_mysql_user_ssl_type`</a> | Used by mysql."user".ssl_type. Allowed values are '', 'ANY', 'X509', 'SPECIFIED'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/70-info.sql#L683-L683) |
| <a id="mysql-enum-proc-7601c9ad" href="#mysql-enum-proc-7601c9ad">`mysql.enum_proc`</a> | Allowed values are 'FUNCTION', 'PROCEDURE'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/70-info.sql#L6-L6) |
| <a id="mysql-enum-security-6c0133e5" href="#mysql-enum-security-6c0133e5">`mysql.enum_security`</a> | Allowed values are 'INVOKER', 'DEFINER'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/70-info.sql#L7-L7) |
| <a id="performance-schema-enum-bin-log-trans-comp-stats-log-type-a5ae4a04" href="#performance-schema-enum-bin-log-trans-comp-stats-log-type-a5ae4a04">`performance_schema.enum_bin_log_trans_comp_stats_log_type`</a> | Used by performance_schema.binary_log_transaction_compression_stats.log_type. Allowed values are 'BINARY', 'RELAY'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L14-L14) |
| <a id="performance-schema-enum-error-log-prio-775ebe9c" href="#performance-schema-enum-error-log-prio-775ebe9c">`performance_schema.enum_error_log_prio`</a> | Used by performance_schema.error_log.prio. Allowed values are 'System', 'Error', 'Warning', 'Note'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L83-L83) |
| <a id="performance-schema-enum-evs-st-cur-nes-event-type-1445a554" href="#performance-schema-enum-evs-st-cur-nes-event-type-1445a554">`performance_schema.enum_evs_st_cur_nes_event_type`</a> | Used by performance_schema.events_stages_current.nesting_event_type. Allowed values are 'TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L160-L160) |
| <a id="performance-schema-enum-evs-st-his-long-nes-event-type-a9102691" href="#performance-schema-enum-evs-st-his-long-nes-event-type-a9102691">`performance_schema.enum_evs_st_his_long_nes_event_type`</a> | Used by performance_schema.events_stages_history_long.nesting_event_type. Allowed values are 'TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L198-L198) |
| <a id="performance-schema-enum-evs-st-his-nes-event-type-e3299753" href="#performance-schema-enum-evs-st-his-nes-event-type-e3299753">`performance_schema.enum_evs_st_his_nes_event_type`</a> | Used by performance_schema.events_stages_history.nesting_event_type. Allowed values are 'TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L179-L179) |
| <a id="performance-schema-enum-evs-stms-sumy-by-prg-obj-type-8af7e6fd" href="#performance-schema-enum-evs-stms-sumy-by-prg-obj-type-8af7e6fd">`performance_schema.enum_evs_stms_sumy_by_prg_obj_type`</a> | Used by performance_schema.events_statements_summary_by_program.object_type. Allowed values are 'EVENT', 'FUNCTION', 'PROCEDURE', 'TABLE', 'TRIGGER'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L557-L557) |
| <a id="performance-schema-enum-evs-stmts-cur-exe-engine-ae1426be" href="#performance-schema-enum-evs-stmts-cur-exe-engine-ae1426be">`performance_schema.enum_evs_stmts_cur_exe_engine`</a> | Used by performance_schema.events_statements_current.execution_engine. Allowed values are 'PRIMARY', 'SECONDARY'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L272-L272) |
| <a id="performance-schema-enum-evs-stmts-cur-nes-event-type-1d15324d" href="#performance-schema-enum-evs-stmts-cur-nes-event-type-1d15324d">`performance_schema.enum_evs_stmts_cur_nes_event_type`</a> | Used by performance_schema.events_statements_current.nesting_event_type. Allowed values are 'TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L271-L271) |
| <a id="performance-schema-enum-evs-stmts-his-exe-engine-eacd50f4" href="#performance-schema-enum-evs-stmts-his-exe-engine-eacd50f4">`performance_schema.enum_evs_stmts_his_exe_engine`</a> | Used by performance_schema.events_statements_history.execution_engine. Allowed values are 'PRIMARY', 'SECONDARY'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L347-L347) |
| <a id="performance-schema-enum-evs-stmts-his-long-exe-engine-c50063d3" href="#performance-schema-enum-evs-stmts-his-long-exe-engine-c50063d3">`performance_schema.enum_evs_stmts_his_long_exe_engine`</a> | Used by performance_schema.events_statements_history_long.execution_engine. Allowed values are 'PRIMARY', 'SECONDARY'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L400-L400) |
| <a id="performance-schema-enum-evs-stmts-his-long-nes-event-type-a5b53208" href="#performance-schema-enum-evs-stmts-his-long-nes-event-type-a5b53208">`performance_schema.enum_evs_stmts_his_long_nes_event_type`</a> | Used by performance_schema.events_statements_history_long.nesting_event_type. Allowed values are 'TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L399-L399) |
| <a id="performance-schema-enum-evs-stmts-his-nes-event-type-2459748c" href="#performance-schema-enum-evs-stmts-his-nes-event-type-2459748c">`performance_schema.enum_evs_stmts_his_nes_event_type`</a> | Used by performance_schema.events_statements_history.nesting_event_type. Allowed values are 'TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L346-L346) |
| <a id="performance-schema-enum-evs-trans-cur-access-mode-a5732317" href="#performance-schema-enum-evs-trans-cur-access-mode-a5732317">`performance_schema.enum_evs_trans_cur_access_mode`</a> | Used by performance_schema.events_transactions_current.access_mode. Allowed values are 'READ ONLY', 'READ WRITE'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L694-L694) |
| <a id="performance-schema-enum-evs-trans-cur-autocommit-bd9a798f" href="#performance-schema-enum-evs-trans-cur-autocommit-bd9a798f">`performance_schema.enum_evs_trans_cur_autocommit`</a> | Used by performance_schema.events_transactions_current.autocommit. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L695-L695) |
| <a id="performance-schema-enum-evs-trans-cur-nes-event-type-0631a360" href="#performance-schema-enum-evs-trans-cur-nes-event-type-0631a360">`performance_schema.enum_evs_trans_cur_nes_event_type`</a> | Used by performance_schema.events_transactions_current.nesting_event_type. Allowed values are 'TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L696-L696) |
| <a id="performance-schema-enum-evs-trans-cur-state-659083da" href="#performance-schema-enum-evs-trans-cur-state-659083da">`performance_schema.enum_evs_trans_cur_state`</a> | Used by performance_schema.events_transactions_current.state. Allowed values are 'ACTIVE', 'COMMITTED', 'ROLLED BACK'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L693-L693) |
| <a id="performance-schema-enum-evs-trans-his-access-mode-0cc35e3e" href="#performance-schema-enum-evs-trans-his-access-mode-0cc35e3e">`performance_schema.enum_evs_trans_his_access_mode`</a> | Used by performance_schema.events_transactions_history.access_mode. Allowed values are 'READ ONLY', 'READ WRITE'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L731-L731) |
| <a id="performance-schema-enum-evs-trans-his-autocommit-d31ef2b5" href="#performance-schema-enum-evs-trans-his-autocommit-d31ef2b5">`performance_schema.enum_evs_trans_his_autocommit`</a> | Used by performance_schema.events_transactions_history.autocommit. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L732-L732) |
| <a id="performance-schema-enum-evs-trans-his-long-access-mode-41569600" href="#performance-schema-enum-evs-trans-his-long-access-mode-41569600">`performance_schema.enum_evs_trans_his_long_access_mode`</a> | Used by performance_schema.events_transactions_history_long.access_mode. Allowed values are 'READ ONLY', 'READ WRITE'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L768-L768) |
| <a id="performance-schema-enum-evs-trans-his-long-autocommit-54335e07" href="#performance-schema-enum-evs-trans-his-long-autocommit-54335e07">`performance_schema.enum_evs_trans_his_long_autocommit`</a> | Used by performance_schema.events_transactions_history_long.autocommit. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L769-L769) |
| <a id="performance-schema-enum-evs-trans-his-long-nes-event-type-baa09e26" href="#performance-schema-enum-evs-trans-his-long-nes-event-type-baa09e26">`performance_schema.enum_evs_trans_his_long_nes_event_type`</a> | Used by performance_schema.events_transactions_history_long.nesting_event_type. Allowed values are 'TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L770-L770) |
| <a id="performance-schema-enum-evs-trans-his-long-state-51a8a349" href="#performance-schema-enum-evs-trans-his-long-state-51a8a349">`performance_schema.enum_evs_trans_his_long_state`</a> | Used by performance_schema.events_transactions_history_long.state. Allowed values are 'ACTIVE', 'COMMITTED', 'ROLLED BACK'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L767-L767) |
| <a id="performance-schema-enum-evs-trans-his-nesting-event-type-e53957b2" href="#performance-schema-enum-evs-trans-his-nesting-event-type-e53957b2">`performance_schema.enum_evs_trans_his_nesting_event_type`</a> | Used by performance_schema.events_transactions_history.nesting_event_type. Allowed values are 'TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L733-L733) |
| <a id="performance-schema-enum-evs-trans-his-state-f2219676" href="#performance-schema-enum-evs-trans-his-state-f2219676">`performance_schema.enum_evs_trans_his_state`</a> | Used by performance_schema.events_transactions_history.state. Allowed values are 'ACTIVE', 'COMMITTED', 'ROLLED BACK'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L730-L730) |
| <a id="performance-schema-enum-evs-waits-cur-nesting-event-type-6f8f292c" href="#performance-schema-enum-evs-waits-cur-nesting-event-type-6f8f292c">`performance_schema.enum_evs_waits_cur_nesting_event_type`</a> | Used by performance_schema.events_waits_current.nesting_event_type. Allowed values are 'TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L908-L908) |
| <a id="performance-schema-enum-evs-waits-his-long-nesting-event-type-aa064163" href="#performance-schema-enum-evs-waits-his-long-nesting-event-type-aa064163">`performance_schema.enum_evs_waits_his_long_nesting_event_type`</a> | Used by performance_schema.events_waits_history_long.nesting_event_type. Allowed values are 'TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L960-L960) |
| <a id="performance-schema-enum-evs-waits-his-nesting-event-type-5148dd22" href="#performance-schema-enum-evs-waits-his-nesting-event-type-5148dd22">`performance_schema.enum_evs_waits_his_nesting_event_type`</a> | Used by performance_schema.events_waits_history.nesting_event_type. Allowed values are 'TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L934-L934) |
| <a id="performance-schema-enum-host-cache-host-validated-c0174071" href="#performance-schema-enum-host-cache-host-validated-c0174071">`performance_schema.enum_host_cache_host_validated`</a> | Used by performance_schema.host_cache.host_validated. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1130-L1130) |
| <a id="performance-schema-enum-perf-timers-timer-name-f0ca04a6" href="#performance-schema-enum-perf-timers-timer-name-f0ca04a6">`performance_schema.enum_perf_timers_timer_name`</a> | Used by performance_schema.performance_timers.timer_name. Allowed values are 'CYCLE', 'NANOSECOND', 'MICROSECOND', 'MILLISECOND', 'THREAD_CPU'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1320-L1320) |
| <a id="performance-schema-enum-pl-exe-engine-530d582f" href="#performance-schema-enum-pl-exe-engine-530d582f">`performance_schema.enum_pl_exe_engine`</a> | Used by performance_schema.processlist.execution_engine. Allowed values are 'PRIMARY', 'SECONDARY'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1387-L1387) |
| <a id="performance-schema-enum-pre-stmts-ins-exec-eng-56a24e28" href="#performance-schema-enum-pre-stmts-ins-exec-eng-56a24e28">`performance_schema.enum_pre_stmts_ins_exec_eng`</a> | Used by performance_schema.prepared_statements_instances.execution_engine. Allowed values are 'PRIMARY', 'SECONDARY'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1337-L1337) |
| <a id="performance-schema-enum-pre-stmts-ins-owner-obj-type-925ddbf8" href="#performance-schema-enum-pre-stmts-ins-owner-obj-type-925ddbf8">`performance_schema.enum_pre_stmts_ins_owner_obj_type`</a> | Used by performance_schema.prepared_statements_instances.owner_object_type. Allowed values are 'EVENT', 'FUNCTION', 'PROCEDURE', 'TABLE', 'TRIGGER'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1336-L1336) |
| <a id="performance-schema-enum-r-a-cn-as-gt-tott-a6ec1919" href="#performance-schema-enum-r-a-cn-as-gt-tott-a6ec1919">`performance_schema.enum_r_a_cn_as_gt_tott`</a> | Used by performance_schema.replication_applier_configuration.assign_gtids_to_anonymous_transactions_type. Allowed values are 'OFF', 'LOCAL', 'UUID'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1405-L1405) |
| <a id="performance-schema-enum-r-a-cn-re-ro-ft-f7f86e16" href="#performance-schema-enum-r-a-cn-re-ro-ft-f7f86e16">`performance_schema.enum_r_a_cn_re_ro_ft`</a> | Used by performance_schema.replication_applier_configuration.require_row_format. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1403-L1403) |
| <a id="performance-schema-enum-r-a-cn-re-ta-pkc-96abd84d" href="#performance-schema-enum-r-a-cn-re-ta-pkc-96abd84d">`performance_schema.enum_r_a_cn_re_ta_pkc`</a> | Used by performance_schema.replication_applier_configuration.require_table_primary_key_check. Allowed values are 'STREAM', 'ON', 'OFF'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1404-L1404) |
| <a id="performance-schema-enum-r-a-f-cnf-by-7077bcb9" href="#performance-schema-enum-r-a-f-cnf-by-7077bcb9">`performance_schema.enum_r_a_f_cnf_by`</a> | Used by performance_schema.replication_applier_filters.configured_by. Allowed values are 'STARTUP_OPTIONS', 'CHANGE_REPLICATION_FILTER', 'STARTUP_OPTIONS_FOR_CHANNEL', 'CHANGE_REPLICATION_FILTER_FOR_CHANNEL'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1421-L1421) |
| <a id="performance-schema-enum-repl-al-st-by-wk-ser-state-b7981c6a" href="#performance-schema-enum-repl-al-st-by-wk-ser-state-b7981c6a">`performance_schema.enum_repl_al_st_by_wk_ser_state`</a> | Used by performance_schema.replication_applier_status_by_worker.service_state. Allowed values are 'ON', 'OFF'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1477-L1477) |
| <a id="performance-schema-enum-repl-app-gl-fil-cnf-by-405e6199" href="#performance-schema-enum-repl-app-gl-fil-cnf-by-405e6199">`performance_schema.enum_repl_app_gl_fil_cnf_by`</a> | Used by performance_schema.replication_applier_global_filters.configured_by. Allowed values are 'STARTUP_OPTIONS', 'CHANGE_REPLICATION_FILTER'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1433-L1433) |
| <a id="performance-schema-enum-repl-app-st-by-co-ser-st-739ab3a5" href="#performance-schema-enum-repl-app-st-by-co-ser-st-739ab3a5">`performance_schema.enum_repl_app_st_by_co_ser_st`</a> | Used by performance_schema.replication_applier_status_by_coordinator.service_state. Allowed values are 'ON', 'OFF'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1454-L1454) |
| <a id="performance-schema-enum-repl-app-st-ser-state-d089a272" href="#performance-schema-enum-repl-app-st-ser-state-d089a272">`performance_schema.enum_repl_app_st_ser_state`</a> | Used by performance_schema.replication_applier_status.service_state. Allowed values are 'ON', 'OFF'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1443-L1443) |
| <a id="performance-schema-enum-repl-con-conf-auto-position-faa6e5fc" href="#performance-schema-enum-repl-con-conf-auto-position-faa6e5fc">`performance_schema.enum_repl_con_conf_auto_position`</a> | Used by performance_schema.replication_connection_configuration.auto_position. Allowed values are '1', '0'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1526-L1526) |
| <a id="performance-schema-enum-repl-con-conf-get-public-key-ecfbb736" href="#performance-schema-enum-repl-con-conf-get-public-key-ecfbb736">`performance_schema.enum_repl_con_conf_get_public_key`</a> | Used by performance_schema.replication_connection_configuration.get_public_key. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1529-L1529) |
| <a id="performance-schema-enum-repl-con-conf-gtid-only-80d546bb" href="#performance-schema-enum-repl-con-conf-gtid-only-80d546bb">`performance_schema.enum_repl_con_conf_gtid_only`</a> | Used by performance_schema.replication_connection_configuration.gtid_only. Allowed values are '1', '0'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1531-L1531) |
| <a id="performance-schema-enum-repl-con-conf-sou-con-auto-fo-87bd1a81" href="#performance-schema-enum-repl-con-conf-sou-con-auto-fo-87bd1a81">`performance_schema.enum_repl_con_conf_sou_con_auto_fo`</a> | Used by performance_schema.replication_connection_configuration.source_connection_auto_failover. Allowed values are '1', '0'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1530-L1530) |
| <a id="performance-schema-enum-repl-con-conf-ssl-allowed-740d0892" href="#performance-schema-enum-repl-con-conf-ssl-allowed-740d0892">`performance_schema.enum_repl_con_conf_ssl_allowed`</a> | Used by performance_schema.replication_connection_configuration.ssl_allowed. Allowed values are 'YES', 'NO', 'IGNORED'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1527-L1527) |
| <a id="performance-schema-enum-repl-con-conf-ssl-verify-svr-cert-840a46a1" href="#performance-schema-enum-repl-con-conf-ssl-verify-svr-cert-840a46a1">`performance_schema.enum_repl_con_conf_ssl_verify_svr_cert`</a> | Used by performance_schema.replication_connection_configuration.ssl_verify_server_certificate. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1528-L1528) |
| <a id="performance-schema-enum-repl-con-status-service-state-b7ba1e44" href="#performance-schema-enum-repl-con-status-service-state-b7ba1e44">`performance_schema.enum_repl_con_status_service_state`</a> | Used by performance_schema.replication_connection_status.service_state. Allowed values are 'ON', 'OFF', 'CONNECTING'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1570-L1570) |
| <a id="performance-schema-enum-setup-actors-enabled-67512f44" href="#performance-schema-enum-setup-actors-enabled-67512f44">`performance_schema.enum_setup_actors_enabled`</a> | Used by performance_schema.setup_actors.enabled. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1663-L1663) |
| <a id="performance-schema-enum-setup-actors-history-8333251c" href="#performance-schema-enum-setup-actors-history-8333251c">`performance_schema.enum_setup_actors_history`</a> | Used by performance_schema.setup_actors.history. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1664-L1664) |
| <a id="performance-schema-enum-setup-consumers-enabled-996466f7" href="#performance-schema-enum-setup-consumers-enabled-996466f7">`performance_schema.enum_setup_consumers_enabled`</a> | Used by performance_schema.setup_consumers.enabled. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1677-L1677) |
| <a id="performance-schema-enum-setup-instruments-enabled-361ae16a" href="#performance-schema-enum-setup-instruments-enabled-361ae16a">`performance_schema.enum_setup_instruments_enabled`</a> | Used by performance_schema.setup_instruments.enabled. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1686-L1686) |
| <a id="performance-schema-enum-setup-instruments-timed-eff130e4" href="#performance-schema-enum-setup-instruments-timed-eff130e4">`performance_schema.enum_setup_instruments_timed`</a> | Used by performance_schema.setup_instruments.timed. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1687-L1687) |
| <a id="performance-schema-enum-setup-objects-enabled-5e752332" href="#performance-schema-enum-setup-objects-enabled-5e752332">`performance_schema.enum_setup_objects_enabled`</a> | Used by performance_schema.setup_objects.enabled. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1703-L1703) |
| <a id="performance-schema-enum-setup-objects-object-type-8cf69d40" href="#performance-schema-enum-setup-objects-object-type-8cf69d40">`performance_schema.enum_setup_objects_object_type`</a> | Used by performance_schema.setup_objects.object_type. Allowed values are 'EVENT', 'FUNCTION', 'PROCEDURE', 'TABLE', 'TRIGGER'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1702-L1702) |
| <a id="performance-schema-enum-setup-objects-timed-d15fbb19" href="#performance-schema-enum-setup-objects-timed-d15fbb19">`performance_schema.enum_setup_objects_timed`</a> | Used by performance_schema.setup_objects.timed. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1704-L1704) |
| <a id="performance-schema-enum-setup-threads-enabled-29a85932" href="#performance-schema-enum-setup-threads-enabled-29a85932">`performance_schema.enum_setup_threads_enabled`</a> | Used by performance_schema.setup_threads.enabled. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1718-L1718) |
| <a id="performance-schema-enum-setup-threads-history-f6034850" href="#performance-schema-enum-setup-threads-history-f6034850">`performance_schema.enum_setup_threads_history`</a> | Used by performance_schema.setup_threads.history. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1719-L1719) |
| <a id="performance-schema-enum-socket-instances-state-5f218c81" href="#performance-schema-enum-socket-instances-state-5f218c81">`performance_schema.enum_socket_instances_state`</a> | Used by performance_schema.socket_instances.state. Allowed values are 'IDLE', 'ACTIVE'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1734-L1734) |
| <a id="performance-schema-enum-threads-execution-engine-5d805012" href="#performance-schema-enum-threads-execution-engine-5d805012">`performance_schema.enum_threads_execution_engine`</a> | Used by performance_schema.threads.execution_engine. Allowed values are 'PRIMARY', 'SECONDARY'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L2009-L2009) |
| <a id="performance-schema-enum-threads-history-ad522fa8" href="#performance-schema-enum-threads-history-ad522fa8">`performance_schema.enum_threads_history`</a> | Used by performance_schema.threads.history. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L2008-L2008) |
| <a id="performance-schema-enum-threads-instrumented-f2e2b5ae" href="#performance-schema-enum-threads-instrumented-f2e2b5ae">`performance_schema.enum_threads_instrumented`</a> | Used by performance_schema.threads.instrumented. Allowed values are 'YES', 'NO'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L2007-L2007) |
| <a id="performance-schema-enum-variables-info-variable-source-40048893" href="#performance-schema-enum-variables-info-variable-source-40048893">`performance_schema.enum_variables_info_variable_source`</a> | Used by performance_schema.variables_info.variable_source. Allowed values are 'COMPILED', 'GLOBAL', 'SERVER', 'EXPLICIT', 'EXTRA', 'USER', 'LOGIN', 'COMMAND_LINE', 'PERSISTED', 'DYNAMIC'. | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L2072-L2072) |

---

Backlinks:

- [pg_mysql object index](/docs/mysql/reference/objects/)
