From cba72da7ce81df104510e57aa552bd5fb661502c Mon Sep 17 00:00:00 2001 From: Rafi Shamim Date: Thu, 2 Feb 2023 16:26:22 -0500 Subject: [PATCH] sql: add test for builtin that belongs to information_schema This tests the change in 3f50d81d062371d13c5cb56f9daeac6f31ede7d9 Release note: None --- pkg/sql/logictest/testdata/logic_test/pg_catalog | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkg/sql/logictest/testdata/logic_test/pg_catalog b/pkg/sql/logictest/testdata/logic_test/pg_catalog index fe282b88117e..4da995e324ce 100644 --- a/pkg/sql/logictest/testdata/logic_test/pg_catalog +++ b/pkg/sql/logictest/testdata/logic_test/pg_catalog @@ -2340,6 +2340,16 @@ pb_to_json pb_to_json 4294967295 crdb_internal 3802 25 17 pb_to_json pb_to_json 4294967295 crdb_internal 3802 25 17 16 pb_to_json pb_to_json 4294967295 crdb_internal 3802 25 17 16 16 +query TTOTOT colnames +SELECT proname, prosrc, pronamespace, nspname, prorettype, proargtypes +FROM pg_catalog.pg_proc p +JOIN pg_catalog.pg_namespace n ON p.pronamespace = n.oid +WHERE proname='_pg_char_max_length' +ORDER BY p.oid +---- +proname prosrc pronamespace nspname prorettype proargtypes +_pg_char_max_length _pg_char_max_length 4294967213 information_schema 20 26 23 + query TOIOTTB colnames SELECT proname, provariadic, pronargs, prorettype, proargtypes, proargmodes, proisstrict FROM pg_catalog.pg_proc