Skip to content

Add an option that generates DDL instruction without the ';' at the end of the instruction #234

@starnowski

Description

@starnowski

Currently, DDL statements are generated with ';' character at the end of the statement for example:

CREATE OR REPLACE FUNCTION set_current_tenant_id(VARCHAR(255)) RETURNS VOID AS $$
BEGIN
PERFORM set_config('posmulten.tenant_id', $1, false);
END
$$ LANGUAGE plpgsql
VOLATILE;

after setting this option the DDL instruction should look like the below example:

CREATE OR REPLACE FUNCTION set_current_tenant_id(VARCHAR(255)) RETURNS VOID AS $$
BEGIN
PERFORM set_config('posmulten.tenant_id', $1, false);
END
$$ LANGUAGE plpgsql
VOLATILE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions