Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-571

Investigation of using PostGres as query classifier.

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Do
    • None
    • 1.4.1
    • Core
    • None

    Description

      PostgreSQL has a nice interface to the parser.

      List* pg_parse_query(const char* query_string);

      That is, you provide it with the query string and then you get a list structure that provides information about that query.

      However, the PostgreSQL code uses setjmp/longjmp for error handling that will not work without modifications in a multi-threaded context. There are also other context variables that clearly will not work without modifications in an MT context.

      Attachments

        Activity

          People

            johan.wikman Johan Wikman
            johan.wikman Johan Wikman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.