Skip to content

Problems with user-defined types having different type OIDs across load-balanced PG server #4153

@faibistes

Description

@faibistes

(See #2366)

I connect via haproxy to multiple load-balanced postgresql, and I get that error if I call a function that returns a user defined type. I call ReloadTypes every time I call that function, but there shoud be a better way. I don't know, maybe the connection could have a NoTypesCache property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions