Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
fff518d0
Commit
fff518d0
authored
Mar 21, 2019
by
Peter Geoghegan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Suppress DETAIL output from a foreign_data test."
This should be superseded by commit
8aa9dd74
.
parent
03ae9d59
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
src/test/regress/expected/foreign_data.out
src/test/regress/expected/foreign_data.out
+3
-3
src/test/regress/sql/foreign_data.sql
src/test/regress/sql/foreign_data.sql
+1
-3
No files found.
src/test/regress/expected/foreign_data.out
View file @
fff518d0
...
...
@@ -439,11 +439,10 @@ GRANT USAGE ON FOREIGN DATA WRAPPER foo TO regress_test_indirect;
SET ROLE regress_test_role;
ALTER SERVER s1 OWNER TO regress_test_indirect;
RESET ROLE;
-- We use terse mode to avoid ordering issues in detail output.
\set VERBOSITY terse
DROP ROLE regress_test_indirect; -- ERROR
ERROR: role "regress_test_indirect" cannot be dropped because some objects depend on it
\set VERBOSITY default
DETAIL: privileges for foreign-data wrapper foo
owner of server s1
\des+
List of foreign servers
Name | Owner | Foreign-data wrapper | Access privileges | Type | Version | FDW options | Description
...
...
@@ -1204,6 +1203,7 @@ ERROR: permission denied for foreign-data wrapper foo
ALTER SERVER s9 VERSION '1.1';
GRANT USAGE ON FOREIGN SERVER s9 TO regress_test_role;
CREATE USER MAPPING FOR current_user SERVER s9;
-- We use terse mode to avoid ordering issues in cascade detail output.
\set VERBOSITY terse
DROP SERVER s9 CASCADE;
NOTICE: drop cascades to 2 other objects
...
...
src/test/regress/sql/foreign_data.sql
View file @
fff518d0
...
...
@@ -199,10 +199,7 @@ GRANT USAGE ON FOREIGN DATA WRAPPER foo TO regress_test_indirect;
SET
ROLE
regress_test_role
;
ALTER
SERVER
s1
OWNER
TO
regress_test_indirect
;
RESET
ROLE
;
-- We use terse mode to avoid ordering issues in detail output.
\
set
VERBOSITY
terse
DROP
ROLE
regress_test_indirect
;
-- ERROR
\
set
VERBOSITY
default
\
des
+
ALTER
SERVER
s8
RENAME
to
s8new
;
...
...
@@ -504,6 +501,7 @@ CREATE SERVER s10 FOREIGN DATA WRAPPER foo; -- ERROR
ALTER
SERVER
s9
VERSION
'1.1'
;
GRANT
USAGE
ON
FOREIGN
SERVER
s9
TO
regress_test_role
;
CREATE
USER
MAPPING
FOR
current_user
SERVER
s9
;
-- We use terse mode to avoid ordering issues in cascade detail output.
\
set
VERBOSITY
terse
DROP
SERVER
s9
CASCADE
;
\
set
VERBOSITY
default
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment