From 3896e4b488e5bae0ad28d433918db04c18331114 Mon Sep 17 00:00:00 2001 From: Rafi Shamim Date: Tue, 3 Aug 2021 16:03:19 -0400 Subject: [PATCH] sql: fix pg_default_acl comment Release note: None --- pkg/sql/logictest/testdata/logic_test/pg_catalog | 2 +- pkg/sql/pg_catalog.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/sql/logictest/testdata/logic_test/pg_catalog b/pkg/sql/logictest/testdata/logic_test/pg_catalog index 0bb9275b747c..63f2d8567a2a 100644 --- a/pkg/sql/logictest/testdata/logic_test/pg_catalog +++ b/pkg/sql/logictest/testdata/logic_test/pg_catalog @@ -3635,7 +3635,7 @@ objoid classoid objsubid description 4294967133 4294967138 0 pg_cursors was created for compatibility and is currently unimplemented 4294967132 4294967138 0 available databases (incomplete) 4294967131 4294967138 0 pg_db_role_setting was created for compatibility and is currently unimplemented -4294967130 4294967138 0 default ACLs (empty - unimplemented) +4294967130 4294967138 0 default ACLs; these are the privileges that will be assigned to newly created objects 4294967129 4294967138 0 dependency relationships (incomplete) 4294967128 4294967138 0 object comments 4294967127 4294967138 0 enum types and labels (empty - feature does not exist) diff --git a/pkg/sql/pg_catalog.go b/pkg/sql/pg_catalog.go index e57358f42334..63fe8e8dd595 100644 --- a/pkg/sql/pg_catalog.go +++ b/pkg/sql/pg_catalog.go @@ -1110,8 +1110,8 @@ https://www.postgresql.org/docs/9.5/catalog-pg-database.html`, } var pgCatalogDefaultACLTable = virtualSchemaTable{ - comment: `default ACLs (empty - unimplemented) -https://www.postgresql.org/docs/9.6/catalog-pg-default-acl.html`, + comment: `default ACLs; these are the privileges that will be assigned to newly created objects +https://www.postgresql.org/docs/13/catalog-pg-default-acl.html`, schema: vtable.PGCatalogDefaultACL, populate: func(ctx context.Context, p *planner, dbContext catalog.DatabaseDescriptor, addRow func(...tree.Datum) error) error { h := makeOidHasher()