Skip to content

Support "quoting" column names #71

Open
@xiaoxianma

Description

@xiaoxianma

When passing a "quoting" column name to binary_copy_to_table, psqlpy raises syntax error. Callers have to wrap those columns in a double quote by themselves. It would be great to support this in the library.

workaround,

async def main():
    res = await conn.binary_copy_to_table(
        columns=[
            '"a-b"',
        ],
        ...
    )

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