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
ef5d4a3c
Commit
ef5d4a3c
authored
Jul 28, 2016
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Message style improvements
parent
9492cf86
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
61 additions
and
58 deletions
+61
-58
src/backend/access/brin/brin_validate.c
src/backend/access/brin/brin_validate.c
+9
-9
src/backend/access/gin/ginvalidate.c
src/backend/access/gin/ginvalidate.c
+8
-8
src/backend/access/gist/gistvalidate.c
src/backend/access/gist/gistvalidate.c
+8
-8
src/backend/access/hash/hashvalidate.c
src/backend/access/hash/hashvalidate.c
+10
-10
src/backend/access/nbtree/nbtvalidate.c
src/backend/access/nbtree/nbtvalidate.c
+9
-9
src/backend/access/spgist/spgvalidate.c
src/backend/access/spgist/spgvalidate.c
+9
-9
src/backend/access/transam/twophase.c
src/backend/access/transam/twophase.c
+6
-3
src/backend/executor/tqueue.c
src/backend/executor/tqueue.c
+1
-1
src/backend/tsearch/spell.c
src/backend/tsearch/spell.c
+1
-1
No files found.
src/backend/access/brin/brin_validate.c
View file @
ef5d4a3c
...
@@ -112,7 +112,7 @@ brinvalidate(Oid opclassoid)
...
@@ -112,7 +112,7 @@ brinvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"brin op
family %s
contains function %s with invalid support number %d"
,
errmsg
(
"brin op
erator family
\"
%s
\"
contains function %s with invalid support number %d"
,
opfamilyname
,
opfamilyname
,
format_procedure
(
procform
->
amproc
),
format_procedure
(
procform
->
amproc
),
procform
->
amprocnum
)));
procform
->
amprocnum
)));
...
@@ -128,7 +128,7 @@ brinvalidate(Oid opclassoid)
...
@@ -128,7 +128,7 @@ brinvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"brin op
family %s
contains function %s with wrong signature for support number %d"
,
errmsg
(
"brin op
erator family
\"
%s
\"
contains function %s with wrong signature for support number %d"
,
opfamilyname
,
opfamilyname
,
format_procedure
(
procform
->
amproc
),
format_procedure
(
procform
->
amproc
),
procform
->
amprocnum
)));
procform
->
amprocnum
)));
...
@@ -150,7 +150,7 @@ brinvalidate(Oid opclassoid)
...
@@ -150,7 +150,7 @@ brinvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"brin op
family %s
contains operator %s with invalid strategy number %d"
,
errmsg
(
"brin op
erator family
\"
%s
\"
contains operator %s with invalid strategy number %d"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
),
format_operator
(
oprform
->
amopopr
),
oprform
->
amopstrategy
)));
oprform
->
amopstrategy
)));
...
@@ -179,7 +179,7 @@ brinvalidate(Oid opclassoid)
...
@@ -179,7 +179,7 @@ brinvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"brin op
family %s
contains invalid ORDER BY specification for operator %s"
,
errmsg
(
"brin op
erator family
\"
%s
\"
contains invalid ORDER BY specification for operator %s"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
))));
format_operator
(
oprform
->
amopopr
))));
result
=
false
;
result
=
false
;
...
@@ -192,7 +192,7 @@ brinvalidate(Oid opclassoid)
...
@@ -192,7 +192,7 @@ brinvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"brin op
family %s
contains operator %s with wrong signature"
,
errmsg
(
"brin op
erator family
\"
%s
\"
contains operator %s with wrong signature"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
))));
format_operator
(
oprform
->
amopopr
))));
result
=
false
;
result
=
false
;
...
@@ -230,7 +230,7 @@ brinvalidate(Oid opclassoid)
...
@@ -230,7 +230,7 @@ brinvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"brin op
family %s
is missing operator(s) for types %s and %s"
,
errmsg
(
"brin op
erator family
\"
%s
\"
is missing operator(s) for types %s and %s"
,
opfamilyname
,
opfamilyname
,
format_type_be
(
thisgroup
->
lefttype
),
format_type_be
(
thisgroup
->
lefttype
),
format_type_be
(
thisgroup
->
righttype
))));
format_type_be
(
thisgroup
->
righttype
))));
...
@@ -240,7 +240,7 @@ brinvalidate(Oid opclassoid)
...
@@ -240,7 +240,7 @@ brinvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"brin op
family %s
is missing support function(s) for types %s and %s"
,
errmsg
(
"brin op
erator family
\"
%s
\"
is missing support function(s) for types %s and %s"
,
opfamilyname
,
opfamilyname
,
format_type_be
(
thisgroup
->
lefttype
),
format_type_be
(
thisgroup
->
lefttype
),
format_type_be
(
thisgroup
->
righttype
))));
format_type_be
(
thisgroup
->
righttype
))));
...
@@ -253,7 +253,7 @@ brinvalidate(Oid opclassoid)
...
@@ -253,7 +253,7 @@ brinvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"brin op
class %s
is missing operator(s)"
,
errmsg
(
"brin op
erator class
\"
%s
\"
is missing operator(s)"
,
opclassname
)));
opclassname
)));
result
=
false
;
result
=
false
;
}
}
...
@@ -264,7 +264,7 @@ brinvalidate(Oid opclassoid)
...
@@ -264,7 +264,7 @@ brinvalidate(Oid opclassoid)
continue
;
/* got it */
continue
;
/* got it */
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"brin op
class %s
is missing support function %d"
,
errmsg
(
"brin op
erator class
\"
%s
\"
is missing support function %d"
,
opclassname
,
i
)));
opclassname
,
i
)));
result
=
false
;
result
=
false
;
}
}
...
...
src/backend/access/gin/ginvalidate.c
View file @
ef5d4a3c
...
@@ -89,7 +89,7 @@ ginvalidate(Oid opclassoid)
...
@@ -89,7 +89,7 @@ ginvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"gin op
family %s
contains support procedure %s with cross-type registration"
,
errmsg
(
"gin op
erator family
\"
%s
\"
contains support procedure %s with cross-type registration"
,
opfamilyname
,
opfamilyname
,
format_procedure
(
procform
->
amproc
))));
format_procedure
(
procform
->
amproc
))));
result
=
false
;
result
=
false
;
...
@@ -145,7 +145,7 @@ ginvalidate(Oid opclassoid)
...
@@ -145,7 +145,7 @@ ginvalidate(Oid opclassoid)
default:
default:
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"gin op
family %s
contains function %s with invalid support number %d"
,
errmsg
(
"gin op
erator family
\"
%s
\"
contains function %s with invalid support number %d"
,
opfamilyname
,
opfamilyname
,
format_procedure
(
procform
->
amproc
),
format_procedure
(
procform
->
amproc
),
procform
->
amprocnum
)));
procform
->
amprocnum
)));
...
@@ -157,7 +157,7 @@ ginvalidate(Oid opclassoid)
...
@@ -157,7 +157,7 @@ ginvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"gin op
family %s
contains function %s with wrong signature for support number %d"
,
errmsg
(
"gin op
erator family
\"
%s
\"
contains function %s with wrong signature for support number %d"
,
opfamilyname
,
opfamilyname
,
format_procedure
(
procform
->
amproc
),
format_procedure
(
procform
->
amproc
),
procform
->
amprocnum
)));
procform
->
amprocnum
)));
...
@@ -176,7 +176,7 @@ ginvalidate(Oid opclassoid)
...
@@ -176,7 +176,7 @@ ginvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"gin op
family %s
contains operator %s with invalid strategy number %d"
,
errmsg
(
"gin op
erator family
\"
%s
\"
contains operator %s with invalid strategy number %d"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
),
format_operator
(
oprform
->
amopopr
),
oprform
->
amopstrategy
)));
oprform
->
amopstrategy
)));
...
@@ -189,7 +189,7 @@ ginvalidate(Oid opclassoid)
...
@@ -189,7 +189,7 @@ ginvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"gin op
family %s
contains invalid ORDER BY specification for operator %s"
,
errmsg
(
"gin op
erator family
\"
%s
\"
contains invalid ORDER BY specification for operator %s"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
))));
format_operator
(
oprform
->
amopopr
))));
result
=
false
;
result
=
false
;
...
@@ -202,7 +202,7 @@ ginvalidate(Oid opclassoid)
...
@@ -202,7 +202,7 @@ ginvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"gin op
family %s
contains operator %s with wrong signature"
,
errmsg
(
"gin op
erator family
\"
%s
\"
contains operator %s with wrong signature"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
))));
format_operator
(
oprform
->
amopopr
))));
result
=
false
;
result
=
false
;
...
@@ -243,7 +243,7 @@ ginvalidate(Oid opclassoid)
...
@@ -243,7 +243,7 @@ ginvalidate(Oid opclassoid)
continue
;
/* don't need both, see check below loop */
continue
;
/* don't need both, see check below loop */
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"gin op
class %s
is missing support function %d"
,
errmsg
(
"gin op
erator class
\"
%s
\"
is missing support function %d"
,
opclassname
,
i
)));
opclassname
,
i
)));
result
=
false
;
result
=
false
;
}
}
...
@@ -253,7 +253,7 @@ ginvalidate(Oid opclassoid)
...
@@ -253,7 +253,7 @@ ginvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"gin op
class %s
is missing support function %d or %d"
,
errmsg
(
"gin op
erator class
\"
%s
\"
is missing support function %d or %d"
,
opclassname
,
opclassname
,
GIN_CONSISTENT_PROC
,
GIN_TRICONSISTENT_PROC
)));
GIN_CONSISTENT_PROC
,
GIN_TRICONSISTENT_PROC
)));
result
=
false
;
result
=
false
;
...
...
src/backend/access/gist/gistvalidate.c
View file @
ef5d4a3c
...
@@ -89,7 +89,7 @@ gistvalidate(Oid opclassoid)
...
@@ -89,7 +89,7 @@ gistvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"gist op
family %s
contains support procedure %s with cross-type registration"
,
errmsg
(
"gist op
erator family
\"
%s
\"
contains support procedure %s with cross-type registration"
,
opfamilyname
,
opfamilyname
,
format_procedure
(
procform
->
amproc
))));
format_procedure
(
procform
->
amproc
))));
result
=
false
;
result
=
false
;
...
@@ -142,7 +142,7 @@ gistvalidate(Oid opclassoid)
...
@@ -142,7 +142,7 @@ gistvalidate(Oid opclassoid)
default:
default:
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"gist op
family %s
contains function %s with invalid support number %d"
,
errmsg
(
"gist op
erator family
\"
%s
\"
contains function %s with invalid support number %d"
,
opfamilyname
,
opfamilyname
,
format_procedure
(
procform
->
amproc
),
format_procedure
(
procform
->
amproc
),
procform
->
amprocnum
)));
procform
->
amprocnum
)));
...
@@ -154,7 +154,7 @@ gistvalidate(Oid opclassoid)
...
@@ -154,7 +154,7 @@ gistvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"gist op
family %s
contains function %s with wrong signature for support number %d"
,
errmsg
(
"gist op
erator family
\"
%s
\"
contains function %s with wrong signature for support number %d"
,
opfamilyname
,
opfamilyname
,
format_procedure
(
procform
->
amproc
),
format_procedure
(
procform
->
amproc
),
procform
->
amprocnum
)));
procform
->
amprocnum
)));
...
@@ -174,7 +174,7 @@ gistvalidate(Oid opclassoid)
...
@@ -174,7 +174,7 @@ gistvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"gist op
family %s
contains operator %s with invalid strategy number %d"
,
errmsg
(
"gist op
erator family
\"
%s
\"
contains operator %s with invalid strategy number %d"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
),
format_operator
(
oprform
->
amopopr
),
oprform
->
amopstrategy
)));
oprform
->
amopstrategy
)));
...
@@ -192,7 +192,7 @@ gistvalidate(Oid opclassoid)
...
@@ -192,7 +192,7 @@ gistvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"gist op
family %s
contains unsupported ORDER BY specification for operator %s"
,
errmsg
(
"gist op
erator family
\"
%s
\"
contains unsupported ORDER BY specification for operator %s"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
))));
format_operator
(
oprform
->
amopopr
))));
result
=
false
;
result
=
false
;
...
@@ -203,7 +203,7 @@ gistvalidate(Oid opclassoid)
...
@@ -203,7 +203,7 @@ gistvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"gist op
family %s
contains incorrect ORDER BY opfamily specification for operator %s"
,
errmsg
(
"gist op
erator family
\"
%s
\"
contains incorrect ORDER BY opfamily specification for operator %s"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
))));
format_operator
(
oprform
->
amopopr
))));
result
=
false
;
result
=
false
;
...
@@ -222,7 +222,7 @@ gistvalidate(Oid opclassoid)
...
@@ -222,7 +222,7 @@ gistvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"gist op
family %s
contains operator %s with wrong signature"
,
errmsg
(
"gist op
erator family
\"
%s
\"
contains operator %s with wrong signature"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
))));
format_operator
(
oprform
->
amopopr
))));
result
=
false
;
result
=
false
;
...
@@ -261,7 +261,7 @@ gistvalidate(Oid opclassoid)
...
@@ -261,7 +261,7 @@ gistvalidate(Oid opclassoid)
continue
;
/* optional methods */
continue
;
/* optional methods */
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"gist op
class %s
is missing support function %d"
,
errmsg
(
"gist op
erator class
\"
%s
\"
is missing support function %d"
,
opclassname
,
i
)));
opclassname
,
i
)));
result
=
false
;
result
=
false
;
}
}
...
...
src/backend/access/hash/hashvalidate.c
View file @
ef5d4a3c
...
@@ -95,7 +95,7 @@ hashvalidate(Oid opclassoid)
...
@@ -95,7 +95,7 @@ hashvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"hash op
family %s
contains support procedure %s with cross-type registration"
,
errmsg
(
"hash op
erator family
\"
%s
\"
contains support procedure %s with cross-type registration"
,
opfamilyname
,
opfamilyname
,
format_procedure
(
procform
->
amproc
))));
format_procedure
(
procform
->
amproc
))));
result
=
false
;
result
=
false
;
...
@@ -110,7 +110,7 @@ hashvalidate(Oid opclassoid)
...
@@ -110,7 +110,7 @@ hashvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"hash op
family %s
contains function %s with wrong signature for support number %d"
,
errmsg
(
"hash op
erator family
\"
%s
\"
contains function %s with wrong signature for support number %d"
,
opfamilyname
,
opfamilyname
,
format_procedure
(
procform
->
amproc
),
format_procedure
(
procform
->
amproc
),
procform
->
amprocnum
)));
procform
->
amprocnum
)));
...
@@ -127,7 +127,7 @@ hashvalidate(Oid opclassoid)
...
@@ -127,7 +127,7 @@ hashvalidate(Oid opclassoid)
default:
default:
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"hash op
family %s
contains function %s with invalid support number %d"
,
errmsg
(
"hash op
erator family
\"
%s
\"
contains function %s with invalid support number %d"
,
opfamilyname
,
opfamilyname
,
format_procedure
(
procform
->
amproc
),
format_procedure
(
procform
->
amproc
),
procform
->
amprocnum
)));
procform
->
amprocnum
)));
...
@@ -148,7 +148,7 @@ hashvalidate(Oid opclassoid)
...
@@ -148,7 +148,7 @@ hashvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"hash op
family %s
contains operator %s with invalid strategy number %d"
,
errmsg
(
"hash op
erator family
\"
%s
\"
contains operator %s with invalid strategy number %d"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
),
format_operator
(
oprform
->
amopopr
),
oprform
->
amopstrategy
)));
oprform
->
amopstrategy
)));
...
@@ -161,7 +161,7 @@ hashvalidate(Oid opclassoid)
...
@@ -161,7 +161,7 @@ hashvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"hash op
family %s
contains invalid ORDER BY specification for operator %s"
,
errmsg
(
"hash op
erator family
\"
%s
\"
contains invalid ORDER BY specification for operator %s"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
))));
format_operator
(
oprform
->
amopopr
))));
result
=
false
;
result
=
false
;
...
@@ -174,7 +174,7 @@ hashvalidate(Oid opclassoid)
...
@@ -174,7 +174,7 @@ hashvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"hash op
family %s
contains operator %s with wrong signature"
,
errmsg
(
"hash op
erator family
\"
%s
\"
contains operator %s with wrong signature"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
))));
format_operator
(
oprform
->
amopopr
))));
result
=
false
;
result
=
false
;
...
@@ -186,7 +186,7 @@ hashvalidate(Oid opclassoid)
...
@@ -186,7 +186,7 @@ hashvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"hash op
family %s
lacks support function for operator %s"
,
errmsg
(
"hash op
erator family
\"
%s
\"
lacks support function for operator %s"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
))));
format_operator
(
oprform
->
amopopr
))));
result
=
false
;
result
=
false
;
...
@@ -214,7 +214,7 @@ hashvalidate(Oid opclassoid)
...
@@ -214,7 +214,7 @@ hashvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"hash op
family %s
is missing operator(s) for types %s and %s"
,
errmsg
(
"hash op
erator family
\"
%s
\"
is missing operator(s) for types %s and %s"
,
opfamilyname
,
opfamilyname
,
format_type_be
(
thisgroup
->
lefttype
),
format_type_be
(
thisgroup
->
lefttype
),
format_type_be
(
thisgroup
->
righttype
))));
format_type_be
(
thisgroup
->
righttype
))));
...
@@ -228,7 +228,7 @@ hashvalidate(Oid opclassoid)
...
@@ -228,7 +228,7 @@ hashvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"hash op
class %s
is missing operator(s)"
,
errmsg
(
"hash op
erator class
\"
%s
\"
is missing operator(s)"
,
opclassname
)));
opclassname
)));
result
=
false
;
result
=
false
;
}
}
...
@@ -244,7 +244,7 @@ hashvalidate(Oid opclassoid)
...
@@ -244,7 +244,7 @@ hashvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"hash op
family %s
is missing cross-type operator(s)"
,
errmsg
(
"hash op
erator family
\"
%s
\"
is missing cross-type operator(s)"
,
opfamilyname
)));
opfamilyname
)));
result
=
false
;
result
=
false
;
}
}
...
...
src/backend/access/nbtree/nbtvalidate.c
View file @
ef5d4a3c
...
@@ -97,7 +97,7 @@ btvalidate(Oid opclassoid)
...
@@ -97,7 +97,7 @@ btvalidate(Oid opclassoid)
default:
default:
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"btree op
family %s
contains function %s with invalid support number %d"
,
errmsg
(
"btree op
erator family
\"
%s
\"
contains function %s with invalid support number %d"
,
opfamilyname
,
opfamilyname
,
format_procedure
(
procform
->
amproc
),
format_procedure
(
procform
->
amproc
),
procform
->
amprocnum
)));
procform
->
amprocnum
)));
...
@@ -109,7 +109,7 @@ btvalidate(Oid opclassoid)
...
@@ -109,7 +109,7 @@ btvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"btree op
family %s
contains function %s with wrong signature for support number %d"
,
errmsg
(
"btree op
erator family
\"
%s
\"
contains function %s with wrong signature for support number %d"
,
opfamilyname
,
opfamilyname
,
format_procedure
(
procform
->
amproc
),
format_procedure
(
procform
->
amproc
),
procform
->
amprocnum
)));
procform
->
amprocnum
)));
...
@@ -129,7 +129,7 @@ btvalidate(Oid opclassoid)
...
@@ -129,7 +129,7 @@ btvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"btree op
family %s
contains operator %s with invalid strategy number %d"
,
errmsg
(
"btree op
erator family
\"
%s
\"
contains operator %s with invalid strategy number %d"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
),
format_operator
(
oprform
->
amopopr
),
oprform
->
amopstrategy
)));
oprform
->
amopstrategy
)));
...
@@ -142,7 +142,7 @@ btvalidate(Oid opclassoid)
...
@@ -142,7 +142,7 @@ btvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"btree op
family %s
contains invalid ORDER BY specification for operator %s"
,
errmsg
(
"btree op
erator family
\"
%s
\"
contains invalid ORDER BY specification for operator %s"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
))));
format_operator
(
oprform
->
amopopr
))));
result
=
false
;
result
=
false
;
...
@@ -155,7 +155,7 @@ btvalidate(Oid opclassoid)
...
@@ -155,7 +155,7 @@ btvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"btree op
family %s
contains operator %s with wrong signature"
,
errmsg
(
"btree op
erator family
\"
%s
\"
contains operator %s with wrong signature"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
))));
format_operator
(
oprform
->
amopopr
))));
result
=
false
;
result
=
false
;
...
@@ -197,7 +197,7 @@ btvalidate(Oid opclassoid)
...
@@ -197,7 +197,7 @@ btvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"btree op
family %s
is missing operator(s) for types %s and %s"
,
errmsg
(
"btree op
erator family
\"
%s
\"
is missing operator(s) for types %s and %s"
,
opfamilyname
,
opfamilyname
,
format_type_be
(
thisgroup
->
lefttype
),
format_type_be
(
thisgroup
->
lefttype
),
format_type_be
(
thisgroup
->
righttype
))));
format_type_be
(
thisgroup
->
righttype
))));
...
@@ -207,7 +207,7 @@ btvalidate(Oid opclassoid)
...
@@ -207,7 +207,7 @@ btvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"btree op
family %s
is missing support function for types %s and %s"
,
errmsg
(
"btree op
erator family
\"
%s
\"
is missing support function for types %s and %s"
,
opfamilyname
,
opfamilyname
,
format_type_be
(
thisgroup
->
lefttype
),
format_type_be
(
thisgroup
->
lefttype
),
format_type_be
(
thisgroup
->
righttype
))));
format_type_be
(
thisgroup
->
righttype
))));
...
@@ -221,7 +221,7 @@ btvalidate(Oid opclassoid)
...
@@ -221,7 +221,7 @@ btvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"btree op
class %s
is missing operator(s)"
,
errmsg
(
"btree op
erator class
\"
%s
\"
is missing operator(s)"
,
opclassname
)));
opclassname
)));
result
=
false
;
result
=
false
;
}
}
...
@@ -238,7 +238,7 @@ btvalidate(Oid opclassoid)
...
@@ -238,7 +238,7 @@ btvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"btree op
family %s
is missing cross-type operator(s)"
,
errmsg
(
"btree op
erator family
\"
%s
\"
is missing cross-type operator(s)"
,
opfamilyname
)));
opfamilyname
)));
result
=
false
;
result
=
false
;
}
}
...
...
src/backend/access/spgist/spgvalidate.c
View file @
ef5d4a3c
...
@@ -89,7 +89,7 @@ spgvalidate(Oid opclassoid)
...
@@ -89,7 +89,7 @@ spgvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"spgist op
family %s
contains support procedure %s with cross-type registration"
,
errmsg
(
"spgist op
erator family
\"
%s
\"
contains support procedure %s with cross-type registration"
,
opfamilyname
,
opfamilyname
,
format_procedure
(
procform
->
amproc
))));
format_procedure
(
procform
->
amproc
))));
result
=
false
;
result
=
false
;
...
@@ -112,7 +112,7 @@ spgvalidate(Oid opclassoid)
...
@@ -112,7 +112,7 @@ spgvalidate(Oid opclassoid)
default:
default:
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"spgist op
family %s
contains function %s with invalid support number %d"
,
errmsg
(
"spgist op
erator family
\"
%s
\"
contains function %s with invalid support number %d"
,
opfamilyname
,
opfamilyname
,
format_procedure
(
procform
->
amproc
),
format_procedure
(
procform
->
amproc
),
procform
->
amprocnum
)));
procform
->
amprocnum
)));
...
@@ -124,7 +124,7 @@ spgvalidate(Oid opclassoid)
...
@@ -124,7 +124,7 @@ spgvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"spgist op
family %s
contains function %s with wrong signature for support number %d"
,
errmsg
(
"spgist op
erator family
\"
%s
\"
contains function %s with wrong signature for support number %d"
,
opfamilyname
,
opfamilyname
,
format_procedure
(
procform
->
amproc
),
format_procedure
(
procform
->
amproc
),
procform
->
amprocnum
)));
procform
->
amprocnum
)));
...
@@ -143,7 +143,7 @@ spgvalidate(Oid opclassoid)
...
@@ -143,7 +143,7 @@ spgvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"spgist op
family %s
contains operator %s with invalid strategy number %d"
,
errmsg
(
"spgist op
erator family
\"
%s
\"
contains operator %s with invalid strategy number %d"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
),
format_operator
(
oprform
->
amopopr
),
oprform
->
amopstrategy
)));
oprform
->
amopstrategy
)));
...
@@ -156,7 +156,7 @@ spgvalidate(Oid opclassoid)
...
@@ -156,7 +156,7 @@ spgvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"spgist op
family %s
contains invalid ORDER BY specification for operator %s"
,
errmsg
(
"spgist op
erator family
\"
%s
\"
contains invalid ORDER BY specification for operator %s"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
))));
format_operator
(
oprform
->
amopopr
))));
result
=
false
;
result
=
false
;
...
@@ -169,7 +169,7 @@ spgvalidate(Oid opclassoid)
...
@@ -169,7 +169,7 @@ spgvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"spgist op
family %s
contains operator %s with wrong signature"
,
errmsg
(
"spgist op
erator family
\"
%s
\"
contains operator %s with wrong signature"
,
opfamilyname
,
opfamilyname
,
format_operator
(
oprform
->
amopopr
))));
format_operator
(
oprform
->
amopopr
))));
result
=
false
;
result
=
false
;
...
@@ -197,7 +197,7 @@ spgvalidate(Oid opclassoid)
...
@@ -197,7 +197,7 @@ spgvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"spgist op
family %s
is missing operator(s) for types %s and %s"
,
errmsg
(
"spgist op
erator family
\"
%s
\"
is missing operator(s) for types %s and %s"
,
opfamilyname
,
opfamilyname
,
format_type_be
(
thisgroup
->
lefttype
),
format_type_be
(
thisgroup
->
lefttype
),
format_type_be
(
thisgroup
->
righttype
))));
format_type_be
(
thisgroup
->
righttype
))));
...
@@ -217,7 +217,7 @@ spgvalidate(Oid opclassoid)
...
@@ -217,7 +217,7 @@ spgvalidate(Oid opclassoid)
continue
;
/* got it */
continue
;
/* got it */
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"spgist op
family %s
is missing support function %d for type %s"
,
errmsg
(
"spgist op
erator family
\"
%s
\"
is missing support function %d for type %s"
,
opfamilyname
,
i
,
opfamilyname
,
i
,
format_type_be
(
thisgroup
->
lefttype
))));
format_type_be
(
thisgroup
->
lefttype
))));
result
=
false
;
result
=
false
;
...
@@ -230,7 +230,7 @@ spgvalidate(Oid opclassoid)
...
@@ -230,7 +230,7 @@ spgvalidate(Oid opclassoid)
{
{
ereport
(
INFO
,
ereport
(
INFO
,
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
(
errcode
(
ERRCODE_INVALID_OBJECT_DEFINITION
),
errmsg
(
"spgist op
class %s
is missing operator(s)"
,
errmsg
(
"spgist op
erator class
\"
%s
\"
is missing operator(s)"
,
opclassname
)));
opclassname
)));
result
=
false
;
result
=
false
;
}
}
...
...
src/backend/access/transam/twophase.c
View file @
ef5d4a3c
...
@@ -1645,8 +1645,11 @@ CheckPointTwoPhase(XLogRecPtr redo_horizon)
...
@@ -1645,8 +1645,11 @@ CheckPointTwoPhase(XLogRecPtr redo_horizon)
if
(
log_checkpoints
&&
serialized_xacts
>
0
)
if
(
log_checkpoints
&&
serialized_xacts
>
0
)
ereport
(
LOG
,
ereport
(
LOG
,
(
errmsg
(
"%u two-phase state files were
written "
(
errmsg
_plural
(
"%u two-phase state file was
written "
"for long-running prepared transactions"
,
"for long-running prepared transactions"
,
"%u two-phase state files were written "
"for long-running prepared transactions"
,
serialized_xacts
,
serialized_xacts
)));
serialized_xacts
)));
}
}
...
...
src/backend/executor/tqueue.c
View file @
ef5d4a3c
...
@@ -203,7 +203,7 @@ tqueueReceiveSlot(TupleTableSlot *slot, DestReceiver *self)
...
@@ -203,7 +203,7 @@ tqueueReceiveSlot(TupleTableSlot *slot, DestReceiver *self)
else
if
(
result
!=
SHM_MQ_SUCCESS
)
else
if
(
result
!=
SHM_MQ_SUCCESS
)
ereport
(
ERROR
,
ereport
(
ERROR
,
(
errcode
(
ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
),
(
errcode
(
ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
),
errmsg
(
"
unable to
send tuples"
)));
errmsg
(
"
could not
send tuples"
)));
return
true
;
return
true
;
}
}
...
...
src/backend/tsearch/spell.c
View file @
ef5d4a3c
...
@@ -433,7 +433,7 @@ getNextFlagFromString(IspellDict *Conf, char **sflagset, char *sflag)
...
@@ -433,7 +433,7 @@ getNextFlagFromString(IspellDict *Conf, char **sflagset, char *sflag)
if
(
Conf
->
flagMode
==
FM_LONG
&&
maxstep
>
0
)
if
(
Conf
->
flagMode
==
FM_LONG
&&
maxstep
>
0
)
ereport
(
ERROR
,
ereport
(
ERROR
,
(
errcode
(
ERRCODE_CONFIG_FILE_ERROR
),
(
errcode
(
ERRCODE_CONFIG_FILE_ERROR
),
errmsg
(
"invalid affix flag
\"
%s
\"
with
long
flag value"
,
sbuf
)));
errmsg
(
"invalid affix flag
\"
%s
\"
with
\"
long
\"
flag value"
,
sbuf
)));
*
sflag
=
'\0'
;
*
sflag
=
'\0'
;
}
}
...
...
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