From a6b6d45ae9a38b5d2a4c96da7245f76cd531cc6c Mon Sep 17 00:00:00 2001 From: Norman Chen Date: Fri, 31 Jan 2025 16:40:20 -0500 Subject: [PATCH] sql: update grant_table logictests to not cause massive diffs Previously, there was no ordering in the grant_table logictest queries, causing any rewrite of these logic tests (i.e. the result of adding types) to result in large diffs. Now, these queries are ordered so the diffs will make more sense. Epic: None Release note: None --- .../logictest/testdata/logic_test/grant_table | 2355 +++++++++-------- 1 file changed, 1179 insertions(+), 1176 deletions(-) diff --git a/pkg/sql/logictest/testdata/logic_test/grant_table b/pkg/sql/logictest/testdata/logic_test/grant_table index 2006ed8f9bd2..e20737f7192d 100644 --- a/pkg/sql/logictest/testdata/logic_test/grant_table +++ b/pkg/sql/logictest/testdata/logic_test/grant_table @@ -21,102 +21,14 @@ a root ALL true # Show that by default GRANT is restricted to the current database, but be sure # to filter the built-in internal vtables down to just one so that we are not # enumerating all builtins and being overly broad and brittle. -query TTTTTTB colnames,rowsort +query TTTTTTB colnames WITH grants AS (SHOW GRANTS) SELECT * FROM grants WHERE - (schema_name <> 'crdb_internal' OR object_name = 'session_variables') + (schema_name <> 'crdb_internal' OR object_name = 'session_variables') ORDER BY database_name, schema_name, object_name, + object_type, grantee, privilege_type, is_grantable ---- database_name schema_name object_name object_type grantee privilege_type is_grantable -test public NULL schema admin ALL true -test pg_catalog unknown type admin ALL false -test pg_catalog regclass type admin ALL false -test pg_catalog bpchar[] type admin ALL false -test pg_catalog regtype[] type admin ALL false -test pg_catalog trigger type admin ALL false -test pg_catalog string type admin ALL false -test pg_catalog regnamespace type admin ALL false -test pg_catalog date type admin ALL false -test pg_catalog vector[] type admin ALL false -test pg_catalog inet[] type admin ALL false -test pg_catalog regprocedure type admin ALL false -test pg_catalog refcursor type admin ALL false -test pg_catalog record type admin ALL false -test pg_catalog int type admin ALL false -test pg_catalog "char" type admin ALL false -test pg_catalog int4[] type admin ALL false -test pg_catalog bool[] type admin ALL false -test pg_catalog anyarray type admin ALL false -test pg_catalog pg_lsn[] type admin ALL false -test pg_catalog int[] type admin ALL false -test pg_catalog regrole type admin ALL false -test pg_catalog inet type admin ALL false -test pg_catalog time[] type admin ALL false -test pg_catalog void type admin ALL false -test pg_catalog date[] type admin ALL false -test pg_catalog box2d[] type admin ALL false -test pg_catalog int2vector[] type admin ALL false -test pg_catalog uuid[] type admin ALL false -test pg_catalog "char"[] type admin ALL false -test pg_catalog tsquery type admin ALL false -test pg_catalog timestamptz type admin ALL false -test pg_catalog jsonb[] type admin ALL false -test pg_catalog timestamp[] type admin ALL false -test pg_catalog regrole[] type admin ALL false -test pg_catalog regclass[] type admin ALL false -test pg_catalog decimal[] type admin ALL false -test pg_catalog geometry type admin ALL false -test pg_catalog regproc type admin ALL false -test pg_catalog jsonb type admin ALL false -test pg_catalog timetz[] type admin ALL false -test pg_catalog varbit[] type admin ALL false -test pg_catalog int2[] type admin ALL false -test pg_catalog uuid type admin ALL false -test pg_catalog bytes type admin ALL false -test pg_catalog regprocedure[] type admin ALL false -test pg_catalog int2 type admin ALL false -test pg_catalog float4 type admin ALL false -test pg_catalog interval[] type admin ALL false -test pg_catalog box2d type admin ALL false -test pg_catalog regtype type admin ALL false -test pg_catalog pg_lsn type admin ALL false -test pg_catalog decimal type admin ALL false -test pg_catalog interval type admin ALL false -test pg_catalog bool type admin ALL false -test pg_catalog bit type admin ALL false -test pg_catalog record[] type admin ALL false -test pg_catalog oidvector[] type admin ALL false -test pg_catalog float4[] type admin ALL false -test pg_catalog bit[] type admin ALL false -test pg_catalog bytes[] type admin ALL false -test pg_catalog name[] type admin ALL false -test pg_catalog vector type admin ALL false -test pg_catalog regproc[] type admin ALL false -test pg_catalog float[] type admin ALL false -test pg_catalog timestamp type admin ALL false -test pg_catalog int4 type admin ALL false -test pg_catalog geometry[] type admin ALL false -test pg_catalog refcursor[] type admin ALL false -test pg_catalog oid[] type admin ALL false -test pg_catalog timestamptz[] type admin ALL false -test pg_catalog varbit type admin ALL false -test pg_catalog oidvector type admin ALL false -test pg_catalog oid type admin ALL false -test pg_catalog int2vector type admin ALL false -test pg_catalog bpchar type admin ALL false -test pg_catalog anyelement type admin ALL false -test pg_catalog regnamespace[] type admin ALL false -test pg_catalog tsvector[] type admin ALL false -test pg_catalog varchar[] type admin ALL false -test pg_catalog geography[] type admin ALL false -test pg_catalog geography type admin ALL false -test pg_catalog time type admin ALL false -test pg_catalog tsquery[] type admin ALL false -test pg_catalog string[] type admin ALL false -test pg_catalog varchar type admin ALL false -test pg_catalog tsvector type admin ALL false -test pg_catalog timetz type admin ALL false -test pg_catalog name type admin ALL false -test pg_catalog float type admin ALL false test crdb_internal session_variables table public SELECT false +test information_schema NULL schema public USAGE false test information_schema administrable_role_authorizations table public SELECT false test information_schema applicable_roles table public SELECT false test information_schema attributes table public SELECT false @@ -203,6 +115,145 @@ test information_schema view_column_usage table test information_schema view_routine_usage table public SELECT false test information_schema view_table_usage table public SELECT false test information_schema views table public SELECT false +test pg_catalog NULL schema public USAGE false +test pg_catalog "char" type admin ALL false +test pg_catalog "char" type public USAGE false +test pg_catalog "char" type root ALL false +test pg_catalog "char"[] type admin ALL false +test pg_catalog "char"[] type public USAGE false +test pg_catalog "char"[] type root ALL false +test pg_catalog anyarray type admin ALL false +test pg_catalog anyarray type public USAGE false +test pg_catalog anyarray type root ALL false +test pg_catalog anyelement type admin ALL false +test pg_catalog anyelement type public USAGE false +test pg_catalog anyelement type root ALL false +test pg_catalog bit type admin ALL false +test pg_catalog bit type public USAGE false +test pg_catalog bit type root ALL false +test pg_catalog bit[] type admin ALL false +test pg_catalog bit[] type public USAGE false +test pg_catalog bit[] type root ALL false +test pg_catalog bool type admin ALL false +test pg_catalog bool type public USAGE false +test pg_catalog bool type root ALL false +test pg_catalog bool[] type admin ALL false +test pg_catalog bool[] type public USAGE false +test pg_catalog bool[] type root ALL false +test pg_catalog box2d type admin ALL false +test pg_catalog box2d type public USAGE false +test pg_catalog box2d type root ALL false +test pg_catalog box2d[] type admin ALL false +test pg_catalog box2d[] type public USAGE false +test pg_catalog box2d[] type root ALL false +test pg_catalog bpchar type admin ALL false +test pg_catalog bpchar type public USAGE false +test pg_catalog bpchar type root ALL false +test pg_catalog bpchar[] type admin ALL false +test pg_catalog bpchar[] type public USAGE false +test pg_catalog bpchar[] type root ALL false +test pg_catalog bytes type admin ALL false +test pg_catalog bytes type public USAGE false +test pg_catalog bytes type root ALL false +test pg_catalog bytes[] type admin ALL false +test pg_catalog bytes[] type public USAGE false +test pg_catalog bytes[] type root ALL false +test pg_catalog date type admin ALL false +test pg_catalog date type public USAGE false +test pg_catalog date type root ALL false +test pg_catalog date[] type admin ALL false +test pg_catalog date[] type public USAGE false +test pg_catalog date[] type root ALL false +test pg_catalog decimal type admin ALL false +test pg_catalog decimal type public USAGE false +test pg_catalog decimal type root ALL false +test pg_catalog decimal[] type admin ALL false +test pg_catalog decimal[] type public USAGE false +test pg_catalog decimal[] type root ALL false +test pg_catalog float type admin ALL false +test pg_catalog float type public USAGE false +test pg_catalog float type root ALL false +test pg_catalog float4 type admin ALL false +test pg_catalog float4 type public USAGE false +test pg_catalog float4 type root ALL false +test pg_catalog float4[] type admin ALL false +test pg_catalog float4[] type public USAGE false +test pg_catalog float4[] type root ALL false +test pg_catalog float[] type admin ALL false +test pg_catalog float[] type public USAGE false +test pg_catalog float[] type root ALL false +test pg_catalog geography type admin ALL false +test pg_catalog geography type public USAGE false +test pg_catalog geography type root ALL false +test pg_catalog geography[] type admin ALL false +test pg_catalog geography[] type public USAGE false +test pg_catalog geography[] type root ALL false +test pg_catalog geometry type admin ALL false +test pg_catalog geometry type public USAGE false +test pg_catalog geometry type root ALL false +test pg_catalog geometry[] type admin ALL false +test pg_catalog geometry[] type public USAGE false +test pg_catalog geometry[] type root ALL false +test pg_catalog inet type admin ALL false +test pg_catalog inet type public USAGE false +test pg_catalog inet type root ALL false +test pg_catalog inet[] type admin ALL false +test pg_catalog inet[] type public USAGE false +test pg_catalog inet[] type root ALL false +test pg_catalog int type admin ALL false +test pg_catalog int type public USAGE false +test pg_catalog int type root ALL false +test pg_catalog int2 type admin ALL false +test pg_catalog int2 type public USAGE false +test pg_catalog int2 type root ALL false +test pg_catalog int2[] type admin ALL false +test pg_catalog int2[] type public USAGE false +test pg_catalog int2[] type root ALL false +test pg_catalog int2vector type admin ALL false +test pg_catalog int2vector type public USAGE false +test pg_catalog int2vector type root ALL false +test pg_catalog int2vector[] type admin ALL false +test pg_catalog int2vector[] type public USAGE false +test pg_catalog int2vector[] type root ALL false +test pg_catalog int4 type admin ALL false +test pg_catalog int4 type public USAGE false +test pg_catalog int4 type root ALL false +test pg_catalog int4[] type admin ALL false +test pg_catalog int4[] type public USAGE false +test pg_catalog int4[] type root ALL false +test pg_catalog int[] type admin ALL false +test pg_catalog int[] type public USAGE false +test pg_catalog int[] type root ALL false +test pg_catalog interval type admin ALL false +test pg_catalog interval type public USAGE false +test pg_catalog interval type root ALL false +test pg_catalog interval[] type admin ALL false +test pg_catalog interval[] type public USAGE false +test pg_catalog interval[] type root ALL false +test pg_catalog jsonb type admin ALL false +test pg_catalog jsonb type public USAGE false +test pg_catalog jsonb type root ALL false +test pg_catalog jsonb[] type admin ALL false +test pg_catalog jsonb[] type public USAGE false +test pg_catalog jsonb[] type root ALL false +test pg_catalog name type admin ALL false +test pg_catalog name type public USAGE false +test pg_catalog name type root ALL false +test pg_catalog name[] type admin ALL false +test pg_catalog name[] type public USAGE false +test pg_catalog name[] type root ALL false +test pg_catalog oid type admin ALL false +test pg_catalog oid type public USAGE false +test pg_catalog oid type root ALL false +test pg_catalog oid[] type admin ALL false +test pg_catalog oid[] type public USAGE false +test pg_catalog oid[] type root ALL false +test pg_catalog oidvector type admin ALL false +test pg_catalog oidvector type public USAGE false +test pg_catalog oidvector type root ALL false +test pg_catalog oidvector[] type admin ALL false +test pg_catalog oidvector[] type public USAGE false +test pg_catalog oidvector[] type root ALL false test pg_catalog pg_aggregate table public SELECT false test pg_catalog pg_am table public SELECT false test pg_catalog pg_amop table public SELECT false @@ -242,6 +293,12 @@ test pg_catalog pg_language table test pg_catalog pg_largeobject table public SELECT false test pg_catalog pg_largeobject_metadata table public SELECT false test pg_catalog pg_locks table public SELECT false +test pg_catalog pg_lsn type admin ALL false +test pg_catalog pg_lsn type public USAGE false +test pg_catalog pg_lsn type root ALL false +test pg_catalog pg_lsn[] type admin ALL false +test pg_catalog pg_lsn[] type public USAGE false +test pg_catalog pg_lsn[] type root ALL false test pg_catalog pg_matviews table public SELECT false test pg_catalog pg_namespace table public SELECT false test pg_catalog pg_opclass table public SELECT false @@ -332,193 +389,137 @@ test pg_catalog pg_user table test pg_catalog pg_user_mapping table public SELECT false test pg_catalog pg_user_mappings table public SELECT false test pg_catalog pg_views table public SELECT false -test pg_extension geography_columns table public SELECT false -test pg_extension geometry_columns table public SELECT false -test pg_extension spatial_ref_sys table public SELECT false -test information_schema NULL schema public USAGE false -test pg_catalog NULL schema public USAGE false -test pg_extension NULL schema public USAGE false -test public NULL schema public CREATE false -test public NULL schema public USAGE false -test public NULL schema root ALL true -test pg_catalog float type root ALL false -test pg_catalog float type public USAGE false -test pg_catalog name type root ALL false -test pg_catalog name type public USAGE false -test pg_catalog timetz type root ALL false -test pg_catalog timetz type public USAGE false -test pg_catalog tsvector type root ALL false -test pg_catalog tsvector type public USAGE false -test pg_catalog varchar type root ALL false -test pg_catalog varchar type public USAGE false -test pg_catalog string[] type root ALL false -test pg_catalog string[] type public USAGE false -test pg_catalog tsquery[] type root ALL false -test pg_catalog tsquery[] type public USAGE false -test pg_catalog time type root ALL false -test pg_catalog time type public USAGE false -test pg_catalog geography type root ALL false -test pg_catalog geography type public USAGE false -test pg_catalog geography[] type root ALL false -test pg_catalog geography[] type public USAGE false -test pg_catalog varchar[] type root ALL false -test pg_catalog varchar[] type public USAGE false -test pg_catalog tsvector[] type root ALL false -test pg_catalog tsvector[] type public USAGE false -test pg_catalog regnamespace[] type root ALL false -test pg_catalog regnamespace[] type public USAGE false -test pg_catalog anyelement type root ALL false -test pg_catalog anyelement type public USAGE false -test pg_catalog bpchar type root ALL false -test pg_catalog bpchar type public USAGE false -test pg_catalog int2vector type root ALL false -test pg_catalog int2vector type public USAGE false -test pg_catalog oid type root ALL false -test pg_catalog oid type public USAGE false -test pg_catalog oidvector type root ALL false -test pg_catalog oidvector type public USAGE false -test pg_catalog varbit type root ALL false -test pg_catalog varbit type public USAGE false -test pg_catalog timestamptz[] type root ALL false -test pg_catalog timestamptz[] type public USAGE false -test pg_catalog oid[] type root ALL false -test pg_catalog oid[] type public USAGE false -test pg_catalog refcursor[] type root ALL false +test pg_catalog record type admin ALL false +test pg_catalog record type public USAGE false +test pg_catalog record type root ALL false +test pg_catalog record[] type admin ALL false +test pg_catalog record[] type public USAGE false +test pg_catalog record[] type root ALL false +test pg_catalog refcursor type admin ALL false +test pg_catalog refcursor type public USAGE false +test pg_catalog refcursor type root ALL false +test pg_catalog refcursor[] type admin ALL false test pg_catalog refcursor[] type public USAGE false -test pg_catalog geometry[] type root ALL false -test pg_catalog geometry[] type public USAGE false -test pg_catalog int4 type root ALL false -test pg_catalog int4 type public USAGE false -test pg_catalog timestamp type root ALL false -test pg_catalog timestamp type public USAGE false -test pg_catalog float[] type root ALL false -test pg_catalog float[] type public USAGE false -test pg_catalog regproc[] type root ALL false +test pg_catalog refcursor[] type root ALL false +test pg_catalog regclass type admin ALL false +test pg_catalog regclass type public USAGE false +test pg_catalog regclass type root ALL false +test pg_catalog regclass[] type admin ALL false +test pg_catalog regclass[] type public USAGE false +test pg_catalog regclass[] type root ALL false +test pg_catalog regnamespace type admin ALL false +test pg_catalog regnamespace type public USAGE false +test pg_catalog regnamespace type root ALL false +test pg_catalog regnamespace[] type admin ALL false +test pg_catalog regnamespace[] type public USAGE false +test pg_catalog regnamespace[] type root ALL false +test pg_catalog regproc type admin ALL false +test pg_catalog regproc type public USAGE false +test pg_catalog regproc type root ALL false +test pg_catalog regproc[] type admin ALL false test pg_catalog regproc[] type public USAGE false -test pg_catalog vector type root ALL false -test pg_catalog vector type public USAGE false -test pg_catalog name[] type root ALL false -test pg_catalog name[] type public USAGE false -test pg_catalog bytes[] type root ALL false -test pg_catalog bytes[] type public USAGE false -test pg_catalog bit[] type root ALL false -test pg_catalog bit[] type public USAGE false -test pg_catalog float4[] type root ALL false -test pg_catalog float4[] type public USAGE false -test pg_catalog oidvector[] type root ALL false -test pg_catalog oidvector[] type public USAGE false -test pg_catalog record[] type root ALL false -test pg_catalog record[] type public USAGE false -test pg_catalog bit type root ALL false -test pg_catalog bit type public USAGE false -test pg_catalog bool type root ALL false -test pg_catalog bool type public USAGE false -test pg_catalog interval type root ALL false -test pg_catalog interval type public USAGE false -test pg_catalog decimal type root ALL false -test pg_catalog decimal type public USAGE false -test pg_catalog pg_lsn type root ALL false -test pg_catalog pg_lsn type public USAGE false -test pg_catalog regtype type root ALL false -test pg_catalog regtype type public USAGE false -test pg_catalog box2d type root ALL false -test pg_catalog box2d type public USAGE false -test pg_catalog interval[] type root ALL false -test pg_catalog interval[] type public USAGE false -test pg_catalog float4 type root ALL false -test pg_catalog float4 type public USAGE false -test pg_catalog int2 type root ALL false -test pg_catalog int2 type public USAGE false -test pg_catalog regprocedure[] type root ALL false +test pg_catalog regproc[] type root ALL false +test pg_catalog regprocedure type admin ALL false +test pg_catalog regprocedure type public USAGE false +test pg_catalog regprocedure type root ALL false +test pg_catalog regprocedure[] type admin ALL false test pg_catalog regprocedure[] type public USAGE false -test pg_catalog bytes type root ALL false -test pg_catalog bytes type public USAGE false -test pg_catalog uuid type root ALL false -test pg_catalog uuid type public USAGE false -test pg_catalog int2[] type root ALL false -test pg_catalog int2[] type public USAGE false -test pg_catalog varbit[] type root ALL false -test pg_catalog varbit[] type public USAGE false -test pg_catalog timetz[] type root ALL false -test pg_catalog timetz[] type public USAGE false -test pg_catalog jsonb type root ALL false -test pg_catalog jsonb type public USAGE false -test pg_catalog regproc type root ALL false -test pg_catalog regproc type public USAGE false -test pg_catalog geometry type root ALL false -test pg_catalog geometry type public USAGE false -test pg_catalog decimal[] type root ALL false -test pg_catalog decimal[] type public USAGE false -test pg_catalog regclass[] type root ALL false -test pg_catalog regclass[] type public USAGE false -test pg_catalog regrole[] type root ALL false +test pg_catalog regprocedure[] type root ALL false +test pg_catalog regrole type admin ALL false +test pg_catalog regrole type public USAGE false +test pg_catalog regrole type root ALL false +test pg_catalog regrole[] type admin ALL false test pg_catalog regrole[] type public USAGE false -test pg_catalog timestamp[] type root ALL false +test pg_catalog regrole[] type root ALL false +test pg_catalog regtype type admin ALL false +test pg_catalog regtype type public USAGE false +test pg_catalog regtype type root ALL false +test pg_catalog regtype[] type admin ALL false +test pg_catalog regtype[] type public USAGE false +test pg_catalog regtype[] type root ALL false +test pg_catalog string type admin ALL false +test pg_catalog string type public USAGE false +test pg_catalog string type root ALL false +test pg_catalog string[] type admin ALL false +test pg_catalog string[] type public USAGE false +test pg_catalog string[] type root ALL false +test pg_catalog time type admin ALL false +test pg_catalog time type public USAGE false +test pg_catalog time type root ALL false +test pg_catalog time[] type admin ALL false +test pg_catalog time[] type public USAGE false +test pg_catalog time[] type root ALL false +test pg_catalog timestamp type admin ALL false +test pg_catalog timestamp type public USAGE false +test pg_catalog timestamp type root ALL false +test pg_catalog timestamp[] type admin ALL false test pg_catalog timestamp[] type public USAGE false -test pg_catalog jsonb[] type root ALL false -test pg_catalog jsonb[] type public USAGE false -test pg_catalog timestamptz type root ALL false +test pg_catalog timestamp[] type root ALL false +test pg_catalog timestamptz type admin ALL false test pg_catalog timestamptz type public USAGE false -test pg_catalog tsquery type root ALL false +test pg_catalog timestamptz type root ALL false +test pg_catalog timestamptz[] type admin ALL false +test pg_catalog timestamptz[] type public USAGE false +test pg_catalog timestamptz[] type root ALL false +test pg_catalog timetz type admin ALL false +test pg_catalog timetz type public USAGE false +test pg_catalog timetz type root ALL false +test pg_catalog timetz[] type admin ALL false +test pg_catalog timetz[] type public USAGE false +test pg_catalog timetz[] type root ALL false +test pg_catalog trigger type admin ALL false +test pg_catalog trigger type public USAGE false +test pg_catalog trigger type root ALL false +test pg_catalog tsquery type admin ALL false test pg_catalog tsquery type public USAGE false -test pg_catalog "char"[] type root ALL false -test pg_catalog "char"[] type public USAGE false -test pg_catalog uuid[] type root ALL false +test pg_catalog tsquery type root ALL false +test pg_catalog tsquery[] type admin ALL false +test pg_catalog tsquery[] type public USAGE false +test pg_catalog tsquery[] type root ALL false +test pg_catalog tsvector type admin ALL false +test pg_catalog tsvector type public USAGE false +test pg_catalog tsvector type root ALL false +test pg_catalog tsvector[] type admin ALL false +test pg_catalog tsvector[] type public USAGE false +test pg_catalog tsvector[] type root ALL false +test pg_catalog unknown type admin ALL false +test pg_catalog unknown type public USAGE false +test pg_catalog unknown type root ALL false +test pg_catalog uuid type admin ALL false +test pg_catalog uuid type public USAGE false +test pg_catalog uuid type root ALL false +test pg_catalog uuid[] type admin ALL false test pg_catalog uuid[] type public USAGE false -test pg_catalog int2vector[] type root ALL false -test pg_catalog int2vector[] type public USAGE false -test pg_catalog box2d[] type root ALL false -test pg_catalog box2d[] type public USAGE false -test pg_catalog date[] type root ALL false -test pg_catalog date[] type public USAGE false -test pg_catalog void type root ALL false -test pg_catalog void type public USAGE false -test pg_catalog time[] type root ALL false -test pg_catalog time[] type public USAGE false -test pg_catalog inet type root ALL false -test pg_catalog inet type public USAGE false -test pg_catalog regrole type root ALL false -test pg_catalog regrole type public USAGE false -test pg_catalog int[] type root ALL false -test pg_catalog int[] type public USAGE false -test pg_catalog pg_lsn[] type root ALL false -test pg_catalog pg_lsn[] type public USAGE false -test pg_catalog anyarray type root ALL false -test pg_catalog anyarray type public USAGE false -test pg_catalog bool[] type root ALL false -test pg_catalog bool[] type public USAGE false -test pg_catalog int4[] type root ALL false -test pg_catalog int4[] type public USAGE false -test pg_catalog "char" type root ALL false -test pg_catalog "char" type public USAGE false -test pg_catalog int type root ALL false -test pg_catalog int type public USAGE false -test pg_catalog record type root ALL false -test pg_catalog record type public USAGE false -test pg_catalog refcursor type root ALL false -test pg_catalog refcursor type public USAGE false -test pg_catalog regprocedure type root ALL false -test pg_catalog regprocedure type public USAGE false -test pg_catalog inet[] type root ALL false -test pg_catalog inet[] type public USAGE false -test pg_catalog vector[] type root ALL false +test pg_catalog uuid[] type root ALL false +test pg_catalog varbit type admin ALL false +test pg_catalog varbit type public USAGE false +test pg_catalog varbit type root ALL false +test pg_catalog varbit[] type admin ALL false +test pg_catalog varbit[] type public USAGE false +test pg_catalog varbit[] type root ALL false +test pg_catalog varchar type admin ALL false +test pg_catalog varchar type public USAGE false +test pg_catalog varchar type root ALL false +test pg_catalog varchar[] type admin ALL false +test pg_catalog varchar[] type public USAGE false +test pg_catalog varchar[] type root ALL false +test pg_catalog vector type admin ALL false +test pg_catalog vector type public USAGE false +test pg_catalog vector type root ALL false +test pg_catalog vector[] type admin ALL false test pg_catalog vector[] type public USAGE false -test pg_catalog date type root ALL false -test pg_catalog date type public USAGE false -test pg_catalog regnamespace type root ALL false -test pg_catalog regnamespace type public USAGE false -test pg_catalog string type root ALL false -test pg_catalog string type public USAGE false -test pg_catalog trigger type root ALL false -test pg_catalog trigger type public USAGE false -test pg_catalog regtype[] type root ALL false -test pg_catalog regtype[] type public USAGE false -test pg_catalog bpchar[] type root ALL false -test pg_catalog bpchar[] type public USAGE false -test pg_catalog regclass type root ALL false -test pg_catalog regclass type public USAGE false -test pg_catalog unknown type root ALL false -test pg_catalog unknown type public USAGE false +test pg_catalog vector[] type root ALL false +test pg_catalog void type admin ALL false +test pg_catalog void type public USAGE false +test pg_catalog void type root ALL false +test pg_extension NULL schema public USAGE false +test pg_extension geography_columns table public SELECT false +test pg_extension geometry_columns table public SELECT false +test pg_extension spatial_ref_sys table public SELECT false +test public NULL schema admin ALL true +test public NULL schema public CREATE false +test public NULL schema public USAGE false +test public NULL schema root ALL true query TTTTTTB colnames,rowsort SHOW GRANTS FOR root @@ -528,990 +529,992 @@ test NULL NULL database admin ALL test NULL NULL database root ALL true test pg_catalog "char" type admin ALL false test pg_catalog "char" type root ALL false -test pg_catalog "char"[] type admin ALL false -test pg_catalog "char"[] type root ALL false -test pg_catalog anyarray type admin ALL false -test pg_catalog anyarray type root ALL false -test pg_catalog anyelement type admin ALL false -test pg_catalog anyelement type root ALL false -test pg_catalog bit type admin ALL false -test pg_catalog bit type root ALL false -test pg_catalog bit[] type admin ALL false -test pg_catalog bit[] type root ALL false -test pg_catalog bool type admin ALL false -test pg_catalog bool type root ALL false -test pg_catalog bool[] type admin ALL false -test pg_catalog bool[] type root ALL false -test pg_catalog box2d type admin ALL false -test pg_catalog box2d type root ALL false -test pg_catalog box2d[] type admin ALL false -test pg_catalog box2d[] type root ALL false -test pg_catalog bpchar type admin ALL false -test pg_catalog bpchar type root ALL false -test pg_catalog bpchar[] type admin ALL false -test pg_catalog bpchar[] type root ALL false -test pg_catalog bytes type admin ALL false -test pg_catalog bytes type root ALL false -test pg_catalog bytes[] type admin ALL false -test pg_catalog bytes[] type root ALL false -test pg_catalog date type admin ALL false -test pg_catalog date type root ALL false -test pg_catalog date[] type admin ALL false -test pg_catalog date[] type root ALL false -test pg_catalog decimal type admin ALL false -test pg_catalog decimal type root ALL false -test pg_catalog decimal[] type admin ALL false -test pg_catalog decimal[] type root ALL false -test pg_catalog float type admin ALL false -test pg_catalog float type root ALL false -test pg_catalog float4 type admin ALL false -test pg_catalog float4 type root ALL false -test pg_catalog float4[] type admin ALL false -test pg_catalog float4[] type root ALL false -test pg_catalog float[] type admin ALL false -test pg_catalog float[] type root ALL false -test pg_catalog geography type admin ALL false -test pg_catalog geography type root ALL false -test pg_catalog geography[] type admin ALL false -test pg_catalog geography[] type root ALL false -test pg_catalog geometry type admin ALL false -test pg_catalog geometry type root ALL false -test pg_catalog geometry[] type admin ALL false -test pg_catalog geometry[] type root ALL false -test pg_catalog inet type admin ALL false -test pg_catalog inet type root ALL false -test pg_catalog inet[] type admin ALL false -test pg_catalog inet[] type root ALL false -test pg_catalog int type admin ALL false -test pg_catalog int type root ALL false -test pg_catalog int2 type admin ALL false -test pg_catalog int2 type root ALL false -test pg_catalog int2[] type admin ALL false -test pg_catalog int2[] type root ALL false -test pg_catalog int2vector type admin ALL false -test pg_catalog int2vector type root ALL false -test pg_catalog int2vector[] type admin ALL false -test pg_catalog int2vector[] type root ALL false -test pg_catalog int4 type admin ALL false -test pg_catalog int4 type root ALL false -test pg_catalog int4[] type admin ALL false -test pg_catalog int4[] type root ALL false -test pg_catalog int[] type admin ALL false -test pg_catalog int[] type root ALL false -test pg_catalog interval type admin ALL false -test pg_catalog interval type root ALL false -test pg_catalog interval[] type admin ALL false -test pg_catalog interval[] type root ALL false -test pg_catalog jsonb type admin ALL false -test pg_catalog jsonb type root ALL false -test pg_catalog jsonb[] type admin ALL false -test pg_catalog jsonb[] type root ALL false -test pg_catalog name type admin ALL false -test pg_catalog name type root ALL false -test pg_catalog name[] type admin ALL false -test pg_catalog name[] type root ALL false -test pg_catalog oid type admin ALL false -test pg_catalog oid type root ALL false -test pg_catalog oid[] type admin ALL false -test pg_catalog oid[] type root ALL false -test pg_catalog oidvector type admin ALL false -test pg_catalog oidvector type root ALL false -test pg_catalog oidvector[] type admin ALL false -test pg_catalog oidvector[] type root ALL false -test pg_catalog pg_lsn type admin ALL false -test pg_catalog pg_lsn type root ALL false -test pg_catalog pg_lsn[] type admin ALL false -test pg_catalog pg_lsn[] type root ALL false -test pg_catalog record type admin ALL false -test pg_catalog record type root ALL false -test pg_catalog record[] type admin ALL false -test pg_catalog record[] type root ALL false -test pg_catalog refcursor type admin ALL false -test pg_catalog refcursor type root ALL false -test pg_catalog refcursor[] type admin ALL false -test pg_catalog refcursor[] type root ALL false -test pg_catalog regclass type admin ALL false -test pg_catalog regclass type root ALL false -test pg_catalog regclass[] type admin ALL false -test pg_catalog regclass[] type root ALL false -test pg_catalog regnamespace type admin ALL false -test pg_catalog regnamespace type root ALL false -test pg_catalog regnamespace[] type admin ALL false -test pg_catalog regnamespace[] type root ALL false -test pg_catalog regproc type admin ALL false -test pg_catalog regproc type root ALL false -test pg_catalog regproc[] type admin ALL false -test pg_catalog regproc[] type root ALL false -test pg_catalog regprocedure type admin ALL false -test pg_catalog regprocedure type root ALL false -test pg_catalog regprocedure[] type admin ALL false -test pg_catalog regprocedure[] type root ALL false -test pg_catalog regrole type admin ALL false -test pg_catalog regrole type root ALL false -test pg_catalog regrole[] type admin ALL false -test pg_catalog regrole[] type root ALL false -test pg_catalog regtype type admin ALL false -test pg_catalog regtype type root ALL false -test pg_catalog regtype[] type admin ALL false -test pg_catalog regtype[] type root ALL false -test pg_catalog string type admin ALL false -test pg_catalog string type root ALL false -test pg_catalog string[] type admin ALL false -test pg_catalog string[] type root ALL false -test pg_catalog time type admin ALL false -test pg_catalog time type root ALL false -test pg_catalog time[] type admin ALL false -test pg_catalog time[] type root ALL false -test pg_catalog timestamp type admin ALL false -test pg_catalog timestamp type root ALL false -test pg_catalog timestamp[] type admin ALL false -test pg_catalog timestamp[] type root ALL false -test pg_catalog timestamptz type admin ALL false -test pg_catalog timestamptz type root ALL false -test pg_catalog timestamptz[] type admin ALL false -test pg_catalog timestamptz[] type root ALL false -test pg_catalog timetz type admin ALL false -test pg_catalog timetz type root ALL false -test pg_catalog timetz[] type admin ALL false -test pg_catalog timetz[] type root ALL false -test pg_catalog trigger type admin ALL false -test pg_catalog trigger type root ALL false -test pg_catalog tsquery type admin ALL false -test pg_catalog tsquery type root ALL false -test pg_catalog tsquery[] type admin ALL false -test pg_catalog tsquery[] type root ALL false -test pg_catalog tsvector type admin ALL false -test pg_catalog tsvector type root ALL false -test pg_catalog tsvector[] type admin ALL false -test pg_catalog tsvector[] type root ALL false -test pg_catalog unknown type admin ALL false -test pg_catalog unknown type root ALL false -test pg_catalog uuid type admin ALL false -test pg_catalog uuid type root ALL false -test pg_catalog uuid[] type admin ALL false -test pg_catalog uuid[] type root ALL false -test pg_catalog varbit type admin ALL false -test pg_catalog varbit type root ALL false -test pg_catalog varbit[] type admin ALL false -test pg_catalog varbit[] type root ALL false -test pg_catalog varchar type admin ALL false -test pg_catalog varchar type root ALL false -test pg_catalog varchar[] type admin ALL false -test pg_catalog varchar[] type root ALL false -test pg_catalog vector type admin ALL false -test pg_catalog vector type root ALL false -test pg_catalog vector[] type admin ALL false -test pg_catalog vector[] type root ALL false -test pg_catalog void type admin ALL false -test pg_catalog void type root ALL false -test public NULL schema admin ALL true -test public NULL schema public CREATE false -test public NULL schema public USAGE false -test public NULL schema root ALL true - -# With no database set, we show the grants everywhere -statement ok -SET DATABASE = '' - -# Filter system results so that so we are not enumerating the entire system -# and making this test brittle and overly broad but leave one specifically chosen -# system table in just to confirm they were there before filtering. -query TTTTTTB colnames,rowsort -WITH grants AS (SHOW GRANTS) SELECT * FROM grants - WHERE schema_name NOT IN ('crdb_internal', 'pg_catalog', 'information_schema') - AND (database_name <> 'system' OR object_name = 'role_options') ----- -database_name schema_name object_name object_type grantee privilege_type is_grantable -system public role_options table admin DELETE true -test public NULL schema admin ALL true -postgres public NULL schema admin ALL true -defaultdb public NULL schema admin ALL true -a public NULL schema admin ALL true -system public role_options table admin UPDATE true -system public role_options table admin SELECT true -system public role_options table admin INSERT true -defaultdb pg_extension geography_columns table public SELECT false -defaultdb pg_extension geometry_columns table public SELECT false -defaultdb pg_extension spatial_ref_sys table public SELECT false -postgres pg_extension geography_columns table public SELECT false -postgres pg_extension geometry_columns table public SELECT false -postgres pg_extension spatial_ref_sys table public SELECT false -test pg_extension geography_columns table public SELECT false -test pg_extension geometry_columns table public SELECT false -test pg_extension spatial_ref_sys table public SELECT false -a pg_extension geography_columns table public SELECT false -a pg_extension geometry_columns table public SELECT false -a pg_extension spatial_ref_sys table public SELECT false -system public role_options table root DELETE true -system public role_options table root INSERT true -system public role_options table root SELECT true -system public role_options table root UPDATE true -a pg_extension NULL schema public USAGE false -a public NULL schema public CREATE false -a public NULL schema public USAGE false -a public NULL schema root ALL true -defaultdb pg_extension NULL schema public USAGE false -defaultdb public NULL schema public CREATE false -defaultdb public NULL schema public USAGE false -defaultdb public NULL schema root ALL true -postgres pg_extension NULL schema public USAGE false -postgres public NULL schema public CREATE false -postgres public NULL schema public USAGE false -postgres public NULL schema root ALL true -test pg_extension NULL schema public USAGE false -test public NULL schema public CREATE false -test public NULL schema public USAGE false -test public NULL schema root ALL true - -query TTTTTTB colnames,rowsort -WITH grants AS (SHOW GRANTS FOR root) SELECT * FROM grants -WHERE (database_name <> 'system' OR object_name = 'role_options') ----- -database_name schema_name object_name object_type grantee privilege_type is_grantable -system public role_options table admin DELETE true -system public role_options table admin INSERT true -system public role_options table admin SELECT true -system public role_options table admin UPDATE true -a public NULL schema admin ALL true -defaultdb public NULL schema admin ALL true -postgres public NULL schema admin ALL true -test public NULL schema admin ALL true -a NULL NULL database admin ALL true -defaultdb NULL NULL database admin ALL true -postgres NULL NULL database admin ALL true -test NULL NULL database admin ALL true -a pg_catalog varchar[] type admin ALL false -a pg_catalog bpchar type admin ALL false -a pg_catalog int2[] type admin ALL false -a pg_catalog timestamptz[] type admin ALL false -a pg_catalog geography[] type admin ALL false -a pg_catalog record[] type admin ALL false -a pg_catalog string type admin ALL false -a pg_catalog tsvector type admin ALL false -a pg_catalog regrole[] type admin ALL false -a pg_catalog bool type admin ALL false -a pg_catalog "char" type admin ALL false -a pg_catalog float type admin ALL false -a pg_catalog int2 type admin ALL false -a pg_catalog record type admin ALL false -a pg_catalog int type admin ALL false -a pg_catalog int4[] type admin ALL false -a pg_catalog float[] type admin ALL false -a pg_catalog jsonb[] type admin ALL false -a pg_catalog date[] type admin ALL false -a pg_catalog regprocedure[] type admin ALL false -a pg_catalog name type admin ALL false -a pg_catalog varchar type admin ALL false -a pg_catalog geometry type admin ALL false -a pg_catalog box2d[] type admin ALL false -a pg_catalog tsvector[] type admin ALL false -a pg_catalog box2d type admin ALL false -a pg_catalog anyarray type admin ALL false -a pg_catalog pg_lsn type admin ALL false -a pg_catalog regprocedure type admin ALL false -a pg_catalog time[] type admin ALL false -a pg_catalog regproc[] type admin ALL false -a pg_catalog timestamp[] type admin ALL false -a pg_catalog name[] type admin ALL false -a pg_catalog date type admin ALL false -a pg_catalog int4 type admin ALL false -a pg_catalog decimal type admin ALL false -a pg_catalog regnamespace type admin ALL false -a pg_catalog regproc type admin ALL false -a pg_catalog timestamp type admin ALL false -a pg_catalog uuid[] type admin ALL false -a pg_catalog bit[] type admin ALL false -a pg_catalog bit type admin ALL false -a pg_catalog bytes type admin ALL false -a pg_catalog float4 type admin ALL false -a pg_catalog unknown type admin ALL false -a pg_catalog float4[] type admin ALL false -a pg_catalog pg_lsn[] type admin ALL false -a pg_catalog regclass[] type admin ALL false -a pg_catalog "char"[] type admin ALL false -a pg_catalog interval type admin ALL false -a pg_catalog refcursor type admin ALL false -a pg_catalog regtype type admin ALL false -a pg_catalog time type admin ALL false -a pg_catalog void type admin ALL false -a pg_catalog oid[] type admin ALL false -a pg_catalog regnamespace[] type admin ALL false -a pg_catalog timetz type admin ALL false -a pg_catalog regtype[] type admin ALL false -a pg_catalog int[] type admin ALL false -a pg_catalog interval[] type admin ALL false -a pg_catalog varbit[] type admin ALL false -a pg_catalog int2vector type admin ALL false -a pg_catalog jsonb type admin ALL false -a pg_catalog bpchar[] type admin ALL false -a pg_catalog refcursor[] type admin ALL false -a pg_catalog oid type admin ALL false -a pg_catalog timestamptz type admin ALL false -a pg_catalog vector type admin ALL false -a pg_catalog vector[] type admin ALL false -a pg_catalog anyelement type admin ALL false -a pg_catalog inet type admin ALL false -a pg_catalog bool[] type admin ALL false -a pg_catalog decimal[] type admin ALL false -a pg_catalog oidvector[] type admin ALL false -a pg_catalog inet[] type admin ALL false -a pg_catalog int2vector[] type admin ALL false -a pg_catalog bytes[] type admin ALL false -a pg_catalog oidvector type admin ALL false -a pg_catalog regclass type admin ALL false -a pg_catalog trigger type admin ALL false -a pg_catalog varbit type admin ALL false -a pg_catalog geometry[] type admin ALL false -a pg_catalog timetz[] type admin ALL false -a pg_catalog tsquery[] type admin ALL false -a pg_catalog regrole type admin ALL false -a pg_catalog tsquery type admin ALL false -a pg_catalog uuid type admin ALL false -a pg_catalog geography type admin ALL false -a pg_catalog string[] type admin ALL false -defaultdb pg_catalog jsonb[] type admin ALL false -defaultdb pg_catalog date[] type admin ALL false -defaultdb pg_catalog int type admin ALL false -defaultdb pg_catalog int4[] type admin ALL false -defaultdb pg_catalog float[] type admin ALL false -defaultdb pg_catalog box2d[] type admin ALL false -defaultdb pg_catalog tsvector[] type admin ALL false -defaultdb pg_catalog regprocedure[] type admin ALL false -defaultdb pg_catalog name type admin ALL false -defaultdb pg_catalog varchar type admin ALL false -defaultdb pg_catalog geometry type admin ALL false -defaultdb pg_catalog box2d type admin ALL false -defaultdb pg_catalog anyarray type admin ALL false -defaultdb pg_catalog regproc[] type admin ALL false -defaultdb pg_catalog pg_lsn type admin ALL false -defaultdb pg_catalog regprocedure type admin ALL false -defaultdb pg_catalog time[] type admin ALL false -defaultdb pg_catalog regnamespace type admin ALL false -defaultdb pg_catalog regproc type admin ALL false -defaultdb pg_catalog timestamp[] type admin ALL false -defaultdb pg_catalog name[] type admin ALL false -defaultdb pg_catalog date type admin ALL false -defaultdb pg_catalog int4 type admin ALL false -defaultdb pg_catalog decimal type admin ALL false -defaultdb pg_catalog timestamp type admin ALL false -defaultdb pg_catalog uuid[] type admin ALL false -defaultdb pg_catalog bit[] type admin ALL false -defaultdb pg_catalog unknown type admin ALL false -defaultdb pg_catalog float4[] type admin ALL false -defaultdb pg_catalog bit type admin ALL false -defaultdb pg_catalog bytes type admin ALL false -defaultdb pg_catalog float4 type admin ALL false -defaultdb pg_catalog time type admin ALL false -defaultdb pg_catalog void type admin ALL false -defaultdb pg_catalog pg_lsn[] type admin ALL false -defaultdb pg_catalog regclass[] type admin ALL false -defaultdb pg_catalog "char"[] type admin ALL false -defaultdb pg_catalog interval type admin ALL false -defaultdb pg_catalog refcursor type admin ALL false -defaultdb pg_catalog regtype type admin ALL false -defaultdb pg_catalog oid[] type admin ALL false -defaultdb pg_catalog interval[] type admin ALL false -defaultdb pg_catalog varbit[] type admin ALL false -defaultdb pg_catalog regnamespace[] type admin ALL false -defaultdb pg_catalog timetz type admin ALL false -defaultdb pg_catalog regtype[] type admin ALL false -defaultdb pg_catalog int[] type admin ALL false -defaultdb pg_catalog refcursor[] type admin ALL false -defaultdb pg_catalog int2vector type admin ALL false -defaultdb pg_catalog jsonb type admin ALL false -defaultdb pg_catalog bpchar[] type admin ALL false -defaultdb pg_catalog oid type admin ALL false -defaultdb pg_catalog timestamptz type admin ALL false -defaultdb pg_catalog vector type admin ALL false -defaultdb pg_catalog decimal[] type admin ALL false -defaultdb pg_catalog oidvector[] type admin ALL false -defaultdb pg_catalog vector[] type admin ALL false -defaultdb pg_catalog anyelement type admin ALL false -defaultdb pg_catalog inet type admin ALL false -defaultdb pg_catalog bool[] type admin ALL false -defaultdb pg_catalog varbit type admin ALL false -defaultdb pg_catalog geometry[] type admin ALL false -defaultdb pg_catalog inet[] type admin ALL false -defaultdb pg_catalog int2vector[] type admin ALL false -defaultdb pg_catalog bytes[] type admin ALL false -defaultdb pg_catalog oidvector type admin ALL false -defaultdb pg_catalog regclass type admin ALL false -defaultdb pg_catalog trigger type admin ALL false -defaultdb pg_catalog geography type admin ALL false -defaultdb pg_catalog string[] type admin ALL false -defaultdb pg_catalog timetz[] type admin ALL false -defaultdb pg_catalog tsquery[] type admin ALL false -defaultdb pg_catalog regrole type admin ALL false -defaultdb pg_catalog tsquery type admin ALL false -defaultdb pg_catalog uuid type admin ALL false -defaultdb pg_catalog geography[] type admin ALL false -defaultdb pg_catalog record[] type admin ALL false -defaultdb pg_catalog varchar[] type admin ALL false -defaultdb pg_catalog bpchar type admin ALL false -defaultdb pg_catalog int2[] type admin ALL false -defaultdb pg_catalog timestamptz[] type admin ALL false -defaultdb pg_catalog int2 type admin ALL false -defaultdb pg_catalog record type admin ALL false -defaultdb pg_catalog string type admin ALL false -defaultdb pg_catalog tsvector type admin ALL false -defaultdb pg_catalog regrole[] type admin ALL false -defaultdb pg_catalog bool type admin ALL false -defaultdb pg_catalog "char" type admin ALL false -defaultdb pg_catalog float type admin ALL false -postgres pg_catalog timestamp type admin ALL false -postgres pg_catalog uuid[] type admin ALL false -postgres pg_catalog bit[] type admin ALL false -postgres pg_catalog float4[] type admin ALL false -postgres pg_catalog bit type admin ALL false -postgres pg_catalog bytes type admin ALL false -postgres pg_catalog float4 type admin ALL false -postgres pg_catalog unknown type admin ALL false -postgres pg_catalog void type admin ALL false -postgres pg_catalog pg_lsn[] type admin ALL false -postgres pg_catalog regclass[] type admin ALL false -postgres pg_catalog "char"[] type admin ALL false -postgres pg_catalog interval type admin ALL false -postgres pg_catalog refcursor type admin ALL false -postgres pg_catalog regtype type admin ALL false -postgres pg_catalog time type admin ALL false -postgres pg_catalog oid[] type admin ALL false -postgres pg_catalog varbit[] type admin ALL false -postgres pg_catalog regnamespace[] type admin ALL false -postgres pg_catalog timetz type admin ALL false -postgres pg_catalog regtype[] type admin ALL false -postgres pg_catalog int[] type admin ALL false -postgres pg_catalog interval[] type admin ALL false -postgres pg_catalog int2vector type admin ALL false -postgres pg_catalog jsonb type admin ALL false -postgres pg_catalog bpchar[] type admin ALL false -postgres pg_catalog refcursor[] type admin ALL false -postgres pg_catalog oid type admin ALL false -postgres pg_catalog timestamptz type admin ALL false -postgres pg_catalog vector type admin ALL false -postgres pg_catalog oidvector[] type admin ALL false -postgres pg_catalog vector[] type admin ALL false -postgres pg_catalog anyelement type admin ALL false -postgres pg_catalog inet type admin ALL false -postgres pg_catalog bool[] type admin ALL false -postgres pg_catalog decimal[] type admin ALL false -postgres pg_catalog geometry[] type admin ALL false -postgres pg_catalog inet[] type admin ALL false -postgres pg_catalog int2vector[] type admin ALL false -postgres pg_catalog bytes[] type admin ALL false -postgres pg_catalog oidvector type admin ALL false -postgres pg_catalog regclass type admin ALL false -postgres pg_catalog trigger type admin ALL false -postgres pg_catalog varbit type admin ALL false -postgres pg_catalog string[] type admin ALL false -postgres pg_catalog timetz[] type admin ALL false -postgres pg_catalog tsquery[] type admin ALL false -postgres pg_catalog regrole type admin ALL false -postgres pg_catalog tsquery type admin ALL false -postgres pg_catalog uuid type admin ALL false -postgres pg_catalog geography type admin ALL false -postgres pg_catalog record[] type admin ALL false -postgres pg_catalog varchar[] type admin ALL false -postgres pg_catalog bpchar type admin ALL false -postgres pg_catalog int2[] type admin ALL false -postgres pg_catalog timestamptz[] type admin ALL false -postgres pg_catalog geography[] type admin ALL false -postgres pg_catalog record type admin ALL false -postgres pg_catalog string type admin ALL false -postgres pg_catalog tsvector type admin ALL false -postgres pg_catalog regrole[] type admin ALL false -postgres pg_catalog bool type admin ALL false -postgres pg_catalog "char" type admin ALL false -postgres pg_catalog float type admin ALL false -postgres pg_catalog int2 type admin ALL false -postgres pg_catalog date[] type admin ALL false -postgres pg_catalog int type admin ALL false -postgres pg_catalog int4[] type admin ALL false -postgres pg_catalog float[] type admin ALL false -postgres pg_catalog jsonb[] type admin ALL false -postgres pg_catalog tsvector[] type admin ALL false -postgres pg_catalog regprocedure[] type admin ALL false -postgres pg_catalog name type admin ALL false -postgres pg_catalog varchar type admin ALL false -postgres pg_catalog geometry type admin ALL false -postgres pg_catalog box2d[] type admin ALL false -postgres pg_catalog box2d type admin ALL false -postgres pg_catalog anyarray type admin ALL false -postgres pg_catalog pg_lsn type admin ALL false -postgres pg_catalog regprocedure type admin ALL false -postgres pg_catalog time[] type admin ALL false -postgres pg_catalog regproc[] type admin ALL false -postgres pg_catalog regproc type admin ALL false -postgres pg_catalog timestamp[] type admin ALL false -postgres pg_catalog name[] type admin ALL false -postgres pg_catalog date type admin ALL false -postgres pg_catalog int4 type admin ALL false -postgres pg_catalog decimal type admin ALL false -postgres pg_catalog regnamespace type admin ALL false -test pg_catalog varchar[] type admin ALL false -test pg_catalog bpchar type admin ALL false -test pg_catalog int2[] type admin ALL false -test pg_catalog timestamptz[] type admin ALL false -test pg_catalog geography[] type admin ALL false -test pg_catalog record[] type admin ALL false -test pg_catalog string type admin ALL false -test pg_catalog tsvector type admin ALL false -test pg_catalog regrole[] type admin ALL false +test pg_catalog "char"[] type admin ALL false +test pg_catalog "char"[] type root ALL false +test pg_catalog anyarray type admin ALL false +test pg_catalog anyarray type root ALL false +test pg_catalog anyelement type admin ALL false +test pg_catalog anyelement type root ALL false +test pg_catalog bit type admin ALL false +test pg_catalog bit type root ALL false +test pg_catalog bit[] type admin ALL false +test pg_catalog bit[] type root ALL false test pg_catalog bool type admin ALL false -test pg_catalog "char" type admin ALL false -test pg_catalog float type admin ALL false -test pg_catalog int2 type admin ALL false -test pg_catalog record type admin ALL false -test pg_catalog int type admin ALL false -test pg_catalog int4[] type admin ALL false -test pg_catalog float[] type admin ALL false -test pg_catalog jsonb[] type admin ALL false -test pg_catalog date[] type admin ALL false -test pg_catalog regprocedure[] type admin ALL false -test pg_catalog name type admin ALL false -test pg_catalog varchar type admin ALL false -test pg_catalog geometry type admin ALL false -test pg_catalog box2d[] type admin ALL false -test pg_catalog tsvector[] type admin ALL false +test pg_catalog bool type root ALL false +test pg_catalog bool[] type admin ALL false +test pg_catalog bool[] type root ALL false test pg_catalog box2d type admin ALL false -test pg_catalog anyarray type admin ALL false -test pg_catalog pg_lsn type admin ALL false -test pg_catalog regprocedure type admin ALL false -test pg_catalog time[] type admin ALL false -test pg_catalog regproc[] type admin ALL false -test pg_catalog timestamp[] type admin ALL false -test pg_catalog name[] type admin ALL false +test pg_catalog box2d type root ALL false +test pg_catalog box2d[] type admin ALL false +test pg_catalog box2d[] type root ALL false +test pg_catalog bpchar type admin ALL false +test pg_catalog bpchar type root ALL false +test pg_catalog bpchar[] type admin ALL false +test pg_catalog bpchar[] type root ALL false +test pg_catalog bytes type admin ALL false +test pg_catalog bytes type root ALL false +test pg_catalog bytes[] type admin ALL false +test pg_catalog bytes[] type root ALL false test pg_catalog date type admin ALL false -test pg_catalog int4 type admin ALL false +test pg_catalog date type root ALL false +test pg_catalog date[] type admin ALL false +test pg_catalog date[] type root ALL false test pg_catalog decimal type admin ALL false -test pg_catalog regnamespace type admin ALL false -test pg_catalog regproc type admin ALL false -test pg_catalog timestamp type admin ALL false -test pg_catalog uuid[] type admin ALL false -test pg_catalog bit[] type admin ALL false -test pg_catalog bit type admin ALL false -test pg_catalog bytes type admin ALL false +test pg_catalog decimal type root ALL false +test pg_catalog decimal[] type admin ALL false +test pg_catalog decimal[] type root ALL false +test pg_catalog float type admin ALL false +test pg_catalog float type root ALL false test pg_catalog float4 type admin ALL false -test pg_catalog unknown type admin ALL false +test pg_catalog float4 type root ALL false test pg_catalog float4[] type admin ALL false -test pg_catalog pg_lsn[] type admin ALL false -test pg_catalog regclass[] type admin ALL false -test pg_catalog "char"[] type admin ALL false -test pg_catalog interval type admin ALL false -test pg_catalog refcursor type admin ALL false -test pg_catalog regtype type admin ALL false -test pg_catalog time type admin ALL false -test pg_catalog void type admin ALL false -test pg_catalog oid[] type admin ALL false -test pg_catalog regnamespace[] type admin ALL false -test pg_catalog timetz type admin ALL false -test pg_catalog regtype[] type admin ALL false +test pg_catalog float4[] type root ALL false +test pg_catalog float[] type admin ALL false +test pg_catalog float[] type root ALL false +test pg_catalog geography type admin ALL false +test pg_catalog geography type root ALL false +test pg_catalog geography[] type admin ALL false +test pg_catalog geography[] type root ALL false +test pg_catalog geometry type admin ALL false +test pg_catalog geometry type root ALL false +test pg_catalog geometry[] type admin ALL false +test pg_catalog geometry[] type root ALL false +test pg_catalog inet type admin ALL false +test pg_catalog inet type root ALL false +test pg_catalog inet[] type admin ALL false +test pg_catalog inet[] type root ALL false +test pg_catalog int type admin ALL false +test pg_catalog int type root ALL false +test pg_catalog int2 type admin ALL false +test pg_catalog int2 type root ALL false +test pg_catalog int2[] type admin ALL false +test pg_catalog int2[] type root ALL false +test pg_catalog int2vector type admin ALL false +test pg_catalog int2vector type root ALL false +test pg_catalog int2vector[] type admin ALL false +test pg_catalog int2vector[] type root ALL false +test pg_catalog int4 type admin ALL false +test pg_catalog int4 type root ALL false +test pg_catalog int4[] type admin ALL false +test pg_catalog int4[] type root ALL false test pg_catalog int[] type admin ALL false +test pg_catalog int[] type root ALL false +test pg_catalog interval type admin ALL false +test pg_catalog interval type root ALL false test pg_catalog interval[] type admin ALL false -test pg_catalog varbit[] type admin ALL false -test pg_catalog int2vector type admin ALL false +test pg_catalog interval[] type root ALL false test pg_catalog jsonb type admin ALL false -test pg_catalog bpchar[] type admin ALL false -test pg_catalog refcursor[] type admin ALL false +test pg_catalog jsonb type root ALL false +test pg_catalog jsonb[] type admin ALL false +test pg_catalog jsonb[] type root ALL false +test pg_catalog name type admin ALL false +test pg_catalog name type root ALL false +test pg_catalog name[] type admin ALL false +test pg_catalog name[] type root ALL false test pg_catalog oid type admin ALL false -test pg_catalog timestamptz type admin ALL false -test pg_catalog vector type admin ALL false -test pg_catalog vector[] type admin ALL false -test pg_catalog anyelement type admin ALL false -test pg_catalog inet type admin ALL false -test pg_catalog bool[] type admin ALL false -test pg_catalog decimal[] type admin ALL false -test pg_catalog oidvector[] type admin ALL false -test pg_catalog inet[] type admin ALL false -test pg_catalog int2vector[] type admin ALL false -test pg_catalog bytes[] type admin ALL false +test pg_catalog oid type root ALL false +test pg_catalog oid[] type admin ALL false +test pg_catalog oid[] type root ALL false test pg_catalog oidvector type admin ALL false +test pg_catalog oidvector type root ALL false +test pg_catalog oidvector[] type admin ALL false +test pg_catalog oidvector[] type root ALL false +test pg_catalog pg_lsn type admin ALL false +test pg_catalog pg_lsn type root ALL false +test pg_catalog pg_lsn[] type admin ALL false +test pg_catalog pg_lsn[] type root ALL false +test pg_catalog record type admin ALL false +test pg_catalog record type root ALL false +test pg_catalog record[] type admin ALL false +test pg_catalog record[] type root ALL false +test pg_catalog refcursor type admin ALL false +test pg_catalog refcursor type root ALL false +test pg_catalog refcursor[] type admin ALL false +test pg_catalog refcursor[] type root ALL false test pg_catalog regclass type admin ALL false -test pg_catalog trigger type admin ALL false -test pg_catalog varbit type admin ALL false -test pg_catalog geometry[] type admin ALL false -test pg_catalog timetz[] type admin ALL false -test pg_catalog tsquery[] type admin ALL false +test pg_catalog regclass type root ALL false +test pg_catalog regclass[] type admin ALL false +test pg_catalog regclass[] type root ALL false +test pg_catalog regnamespace type admin ALL false +test pg_catalog regnamespace type root ALL false +test pg_catalog regnamespace[] type admin ALL false +test pg_catalog regnamespace[] type root ALL false +test pg_catalog regproc type admin ALL false +test pg_catalog regproc type root ALL false +test pg_catalog regproc[] type admin ALL false +test pg_catalog regproc[] type root ALL false +test pg_catalog regprocedure type admin ALL false +test pg_catalog regprocedure type root ALL false +test pg_catalog regprocedure[] type admin ALL false +test pg_catalog regprocedure[] type root ALL false test pg_catalog regrole type admin ALL false +test pg_catalog regrole type root ALL false +test pg_catalog regrole[] type admin ALL false +test pg_catalog regrole[] type root ALL false +test pg_catalog regtype type admin ALL false +test pg_catalog regtype type root ALL false +test pg_catalog regtype[] type admin ALL false +test pg_catalog regtype[] type root ALL false +test pg_catalog string type admin ALL false +test pg_catalog string type root ALL false +test pg_catalog string[] type admin ALL false +test pg_catalog string[] type root ALL false +test pg_catalog time type admin ALL false +test pg_catalog time type root ALL false +test pg_catalog time[] type admin ALL false +test pg_catalog time[] type root ALL false +test pg_catalog timestamp type admin ALL false +test pg_catalog timestamp type root ALL false +test pg_catalog timestamp[] type admin ALL false +test pg_catalog timestamp[] type root ALL false +test pg_catalog timestamptz type admin ALL false +test pg_catalog timestamptz type root ALL false +test pg_catalog timestamptz[] type admin ALL false +test pg_catalog timestamptz[] type root ALL false +test pg_catalog timetz type admin ALL false +test pg_catalog timetz type root ALL false +test pg_catalog timetz[] type admin ALL false +test pg_catalog timetz[] type root ALL false +test pg_catalog trigger type admin ALL false +test pg_catalog trigger type root ALL false test pg_catalog tsquery type admin ALL false +test pg_catalog tsquery type root ALL false +test pg_catalog tsquery[] type admin ALL false +test pg_catalog tsquery[] type root ALL false +test pg_catalog tsvector type admin ALL false +test pg_catalog tsvector type root ALL false +test pg_catalog tsvector[] type admin ALL false +test pg_catalog tsvector[] type root ALL false +test pg_catalog unknown type admin ALL false +test pg_catalog unknown type root ALL false test pg_catalog uuid type admin ALL false -test pg_catalog geography type admin ALL false -test pg_catalog string[] type admin ALL false -system public role_options table root DELETE true -system public role_options table root INSERT true -system public role_options table root SELECT true -system public role_options table root UPDATE true -a public NULL schema root ALL true -defaultdb public NULL schema root ALL true -postgres public NULL schema root ALL true +test pg_catalog uuid type root ALL false +test pg_catalog uuid[] type admin ALL false +test pg_catalog uuid[] type root ALL false +test pg_catalog varbit type admin ALL false +test pg_catalog varbit type root ALL false +test pg_catalog varbit[] type admin ALL false +test pg_catalog varbit[] type root ALL false +test pg_catalog varchar type admin ALL false +test pg_catalog varchar type root ALL false +test pg_catalog varchar[] type admin ALL false +test pg_catalog varchar[] type root ALL false +test pg_catalog vector type admin ALL false +test pg_catalog vector type root ALL false +test pg_catalog vector[] type admin ALL false +test pg_catalog vector[] type root ALL false +test pg_catalog void type admin ALL false +test pg_catalog void type root ALL false +test public NULL schema admin ALL true +test public NULL schema public CREATE false +test public NULL schema public USAGE false test public NULL schema root ALL true + +# With no database set, we show the grants everywhere +statement ok +SET DATABASE = '' + +# Filter system results so that so we are not enumerating the entire system +# and making this test brittle and overly broad but leave one specifically chosen +# system table in just to confirm they were there before filtering. +query TTTTTTB colnames +WITH grants AS (SHOW GRANTS) SELECT * FROM grants + WHERE schema_name NOT IN ('crdb_internal', 'pg_catalog', 'information_schema') + AND (database_name <> 'system' OR object_name = 'role_options') ORDER BY database_name, schema_name, object_name, + object_type, grantee, privilege_type, is_grantable +---- +database_name schema_name object_name object_type grantee privilege_type is_grantable +a pg_extension NULL schema public USAGE false +a pg_extension geography_columns table public SELECT false +a pg_extension geometry_columns table public SELECT false +a pg_extension spatial_ref_sys table public SELECT false +a public NULL schema admin ALL true +a public NULL schema public CREATE false +a public NULL schema public USAGE false +a public NULL schema root ALL true +defaultdb pg_extension NULL schema public USAGE false +defaultdb pg_extension geography_columns table public SELECT false +defaultdb pg_extension geometry_columns table public SELECT false +defaultdb pg_extension spatial_ref_sys table public SELECT false +defaultdb public NULL schema admin ALL true +defaultdb public NULL schema public CREATE false +defaultdb public NULL schema public USAGE false +defaultdb public NULL schema root ALL true +postgres pg_extension NULL schema public USAGE false +postgres pg_extension geography_columns table public SELECT false +postgres pg_extension geometry_columns table public SELECT false +postgres pg_extension spatial_ref_sys table public SELECT false +postgres public NULL schema admin ALL true +postgres public NULL schema public CREATE false +postgres public NULL schema public USAGE false +postgres public NULL schema root ALL true +system public role_options table admin DELETE true +system public role_options table admin INSERT true +system public role_options table admin SELECT true +system public role_options table admin UPDATE true +system public role_options table root DELETE true +system public role_options table root INSERT true +system public role_options table root SELECT true +system public role_options table root UPDATE true +test pg_extension NULL schema public USAGE false +test pg_extension geography_columns table public SELECT false +test pg_extension geometry_columns table public SELECT false +test pg_extension spatial_ref_sys table public SELECT false +test public NULL schema admin ALL true +test public NULL schema public CREATE false +test public NULL schema public USAGE false +test public NULL schema root ALL true + +query TTTTTTB colnames +WITH grants AS (SHOW GRANTS FOR root) SELECT * FROM grants +WHERE (database_name <> 'system' OR object_name = 'role_options') ORDER BY database_name, schema_name, object_name, +object_type, grantee, privilege_type, is_grantable +---- +database_name schema_name object_name object_type grantee privilege_type is_grantable +a NULL NULL database admin ALL true a NULL NULL database root ALL true -defaultdb NULL NULL database root ALL true -postgres NULL NULL database root ALL true -test NULL NULL database root ALL true -a pg_catalog varchar[] type root ALL false -a pg_catalog bpchar type root ALL false -a pg_catalog int2[] type root ALL false -a pg_catalog timestamptz[] type root ALL false -a pg_catalog geography[] type root ALL false -a pg_catalog record[] type root ALL false -a pg_catalog string type root ALL false -a pg_catalog tsvector type root ALL false -a pg_catalog regrole[] type root ALL false -a pg_catalog bool type root ALL false +a pg_catalog "char" type admin ALL false a pg_catalog "char" type root ALL false -a pg_catalog float type root ALL false -a pg_catalog int2 type root ALL false -a pg_catalog record type root ALL false -a pg_catalog int type root ALL false -a pg_catalog int4[] type root ALL false -a pg_catalog float[] type root ALL false -a pg_catalog jsonb[] type root ALL false -a pg_catalog date[] type root ALL false -a pg_catalog regprocedure[] type root ALL false -a pg_catalog name type root ALL false -a pg_catalog varchar type root ALL false -a pg_catalog geometry type root ALL false -a pg_catalog box2d[] type root ALL false -a pg_catalog tsvector[] type root ALL false -a pg_catalog box2d type root ALL false +a pg_catalog "char"[] type admin ALL false +a pg_catalog "char"[] type root ALL false +a pg_catalog anyarray type admin ALL false a pg_catalog anyarray type root ALL false -a pg_catalog pg_lsn type root ALL false -a pg_catalog regprocedure type root ALL false -a pg_catalog time[] type root ALL false -a pg_catalog regproc[] type root ALL false -a pg_catalog timestamp[] type root ALL false -a pg_catalog name[] type root ALL false -a pg_catalog date type root ALL false -a pg_catalog int4 type root ALL false -a pg_catalog decimal type root ALL false -a pg_catalog regnamespace type root ALL false -a pg_catalog regproc type root ALL false -a pg_catalog timestamp type root ALL false -a pg_catalog uuid[] type root ALL false -a pg_catalog bit[] type root ALL false +a pg_catalog anyelement type admin ALL false +a pg_catalog anyelement type root ALL false +a pg_catalog bit type admin ALL false a pg_catalog bit type root ALL false +a pg_catalog bit[] type admin ALL false +a pg_catalog bit[] type root ALL false +a pg_catalog bool type admin ALL false +a pg_catalog bool type root ALL false +a pg_catalog bool[] type admin ALL false +a pg_catalog bool[] type root ALL false +a pg_catalog box2d type admin ALL false +a pg_catalog box2d type root ALL false +a pg_catalog box2d[] type admin ALL false +a pg_catalog box2d[] type root ALL false +a pg_catalog bpchar type admin ALL false +a pg_catalog bpchar type root ALL false +a pg_catalog bpchar[] type admin ALL false +a pg_catalog bpchar[] type root ALL false +a pg_catalog bytes type admin ALL false a pg_catalog bytes type root ALL false +a pg_catalog bytes[] type admin ALL false +a pg_catalog bytes[] type root ALL false +a pg_catalog date type admin ALL false +a pg_catalog date type root ALL false +a pg_catalog date[] type admin ALL false +a pg_catalog date[] type root ALL false +a pg_catalog decimal type admin ALL false +a pg_catalog decimal type root ALL false +a pg_catalog decimal[] type admin ALL false +a pg_catalog decimal[] type root ALL false +a pg_catalog float type admin ALL false +a pg_catalog float type root ALL false +a pg_catalog float4 type admin ALL false a pg_catalog float4 type root ALL false -a pg_catalog unknown type root ALL false +a pg_catalog float4[] type admin ALL false a pg_catalog float4[] type root ALL false -a pg_catalog pg_lsn[] type root ALL false -a pg_catalog regclass[] type root ALL false -a pg_catalog "char"[] type root ALL false -a pg_catalog interval type root ALL false -a pg_catalog refcursor type root ALL false -a pg_catalog regtype type root ALL false -a pg_catalog time type root ALL false -a pg_catalog void type root ALL false -a pg_catalog oid[] type root ALL false -a pg_catalog regnamespace[] type root ALL false -a pg_catalog timetz type root ALL false -a pg_catalog regtype[] type root ALL false +a pg_catalog float[] type admin ALL false +a pg_catalog float[] type root ALL false +a pg_catalog geography type admin ALL false +a pg_catalog geography type root ALL false +a pg_catalog geography[] type admin ALL false +a pg_catalog geography[] type root ALL false +a pg_catalog geometry type admin ALL false +a pg_catalog geometry type root ALL false +a pg_catalog geometry[] type admin ALL false +a pg_catalog geometry[] type root ALL false +a pg_catalog inet type admin ALL false +a pg_catalog inet type root ALL false +a pg_catalog inet[] type admin ALL false +a pg_catalog inet[] type root ALL false +a pg_catalog int type admin ALL false +a pg_catalog int type root ALL false +a pg_catalog int2 type admin ALL false +a pg_catalog int2 type root ALL false +a pg_catalog int2[] type admin ALL false +a pg_catalog int2[] type root ALL false +a pg_catalog int2vector type admin ALL false +a pg_catalog int2vector type root ALL false +a pg_catalog int2vector[] type admin ALL false +a pg_catalog int2vector[] type root ALL false +a pg_catalog int4 type admin ALL false +a pg_catalog int4 type root ALL false +a pg_catalog int4[] type admin ALL false +a pg_catalog int4[] type root ALL false +a pg_catalog int[] type admin ALL false a pg_catalog int[] type root ALL false +a pg_catalog interval type admin ALL false +a pg_catalog interval type root ALL false +a pg_catalog interval[] type admin ALL false a pg_catalog interval[] type root ALL false -a pg_catalog varbit[] type root ALL false -a pg_catalog int2vector type root ALL false +a pg_catalog jsonb type admin ALL false a pg_catalog jsonb type root ALL false -a pg_catalog bpchar[] type root ALL false -a pg_catalog refcursor[] type root ALL false +a pg_catalog jsonb[] type admin ALL false +a pg_catalog jsonb[] type root ALL false +a pg_catalog name type admin ALL false +a pg_catalog name type root ALL false +a pg_catalog name[] type admin ALL false +a pg_catalog name[] type root ALL false +a pg_catalog oid type admin ALL false a pg_catalog oid type root ALL false -a pg_catalog timestamptz type root ALL false -a pg_catalog vector type root ALL false -a pg_catalog vector[] type root ALL false -a pg_catalog anyelement type root ALL false -a pg_catalog inet type root ALL false -a pg_catalog bool[] type root ALL false -a pg_catalog decimal[] type root ALL false -a pg_catalog oidvector[] type root ALL false -a pg_catalog inet[] type root ALL false -a pg_catalog int2vector[] type root ALL false -a pg_catalog bytes[] type root ALL false +a pg_catalog oid[] type admin ALL false +a pg_catalog oid[] type root ALL false +a pg_catalog oidvector type admin ALL false a pg_catalog oidvector type root ALL false +a pg_catalog oidvector[] type admin ALL false +a pg_catalog oidvector[] type root ALL false +a pg_catalog pg_lsn type admin ALL false +a pg_catalog pg_lsn type root ALL false +a pg_catalog pg_lsn[] type admin ALL false +a pg_catalog pg_lsn[] type root ALL false +a pg_catalog record type admin ALL false +a pg_catalog record type root ALL false +a pg_catalog record[] type admin ALL false +a pg_catalog record[] type root ALL false +a pg_catalog refcursor type admin ALL false +a pg_catalog refcursor type root ALL false +a pg_catalog refcursor[] type admin ALL false +a pg_catalog refcursor[] type root ALL false +a pg_catalog regclass type admin ALL false a pg_catalog regclass type root ALL false -a pg_catalog trigger type root ALL false -a pg_catalog varbit type root ALL false -a pg_catalog geometry[] type root ALL false -a pg_catalog timetz[] type root ALL false -a pg_catalog tsquery[] type root ALL false +a pg_catalog regclass[] type admin ALL false +a pg_catalog regclass[] type root ALL false +a pg_catalog regnamespace type admin ALL false +a pg_catalog regnamespace type root ALL false +a pg_catalog regnamespace[] type admin ALL false +a pg_catalog regnamespace[] type root ALL false +a pg_catalog regproc type admin ALL false +a pg_catalog regproc type root ALL false +a pg_catalog regproc[] type admin ALL false +a pg_catalog regproc[] type root ALL false +a pg_catalog regprocedure type admin ALL false +a pg_catalog regprocedure type root ALL false +a pg_catalog regprocedure[] type admin ALL false +a pg_catalog regprocedure[] type root ALL false +a pg_catalog regrole type admin ALL false a pg_catalog regrole type root ALL false +a pg_catalog regrole[] type admin ALL false +a pg_catalog regrole[] type root ALL false +a pg_catalog regtype type admin ALL false +a pg_catalog regtype type root ALL false +a pg_catalog regtype[] type admin ALL false +a pg_catalog regtype[] type root ALL false +a pg_catalog string type admin ALL false +a pg_catalog string type root ALL false +a pg_catalog string[] type admin ALL false +a pg_catalog string[] type root ALL false +a pg_catalog time type admin ALL false +a pg_catalog time type root ALL false +a pg_catalog time[] type admin ALL false +a pg_catalog time[] type root ALL false +a pg_catalog timestamp type admin ALL false +a pg_catalog timestamp type root ALL false +a pg_catalog timestamp[] type admin ALL false +a pg_catalog timestamp[] type root ALL false +a pg_catalog timestamptz type admin ALL false +a pg_catalog timestamptz type root ALL false +a pg_catalog timestamptz[] type admin ALL false +a pg_catalog timestamptz[] type root ALL false +a pg_catalog timetz type admin ALL false +a pg_catalog timetz type root ALL false +a pg_catalog timetz[] type admin ALL false +a pg_catalog timetz[] type root ALL false +a pg_catalog trigger type admin ALL false +a pg_catalog trigger type root ALL false +a pg_catalog tsquery type admin ALL false a pg_catalog tsquery type root ALL false +a pg_catalog tsquery[] type admin ALL false +a pg_catalog tsquery[] type root ALL false +a pg_catalog tsvector type admin ALL false +a pg_catalog tsvector type root ALL false +a pg_catalog tsvector[] type admin ALL false +a pg_catalog tsvector[] type root ALL false +a pg_catalog unknown type admin ALL false +a pg_catalog unknown type root ALL false +a pg_catalog uuid type admin ALL false a pg_catalog uuid type root ALL false -a pg_catalog geography type root ALL false -a pg_catalog string[] type root ALL false -defaultdb pg_catalog jsonb[] type root ALL false -defaultdb pg_catalog date[] type root ALL false -defaultdb pg_catalog int type root ALL false -defaultdb pg_catalog int4[] type root ALL false -defaultdb pg_catalog float[] type root ALL false -defaultdb pg_catalog box2d[] type root ALL false -defaultdb pg_catalog tsvector[] type root ALL false -defaultdb pg_catalog regprocedure[] type root ALL false -defaultdb pg_catalog name type root ALL false -defaultdb pg_catalog varchar type root ALL false -defaultdb pg_catalog geometry type root ALL false -defaultdb pg_catalog box2d type root ALL false +a pg_catalog uuid[] type admin ALL false +a pg_catalog uuid[] type root ALL false +a pg_catalog varbit type admin ALL false +a pg_catalog varbit type root ALL false +a pg_catalog varbit[] type admin ALL false +a pg_catalog varbit[] type root ALL false +a pg_catalog varchar type admin ALL false +a pg_catalog varchar type root ALL false +a pg_catalog varchar[] type admin ALL false +a pg_catalog varchar[] type root ALL false +a pg_catalog vector type admin ALL false +a pg_catalog vector type root ALL false +a pg_catalog vector[] type admin ALL false +a pg_catalog vector[] type root ALL false +a pg_catalog void type admin ALL false +a pg_catalog void type root ALL false +a public NULL schema admin ALL true +a public NULL schema public CREATE false +a public NULL schema public USAGE false +a public NULL schema root ALL true +defaultdb NULL NULL database admin ALL true +defaultdb NULL NULL database root ALL true +defaultdb pg_catalog "char" type admin ALL false +defaultdb pg_catalog "char" type root ALL false +defaultdb pg_catalog "char"[] type admin ALL false +defaultdb pg_catalog "char"[] type root ALL false +defaultdb pg_catalog anyarray type admin ALL false defaultdb pg_catalog anyarray type root ALL false -defaultdb pg_catalog regproc[] type root ALL false -defaultdb pg_catalog pg_lsn type root ALL false -defaultdb pg_catalog regprocedure type root ALL false -defaultdb pg_catalog time[] type root ALL false -defaultdb pg_catalog regnamespace type root ALL false -defaultdb pg_catalog regproc type root ALL false -defaultdb pg_catalog timestamp[] type root ALL false -defaultdb pg_catalog name[] type root ALL false -defaultdb pg_catalog date type root ALL false -defaultdb pg_catalog int4 type root ALL false -defaultdb pg_catalog decimal type root ALL false -defaultdb pg_catalog timestamp type root ALL false -defaultdb pg_catalog uuid[] type root ALL false -defaultdb pg_catalog bit[] type root ALL false -defaultdb pg_catalog unknown type root ALL false -defaultdb pg_catalog float4[] type root ALL false +defaultdb pg_catalog anyelement type admin ALL false +defaultdb pg_catalog anyelement type root ALL false +defaultdb pg_catalog bit type admin ALL false defaultdb pg_catalog bit type root ALL false +defaultdb pg_catalog bit[] type admin ALL false +defaultdb pg_catalog bit[] type root ALL false +defaultdb pg_catalog bool type admin ALL false +defaultdb pg_catalog bool type root ALL false +defaultdb pg_catalog bool[] type admin ALL false +defaultdb pg_catalog bool[] type root ALL false +defaultdb pg_catalog box2d type admin ALL false +defaultdb pg_catalog box2d type root ALL false +defaultdb pg_catalog box2d[] type admin ALL false +defaultdb pg_catalog box2d[] type root ALL false +defaultdb pg_catalog bpchar type admin ALL false +defaultdb pg_catalog bpchar type root ALL false +defaultdb pg_catalog bpchar[] type admin ALL false +defaultdb pg_catalog bpchar[] type root ALL false +defaultdb pg_catalog bytes type admin ALL false defaultdb pg_catalog bytes type root ALL false +defaultdb pg_catalog bytes[] type admin ALL false +defaultdb pg_catalog bytes[] type root ALL false +defaultdb pg_catalog date type admin ALL false +defaultdb pg_catalog date type root ALL false +defaultdb pg_catalog date[] type admin ALL false +defaultdb pg_catalog date[] type root ALL false +defaultdb pg_catalog decimal type admin ALL false +defaultdb pg_catalog decimal type root ALL false +defaultdb pg_catalog decimal[] type admin ALL false +defaultdb pg_catalog decimal[] type root ALL false +defaultdb pg_catalog float type admin ALL false +defaultdb pg_catalog float type root ALL false +defaultdb pg_catalog float4 type admin ALL false defaultdb pg_catalog float4 type root ALL false -defaultdb pg_catalog time type root ALL false -defaultdb pg_catalog void type root ALL false -defaultdb pg_catalog pg_lsn[] type root ALL false -defaultdb pg_catalog regclass[] type root ALL false -defaultdb pg_catalog "char"[] type root ALL false +defaultdb pg_catalog float4[] type admin ALL false +defaultdb pg_catalog float4[] type root ALL false +defaultdb pg_catalog float[] type admin ALL false +defaultdb pg_catalog float[] type root ALL false +defaultdb pg_catalog geography type admin ALL false +defaultdb pg_catalog geography type root ALL false +defaultdb pg_catalog geography[] type admin ALL false +defaultdb pg_catalog geography[] type root ALL false +defaultdb pg_catalog geometry type admin ALL false +defaultdb pg_catalog geometry type root ALL false +defaultdb pg_catalog geometry[] type admin ALL false +defaultdb pg_catalog geometry[] type root ALL false +defaultdb pg_catalog inet type admin ALL false +defaultdb pg_catalog inet type root ALL false +defaultdb pg_catalog inet[] type admin ALL false +defaultdb pg_catalog inet[] type root ALL false +defaultdb pg_catalog int type admin ALL false +defaultdb pg_catalog int type root ALL false +defaultdb pg_catalog int2 type admin ALL false +defaultdb pg_catalog int2 type root ALL false +defaultdb pg_catalog int2[] type admin ALL false +defaultdb pg_catalog int2[] type root ALL false +defaultdb pg_catalog int2vector type admin ALL false +defaultdb pg_catalog int2vector type root ALL false +defaultdb pg_catalog int2vector[] type admin ALL false +defaultdb pg_catalog int2vector[] type root ALL false +defaultdb pg_catalog int4 type admin ALL false +defaultdb pg_catalog int4 type root ALL false +defaultdb pg_catalog int4[] type admin ALL false +defaultdb pg_catalog int4[] type root ALL false +defaultdb pg_catalog int[] type admin ALL false +defaultdb pg_catalog int[] type root ALL false +defaultdb pg_catalog interval type admin ALL false defaultdb pg_catalog interval type root ALL false -defaultdb pg_catalog refcursor type root ALL false -defaultdb pg_catalog regtype type root ALL false -defaultdb pg_catalog oid[] type root ALL false +defaultdb pg_catalog interval[] type admin ALL false defaultdb pg_catalog interval[] type root ALL false -defaultdb pg_catalog varbit[] type root ALL false -defaultdb pg_catalog regnamespace[] type root ALL false -defaultdb pg_catalog timetz type root ALL false -defaultdb pg_catalog regtype[] type root ALL false -defaultdb pg_catalog int[] type root ALL false -defaultdb pg_catalog refcursor[] type root ALL false -defaultdb pg_catalog int2vector type root ALL false +defaultdb pg_catalog jsonb type admin ALL false defaultdb pg_catalog jsonb type root ALL false -defaultdb pg_catalog bpchar[] type root ALL false +defaultdb pg_catalog jsonb[] type admin ALL false +defaultdb pg_catalog jsonb[] type root ALL false +defaultdb pg_catalog name type admin ALL false +defaultdb pg_catalog name type root ALL false +defaultdb pg_catalog name[] type admin ALL false +defaultdb pg_catalog name[] type root ALL false +defaultdb pg_catalog oid type admin ALL false defaultdb pg_catalog oid type root ALL false -defaultdb pg_catalog timestamptz type root ALL false -defaultdb pg_catalog vector type root ALL false -defaultdb pg_catalog decimal[] type root ALL false -defaultdb pg_catalog oidvector[] type root ALL false -defaultdb pg_catalog vector[] type root ALL false -defaultdb pg_catalog anyelement type root ALL false -defaultdb pg_catalog inet type root ALL false -defaultdb pg_catalog bool[] type root ALL false -defaultdb pg_catalog varbit type root ALL false -defaultdb pg_catalog geometry[] type root ALL false -defaultdb pg_catalog inet[] type root ALL false -defaultdb pg_catalog int2vector[] type root ALL false -defaultdb pg_catalog bytes[] type root ALL false +defaultdb pg_catalog oid[] type admin ALL false +defaultdb pg_catalog oid[] type root ALL false +defaultdb pg_catalog oidvector type admin ALL false defaultdb pg_catalog oidvector type root ALL false +defaultdb pg_catalog oidvector[] type admin ALL false +defaultdb pg_catalog oidvector[] type root ALL false +defaultdb pg_catalog pg_lsn type admin ALL false +defaultdb pg_catalog pg_lsn type root ALL false +defaultdb pg_catalog pg_lsn[] type admin ALL false +defaultdb pg_catalog pg_lsn[] type root ALL false +defaultdb pg_catalog record type admin ALL false +defaultdb pg_catalog record type root ALL false +defaultdb pg_catalog record[] type admin ALL false +defaultdb pg_catalog record[] type root ALL false +defaultdb pg_catalog refcursor type admin ALL false +defaultdb pg_catalog refcursor type root ALL false +defaultdb pg_catalog refcursor[] type admin ALL false +defaultdb pg_catalog refcursor[] type root ALL false +defaultdb pg_catalog regclass type admin ALL false defaultdb pg_catalog regclass type root ALL false -defaultdb pg_catalog trigger type root ALL false -defaultdb pg_catalog geography type root ALL false +defaultdb pg_catalog regclass[] type admin ALL false +defaultdb pg_catalog regclass[] type root ALL false +defaultdb pg_catalog regnamespace type admin ALL false +defaultdb pg_catalog regnamespace type root ALL false +defaultdb pg_catalog regnamespace[] type admin ALL false +defaultdb pg_catalog regnamespace[] type root ALL false +defaultdb pg_catalog regproc type admin ALL false +defaultdb pg_catalog regproc type root ALL false +defaultdb pg_catalog regproc[] type admin ALL false +defaultdb pg_catalog regproc[] type root ALL false +defaultdb pg_catalog regprocedure type admin ALL false +defaultdb pg_catalog regprocedure type root ALL false +defaultdb pg_catalog regprocedure[] type admin ALL false +defaultdb pg_catalog regprocedure[] type root ALL false +defaultdb pg_catalog regrole type admin ALL false +defaultdb pg_catalog regrole type root ALL false +defaultdb pg_catalog regrole[] type admin ALL false +defaultdb pg_catalog regrole[] type root ALL false +defaultdb pg_catalog regtype type admin ALL false +defaultdb pg_catalog regtype type root ALL false +defaultdb pg_catalog regtype[] type admin ALL false +defaultdb pg_catalog regtype[] type root ALL false +defaultdb pg_catalog string type admin ALL false +defaultdb pg_catalog string type root ALL false +defaultdb pg_catalog string[] type admin ALL false defaultdb pg_catalog string[] type root ALL false +defaultdb pg_catalog time type admin ALL false +defaultdb pg_catalog time type root ALL false +defaultdb pg_catalog time[] type admin ALL false +defaultdb pg_catalog time[] type root ALL false +defaultdb pg_catalog timestamp type admin ALL false +defaultdb pg_catalog timestamp type root ALL false +defaultdb pg_catalog timestamp[] type admin ALL false +defaultdb pg_catalog timestamp[] type root ALL false +defaultdb pg_catalog timestamptz type admin ALL false +defaultdb pg_catalog timestamptz type root ALL false +defaultdb pg_catalog timestamptz[] type admin ALL false +defaultdb pg_catalog timestamptz[] type root ALL false +defaultdb pg_catalog timetz type admin ALL false +defaultdb pg_catalog timetz type root ALL false +defaultdb pg_catalog timetz[] type admin ALL false defaultdb pg_catalog timetz[] type root ALL false -defaultdb pg_catalog tsquery[] type root ALL false -defaultdb pg_catalog regrole type root ALL false +defaultdb pg_catalog trigger type admin ALL false +defaultdb pg_catalog trigger type root ALL false +defaultdb pg_catalog tsquery type admin ALL false defaultdb pg_catalog tsquery type root ALL false -defaultdb pg_catalog uuid type root ALL false -defaultdb pg_catalog geography[] type root ALL false -defaultdb pg_catalog record[] type root ALL false -defaultdb pg_catalog varchar[] type root ALL false -defaultdb pg_catalog bpchar type root ALL false -defaultdb pg_catalog int2[] type root ALL false -defaultdb pg_catalog timestamptz[] type root ALL false -defaultdb pg_catalog int2 type root ALL false -defaultdb pg_catalog record type root ALL false -defaultdb pg_catalog string type root ALL false +defaultdb pg_catalog tsquery[] type admin ALL false +defaultdb pg_catalog tsquery[] type root ALL false +defaultdb pg_catalog tsvector type admin ALL false defaultdb pg_catalog tsvector type root ALL false -defaultdb pg_catalog regrole[] type root ALL false -defaultdb pg_catalog bool type root ALL false -defaultdb pg_catalog "char" type root ALL false -defaultdb pg_catalog float type root ALL false -postgres pg_catalog timestamp type root ALL false -postgres pg_catalog uuid[] type root ALL false -postgres pg_catalog bit[] type root ALL false -postgres pg_catalog float4[] type root ALL false -postgres pg_catalog bit type root ALL false -postgres pg_catalog bytes type root ALL false -postgres pg_catalog float4 type root ALL false -postgres pg_catalog unknown type root ALL false -postgres pg_catalog void type root ALL false -postgres pg_catalog pg_lsn[] type root ALL false -postgres pg_catalog regclass[] type root ALL false +defaultdb pg_catalog tsvector[] type admin ALL false +defaultdb pg_catalog tsvector[] type root ALL false +defaultdb pg_catalog unknown type admin ALL false +defaultdb pg_catalog unknown type root ALL false +defaultdb pg_catalog uuid type admin ALL false +defaultdb pg_catalog uuid type root ALL false +defaultdb pg_catalog uuid[] type admin ALL false +defaultdb pg_catalog uuid[] type root ALL false +defaultdb pg_catalog varbit type admin ALL false +defaultdb pg_catalog varbit type root ALL false +defaultdb pg_catalog varbit[] type admin ALL false +defaultdb pg_catalog varbit[] type root ALL false +defaultdb pg_catalog varchar type admin ALL false +defaultdb pg_catalog varchar type root ALL false +defaultdb pg_catalog varchar[] type admin ALL false +defaultdb pg_catalog varchar[] type root ALL false +defaultdb pg_catalog vector type admin ALL false +defaultdb pg_catalog vector type root ALL false +defaultdb pg_catalog vector[] type admin ALL false +defaultdb pg_catalog vector[] type root ALL false +defaultdb pg_catalog void type admin ALL false +defaultdb pg_catalog void type root ALL false +defaultdb public NULL schema admin ALL true +defaultdb public NULL schema public CREATE false +defaultdb public NULL schema public USAGE false +defaultdb public NULL schema root ALL true +postgres NULL NULL database admin ALL true +postgres NULL NULL database root ALL true +postgres pg_catalog "char" type admin ALL false +postgres pg_catalog "char" type root ALL false +postgres pg_catalog "char"[] type admin ALL false postgres pg_catalog "char"[] type root ALL false -postgres pg_catalog interval type root ALL false -postgres pg_catalog refcursor type root ALL false -postgres pg_catalog regtype type root ALL false -postgres pg_catalog time type root ALL false -postgres pg_catalog oid[] type root ALL false -postgres pg_catalog varbit[] type root ALL false -postgres pg_catalog regnamespace[] type root ALL false -postgres pg_catalog timetz type root ALL false -postgres pg_catalog regtype[] type root ALL false -postgres pg_catalog int[] type root ALL false -postgres pg_catalog interval[] type root ALL false -postgres pg_catalog int2vector type root ALL false -postgres pg_catalog jsonb type root ALL false -postgres pg_catalog bpchar[] type root ALL false -postgres pg_catalog refcursor[] type root ALL false -postgres pg_catalog oid type root ALL false -postgres pg_catalog timestamptz type root ALL false -postgres pg_catalog vector type root ALL false -postgres pg_catalog oidvector[] type root ALL false -postgres pg_catalog vector[] type root ALL false +postgres pg_catalog anyarray type admin ALL false +postgres pg_catalog anyarray type root ALL false +postgres pg_catalog anyelement type admin ALL false postgres pg_catalog anyelement type root ALL false -postgres pg_catalog inet type root ALL false +postgres pg_catalog bit type admin ALL false +postgres pg_catalog bit type root ALL false +postgres pg_catalog bit[] type admin ALL false +postgres pg_catalog bit[] type root ALL false +postgres pg_catalog bool type admin ALL false +postgres pg_catalog bool type root ALL false +postgres pg_catalog bool[] type admin ALL false postgres pg_catalog bool[] type root ALL false +postgres pg_catalog box2d type admin ALL false +postgres pg_catalog box2d type root ALL false +postgres pg_catalog box2d[] type admin ALL false +postgres pg_catalog box2d[] type root ALL false +postgres pg_catalog bpchar type admin ALL false +postgres pg_catalog bpchar type root ALL false +postgres pg_catalog bpchar[] type admin ALL false +postgres pg_catalog bpchar[] type root ALL false +postgres pg_catalog bytes type admin ALL false +postgres pg_catalog bytes type root ALL false +postgres pg_catalog bytes[] type admin ALL false +postgres pg_catalog bytes[] type root ALL false +postgres pg_catalog date type admin ALL false +postgres pg_catalog date type root ALL false +postgres pg_catalog date[] type admin ALL false +postgres pg_catalog date[] type root ALL false +postgres pg_catalog decimal type admin ALL false +postgres pg_catalog decimal type root ALL false +postgres pg_catalog decimal[] type admin ALL false postgres pg_catalog decimal[] type root ALL false +postgres pg_catalog float type admin ALL false +postgres pg_catalog float type root ALL false +postgres pg_catalog float4 type admin ALL false +postgres pg_catalog float4 type root ALL false +postgres pg_catalog float4[] type admin ALL false +postgres pg_catalog float4[] type root ALL false +postgres pg_catalog float[] type admin ALL false +postgres pg_catalog float[] type root ALL false +postgres pg_catalog geography type admin ALL false +postgres pg_catalog geography type root ALL false +postgres pg_catalog geography[] type admin ALL false +postgres pg_catalog geography[] type root ALL false +postgres pg_catalog geometry type admin ALL false +postgres pg_catalog geometry type root ALL false +postgres pg_catalog geometry[] type admin ALL false postgres pg_catalog geometry[] type root ALL false +postgres pg_catalog inet type admin ALL false +postgres pg_catalog inet type root ALL false +postgres pg_catalog inet[] type admin ALL false postgres pg_catalog inet[] type root ALL false +postgres pg_catalog int type admin ALL false +postgres pg_catalog int type root ALL false +postgres pg_catalog int2 type admin ALL false +postgres pg_catalog int2 type root ALL false +postgres pg_catalog int2[] type admin ALL false +postgres pg_catalog int2[] type root ALL false +postgres pg_catalog int2vector type admin ALL false +postgres pg_catalog int2vector type root ALL false +postgres pg_catalog int2vector[] type admin ALL false postgres pg_catalog int2vector[] type root ALL false -postgres pg_catalog bytes[] type root ALL false +postgres pg_catalog int4 type admin ALL false +postgres pg_catalog int4 type root ALL false +postgres pg_catalog int4[] type admin ALL false +postgres pg_catalog int4[] type root ALL false +postgres pg_catalog int[] type admin ALL false +postgres pg_catalog int[] type root ALL false +postgres pg_catalog interval type admin ALL false +postgres pg_catalog interval type root ALL false +postgres pg_catalog interval[] type admin ALL false +postgres pg_catalog interval[] type root ALL false +postgres pg_catalog jsonb type admin ALL false +postgres pg_catalog jsonb type root ALL false +postgres pg_catalog jsonb[] type admin ALL false +postgres pg_catalog jsonb[] type root ALL false +postgres pg_catalog name type admin ALL false +postgres pg_catalog name type root ALL false +postgres pg_catalog name[] type admin ALL false +postgres pg_catalog name[] type root ALL false +postgres pg_catalog oid type admin ALL false +postgres pg_catalog oid type root ALL false +postgres pg_catalog oid[] type admin ALL false +postgres pg_catalog oid[] type root ALL false +postgres pg_catalog oidvector type admin ALL false postgres pg_catalog oidvector type root ALL false +postgres pg_catalog oidvector[] type admin ALL false +postgres pg_catalog oidvector[] type root ALL false +postgres pg_catalog pg_lsn type admin ALL false +postgres pg_catalog pg_lsn type root ALL false +postgres pg_catalog pg_lsn[] type admin ALL false +postgres pg_catalog pg_lsn[] type root ALL false +postgres pg_catalog record type admin ALL false +postgres pg_catalog record type root ALL false +postgres pg_catalog record[] type admin ALL false +postgres pg_catalog record[] type root ALL false +postgres pg_catalog refcursor type admin ALL false +postgres pg_catalog refcursor type root ALL false +postgres pg_catalog refcursor[] type admin ALL false +postgres pg_catalog refcursor[] type root ALL false +postgres pg_catalog regclass type admin ALL false postgres pg_catalog regclass type root ALL false -postgres pg_catalog trigger type root ALL false -postgres pg_catalog varbit type root ALL false +postgres pg_catalog regclass[] type admin ALL false +postgres pg_catalog regclass[] type root ALL false +postgres pg_catalog regnamespace type admin ALL false +postgres pg_catalog regnamespace type root ALL false +postgres pg_catalog regnamespace[] type admin ALL false +postgres pg_catalog regnamespace[] type root ALL false +postgres pg_catalog regproc type admin ALL false +postgres pg_catalog regproc type root ALL false +postgres pg_catalog regproc[] type admin ALL false +postgres pg_catalog regproc[] type root ALL false +postgres pg_catalog regprocedure type admin ALL false +postgres pg_catalog regprocedure type root ALL false +postgres pg_catalog regprocedure[] type admin ALL false +postgres pg_catalog regprocedure[] type root ALL false +postgres pg_catalog regrole type admin ALL false +postgres pg_catalog regrole type root ALL false +postgres pg_catalog regrole[] type admin ALL false +postgres pg_catalog regrole[] type root ALL false +postgres pg_catalog regtype type admin ALL false +postgres pg_catalog regtype type root ALL false +postgres pg_catalog regtype[] type admin ALL false +postgres pg_catalog regtype[] type root ALL false +postgres pg_catalog string type admin ALL false +postgres pg_catalog string type root ALL false +postgres pg_catalog string[] type admin ALL false postgres pg_catalog string[] type root ALL false +postgres pg_catalog time type admin ALL false +postgres pg_catalog time type root ALL false +postgres pg_catalog time[] type admin ALL false +postgres pg_catalog time[] type root ALL false +postgres pg_catalog timestamp type admin ALL false +postgres pg_catalog timestamp type root ALL false +postgres pg_catalog timestamp[] type admin ALL false +postgres pg_catalog timestamp[] type root ALL false +postgres pg_catalog timestamptz type admin ALL false +postgres pg_catalog timestamptz type root ALL false +postgres pg_catalog timestamptz[] type admin ALL false +postgres pg_catalog timestamptz[] type root ALL false +postgres pg_catalog timetz type admin ALL false +postgres pg_catalog timetz type root ALL false +postgres pg_catalog timetz[] type admin ALL false postgres pg_catalog timetz[] type root ALL false -postgres pg_catalog tsquery[] type root ALL false -postgres pg_catalog regrole type root ALL false +postgres pg_catalog trigger type admin ALL false +postgres pg_catalog trigger type root ALL false +postgres pg_catalog tsquery type admin ALL false postgres pg_catalog tsquery type root ALL false -postgres pg_catalog uuid type root ALL false -postgres pg_catalog geography type root ALL false -postgres pg_catalog record[] type root ALL false -postgres pg_catalog varchar[] type root ALL false -postgres pg_catalog bpchar type root ALL false -postgres pg_catalog int2[] type root ALL false -postgres pg_catalog timestamptz[] type root ALL false -postgres pg_catalog geography[] type root ALL false -postgres pg_catalog record type root ALL false -postgres pg_catalog string type root ALL false +postgres pg_catalog tsquery[] type admin ALL false +postgres pg_catalog tsquery[] type root ALL false +postgres pg_catalog tsvector type admin ALL false postgres pg_catalog tsvector type root ALL false -postgres pg_catalog regrole[] type root ALL false -postgres pg_catalog bool type root ALL false -postgres pg_catalog "char" type root ALL false -postgres pg_catalog float type root ALL false -postgres pg_catalog int2 type root ALL false -postgres pg_catalog date[] type root ALL false -postgres pg_catalog int type root ALL false -postgres pg_catalog int4[] type root ALL false -postgres pg_catalog float[] type root ALL false -postgres pg_catalog jsonb[] type root ALL false +postgres pg_catalog tsvector[] type admin ALL false postgres pg_catalog tsvector[] type root ALL false -postgres pg_catalog regprocedure[] type root ALL false -postgres pg_catalog name type root ALL false +postgres pg_catalog unknown type admin ALL false +postgres pg_catalog unknown type root ALL false +postgres pg_catalog uuid type admin ALL false +postgres pg_catalog uuid type root ALL false +postgres pg_catalog uuid[] type admin ALL false +postgres pg_catalog uuid[] type root ALL false +postgres pg_catalog varbit type admin ALL false +postgres pg_catalog varbit type root ALL false +postgres pg_catalog varbit[] type admin ALL false +postgres pg_catalog varbit[] type root ALL false +postgres pg_catalog varchar type admin ALL false postgres pg_catalog varchar type root ALL false -postgres pg_catalog geometry type root ALL false -postgres pg_catalog box2d[] type root ALL false -postgres pg_catalog box2d type root ALL false -postgres pg_catalog anyarray type root ALL false -postgres pg_catalog pg_lsn type root ALL false -postgres pg_catalog regprocedure type root ALL false -postgres pg_catalog time[] type root ALL false -postgres pg_catalog regproc[] type root ALL false -postgres pg_catalog regproc type root ALL false -postgres pg_catalog timestamp[] type root ALL false -postgres pg_catalog name[] type root ALL false -postgres pg_catalog date type root ALL false -postgres pg_catalog int4 type root ALL false -postgres pg_catalog decimal type root ALL false -postgres pg_catalog regnamespace type root ALL false -test pg_catalog varchar[] type root ALL false -test pg_catalog bpchar type root ALL false -test pg_catalog int2[] type root ALL false -test pg_catalog timestamptz[] type root ALL false -test pg_catalog geography[] type root ALL false -test pg_catalog record[] type root ALL false -test pg_catalog string type root ALL false -test pg_catalog tsvector type root ALL false -test pg_catalog regrole[] type root ALL false -test pg_catalog bool type root ALL false +postgres pg_catalog varchar[] type admin ALL false +postgres pg_catalog varchar[] type root ALL false +postgres pg_catalog vector type admin ALL false +postgres pg_catalog vector type root ALL false +postgres pg_catalog vector[] type admin ALL false +postgres pg_catalog vector[] type root ALL false +postgres pg_catalog void type admin ALL false +postgres pg_catalog void type root ALL false +postgres public NULL schema admin ALL true +postgres public NULL schema public CREATE false +postgres public NULL schema public USAGE false +postgres public NULL schema root ALL true +system public role_options table admin DELETE true +system public role_options table admin INSERT true +system public role_options table admin SELECT true +system public role_options table admin UPDATE true +system public role_options table root DELETE true +system public role_options table root INSERT true +system public role_options table root SELECT true +system public role_options table root UPDATE true +test NULL NULL database admin ALL true +test NULL NULL database root ALL true +test pg_catalog "char" type admin ALL false test pg_catalog "char" type root ALL false -test pg_catalog float type root ALL false -test pg_catalog int2 type root ALL false -test pg_catalog record type root ALL false -test pg_catalog int type root ALL false -test pg_catalog int4[] type root ALL false -test pg_catalog float[] type root ALL false -test pg_catalog jsonb[] type root ALL false -test pg_catalog date[] type root ALL false -test pg_catalog regprocedure[] type root ALL false -test pg_catalog name type root ALL false -test pg_catalog varchar type root ALL false -test pg_catalog geometry type root ALL false -test pg_catalog box2d[] type root ALL false -test pg_catalog tsvector[] type root ALL false -test pg_catalog box2d type root ALL false +test pg_catalog "char"[] type admin ALL false +test pg_catalog "char"[] type root ALL false +test pg_catalog anyarray type admin ALL false test pg_catalog anyarray type root ALL false -test pg_catalog pg_lsn type root ALL false -test pg_catalog regprocedure type root ALL false -test pg_catalog time[] type root ALL false -test pg_catalog regproc[] type root ALL false -test pg_catalog timestamp[] type root ALL false -test pg_catalog name[] type root ALL false -test pg_catalog date type root ALL false -test pg_catalog int4 type root ALL false -test pg_catalog decimal type root ALL false -test pg_catalog regnamespace type root ALL false -test pg_catalog regproc type root ALL false -test pg_catalog timestamp type root ALL false -test pg_catalog uuid[] type root ALL false -test pg_catalog bit[] type root ALL false +test pg_catalog anyelement type admin ALL false +test pg_catalog anyelement type root ALL false +test pg_catalog bit type admin ALL false test pg_catalog bit type root ALL false +test pg_catalog bit[] type admin ALL false +test pg_catalog bit[] type root ALL false +test pg_catalog bool type admin ALL false +test pg_catalog bool type root ALL false +test pg_catalog bool[] type admin ALL false +test pg_catalog bool[] type root ALL false +test pg_catalog box2d type admin ALL false +test pg_catalog box2d type root ALL false +test pg_catalog box2d[] type admin ALL false +test pg_catalog box2d[] type root ALL false +test pg_catalog bpchar type admin ALL false +test pg_catalog bpchar type root ALL false +test pg_catalog bpchar[] type admin ALL false +test pg_catalog bpchar[] type root ALL false +test pg_catalog bytes type admin ALL false test pg_catalog bytes type root ALL false +test pg_catalog bytes[] type admin ALL false +test pg_catalog bytes[] type root ALL false +test pg_catalog date type admin ALL false +test pg_catalog date type root ALL false +test pg_catalog date[] type admin ALL false +test pg_catalog date[] type root ALL false +test pg_catalog decimal type admin ALL false +test pg_catalog decimal type root ALL false +test pg_catalog decimal[] type admin ALL false +test pg_catalog decimal[] type root ALL false +test pg_catalog float type admin ALL false +test pg_catalog float type root ALL false +test pg_catalog float4 type admin ALL false test pg_catalog float4 type root ALL false -test pg_catalog unknown type root ALL false +test pg_catalog float4[] type admin ALL false test pg_catalog float4[] type root ALL false -test pg_catalog pg_lsn[] type root ALL false -test pg_catalog regclass[] type root ALL false -test pg_catalog "char"[] type root ALL false -test pg_catalog interval type root ALL false -test pg_catalog refcursor type root ALL false -test pg_catalog regtype type root ALL false -test pg_catalog time type root ALL false -test pg_catalog void type root ALL false -test pg_catalog oid[] type root ALL false -test pg_catalog regnamespace[] type root ALL false -test pg_catalog timetz type root ALL false -test pg_catalog regtype[] type root ALL false +test pg_catalog float[] type admin ALL false +test pg_catalog float[] type root ALL false +test pg_catalog geography type admin ALL false +test pg_catalog geography type root ALL false +test pg_catalog geography[] type admin ALL false +test pg_catalog geography[] type root ALL false +test pg_catalog geometry type admin ALL false +test pg_catalog geometry type root ALL false +test pg_catalog geometry[] type admin ALL false +test pg_catalog geometry[] type root ALL false +test pg_catalog inet type admin ALL false +test pg_catalog inet type root ALL false +test pg_catalog inet[] type admin ALL false +test pg_catalog inet[] type root ALL false +test pg_catalog int type admin ALL false +test pg_catalog int type root ALL false +test pg_catalog int2 type admin ALL false +test pg_catalog int2 type root ALL false +test pg_catalog int2[] type admin ALL false +test pg_catalog int2[] type root ALL false +test pg_catalog int2vector type admin ALL false +test pg_catalog int2vector type root ALL false +test pg_catalog int2vector[] type admin ALL false +test pg_catalog int2vector[] type root ALL false +test pg_catalog int4 type admin ALL false +test pg_catalog int4 type root ALL false +test pg_catalog int4[] type admin ALL false +test pg_catalog int4[] type root ALL false +test pg_catalog int[] type admin ALL false test pg_catalog int[] type root ALL false +test pg_catalog interval type admin ALL false +test pg_catalog interval type root ALL false +test pg_catalog interval[] type admin ALL false test pg_catalog interval[] type root ALL false -test pg_catalog varbit[] type root ALL false -test pg_catalog int2vector type root ALL false +test pg_catalog jsonb type admin ALL false test pg_catalog jsonb type root ALL false -test pg_catalog bpchar[] type root ALL false -test pg_catalog refcursor[] type root ALL false +test pg_catalog jsonb[] type admin ALL false +test pg_catalog jsonb[] type root ALL false +test pg_catalog name type admin ALL false +test pg_catalog name type root ALL false +test pg_catalog name[] type admin ALL false +test pg_catalog name[] type root ALL false +test pg_catalog oid type admin ALL false test pg_catalog oid type root ALL false -test pg_catalog timestamptz type root ALL false -test pg_catalog vector type root ALL false -test pg_catalog vector[] type root ALL false -test pg_catalog anyelement type root ALL false -test pg_catalog inet type root ALL false -test pg_catalog bool[] type root ALL false -test pg_catalog decimal[] type root ALL false -test pg_catalog oidvector[] type root ALL false -test pg_catalog inet[] type root ALL false -test pg_catalog int2vector[] type root ALL false -test pg_catalog bytes[] type root ALL false +test pg_catalog oid[] type admin ALL false +test pg_catalog oid[] type root ALL false +test pg_catalog oidvector type admin ALL false test pg_catalog oidvector type root ALL false +test pg_catalog oidvector[] type admin ALL false +test pg_catalog oidvector[] type root ALL false +test pg_catalog pg_lsn type admin ALL false +test pg_catalog pg_lsn type root ALL false +test pg_catalog pg_lsn[] type admin ALL false +test pg_catalog pg_lsn[] type root ALL false +test pg_catalog record type admin ALL false +test pg_catalog record type root ALL false +test pg_catalog record[] type admin ALL false +test pg_catalog record[] type root ALL false +test pg_catalog refcursor type admin ALL false +test pg_catalog refcursor type root ALL false +test pg_catalog refcursor[] type admin ALL false +test pg_catalog refcursor[] type root ALL false +test pg_catalog regclass type admin ALL false test pg_catalog regclass type root ALL false -test pg_catalog trigger type root ALL false -test pg_catalog varbit type root ALL false -test pg_catalog geometry[] type root ALL false -test pg_catalog timetz[] type root ALL false -test pg_catalog tsquery[] type root ALL false +test pg_catalog regclass[] type admin ALL false +test pg_catalog regclass[] type root ALL false +test pg_catalog regnamespace type admin ALL false +test pg_catalog regnamespace type root ALL false +test pg_catalog regnamespace[] type admin ALL false +test pg_catalog regnamespace[] type root ALL false +test pg_catalog regproc type admin ALL false +test pg_catalog regproc type root ALL false +test pg_catalog regproc[] type admin ALL false +test pg_catalog regproc[] type root ALL false +test pg_catalog regprocedure type admin ALL false +test pg_catalog regprocedure type root ALL false +test pg_catalog regprocedure[] type admin ALL false +test pg_catalog regprocedure[] type root ALL false +test pg_catalog regrole type admin ALL false test pg_catalog regrole type root ALL false +test pg_catalog regrole[] type admin ALL false +test pg_catalog regrole[] type root ALL false +test pg_catalog regtype type admin ALL false +test pg_catalog regtype type root ALL false +test pg_catalog regtype[] type admin ALL false +test pg_catalog regtype[] type root ALL false +test pg_catalog string type admin ALL false +test pg_catalog string type root ALL false +test pg_catalog string[] type admin ALL false +test pg_catalog string[] type root ALL false +test pg_catalog time type admin ALL false +test pg_catalog time type root ALL false +test pg_catalog time[] type admin ALL false +test pg_catalog time[] type root ALL false +test pg_catalog timestamp type admin ALL false +test pg_catalog timestamp type root ALL false +test pg_catalog timestamp[] type admin ALL false +test pg_catalog timestamp[] type root ALL false +test pg_catalog timestamptz type admin ALL false +test pg_catalog timestamptz type root ALL false +test pg_catalog timestamptz[] type admin ALL false +test pg_catalog timestamptz[] type root ALL false +test pg_catalog timetz type admin ALL false +test pg_catalog timetz type root ALL false +test pg_catalog timetz[] type admin ALL false +test pg_catalog timetz[] type root ALL false +test pg_catalog trigger type admin ALL false +test pg_catalog trigger type root ALL false +test pg_catalog tsquery type admin ALL false test pg_catalog tsquery type root ALL false +test pg_catalog tsquery[] type admin ALL false +test pg_catalog tsquery[] type root ALL false +test pg_catalog tsvector type admin ALL false +test pg_catalog tsvector type root ALL false +test pg_catalog tsvector[] type admin ALL false +test pg_catalog tsvector[] type root ALL false +test pg_catalog unknown type admin ALL false +test pg_catalog unknown type root ALL false +test pg_catalog uuid type admin ALL false test pg_catalog uuid type root ALL false -test pg_catalog geography type root ALL false -test pg_catalog string[] type root ALL false -a public NULL schema public CREATE false -a public NULL schema public USAGE false -defaultdb public NULL schema public CREATE false -defaultdb public NULL schema public USAGE false -postgres public NULL schema public CREATE false -postgres public NULL schema public USAGE false +test pg_catalog uuid[] type admin ALL false +test pg_catalog uuid[] type root ALL false +test pg_catalog varbit type admin ALL false +test pg_catalog varbit type root ALL false +test pg_catalog varbit[] type admin ALL false +test pg_catalog varbit[] type root ALL false +test pg_catalog varchar type admin ALL false +test pg_catalog varchar type root ALL false +test pg_catalog varchar[] type admin ALL false +test pg_catalog varchar[] type root ALL false +test pg_catalog vector type admin ALL false +test pg_catalog vector type root ALL false +test pg_catalog vector[] type admin ALL false +test pg_catalog vector[] type root ALL false +test pg_catalog void type admin ALL false +test pg_catalog void type root ALL false +test public NULL schema admin ALL true test public NULL schema public CREATE false test public NULL schema public USAGE false +test public NULL schema root ALL true statement error pgcode 42P01 relation "a.t" does not exist