Skip to content

No support for function overloading #3660

Open
@prog8

Description

@prog8

Version

1.27.0

What happened?

I have Postgresql schema where I define overloaded function to handle many column types.

CREATE FUNCTION foo(text)
CREATE FUNCTION foo(text[])

Unfortunately during schema parsing sqlc returns an errors saying that function foo already exists which is not true. The function is in fact defined by full signature, not just the name.

Relevant log output

relation "foo" already exists

Database schema

CREATE FUNCTION foo(text)
CREATE FUNCTION foo(text[])


### SQL queries

_No response_

### Configuration

_No response_

### Playground URL

_No response_

### What operating system are you using?

_No response_

### What database engines are you using?

_No response_

### What type of code are you generating?

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions