Commit Graph

47 Commits (354f13855e6381d288dfaa52bcd4f2cb0fd4a5eb)

Author SHA1 Message Date
Simon Riggs 354f13855e Modified files for MERGE 8 years ago
Dean Rasheed 87b2ebd352 Always require SELECT permission for ON CONFLICT DO UPDATE. 8 years ago
Tom Lane 8e7537261c Suppress less info in regression tests using DROP CASCADE. 9 years ago
Dean Rasheed f356ec5744 Teach RemoveRoleFromObjectPolicy() about partitioned tables. 9 years ago
Tom Lane 78a030a441 Fix confusion about number of subplans in partitioned INSERT setup. 9 years ago
Joe Conway 4f7a95be2c Apply RLS policies to partitioned tables. 9 years ago
Andres Freund 7c5d8c16e1 Add explicit ORDER BY to a few tests that exercise hash-join code. 9 years ago
Stephen Frost 093129c9d9 Add support for restrictive RLS policies 9 years ago
Tom Lane 9d7abca901 Fix regression tests to work in Welsh locale. 10 years ago
Tom Lane b3399cb0f6 Make core regression tests safe for Danish locale. 10 years ago
Stephen Frost 6c7b0388c5 Prefix RLS regression test roles with 'regress_' 10 years ago
Stephen Frost 86ebf30fd6 Reset plan->row_security_env and planUserId 10 years ago
Tom Lane 5d35438273 Adjust behavior of row_security GUC to match the docs. 10 years ago
Tom Lane 654218138b Add missing COSTS OFF to EXPLAIN commands in rowsecurity.sql. 10 years ago
Stephen Frost e5e11c8cca Collect the global OR of hasRowSecurity flags for plancache 10 years ago
Stephen Frost 833728d4c8 Handle policies during DROP OWNED BY 10 years ago
Stephen Frost ed8bec915e Handle dependencies properly in ALTER POLICY 10 years ago
Stephen Frost b7aac36245 Handle append_rel_list in expand_security_qual 10 years ago
Stephen Frost be400cd25c Add regression tests for INSERT/UPDATE+RETURNING 10 years ago
Stephen Frost 088c83363a ALTER TABLE .. FORCE ROW LEVEL SECURITY 10 years ago
Noah Misch 3cb0a7e75a Make BYPASSRLS behave like superuser RLS bypass. 10 years ago
Stephen Frost 992d702bfa Ensure a few policies remain for pg_upgrade 10 years ago
Noah Misch 537bd178c7 Remove the row_security=force GUC value. 10 years ago
Joe Conway 1e15b21229 Use appropriate command type when retrieving relation's policies. 11 years ago
Joe Conway 632cd9f892 Create new ParseExprKind for use by policy expressions. 11 years ago
Tom Lane 5d0e8bc9e0 Prevent platform-dependent output row ordering in a new test query. 11 years ago
Joe Conway d824e2800f Disallow converting a table to a view if row security is present. 11 years ago
Joe Conway f781a0f1d8 Create a pg_shdepend entry for each role in TO clause of policies. 11 years ago
Joe Conway 7b4bfc87d5 Plug RLS related information leak in pg_stats view. 11 years ago
Stephen Frost 3d5cb31c9a Improve RLS handling in copy.c 11 years ago
Tom Lane dd7a8f66ed Redesign tablesample method API, and do extensive code review. 11 years ago
Joe Conway b26e3d660d Make RLS work with UPDATE ... WHERE CURRENT OF 11 years ago
Joe Conway 808ea8fc7b Add assign_expr_collations() to CreatePolicy() and AlterPolicy(). 11 years ago
Joe Conway 1fd0d5ec03 Whitespace fix - replace tab with spaces in CREATE TABLE command. 11 years ago
Tom Lane 1d27842519 Second try at stabilizing query plans in rowsecurity regression test. 11 years ago
Tom Lane 5cdf25e168 Stabilize query plans in rowsecurity regression test. 11 years ago
Simon Riggs f6d208d6e5 TABLESAMPLE, SQL Standard and extensible 11 years ago
Andres Freund 168d5805e4 Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE. 11 years ago
Stephen Frost dcbf5948e1 Improve qual pushdown for RLS and SB views 11 years ago
Stephen Frost e89bd02f58 Perform RLS WITH CHECK before constraints, etc 11 years ago
Stephen Frost 0bf22e0c8b RLS fixes, new hooks, and new test module 11 years ago
Stephen Frost c219cbfed3 Move rowsecurity event trigger test 11 years ago
Tom Lane 0845264642 Make rowsecurity test clean up after itself, too. 11 years ago
Stephen Frost 143b39c185 Rename pg_rowsecurity -> pg_policy and other fixes 11 years ago
Stephen Frost 81d815dc3e Suppress DROP CASCADE notices in regression tests 11 years ago
Stephen Frost ff27fcfa0a Fix relcache for policies, and doc updates 11 years ago
Stephen Frost 491c029dbc Row-Level Security Policies (RLS) 11 years ago