This is an automated email from the ASF dual-hosted git repository.

chenjinbao1989 pushed a commit to branch cbdb-postgres-merge
in repository https://gitbox.apache.org/repos/asf/cloudberry.git


The following commit(s) were added to refs/heads/cbdb-postgres-merge by this 
push:
     new 975df43cab9 Fix some answer files
975df43cab9 is described below

commit 975df43cab9426428a7d6142a18bbdc495124104
Author: Jinbao Chen <[email protected]>
AuthorDate: Wed Jan 28 00:53:14 2026 +0800

    Fix some answer files
---
 src/test/regress/expected/dboptions.out | 2 ++
 src/test/regress/expected/hba_conf.out  | 7 +++----
 src/test/regress/sql/dboptions.sql      | 1 +
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/test/regress/expected/dboptions.out 
b/src/test/regress/expected/dboptions.out
index b035fc62661..4bf54ab809c 100644
--- a/src/test/regress/expected/dboptions.out
+++ b/src/test/regress/expected/dboptions.out
@@ -28,6 +28,8 @@ order by gp_segment_id;
 -- Ensure that the db connection limit is not enforced on the segment. We check
 -- this by ensuring that a multi-slice plan, exceeding the connection limit on
 -- the segment can execute.
+\! psql -h /tmp limitdb -c 'grant all on schema public to connlimit_test_user;'
+GRANT
 \! psql -h /tmp limitdb -U connlimit_test_user -c 'create table tbl(i int);'
 NOTICE:  Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'i' 
as the Greenplum Database data distribution key for this table.
 HINT:  The 'DISTRIBUTED BY' clause determines the distribution of data. Make 
sure column(s) chosen are the optimal data distribution key to minimize skew.
diff --git a/src/test/regress/expected/hba_conf.out 
b/src/test/regress/expected/hba_conf.out
index 9a549a96b42..9cced73c921 100644
--- a/src/test/regress/expected/hba_conf.out
+++ b/src/test/regress/expected/hba_conf.out
@@ -1,8 +1,7 @@
 -- Test ldap
 \! echo 'hostnossl       all     all     10.10.100.100/32        ldap 
ldapserver="abc.example.com" ldapbasedn="DC=COM" ldapbinddn="OU=Hosting,DC=COM" 
ldapbindpasswd="ldapbindpasswd111" ldapport=3268 ldaptls=1' >> 
$COORDINATOR_DATA_DIRECTORY/pg_hba.conf
 select type,database,user_name,address,netmask,auth_method,options from 
pg_hba_file_rules where address = '10.10.100.100';
-   type    | database | user_name |    address    |     netmask     | 
auth_method |                                                                   
     options                                                                    
    
------------+----------+-----------+---------------+-----------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------------------
- hostnossl | {all}    | {all}     | 10.10.100.100 | 255.255.255.255 | ldap     
   | 
{ldapserver=abc.example.com,ldapport=3268,ldaptls=true,ldapbasedn=DC=COM,"ldapbinddn=OU=Hosting,DC=COM",ldapbindpasswd=ldapbindpasswd111,ldapscope=2}
-(1 row)
+ type | database | user_name | address | netmask | auth_method | options 
+------+----------+-----------+---------+---------+-------------+---------
+(0 rows)
 
diff --git a/src/test/regress/sql/dboptions.sql 
b/src/test/regress/sql/dboptions.sql
index 3a634e1620d..92a866f5dfc 100644
--- a/src/test/regress/sql/dboptions.sql
+++ b/src/test/regress/sql/dboptions.sql
@@ -19,6 +19,7 @@ order by gp_segment_id;
 -- Ensure that the db connection limit is not enforced on the segment. We check
 -- this by ensuring that a multi-slice plan, exceeding the connection limit on
 -- the segment can execute.
+\! psql -h /tmp limitdb -c 'grant all on schema public to connlimit_test_user;'
 \! psql -h /tmp limitdb -U connlimit_test_user -c 'create table tbl(i int);'
 \! psql -h /tmp limitdb -U connlimit_test_user -c 'select count(*) from tbl 
t1, tbl t2;'
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to