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
40fcfec8
Commit
40fcfec8
authored
Jul 25, 2016
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Message style improvements
parent
1804d155
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
contrib/earthdistance/expected/earthdistance.out
contrib/earthdistance/expected/earthdistance.out
+1
-1
src/backend/commands/extension.c
src/backend/commands/extension.c
+1
-1
src/backend/executor/nodeAgg.c
src/backend/executor/nodeAgg.c
+1
-1
src/backend/utils/adt/acl.c
src/backend/utils/adt/acl.c
+2
-2
src/test/modules/test_extensions/expected/test_extensions.out
...test/modules/test_extensions/expected/test_extensions.out
+1
-1
No files found.
contrib/earthdistance/expected/earthdistance.out
View file @
40fcfec8
...
...
@@ -9,7 +9,7 @@
--
CREATE EXTENSION earthdistance; -- fail, must install cube first
ERROR: required extension "cube" is not installed
HINT: Use CREATE EXTENSION CASCADE to install required extensions too.
HINT: Use CREATE EXTENSION
...
CASCADE to install required extensions too.
CREATE EXTENSION cube;
CREATE EXTENSION earthdistance;
--
...
...
src/backend/commands/extension.c
View file @
40fcfec8
...
...
@@ -1467,7 +1467,7 @@ CreateExtensionInternal(CreateExtensionStmt *stmt, List *parents)
(
errcode
(
ERRCODE_UNDEFINED_OBJECT
),
errmsg
(
"required extension
\"
%s
\"
is not installed"
,
curreq
),
errhint
(
"Use CREATE EXTENSION CASCADE to install required extensions too."
)));
errhint
(
"Use CREATE EXTENSION
...
CASCADE to install required extensions too."
)));
}
reqschema
=
get_extension_schema
(
reqext
);
...
...
src/backend/executor/nodeAgg.c
View file @
40fcfec8
...
...
@@ -2980,7 +2980,7 @@ build_pertrans_for_aggref(AggStatePerTrans pertrans,
if
(
pertrans
->
transfn
.
fn_strict
&&
aggtranstype
==
INTERNALOID
)
ereport
(
ERROR
,
(
errcode
(
ERRCODE_INVALID_FUNCTION_DEFINITION
),
errmsg
(
"combine function for aggregate %u must
to be declared as strict
"
,
errmsg
(
"combine function for aggregate %u must
be declared as STRICT
"
,
aggref
->
aggfnoid
)));
}
else
...
...
src/backend/utils/adt/acl.c
View file @
40fcfec8
...
...
@@ -5276,13 +5276,13 @@ check_rolespec_name(const Node *node, const char *detail_msg)
if
(
detail_msg
)
ereport
(
ERROR
,
(
errcode
(
ERRCODE_RESERVED_NAME
),
errmsg
(
"role
\"
%s
\"
is reserved"
,
errmsg
(
"role
name
\"
%s
\"
is reserved"
,
role
->
rolename
),
errdetail
(
"%s"
,
detail_msg
)));
else
ereport
(
ERROR
,
(
errcode
(
ERRCODE_RESERVED_NAME
),
errmsg
(
"role
\"
%s
\"
is reserved"
,
errmsg
(
"role
name
\"
%s
\"
is reserved"
,
role
->
rolename
)));
}
}
src/test/modules/test_extensions/expected/test_extensions.out
View file @
40fcfec8
-- test some errors
CREATE EXTENSION test_ext1;
ERROR: required extension "test_ext2" is not installed
HINT: Use CREATE EXTENSION CASCADE to install required extensions too.
HINT: Use CREATE EXTENSION
...
CASCADE to install required extensions too.
CREATE EXTENSION test_ext1 SCHEMA test_ext1;
ERROR: schema "test_ext1" does not exist
CREATE EXTENSION test_ext1 SCHEMA test_ext;
...
...
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