Skip to content

Commit aac15a7

Browse files
committed
sql/cmd/roachtest: improve pg_regress RLS test compatibility
Modify the rowsecurity.sql test from pg_regress to cover additional cases. This test makes heavy use of SET SESSION AUTHORIZATION, which CRDB doesn't support, so it has been adjusted accordingly. Additionally, the test relies on a user-defined function f_leak; modifications were made to allow this function to be created and used within the test. Some incompatibilities remain. For example, CRDB doesn't support COPY FROM in the same way as Postgres, which affects the expected output of certain queries. Nevertheless, these changes improve the test suite. Closes #137122 Epic: CRDB-11724 Release note: none
1 parent acb7431 commit aac15a7

File tree

2 files changed

+2537
-2174
lines changed

2 files changed

+2537
-2174
lines changed

0 commit comments

Comments
 (0)