Skip to content
Snippets Groups Projects
  1. Oct 17, 2024
    • Maksim Kaitmazian's avatar
      feat(plugins): add picodata version compatibility check · 86a08ef9
      Maksim Kaitmazian authored
      This commit embeds in plugins a new variable, containing picoplugin
      version used to build it. If this version differs from the picodata version
      when the plugin gets loaded, the loading fails with an error reporting
      the expected and the current versions. This check can be disabled via env
      PICODATA_UNSAFE_DISABLE_PLUGIN_COMPATIBILITY_CHECK.
      86a08ef9
  2. Oct 16, 2024
  3. Oct 15, 2024
  4. Oct 14, 2024
  5. Oct 10, 2024
  6. Oct 09, 2024
  7. Oct 07, 2024
  8. Oct 03, 2024
  9. Oct 02, 2024
  10. Oct 01, 2024
    • Maksim Kaitmazian's avatar
      feat(sql): support IF EXIST and IF NOT EXISTS options · 1a553992
      Maksim Kaitmazian authored
      Note that after this merge request, we no longer validate whether the format
      of the created object matches with the schema. Consequently, we do not
      suppress errors if formats match anymore.
      
      Before:
      ```sql
      CREATE USER u WITH PASSWORD 'Passw0rd'
      1
      CREATE USER u WITH PASSWORD 'Passw0rd'
      0
      CREATE USER u WITH PASSWORD 'DifferentPassw0rd'
      error: user already exists with different auth method
      ```
      
      Now:
      ```sql
      CREATE USER u WITH PASSWORD 'Passw0rd'
      1
      CREATE USER u WITH PASSWORD 'Passw0rd'
      error: user u already exists
      CREATE USER u WITH PASSWORD 'DifferentPassw0rd'
      error: user u already exists
      CREATE USER IF NOT EXISTS u WITH PASSWORD 'DifferentPassw0rd'
      0
      ```
      1a553992
  11. Sep 27, 2024
  12. Sep 26, 2024
Loading