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
b7a08c80
Commit
b7a08c80
authored
Oct 12, 2014
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Message improvements
parent
dc9c6127
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
10 deletions
+10
-10
src/backend/access/nbtree/nbtpage.c
src/backend/access/nbtree/nbtpage.c
+1
-1
src/backend/access/transam/xlog.c
src/backend/access/transam/xlog.c
+3
-3
src/backend/commands/dbcommands.c
src/backend/commands/dbcommands.c
+1
-1
src/backend/commands/matview.c
src/backend/commands/matview.c
+1
-1
src/backend/commands/tablecmds.c
src/backend/commands/tablecmds.c
+1
-1
src/backend/commands/view.c
src/backend/commands/view.c
+1
-1
src/backend/libpq/be-secure-openssl.c
src/backend/libpq/be-secure-openssl.c
+1
-1
src/test/regress/expected/matview.out
src/test/regress/expected/matview.out
+1
-1
No files found.
src/backend/access/nbtree/nbtpage.c
View file @
b7a08c80
...
@@ -1186,7 +1186,7 @@ _bt_pagedel(Relation rel, Buffer buf)
...
@@ -1186,7 +1186,7 @@ _bt_pagedel(Relation rel, Buffer buf)
(
errcode
(
ERRCODE_INDEX_CORRUPTED
),
(
errcode
(
ERRCODE_INDEX_CORRUPTED
),
errmsg
(
"index
\"
%s
\"
contains a half-dead internal page"
,
errmsg
(
"index
\"
%s
\"
contains a half-dead internal page"
,
RelationGetRelationName
(
rel
)),
RelationGetRelationName
(
rel
)),
errhint
(
"This can be caused by an interrupt VACUUM in version 9.3 or older, before upgrade. Please REINDEX it."
)));
errhint
(
"This can be caused by an interrupt
ed
VACUUM in version 9.3 or older, before upgrade. Please REINDEX it."
)));
_bt_relbuf
(
rel
,
buf
);
_bt_relbuf
(
rel
,
buf
);
return
ndeleted
;
return
ndeleted
;
}
}
...
...
src/backend/access/transam/xlog.c
View file @
b7a08c80
...
@@ -5193,8 +5193,8 @@ readRecoveryCommandFile(void)
...
@@ -5193,8 +5193,8 @@ readRecoveryCommandFile(void)
else
else
ereport
(
ERROR
,
ereport
(
ERROR
,
(
errcode
(
ERRCODE_INVALID_PARAMETER_VALUE
),
(
errcode
(
ERRCODE_INVALID_PARAMETER_VALUE
),
errmsg
(
"invalid
recovery_target parameter
"
),
errmsg
(
"invalid
value for recovery parameter
\"
recovery_target
\"
"
),
errhint
(
"The only allowed value is
'immediate'
"
)));
errhint
(
"The only allowed value is
\"
immediate
\"
.
"
)));
ereport
(
DEBUG2
,
ereport
(
DEBUG2
,
(
errmsg_internal
(
"recovery_target = '%s'"
,
(
errmsg_internal
(
"recovery_target = '%s'"
,
item
->
value
)));
item
->
value
)));
...
@@ -5257,7 +5257,7 @@ readRecoveryCommandFile(void)
...
@@ -5257,7 +5257,7 @@ readRecoveryCommandFile(void)
"recovery_min_apply_delay"
),
"recovery_min_apply_delay"
),
hintmsg
?
errhint
(
"%s"
,
_
(
hintmsg
))
:
0
));
hintmsg
?
errhint
(
"%s"
,
_
(
hintmsg
))
:
0
));
ereport
(
DEBUG2
,
ereport
(
DEBUG2
,
(
errmsg
(
"recovery_min_apply_delay = '%s'"
,
item
->
value
)));
(
errmsg
_internal
(
"recovery_min_apply_delay = '%s'"
,
item
->
value
)));
}
}
else
else
ereport
(
FATAL
,
ereport
(
FATAL
,
...
...
src/backend/commands/dbcommands.c
View file @
b7a08c80
...
@@ -839,7 +839,7 @@ dropdb(const char *dbname, bool missing_ok)
...
@@ -839,7 +839,7 @@ dropdb(const char *dbname, bool missing_ok)
if
(
ReplicationSlotsCountDBSlots
(
db_id
,
&
nslots
,
&
nslots_active
))
if
(
ReplicationSlotsCountDBSlots
(
db_id
,
&
nslots
,
&
nslots_active
))
ereport
(
ERROR
,
ereport
(
ERROR
,
(
errcode
(
ERRCODE_OBJECT_IN_USE
),
(
errcode
(
ERRCODE_OBJECT_IN_USE
),
errmsg
(
"database
\"
%s
\"
is used by a logical
decoding
slot"
,
errmsg
(
"database
\"
%s
\"
is used by a logical
replication
slot"
,
dbname
),
dbname
),
errdetail_plural
(
"There is %d slot, %d of them active."
,
errdetail_plural
(
"There is %d slot, %d of them active."
,
"There are %d slots, %d of them active."
,
"There are %d slots, %d of them active."
,
...
...
src/backend/commands/matview.c
View file @
b7a08c80
...
@@ -597,7 +597,7 @@ refresh_by_match_merge(Oid matviewOid, Oid tempOid, Oid relowner,
...
@@ -597,7 +597,7 @@ refresh_by_match_merge(Oid matviewOid, Oid tempOid, Oid relowner,
{
{
ereport
(
ERROR
,
ereport
(
ERROR
,
(
errcode
(
ERRCODE_CARDINALITY_VIOLATION
),
(
errcode
(
ERRCODE_CARDINALITY_VIOLATION
),
errmsg
(
"new data for
\"
%s
\"
contains duplicate rows without any
NULL
columns"
,
errmsg
(
"new data for
\"
%s
\"
contains duplicate rows without any
null
columns"
,
RelationGetRelationName
(
matviewRel
)),
RelationGetRelationName
(
matviewRel
)),
errdetail
(
"Row: %s"
,
errdetail
(
"Row: %s"
,
SPI_getvalue
(
SPI_tuptable
->
vals
[
0
],
SPI_tuptable
->
tupdesc
,
1
))));
SPI_getvalue
(
SPI_tuptable
->
vals
[
0
],
SPI_tuptable
->
tupdesc
,
1
))));
...
...
src/backend/commands/tablecmds.c
View file @
b7a08c80
...
@@ -9046,7 +9046,7 @@ ATExecSetRelOptions(Relation rel, List *defList, AlterTableType operation,
...
@@ -9046,7 +9046,7 @@ ATExecSetRelOptions(Relation rel, List *defList, AlterTableType operation,
if
(
view_updatable_error
)
if
(
view_updatable_error
)
ereport
(
ERROR
,
ereport
(
ERROR
,
(
errcode
(
ERRCODE_FEATURE_NOT_SUPPORTED
),
(
errcode
(
ERRCODE_FEATURE_NOT_SUPPORTED
),
errmsg
(
"WITH CHECK OPTION is supported only on auto
-
updatable views"
),
errmsg
(
"WITH CHECK OPTION is supported only on auto
matically
updatable views"
),
errhint
(
"%s"
,
view_updatable_error
)));
errhint
(
"%s"
,
view_updatable_error
)));
}
}
}
}
...
...
src/backend/commands/view.c
View file @
b7a08c80
...
@@ -471,7 +471,7 @@ DefineView(ViewStmt *stmt, const char *queryString)
...
@@ -471,7 +471,7 @@ DefineView(ViewStmt *stmt, const char *queryString)
if
(
view_updatable_error
)
if
(
view_updatable_error
)
ereport
(
ERROR
,
ereport
(
ERROR
,
(
errcode
(
ERRCODE_FEATURE_NOT_SUPPORTED
),
(
errcode
(
ERRCODE_FEATURE_NOT_SUPPORTED
),
errmsg
(
"WITH CHECK OPTION is supported only on auto
-
updatable views"
),
errmsg
(
"WITH CHECK OPTION is supported only on auto
matically
updatable views"
),
errhint
(
"%s"
,
view_updatable_error
)));
errhint
(
"%s"
,
view_updatable_error
)));
}
}
...
...
src/backend/libpq/be-secure-openssl.c
View file @
b7a08c80
...
@@ -614,7 +614,7 @@ be_tls_write(Port *port, void *ptr, size_t len)
...
@@ -614,7 +614,7 @@ be_tls_write(Port *port, void *ptr, size_t len)
if
(
retries
>=
20
)
if
(
retries
>=
20
)
ereport
(
FATAL
,
ereport
(
FATAL
,
(
errcode
(
ERRCODE_PROTOCOL_VIOLATION
),
(
errcode
(
ERRCODE_PROTOCOL_VIOLATION
),
errmsg
(
"
unable to complete SSL handshake
"
)));
errmsg
(
"
could not complete SSL handshake on renegotiation, too many failures
"
)));
}
}
}
}
}
}
...
...
src/test/regress/expected/matview.out
View file @
b7a08c80
...
@@ -411,7 +411,7 @@ REFRESH MATERIALIZED VIEW mv;
...
@@ -411,7 +411,7 @@ REFRESH MATERIALIZED VIEW mv;
ERROR: could not create unique index "mv_a_idx"
ERROR: could not create unique index "mv_a_idx"
DETAIL: Key (a)=(1) is duplicated.
DETAIL: Key (a)=(1) is duplicated.
REFRESH MATERIALIZED VIEW CONCURRENTLY mv;
REFRESH MATERIALIZED VIEW CONCURRENTLY mv;
ERROR: new data for "mv" contains duplicate rows without any
NULL
columns
ERROR: new data for "mv" contains duplicate rows without any
null
columns
DETAIL: Row: (1,10)
DETAIL: Row: (1,10)
DROP TABLE foo CASCADE;
DROP TABLE foo CASCADE;
NOTICE: drop cascades to materialized view mv
NOTICE: drop cascades to materialized view mv
...
...
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