Skip to content

--schema-qualify-objects functionality and some bugfixes#204

Open
ellmkay wants to merge 3 commits intofordfrog:developfrom
ellmkay:develop
Open

--schema-qualify-objects functionality and some bugfixes#204
ellmkay wants to merge 3 commits intofordfrog:developfrom
ellmkay:develop

Conversation

@ellmkay
Copy link

@ellmkay ellmkay commented Jan 30, 2017

Fix column access privilege parsing.
Fix search-path output for privilege-only diffs in a multi-schema scenario.

Both fixes have test-cases.

ellmkay and others added 3 commits January 20, 2017 23:41
parser couldn't handle the way Postgres collates the column-list to the
privilege: 
GRANT ALL(col1) ON TABLE table1 TO ellmkay;

This is now fixed in the parser, and a test-case is added.
instead of adding 'SET search_path' statements prior to diff output (the
default behaviour), all statements will be schema-qualified.

This commit touches quite a few files in the project, and also fixes a
few privilege related bugs in passing. 

A thorough test case is also added.
@ellmkay ellmkay changed the title 2 bugfixes --schema-qualify-objects functionality and some bugfixes Jan 31, 2017
@chadfurman
Copy link
Collaborator

Might not need to be done in light of recent RLS changes?

Either way, has conflicts and also needs another 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants