Skip to content
Snippets Groups Projects
  1. Mar 11, 2024
  2. Mar 07, 2024
    • Arseniy Volynets's avatar
      feat: support grant revoke procedure from sql · df8eb430
      Arseniy Volynets authored
      - Update sbroad submodule to commit with
      grant/revoke procedure support
      - Use existing mechanisms for grant/revoke
      ACL opcodes for grant/revoke procedure
      implementation
      - Add integration tests
      - Valid combinations:
      
      all procedures: grant/revoke create/execute/drop
      specific procedure: grant/revoke execute/drop
      
      - Syntax:
      
      grant create procedure to alice option(timeout=3)
      grant execute procedure on "spam"(int) to "alex"
      grant drop procedure on foo to bob
      revoke drop procedure on foo from bob
      df8eb430
    • Georgy Moshkin's avatar
      a0c3eaa1
    • Maksim Kaitmazian's avatar
      feat: add portal/statement storages · 3521184b
      Maksim Kaitmazian authored
      This commit introduces:
       * statement and portal storages;
       * statements with parameter oids;
       * portal encoding;
       * interactive portals;
      
      Portal encoding defines in which format (binary or text) columns
      are returned.
      
      Interactive portals allow to limit the number of rows returned from
      execute method. Other rows can be extracted by calling execute again
      on the same portal.
      3521184b
    • Maksim Kaitmazian's avatar
      refactor: rename Portal to Statement · 5f7e4ebe
      Maksim Kaitmazian authored and Maksim Kaitmazian's avatar Maksim Kaitmazian committed
      5f7e4ebe
  3. Mar 06, 2024
  4. Mar 04, 2024
  5. Mar 01, 2024
  6. Feb 26, 2024
  7. Feb 22, 2024
  8. Feb 21, 2024
  9. Feb 20, 2024
    • Arseniy Volynets's avatar
      refactor: move tracing from sbroad to picodata · 598ffbf4
      Arseniy Volynets authored
      - Update sbroad submodule to commit,
      with refactored tracing api: tracer
      can be provided by library user (us).
      - Use tracer that creates traces under
      admin, because traces are created randomly
      for 1% of the queries and the user may not
      have the privileges to create/modify tracing
      tables
      - Move tracing related logic to picodata repo.
      In particular, now all tables storing tracing
      - Add sql tests that were removed from sbroad
      during refactoring
      - added extra parameter 'query_id' to pico.sql
      lua api. 'query_id' is used to identify
      each query in tracing tables, if not specified
      hash function on query text is used.
      - changed signature of pico.sql to:
      pico.sql(pattern[, params, options)
      options={'traceable'=boolean,'query_id'=string}
      598ffbf4
  10. Feb 15, 2024
  11. Feb 12, 2024
  12. Feb 09, 2024
Loading