-- NOTE: This file is auto generated by ./sql-generator

-- DatabaseRepository.getExtensionVersion
SELECT
  default_version as "availableVersion",
  installed_version as "installedVersion"
FROM
  pg_available_extensions
WHERE
  name = $1

-- DatabaseRepository.getPostgresVersion
SHOW server_version

-- DatabaseRepository.shouldReindex
SELECT
  idx_status
FROM
  pg_vector_index_stat
WHERE
  indexname = $1
