You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boundary/internal/db/sqltest/tests/history/hst_table_name.sql

17 lines
472 B

-- Copyright (c) HashiCorp, Inc.
-- SPDX-License-Identifier: BUSL-1.1
begin;
select plan(5);
-- Verify the function exists and is declared properly
select has_function('hst_table_name', array['name', 'name']);
select volatility_is('hst_table_name', 'immutable');
select is_strict('hst_table_name');
select is(hst_table_name('public', 'iam_scope'), 'public.iam_scope_hst');
select is(hst_table_name(null, null), null);
select * from finish();
rollback;