Binary and string storage helpers
Internal routines for type I/O, binary expression evaluation and string results.
Internal routines for type I/O, binary expression evaluation and string results.
A
B
| Signature | Purpose | Source definition |
|---|---|---|
mysql.binary_n_in(cstring, oid, integer) → mysql.binary_n | Read the text format of a binary value. | Generated definition · C |
mysql.binary_n_out(mysql.binary_n) → cstring | Write the text format of a binary value. | Generated definition |
mysql.binary_n_recv(internal, oid, integer) → mysql.binary_n | Receive the PostgreSQL binary representation. | Generated definition · C |
mysql.binary_n_send(mysql.binary_n) → bytea | Send the PostgreSQL binary representation. | Generated definition |
mysql.binary_n_typmodin(cstring[]) → integer | Parse the declared length modifier. | Generated definition · C |
mysql.binary_n_typmodout(integer) → cstring | Format the length modifier. | Generated definition · C |
mysql.binary_truth("any") → boolean | Evaluate the truth value of a binary or string operand. | SQL · C |
C
| Signature | Purpose | Source definition |
|---|---|---|
mysql.cast_char("any", integer) → text | Convert an expression to the requested character representation. | SQL · C |
mysql.concat_one("any") → text | Combine string operands for CONCAT or CONCAT_WS while preserving binary results. | SQL · C |
mysql.concat_one(bytea) → bytea | Combine string operands for CONCAT or CONCAT_WS while preserving binary results. | Generated definition · C |
mysql.concat_one(character) → text | Combine string operands for CONCAT or CONCAT_WS while preserving binary results. | SQL · C |
mysql.concat_one(mysql.binary_n) → bytea | Combine string operands for CONCAT or CONCAT_WS while preserving binary results. | Generated definition · C |
mysql.concat_one(mysql.hexlit) → bytea | Combine string operands for CONCAT or CONCAT_WS while preserving binary results. | Generated definition · C |
mysql.concat_one(mysql.varbinary_n) → bytea | Combine string operands for CONCAT or CONCAT_WS while preserving binary results. | Generated definition · C |
mysql.concat_one(text) → text | Combine string operands for CONCAT or CONCAT_WS while preserving binary results. | Generated definition · C |
mysql.concat_pair(bytea, bytea) → bytea | Combine string operands for CONCAT or CONCAT_WS while preserving binary results. | Generated definition |
mysql.concat_pair(bytea, text) → bytea | Combine string operands for CONCAT or CONCAT_WS while preserving binary results. | Generated definition |
mysql.concat_pair(text, bytea) → bytea | Combine string operands for CONCAT or CONCAT_WS while preserving binary results. | Generated definition |
mysql.concat_pair(text, text) → text | Combine string operands for CONCAT or CONCAT_WS while preserving binary results. | Generated definition |
mysql.concat_ws_bytes(VARIADIC "any") → bytea | Combine string operands for CONCAT or CONCAT_WS while preserving binary results. | SQL · C |
mysql.convert_using("any", text) → text | Convert an expression to the requested character representation. | SQL · C |
E
| Signature | Purpose | Source definition |
|---|---|---|
mysql.elt_index("any") → integer | Convert the selector for ELT into a position. | SQL · C |
H
| Signature | Purpose | Source definition |
|---|---|---|
mysql.hexlit_cmp_support(internal) → internal | Provide planner support for comparisons with a hex literal. | SQL · C |
mysql.hexlit_in(cstring) → mysql.hexlit | Read the text format of a binary value. | SQL |
mysql.hexlit_out(mysql.hexlit) → cstring | Write the text format of a binary value. | SQL |
mysql.hexlit_recv(internal) → mysql.hexlit | Receive the PostgreSQL binary representation. | SQL |
mysql.hexlit_send(mysql.hexlit) → bytea | Send the PostgreSQL binary representation. | SQL |
M
| Signature | Purpose | Source definition |
|---|---|---|
mysql.mys_uint64_bitnot(numeric) → numeric | Evaluate a MySQL unsigned 64-bit bitwise expression. | SQL · C |
mysql.mys_uint64_bitop(numeric, numeric, "char") → bigint | Evaluate a MySQL unsigned 64-bit bitwise expression. | SQL · C |
R
| Signature | Purpose | Source definition |
|---|---|---|
mysql.raw_bytes("any") → bytea | Extract the underlying bytes of the value. | SQL · C |
S
| Signature | Purpose | Source definition |
|---|---|---|
mysql.string_result(anyelement, "any") → anyelement | Produce the string result of a rewritten expression. | SQL · C |
V
| Signature | Purpose | Source definition |
|---|---|---|
mysql.varbinary_n_in(cstring, oid, integer) → mysql.varbinary_n | Read the text format of a binary value. | Generated definition · C |
mysql.varbinary_n_out(mysql.varbinary_n) → cstring | Write the text format of a binary value. | Generated definition |
mysql.varbinary_n_recv(internal, oid, integer) → mysql.varbinary_n | Receive the PostgreSQL binary representation. | Generated definition · C |
mysql.varbinary_n_send(mysql.varbinary_n) → bytea | Send the PostgreSQL binary representation. | Generated definition |
mysql.varbinary_n_typmodin(cstring[]) → integer | Parse the declared length modifier. | Generated definition · C |
mysql.varbinary_n_typmodout(integer) → cstring | Format the length modifier. | Generated definition · C |