Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql: add test for builtin that belongs to information_schema #96468

Merged
merged 1 commit into from
Feb 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions pkg/sql/logictest/testdata/logic_test/pg_catalog
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down