DDL and write helpers
Internal routines invoked by column expressions, sequences and row triggers.
Internal routines invoked by column expressions, sequences and row triggers.
auto_increment_advance
| Signature | Purpose | Source definition |
|---|---|---|
mysql.auto_increment_advance() → trigger | Advance the sequence after an explicit AUTO_INCREMENT value. | SQL · C |
column_default
| Signature | Purpose | Source definition |
|---|---|---|
mysql.column_default(oid, integer) → text | Read a column’s default expression. | SQL · C |
generated_column
| Signature | Purpose | Source definition |
|---|---|---|
mysql.generated_column(text, anyelement) → anyelement | Carry a generated-column value through a rewritten expression. | SQL |
generated_numeric
| Signature | Purpose | Source definition |
|---|---|---|
mysql.generated_numeric(numeric, integer) → numeric | Apply the declared type modifier to a generated value. | SQL · C |
generated_value
| Signature | Purpose | Source definition |
|---|---|---|
mysql.generated_value(anyelement) → anyelement | Carry a generated-column value through a rewritten expression. | SQL |
generated_varchar
| Signature | Purpose | Source definition |
|---|---|---|
mysql.generated_varchar(text, integer, boolean) → text | Apply the declared type modifier to a generated value. | SQL · C |
lenient_float8
| Signature | Purpose | Source definition |
|---|---|---|
mysql.lenient_float8(text) → double precision | Coerce a value for a non-strict INSERT or UPDATE. | SQL · C |
lenient_int
| Signature | Purpose | Source definition |
|---|---|---|
mysql.lenient_int(text, bigint, bigint) → bigint | Coerce a value for a non-strict INSERT or UPDATE. | SQL · C |
lenient_numeric
| Signature | Purpose | Source definition |
|---|---|---|
mysql.lenient_numeric(text, integer) → numeric | Coerce a value for a non-strict INSERT or UPDATE. | SQL · C |
lenient_varchar
| Signature | Purpose | Source definition |
|---|---|---|
mysql.lenient_varchar(text, integer) → text | Coerce a value for a non-strict INSERT or UPDATE. | SQL · C |
on_update_current_timestamp
| Signature | Purpose | Source definition |
|---|---|---|
mysql.on_update_current_timestamp() → trigger | Update timestamp columns from a row trigger. | SQL · C |
part_list_columns
| Signature | Purpose | Source definition |
|---|---|---|
mysql.part_list_columns(VARIADIC "any") → text | Build a list-partition column key. | SQL · C |
pending_fk_definitions
| Signature | Purpose | Source definition |
|---|---|---|
mysql.pending_fk_definitions(oid) → SETOF text | Format deferred foreign key definitions for a child relation. | SQL |
pending_fk_guard
| Signature | Purpose | Source definition |
|---|---|---|
mysql.pending_fk_guard() → trigger | Run the trigger for a pending foreign key. | SQL · C |
setval
| Signature | Purpose | Source definition |
|---|---|---|
mysql.setval(regclass, bigint, boolean) → bigint | Set a sequence value and its called flag. | SQL · C |