Skip to content

Support for MariaDB's RETURNING clause #3157

@Jille

Description

@Jille

What do you want to change?

MariaDB 10.5.0 has added INSERT INTO .. RETURNING like PostgreSQL supports.

https://mariadb.com/kb/en/insertreturning/

DELETE .. RETURNING is also supported, but UPDATE .. RETURNING not yet.

github.com/pingcap/tidb/pkg/parser doesn't seem to support it.

What database engines need to be changed?

MySQL

What programming language backends need to be changed?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions