Skip to content

Safe interpolation of column names #59

Description

@Changaco

Why don't we have this? It seems to me that a column name can be checked with a simple regexp, and a placeholder different than %s (e.g. %c) could be used to insert a column name into a query.

This is probably more of a psycopg2 issue, but let's discuss it here first, especially since we're considering porting to asyncpg (#58).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions