Skip to content

Support "quoting" column names #71

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"',
        ],
        ...
    )

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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