Skip to content

table names 4 characters long are erroneously parsed as table ids #76

Open

Description

@jefferis

2.6.3 has introduced a bug that causes table names that match the regular expression r'^[-0-9a-zA-Z]{4}$' in the new like_table_id() function to be parsed as ids rather than tables, which in turns leads to list_rows giving errors about not finding the requested table.

cc @schlegelp who may be able to give a full example.

Activity

  1. freeplant commented on Jan 17, 2023

    @freeplant
    Contributor

    You may re-test it with version 3.4 server after it is released. In version 3.4, the server will use the parameter both as table_id and table_name to find a table.

  2. schlegelp commented on Jan 17, 2023

    @schlegelp

    I see. Would you be open to a PR that changes the behaviour to only use like_table_id if the server is version 3.4.0 or higher?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions