Skip to content

It would be great if we could use variable names instead of $1 and support default values in CREATE FUNCTION #17887

@alamb

Description

@alamb

one note, not related to this PR, it would be great if we could use variable names instead of $1 and support default values, last time i've tried it did not work

CREATE FUNCTION our_add(A BIGINT DEFAULT 3, B BIGINT DEFAULT 1)
        RETURNS BIGINT
        RETURN $A - $B

Originally posted by @milenkovicm in #17859 (comment)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions