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
5c6d2a5e
Commit
5c6d2a5e
authored
Jun 07, 2016
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Message style and wording fixes
parent
df7cc397
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
21 additions
and
21 deletions
+21
-21
src/backend/access/gin/ginbulk.c
src/backend/access/gin/ginbulk.c
+1
-1
src/backend/access/transam/xlogfuncs.c
src/backend/access/transam/xlogfuncs.c
+3
-3
src/backend/commands/aggregatecmds.c
src/backend/commands/aggregatecmds.c
+2
-2
src/backend/commands/operatorcmds.c
src/backend/commands/operatorcmds.c
+1
-1
src/backend/utils/adt/misc.c
src/backend/utils/adt/misc.c
+2
-2
src/bin/pg_rewind/pg_rewind.c
src/bin/pg_rewind/pg_rewind.c
+2
-2
src/test/regress/expected/alter_operator.out
src/test/regress/expected/alter_operator.out
+4
-4
src/test/regress/expected/create_aggregate.out
src/test/regress/expected/create_aggregate.out
+1
-1
src/test/regress/expected/name.out
src/test/regress/expected/name.out
+5
-5
No files found.
src/backend/access/gin/ginbulk.c
View file @
5c6d2a5e
...
...
@@ -42,7 +42,7 @@ ginCombineData(RBNode *existing, const RBNode *newdata, void *arg)
ereport
(
ERROR
,
(
errcode
(
ERRCODE_PROGRAM_LIMIT_EXCEEDED
),
errmsg
(
"posting list is too long"
),
errhint
(
"Reduce maintenance_work_mem"
)));
errhint
(
"Reduce maintenance_work_mem
.
"
)));
accum
->
allocatedMemory
-=
GetMemoryChunkSpace
(
eo
->
list
);
eo
->
maxcount
*=
2
;
...
...
src/backend/access/transam/xlogfuncs.c
View file @
5c6d2a5e
...
...
@@ -153,7 +153,7 @@ pg_stop_backup(PG_FUNCTION_ARGS)
ereport
(
ERROR
,
(
errcode
(
ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
),
errmsg
(
"non-exclusive backup in progress"
),
errhint
(
"
d
id you mean to use pg_stop_backup('f')?"
)));
errhint
(
"
D
id you mean to use pg_stop_backup('f')?"
)));
/*
* Exclusive backups were typically started in a different connection,
...
...
@@ -227,7 +227,7 @@ pg_stop_backup_v2(PG_FUNCTION_ARGS)
ereport
(
ERROR
,
(
errcode
(
ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
),
errmsg
(
"non-exclusive backup in progress"
),
errhint
(
"
d
id you mean to use pg_stop_backup('f')?"
)));
errhint
(
"
D
id you mean to use pg_stop_backup('f')?"
)));
/*
* Stop the exclusive backup, and since we're in an exclusive backup
...
...
@@ -245,7 +245,7 @@ pg_stop_backup_v2(PG_FUNCTION_ARGS)
ereport
(
ERROR
,
(
errcode
(
ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
),
errmsg
(
"non-exclusive backup is not in progress"
),
errhint
(
"
d
id you mean to use pg_stop_backup('t')?"
)));
errhint
(
"
D
id you mean to use pg_stop_backup('t')?"
)));
/*
* Stop the non-exclusive backup. Return a copy of the backup
...
...
src/backend/commands/aggregatecmds.c
View file @
5c6d2a5e
...
...
@@ -344,7 +344,7 @@ DefineAggregate(List *name, List *args, bool oldstyle, List *parameters,
if
(
transTypeId
!=
INTERNALOID
)
ereport
(
ERROR
,
(
errcode
(
ERRCODE_INVALID_FUNCTION_DEFINITION
),
errmsg
(
"a serialization type must only be specified when the aggregate transition data type is
\"
%s
\"
"
,
errmsg
(
"a serialization type must only be specified when the aggregate transition data type is
%s
"
,
format_type_be
(
INTERNALOID
))));
serialTypeId
=
typenameTypeId
(
NULL
,
serialType
);
...
...
@@ -366,7 +366,7 @@ DefineAggregate(List *name, List *args, bool oldstyle, List *parameters,
if
(
serialTypeId
==
INTERNALOID
)
ereport
(
ERROR
,
(
errcode
(
ERRCODE_INVALID_FUNCTION_DEFINITION
),
errmsg
(
"aggregate serialization
type cannot be
\"
%s
\"
"
,
errmsg
(
"aggregate serialization
data type cannot be %s
"
,
format_type_be
(
serialTypeId
))));
/*
...
...
src/backend/commands/operatorcmds.c
View file @
5c6d2a5e
...
...
@@ -448,7 +448,7 @@ AlterOperator(AlterOperatorStmt *stmt)
{
ereport
(
ERROR
,
(
errcode
(
ERRCODE_SYNTAX_ERROR
),
errmsg
(
"operator attribute
\"
%s
\"
can
not be changed"
,
errmsg
(
"operator attribute
\"
%s
\"
cannot be changed"
,
defel
->
defname
)));
}
else
...
...
src/backend/utils/adt/misc.c
View file @
5c6d2a5e
...
...
@@ -849,13 +849,13 @@ parse_ident(PG_FUNCTION_ARGS)
(
errcode
(
ERRCODE_INVALID_PARAMETER_VALUE
),
errmsg
(
"string is not a valid identifier:
\"
%s
\"
"
,
text_to_cstring
(
qualname
)),
errdetail
(
"No valid identifier before
\"
.
\"
symbol
."
)));
errdetail
(
"No valid identifier before
\"
.
\"
."
)));
else
if
(
after_dot
)
ereport
(
ERROR
,
(
errcode
(
ERRCODE_INVALID_PARAMETER_VALUE
),
errmsg
(
"string is not a valid identifier:
\"
%s
\"
"
,
text_to_cstring
(
qualname
)),
errdetail
(
"No valid identifier after
\"
.
\"
symbol
."
)));
errdetail
(
"No valid identifier after
\"
.
\"
."
)));
else
ereport
(
ERROR
,
(
errcode
(
ERRCODE_INVALID_PARAMETER_VALUE
),
...
...
src/bin/pg_rewind/pg_rewind.c
View file @
5c6d2a5e
...
...
@@ -459,7 +459,7 @@ getTimelineHistory(ControlFileData *controlFile, int *nentries)
else
if
(
controlFile
==
&
ControlFile_target
)
histfile
=
slurpFile
(
datadir_target
,
path
,
NULL
);
else
pg_fatal
(
"
I
nvalid control file"
);
pg_fatal
(
"
i
nvalid control file"
);
history
=
rewind_parseTimeLineHistory
(
histfile
,
tli
,
nentries
);
pg_free
(
histfile
);
...
...
@@ -685,7 +685,7 @@ syncTargetDirectory(const char *argv0)
strlcpy
(
full_path
,
progname
,
sizeof
(
full_path
));
if
(
ret
==
-
1
)
pg_fatal
(
"The program
\"
initdb
\"
is needed by %s but was
\n
"
pg_fatal
(
"The program
\"
initdb
\"
is needed by %s but was
\n
"
"not found in the same directory as
\"
%s
\"
.
\n
"
"Check your installation.
\n
"
,
progname
,
full_path
);
else
...
...
src/test/regress/expected/alter_operator.out
View file @
5c6d2a5e
...
...
@@ -110,17 +110,17 @@ ORDER BY 1;
-- Test invalid options.
--
ALTER OPERATOR === (boolean, boolean) SET (COMMUTATOR = ====);
ERROR: operator attribute "commutator" can
not be changed
ERROR: operator attribute "commutator" cannot be changed
ALTER OPERATOR === (boolean, boolean) SET (NEGATOR = ====);
ERROR: operator attribute "negator" can
not be changed
ERROR: operator attribute "negator" cannot be changed
ALTER OPERATOR === (boolean, boolean) SET (RESTRICT = non_existent_func);
ERROR: function non_existent_func(internal, oid, internal, integer) does not exist
ALTER OPERATOR === (boolean, boolean) SET (JOIN = non_existent_func);
ERROR: function non_existent_func(internal, oid, internal, smallint, internal) does not exist
ALTER OPERATOR === (boolean, boolean) SET (COMMUTATOR = !==);
ERROR: operator attribute "commutator" can
not be changed
ERROR: operator attribute "commutator" cannot be changed
ALTER OPERATOR === (boolean, boolean) SET (NEGATOR = !==);
ERROR: operator attribute "negator" can
not be changed
ERROR: operator attribute "negator" cannot be changed
--
-- Test permission check. Must be owner to ALTER OPERATOR.
--
...
...
src/test/regress/expected/create_aggregate.out
View file @
5c6d2a5e
...
...
@@ -109,7 +109,7 @@ CREATE AGGREGATE myavg (numeric)
sfunc = numeric_avg_accum,
serialtype = internal
);
ERROR: aggregate serialization
type cannot be "internal"
ERROR: aggregate serialization
data type cannot be internal
-- if serialtype is specified we need a serialfunc and deserialfunc
CREATE AGGREGATE myavg (numeric)
(
...
...
src/test/regress/expected/name.out
View file @
5c6d2a5e
...
...
@@ -154,10 +154,10 @@ SELECT parse_ident(' ');
ERROR: string is not a valid identifier: " "
SELECT parse_ident(' .aaa');
ERROR: string is not a valid identifier: " .aaa"
DETAIL: No valid identifier before "."
symbol
.
DETAIL: No valid identifier before ".".
SELECT parse_ident(' aaa . ');
ERROR: string is not a valid identifier: " aaa . "
DETAIL: No valid identifier after "."
symbol
.
DETAIL: No valid identifier after ".".
SELECT parse_ident('aaa.a%b');
ERROR: string is not a valid identifier: "aaa.a%b"
SELECT parse_ident(E'X\rXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX');
...
...
@@ -188,10 +188,10 @@ SELECT parse_ident('10.20');
ERROR: string is not a valid identifier: "10.20"
SELECT parse_ident('.');
ERROR: string is not a valid identifier: "."
DETAIL: No valid identifier before "."
symbol
.
DETAIL: No valid identifier before ".".
SELECT parse_ident('.1020');
ERROR: string is not a valid identifier: ".1020"
DETAIL: No valid identifier before "."
symbol
.
DETAIL: No valid identifier before ".".
SELECT parse_ident('xxx.1020');
ERROR: string is not a valid identifier: "xxx.1020"
DETAIL: No valid identifier after "."
symbol
.
DETAIL: No valid identifier after ".".
...
...
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